Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

layer2-policer

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 8.2.

Statement introduced in Junos OS Release 12.3R2 for EX Series switches.

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.