Related Documentation
- M, MX, T Series
- Example: Configuring a Three-Color Logical Interface (Aggregate) Policer
- layer2-policer
- M, MX, PTX, SRX, T Series
- logical-interface-policer
- three-color-policer (Configuring)
Three-Color Policing at Layer 2 Overview
This topic covers the following information:
Guidelines for Configuring Three-Color Policing of Layer 2 Traffic
The following guidelines apply to three-color policing of Layer 2 traffic:
- You can apply a three-color policer to Layer 2 traffic at a logical interface hosted on a Gigabit Ethernet interface (ge-) or a 10-Gigabit Ethernet interface (xe-) only.
- A single logical interface supports Layer 2 policing in both directions.
- You can apply a three-color policer to Layer 2 traffic as a logical interface policer only. You cannot apply a two-color policer to Layer 2 traffic as a stateless firewall filter action.
- You can apply a three-color policer to Layer 2 traffic by referencing the policer in the interface configuration at the logical unit level, and not at the protocol level.
- You can apply a color-aware three-color policer to Layer 2 traffic in the egress direction only, but you apply a color-blind three-color policer to Layer 2 traffic in either direction.
For information about configuring two-color policing of Layer 2 traffic, see Two-Color Policing at Layer 2 Overview.
Statement Hierarchy for Configuring a Three-Color Policer for Layer 2 Traffic
To enable a single-rate or two-rate three-color policer to rate-limit Layer 2 traffic, include the logical-interface-policer statement in the three-color-policer configuration.
You can include the configuration at the following hierarchy levels:
- [edit]
- [edit logical-systems logical-system-name]
Statement Hierarchy for Applying a Three-Color Policer to Layer 2 Traffic
To apply a logical interface policer to Layer 2 traffic, include the layer2-policer statement for a supported logical interface at the logical unit level. Use the input-three-color policer-name statement or output-three-color policer-name statement to specify the direction of the traffic to be policed.
You can include the configuration at the following hierarchy levels:
- [edit]
- [edit logical-systems logical-system-name]
Related Documentation
- M, MX, T Series
- Example: Configuring a Three-Color Logical Interface (Aggregate) Policer
- layer2-policer
- M, MX, PTX, SRX, T Series
- logical-interface-policer
- three-color-policer (Configuring)
Published: 2012-11-16
Related Documentation
- M, MX, T Series
- Example: Configuring a Three-Color Logical Interface (Aggregate) Policer
- layer2-policer
- M, MX, PTX, SRX, T Series
- logical-interface-policer
- three-color-policer (Configuring)