[Contents] [Prev] [Next] [Index] [Report an Error]


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-labels statement at the [edit interfaces so-fpc/pic/port sonet-options mpls] or [edit interfaces at-fpc/pic/port atm-options mpls] hierarchy level.

To remove a specified number of labels from selected packets with MPLS labels, include the required-depth statement at the [edit interfaces so-fpc/pic/port sonet-options mpls pop-all-labels] or [edit interfaces at-fpc/pic/port atm-options mpls pop-all-labels] hierarchy level. A required-depth value of 1 removes labels from all packets containing only 1 MPLS label, a value of 2 removes 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. The required-depth value of [1 2] is the default setting. When you configure the required-depth statement, 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;
                }
            }
        }
    }
}

[Contents] [Prev] [Next] [Index] [Report an Error]