For more information about the duplex and speed commands, see Layer 2—LAN Switching Command
Reference.
Enabling DLDP
To properly configure DLDP on the device, first enable DLDP globally, and then enable it on each port.
To enable DLDP:
To do...
•
Enter system view
•
Enable DLDP globally
•
Enter
Layer 2
Ethernet
interface
view or
port
group
view
•
Enable DLDP
DLDP takes effect only on Ethernet interfaces (optical or copper).
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
DLDP works in normal or enhanced mode.
In normal mode, DLDP does not actively detect neighbors when the corresponding neighbor entries age
out.
In enhanced mode, DLDP actively detects neighbors when the corresponding neighbor entries age out.
To set DLDP mode:
To do...
•
Enter system view
•
Set DLDP mode
Setting the interval to send advertisement packets
DLDP detects unidirectional links by sending Advertisement packets. To make sure that DLDP can detect
unidirectional links promptly without affecting network performance, set the advertisement interval
appropriately depending on your network environment. The interval should be set shorter than one third
of the STP convergence time. If the interval is too long, STP loops may occur before unidirectional links
Use the command...
system-view
dldp enable
Enter Layer 2
interface interface-type
Ethernet
interface-number
interface view
Enter port
port-group manual port-
group view
group-name
dldp enable
Use the command...
system-view
dldp work-mode { enhance | normal }
Remarks
—
Required
Globally disabled by default
Either of the two is required.
Configurations made in Layer 2 Ethernet
interface view apply to the current port
only. Configurations made in port group
view apply to all ports in the port group.
Required
Disabled on a port by default
Remarks
—
Optional
Normal by default
43