The mpls command enables MPLS on an interface.
The undo mpls command disables MPLS on an interface.
By default, no interface is enabled with MPLS.
Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view, Virtual-Template interface view
Usage Scenario
On a network where MPLS services are deployed, after enabling MPLS on a node, enable MPLS on the interfaces of the node before performing other MPLS configurations.
Prerequisites
MPLS has been enabled globally using the mpls (system view) command.
Configuration Impact
After the mpls command is run, MPLS is enabled on the interface.
Precautions