LDP sessions allow LSRs to establish LSPs and swap labels.
A local LDP session is created over a TCP connection. After a TCP connection is established, LSRs negotiate LDP session parameters with each other. If LSRs on both ends of an LDP session agree on negotiated parameters, a local LDP session can be established.
system-view
interface interface-type interface-number
By default, no interface is enabled with LDP.
Disabling LDP on an interface causes the interface to terminate all LDP sessions on it and delete all LSPs established using the LDP sessions.
MPLS LDP applies only to Ethernet interfaces, Ethernet subinterfaces, Eth-Trunk interfaces, Eth-Trunk subinterfaces, and VLANIF interfaces.