The mpls ldp command enables LDP on the local node and displays the LDP view.
The undo mpls ldp command deletes all LDP configurations.
By default, LDP is not enabled on a node.
Usage Scenario
On a network where MPLS LDP needs to be deployed, run the mpls ldp command to enable MPLS LDP globally and create a public network instance running LDP.
You can perform other LDP configurations only after running the mpls ldp command.Prerequisites
MPLS has been enabled globally using the mpls command in the system view.
Follow-up Procedure
You can perform other LDP configurations.
Precautions
Running the undo mpls ldp command in the system view causes the deletion of all MPLS LDP configurations in the system view and the interface view.