Option: Strip MPLS Labels On ATM and SONET/SDH Interfaces
Because flow monitoring can be performed only on IPv4 packets, any packets containing MPLS labels must have the labels removed before monitoring can occur. To remove MPLS labels from packets as they enter a SONET/SDH, ATM1, or ATM2 IQ interface, include the
pop-all-labelsstatement at the [edit interfaces so-fpc/pic/portsonet-options mpls] or [edit interfaces at-fpc/pic/portatm-options mpls] hierarchy level.To remove a specified number of labels from selected packets with MPLS labels, include the
required-depthstatement at the [edit interfaces so-fpc/pic/portsonet-options mpls pop-all-labels] or [edit interfaces at-fpc/pic/portatm-options mpls pop-all-labels] hierarchy level. Arequired-depthvalue of1removes labels from all packets containing only 1 MPLS label, a value of2removes labels from all packets containing only 2 MPLS labels, and a value of [1 2] removes labels from all packets containing either 1 or 2 MPLS labels. Therequired-depthvalue of [1 2] is the default setting. When you configure therequired-depthstatement, you must configure the same value for all ports on the same PIC.The labels are removed and discarded as soon as they arrive at the interface. As a result, no MPLS filters can be applied to the stripped labels, no statistics are generated for the labels, and you cannot apply an IP filter to the incoming packets. No Tunnel Services PIC is required to perform the MPLS label stripping described here.
[edit]interfaces {at-fpc/pic/port{atm-options {mpls {pop-all-labels {required-depth 1;}}}}so-fpc/pic/port{sonet-options {mpls {pop-all-labels {required-depth 2;}}}}}