Usage Scenario
When a mirroring-enabled interface on an MPLS tunnel functions as an observing interface, to enable this interface to remove labels from MPLS packets, run the port-observing pop-label command.
To enable a sub-interface to remove labels from MPLS packets, run the port-observing pop-label { one | two | all } sub-interface extend command. In addition, run the
port-observing with-linklayer-header command on the observing port to configure mirroring to cover link-layer headers of packets so that mirrored packets carry Layer 2 header information.
Prerequisites
An interface on an MPLS tunnel has been configured as an observing interface.
Configuration Impact
If the port-observing pop-label command is run more than once, the latest configuration overrides the previous one.
The
port-observing pop-label command does not take effect on MPLS packets each with more than five labels.
Precautions
The port-observing pop-label and port-observing dest-mac commands are mutually exclusive.