4-10
Enabling DLDP
To properly configure DLDP on the device, first enable DLDP globally, and then enable it on each port.
Follow these steps to enable DLDP:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable DLDP globally
dldp enable
Required
Globally disabled by default
Enter Ethernet
port view
interface interface-type
interface-number
Enter
Ethernet port
view or port
group view
Enter port
group view
port-group manual
port-group-name
Either of the two is required.
Configurations made in Ethernet port view
apply to the current port only; configurations
made in port group view apply to all ports in
the port group.
Enable DLDP
dldp enable
Required
Disabled on a port by default
z
DLDP takes effect only on Ethernet interfaces (optical or copper).
z
DLDP can detect unidirectional links only after all physical links are connected. Therefore, before
enabling DLDP, make sure that optical fibers or copper twisted pairs are connected.
Setting DLDP Mode
There are two DLDP modes:
z
Normal mode: In this mode, DLDP does not actively detect neighbors when the corresponding
neighbor entries age out. The system can identify only one type of unidirectional links:
cross-connected fibers.
z
Enhanced mode: In this mode, DLDP actively detects neighbors when the corresponding
neighbor entries age out. The system can thus identify two types of unidirectional links:
cross-connected fibers and disconnected fibers.
Follow these steps to set DLDP mode:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Set DLDP mode
dldp work-mode
{
enhance
|
normal
}
Optional
Normal by default