set firewall policer if-exceeding count-mode
The set firewall policer if-exceeding count-mode command configures the data rate units for the rate-limit and burst-limit of a policer. The value could be packet or kbit.
Command Syntax
set firewall policer <policer-name> if-exceeding count-mode <count-mode>
Parameter
Parameter | Description |
policer <policer-name> | Specifies the policer name. The value is a string. |
count-mode <count-mode> | Specifies the count mode for the rate-limit and burst-limit of a policer. The value could be packet or kbit.
By default, the count mode is pps. |
Usage Guidelines
When the count mode is packet, the range of rate-limit and burst-limit is from 1 to 1000 pps.Â
When the count mode is kbit, the range of rate-limit is from 0 to 100000000 kbit/s, and burst-limit is from 0 to 100000000 kbit.
Example
- Â Configure the count mode for the rate-limit and burst-limit the policer as kbit and use run show policer to check the configuration.
admin@Xorplus# set firewall policer p1 if-exceeding count-mode kbit admin@Xorplus# run show policer Policer    rate limit  burst limit   count mode  action  ------------ ----------  ----------  ---------- ---------- p1       5000       0    kbit    discard
Copyright © 2024 Pica8 Inc. All Rights Reserved.