layer2-policer (EX)
Syntax
layer2-policer { input-policer policer-name; input-three-color policer-name; output-policer policer-name; output-three-color policer-name; }
Hierarchy Level
[edit interfaces interface-name unit logical-unit-number], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
Description
For 1-Gigabit Ethernet and 10-Gigabit Ethernet IQ2 and IQ2-E interfaces on M Series, MX Series, and T Series routers, and for aggregated Ethernet, Gigabit Ethernet, and 10-Gigabit Ethernet interfaces on EX Series switches, apply Layer 2 logical interface policers. The following policers are supported:
Two-color
Single-rate tricolor marking (srTCM)
Two-rate tricolor marking (trTCM)
Two-color and tricolor policers are configured at the [edit
firewall]
hierarchy level.
Options
input-policer policer-name
—Two-color input policer to associate with the interface.
This statement is mutually exclusive with the input-three-color
statement.
input-three-color policer-name
—Tricolor input policer to associate with the interface. This
statement is mutually exclusive with the input-policer
statement.
output-policer policer-name
—Two-color
output policer to associate with the interface. This statement is
mutually exclusive with the output-three-color
statement.
output-three-color policer-name
—Tricolor output policer to associate with the interface. This
statement is mutually exclusive with the output-policer
statement.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 8.2.