-
-
Advanced policy expressions: Working with dates, times, and numbers
-
Advanced policy expressions: Parsing HTTP, TCP, and UDP data
-
Advanced policy expressions: IP and MAC Addresses, Throughput, VLAN IDs
-
-
Configure rate limit at packet level
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Configure rate limit at packet level
You can configure a stream selector and a responder policy to collect statistics at the packet level flowing through all the connections identified by the selector. If the number of packets per second exceed the configured threshold, the policy applies the configured action (RESET or DROP). You can configure these policies for all types of virtual servers. Packets of all sizes are considered.
To configure rate limiting at packet level, perform the following tasks
- Enable load balancing
- Add stream selector
- Add stream identifier
- Add responder policy
- Add load balancing virtual server
- Bind responder policy
To enable load balancing feature
At the command prompt, type:
enable ns feature lb
<!--NeedCopy-->
To add a stream selector
At the command prompt, type:
add stream selector packetlimitselector client.ip.src client.tcp.srcport client.ip.dst client.tcp.dstport
<!--NeedCopy-->
To add a stream identifier
At the command prompt, type:
add stream identifier packetlimitidentifier packetlimitselector -interval 1
<!--NeedCopy-->
To enable tracking of ACK only packets
At the command prompt, type:
set stream identifier packetlimitidentifier –trackAckOnlyPackets ENABLED
<!--NeedCopy-->
To add a responder policy
At the command prompt, type:
add responder policy packet_rate_sessionpolicy "ANALYTICS.STREAM(\"packetlimitidentifier\").COLLECT_STATS(\"PACKET_LIMIT\", <max_threshold_PPS>, ACTION, 0/1)" NOOP
<!--NeedCopy-->
Where,
- <max_threshold_PPS> is the maximum number of packets allowed through the connection per second.
- ACTION can be DROP or RESET.
- 0 or 1 represents the limit type; 0 represents the BURSTY limit type and 1 represents the SMOOTH limit type.
Example:
add responder policy packet_rate_sessionpolicy "ANALYTICS.STREAM(\"packetlimitidentifier\").COLLECT_STATS(\"PACKET_LIMIT\", 40, RESET, 0)" NOOP
<!--NeedCopy-->
To add a load balancing virtual server
At the command prompt, type:
add lb vserver <name> <serviceType> <ip> <port>
add lb vserver Vserver-lb-1 HTTP 10.102.20.200 80
<!--NeedCopy-->
To bind a responder policy
After the selector and the responder policy are configured, the policy can be bound globally or to the specific virtual server.
At the command prompt, type either of the following commands:
bind responder global <policyName> <priority> [<gotoPriorityExpression>] [-type <type>] [-invoke (<labelType> <labelName>) ]
<!--NeedCopy-->
OR
bind lb vserver <name>@ (-policyName <string>@ [-priority <positive_integer>]
<!--NeedCopy-->
Examples:
bind responder global packet_rate_sessionpolicy 101 END -type REQ_DEFAULT
bind responder global packet_rate_sessionpolicy 102 END -type
bind lb vserver v1 -policyname packet_rate_sessionpolicy -priority 10
<!--NeedCopy-->
Share
Share
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.