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

required-depth

Syntax

required-depth number;

Hierarchy Level

[edit interfaces interface-name atm-options mpls pop-all-labels],[edit interfaces interface-name fastether-options mpls pop-all-labels],[edit interfaces interface-name gigether-options mpls pop-all-labels],[edit interfaces interface-name sonet-options mpls pop-all-labels]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

For passive monitoring on ATM, SONET/SDH, Fast Ethernet, and Gigabit Ethernet interfaces only, specify the number of MPLS labels an incoming packet must have for the pop-all-labels statement to take effect.

If you include the required-depth 1 statement, the pop-all-labels statement takes effect for incoming packets with one label only. If you include the required-depth 2 statement, the pop-all-labels statement takes effect for incoming packets with two labels only.

Options

number—Number of MPLS labels on incoming IP packets.

Range: 1 through 2 labels.
Default: If you omit this statement, the pop-all-labels statement takes effect for incoming packets with one or two labels. The default is equivalent to including the required-depth [ 1 2 ] statement.

Usage Guidelines

See Passive Flow Monitoring for MPLS Encapsulated Packets.

Required Privilege Level

interface—To view this statement in the configuration.

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


Published: 2010-04-28

[an error occurred while processing this directive]