Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Two-Color Policers and Shaping Rate Changes

In this example, the shaping rate has been configured for the logical interface, but a bandwidth percentage policer is also configured. Therefore policing is based on the physical interface speed of 1 Gbps.

If both a shaping rate and a bandwidth percentage policer is configured on the same logical interface, the policing is based on the physical interface speed. Here is the example configuration:

[edit interfaces]
ge-0/1/0 {per-unit-scheduler;vlan-tagging;unit 0 {vlan-id 1;family inet {policer {output policer_test;}address 10.0.7.1/24;}}}
[edit firewall]
policer policer_test {if-exceeding {bandwidth-percent 75;burst-size-limit 256k;}then discard;}
[edit]
class-of-service {interfaces {ge-0/1/0 {unit 0 {shaping-rate 15m;}}}}

Published: 2013-08-28

Published: 2013-08-28