Enabling DLDP
Context
Unidirectional links can be detected only when the devices on both ends of optical fibers or copper twisted pairs support DLDP functions.
DLDP can be configured on Layer 2 and Layer 3 Ethernet interfaces. By default, an Ethernet interface works in Layer 2 mode. Before configuring DLDP on a Layer 3 Ethernet interface, switch the Ethernet interface to Layer 3 mode.
Procedure
- Run system-view
The system view is displayed.
- Run dldp enable
DLDP is enabled globally.
By default, DLDP is disabled globally and on each interface.
- Run interface interface-type interface-number
The interface view is displayed.
DLDP cannot be configured on logical interfaces.
- Run dldp enable
DLDP is enabled on the interfaces.