The dldp enable command enables DLDP.
The undo dldp enable command disables DLDP.
By default, DLDP is disabled globally and on each interface.
System view, Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, port group view
Usage Scenario
Sometimes unidirectional links occur on networks. On a unidirectional link, the local device can receive packets from the peer device at the link layer, but the peer device cannot receive packets from the local device. Unidirectional links result in problems such as loops on an STP topology.
DLDP is used to monitor the link status of optical fibers or copper twisted pairs. If a unidirectional link exists, DLDP automatically shuts down the interface or prompts users to manually shut down the interface to prevent network faults.
To enable DLDP, run the dldp enable command to globally enable DLDP and then run this command on the interface.
Prerequisites
DLDP takes effect only when the physical link is connected; therefore, securely connect optical fibers or copper twisted pairs before enabling DLDP.
Precautions
After you enable DLDP using the dldp enable command in the system view, run this command again on the interfaces to enable DLDP so that the interfaces can properly transmit and receive DLDP packets.
If DLDP is disabled in the system view, DLDP is disabled on all interfaces, and all the DLDP configurations are deleted, which cannot be restored.