Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

layer2-policer

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],

Release Information

Statement introduced in Junos OS Release 8.2.

Description

For 1-Gigabit Ethernet and 10-Gigabit Ethernet IQ2 and IQ2-E interfaces on M Series, MX Series, and T Series routers, 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.

Published: 2012-07-03