pop-all-labels
Syntax
pop-all-labels { required-depth number; }
Hierarchy Level
[edit interfaces interface-name atm-options mpls], [edit interfaces interface-name fastether-options mpls], [edit interfaces interface-name gigether-options mpls], [edit interfaces interface-name sonet-options mpls]
Description
For passive monitoring on ATM, SONET/SDH, Fast
Ethernet, and Gigabit Ethernet interfaces only, removes up to two
MPLS labels from incoming IP packets. For passive monitoring on T
Series devices, removes up to five MPLS labels from incoming IP packets. For
passive monitoring on MX Series routers with MPCs, all labels are
popped by default and the required-depth
statement is ignored.
Except for MX Series routers with MPCs, this statement has no effect on IP packets with more than two MPLS labels, or IP packets with more than five MPLS labels on T Series devices. Packets with MPLS labels cannot be processed by the monitoring PIC; if packets with MPLS labels are forwarded to the monitoring PIC, they are discarded.
The remaining statement is explained separately. See CLI Explorer.
Default
If you omit this statement, the MPLS labels are not removed, and the packet is not processed by the monitoring PIC.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.