set firewall policer if-exceeding action discard
The set firewall policer if-exceeding action discard command configures the action to drop the packets for a policer.
Command Syntax
set firewall policer <policer-name> then action discard
Parameters
Parameter | Description |
policer <policer-name> | Specifies the policer name. The value is a string. |
Usage Guidelines
When the user configures the rate limit or burst limit of an ACL-based traffic policer, the interface then drops the packets whose rate exceeds the rate limit value so that the traffic rate is limited within a proper range. The default action is discard if not configured.
Example
- Configure the action to drop the packets for a traffic policer.
admin@Xorplus# set firewall policer MyPolicer if-exceeding count-mode kbit admin@Xorplus# set firewall policer MyPolicer if-exceeding rate-limit 5000 admin@Xorplus# set firewall policer p1 then action discard 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.