The mpls ldp command enables LDP for a public network instance and displays MPLS-LDP view.
The undo mpls ldp command disables LDP globally and deletes all the LDP instances.
By default, no public network instance is enabled with LDP.
Usage Scenario
Globally enabling MPLS LDP is the basis of configuring LDP-related functions. On a network to be enabled with MPLS LDP, run the mpls ldp command to globally enable LDP for a public network instance or a VPN instance. After this command is run, the MPLS-LDP view is displayed. You can configure LDP function in that view.
Prerequisites
MPLS has been enabled globally using the mpls (system view) command.
Precautions