- required-depth number;
- [edit interfaces interface-name atm-options mpls pop-all-labels],
- [edit interfaces interface-name sonet-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]
Statement introduced before JUNOS Release 7.4.
For passive monitoring on ATM and SONET/SDH 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.
number—Number of MPLS labels on incoming IP packets.
See Removing MPLS Labels from Incoming Packets and Enabling Passive Monitoring on SONET/SDH Interfaces.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
JUNOS Services Interfaces Configuration Guide