The mpls ldp command enables LDP on an interface.
The undo mpls ldp command disables LDP on an interface.
By default, no interface is enabled with LDP.
Usage Scenario
On a network to be enabled with MPLS LDP, globally enable MPLS LDP and configure LDP functions. Before you establish an LDP session between a local interface and another node and configure LDP functions, enable MPLS LDP on the interface using the mpls ldp command.
MPLS LDP applies only to Ethernet interfaces, Ethernet subinterfaces, Eth-Trunk interfaces, Eth-Trunk subinterfaces, and VLANIF interfaces.
Prerequisites
MPLS LDP has been enabled globally using the mpls ldp command in the system view.
MPLS has been enabled on the interface using the mpls command in the interface view.
Precautions