If a packet does not exceed its rate limits, it is processed further without being affected. If the packet exceeds its limits, it is handled in one of two ways, depending on what you specify:
To configure a policer action, include the then statement at the [edit firewall policer policer-name] hierarchy level:
- [edit firewall policer policer-name]
- then {
- }
Policer actions include one or more of the following:
Discard any packet that exceeds a bandwidth of 300 kilobits per second (Kbps) and a burst-size limit of 500 kilobytes (KB):
- [edit firewall]
- policer p1 {
-
- if-exceeding {
- bandwidth-limit 300k;
- burst-size-limit 500k;
- }
-
- then {
- discard;
- }
- }