[an error occurred while processing this directive] [an error occurred while processing this directive]

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-nameunit logical-unit-number],
[edit logical-systems logical-system-name interfaces interface-nameunit logical-unit-number]

Release Information

Statement introduced in JUNOS Release 8.2.

Description

For 1-Gigabit Ethernet and 10-Gigabit Ethernet IQ2 and IQ2-E interfaces on M-series and T-series routing platforms, 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.

Usage Guidelines

See Configuring Gigabit Ethernet Two-Color and Tricolor Policers.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.


Updated: 2009-04-07

[an error occurred while processing this directive]