The mpls command enables MPLS globally on a local node and displays the MPLS view.
The undo mpls command globally disables MPLS and deletes all MPLS configurations.
MPLS is disabled globally by default.
Usage Scenario
MPLS-related functions can be configured only after MPLS is globally enabled. To globally enable MPLS, run the mpls command. After this command is run, the MPLS view is displayed, in which you can configure MPLS functions.
Prerequisites
An LSR ID has been configured using the mpls lsr-id command.
Precautions