Applying Layer 2 Policers to Gigabit Ethernet Interfaces
To rate-limit traffic by applying a policer to a Gigabit Ethernet interface (or a 10-Gigabit Ethernet interface [xe-fpc/pic/port]), include the layer2-policer statement with the direction, type, and name of the policer:
The direction (input or output) and type (policer or three-color) are combined into one statement and the policer named must be properly configured.
One input or output policer of either type can be configured on the interface.
Examples: Applying Layer 2 Policers to a Gigabit Ethernet Interface
Apply color-blind and color-aware two-rate TCM policers as input and output policers to a Gigabit Ethernet interface:
Apply two-level and color-blind single-rate TCM policers as input and output policers to a Gigabit Ethernet interface:
Apply a color-aware single-rate TCM policer as output policer on a Gigabit Ethernet interface: