The set firewall policer if-exceeding rate-limit command configures the rate limit value for a policer.
NOTE: It is NOT recommended to use the rate limit value for CPU queue due to hardware restrictions. |
Command Syntax
set firewall policer <policer-name> if-exceeding burst-limit <value>
Parameters
Parameter | Description |
policer <policer-name> | Specifies the policer name. The value is a string. |
rate-limit <value> | Specifies the rate limit value of a policer. The data rate unit is set by set firewall policer if-exceeding count-mode command.
|
Example
- The following example configures rate limiting for the p1 policer to 100 pps (packets per second).
admin@Xorplus# set firewall policer p1 if-exceeding count-mode packet admin@Xorplus# set firewall policer p1 if-exceeding rate-limit 100 admin@Xorplus# run show policer Policer rate limit burst limit count mode action ------------ ---------- ---------- ---------- ---------- p1 100 0 packet discard