Creates a rate-limit rule and configures the match criteria
rate-limit [app-category [<PURVIEW-APP-CATEGORY-NAME>|all]|application <PURVIEW-APP-NAME>] ([egress|ingress]) rate <50-1000000> max-burst-size <2-1024> schedule <SCHEDULE-POLICY-NAME> (precedence <1-256>)
rate-limit [app-category [<PURVIEW-APP-CATEGORY-NAME>|all]|application <PURVIEW-APP-NAME>] ([egress|ingress]) rate <50-1000000> max-burst-size <2-1024> schedule <SCHEDULE-POLICY-NAME> (precedence <1-256>)
rate-limit | Creates a rate-limit rule and configures the match criteria. When applied, a rate-limit is applied to packets that match the configured criteria. These packets could be incoming, outgoing, or both. The match criteria options are: app-category and application. |
app-category [<PURVIEW-APP-CATEGORY-NAME>|all] | Uses application category as the match criteria
|
application <PURVIEW-APP-NAME> | Uses application name as the match criteria
|
[egress|ingress] | The egress and ingress parameters are recursive and can
be used to rate limit either incoming, outgoing, or both incoming and outgoing
traffic.
After selecting the traffic type (incoming/outgoing) configure the rate and maximum burst size. |
rate <50-1000000> | The following parameters are common to the ‘egress‘ and
‘ingress‘ keywords:
|
max-burst-size | The following parameters are common to the ‘egress‘ and
‘ingress‘ keywords:
|
schedule <SCHEDULE-POLICY-NAME> | Schedules an enforcement time for this rate-limit rule by associating a
schedule policy with it. Use this parameter to apply rule-specific enforcement
time.
In case of no schedule policy being applied, the rule is enforced as per the enforcement-time configured in the application policy. For more information, see enforcement-time . |
precedence <1-256> | Assigns a precedence value for this mark rule. The precedence value differentiates between rules applicable to applications and the application categories they belong. The allow, deny, mark, rate-limit options are mutually exclusive. In other words, in an application policy, for a specific application or application category, you can create either an allow rule, or a deny rule, or a mark and rate-limit rule. |
nx9500-6C8809(config-purview-app-policy-Bing)#rate-limit application BGP ingress rate 100
max-burst-size 25 egress rate 50 max-burst-size 25 precedence 6
nx9500-6C8809(config-purview-app-policy-Bing)#show context purview-application-policy Bing description "This application policy allows Bing search engine packets" enforcement-time days weekdays start-time 12:30 end-time 20:00 allow application Bing precedence 1 allow app-category business precedence 2 deny app-category "social networking" precedence 3 mark app-category video dscp 9 precedence 4 mark application facetime dscp 10 precedence 5 rate-limit application BGP ingress rate 100 max-burst-size 25 egress rate 50 max-burst-size 25 precedence 6 logging level critical nx9500-6C8809(config-purview-app-policy-Bing)#
no | Removes this rate-limit rule from the Purview application policy |