The configure router interface strip-label command causes arriving MPLS encapsulated traffic to be stripped of all MPLS labels (up to five) before processing the packet through Policy Based Routing (PBR) filters.
If the packets do not have an IP header immediately following the MPLS label stack after the strip, they are discarded. Only MPLS encapsulated IP, IGP shortcuts, and VPRN over MPLS packets are processed. However, IPv4 and IPv6 packets that arrive without any labels are supported on an interface with strip label enabled.
The strip-label command operates in promiscuous mode. The router does not filter on the destination MAC address of the Ethernet frames. In some network designs, multiple ports may be tapped and combined into an interface toward the router. Promiscuous mode allows all of these flows to be processed without requiring the destination MAC address to be updated to match the router address.
To associate an interface that is configured with the strip-label command with a port, the port must be configured as single-fiber.
Packets subject to the strip-label action and mirrored (using mirrors or Lawful Intercept) contain the original MPLS labels (and other L2 encapsulation) in the mirrored copy of the packet, as they appeared on the wire when the mirror-dest type is the default type “ether”. If the mirror-dest type is “ip-only”, the mirrored copy of the packet does not contain the original L2 encapsulation or the stripped MPLS labels.
This command is supported on: