1-9
DLDP Configuration
Performing Basic DLDP Configuration
Follow these steps to perform basic DLDP configuration:
To do …
Use the command …
Remarks
Enter system view
system-view
—
Enable DLDP on all optical
ports of the switch
dldp enable
Enter Ethernet
port view
interface
interface-type
interface-number
Enable
DLDP
Enable DLDP
on the current
port (a
non-optical
port or an
optical port)
Enable DLDP
dldp enable
Required.
By default, DLDP is
disabled.
Set the authentication mode and
password
dldp
authentication-mode
{
none
|
simple
simple-password
|
md5
md5-password
}
Optional.
By default, the
authentication mode is
none
.
Set the interval of sending DLDP packets
dldp interval timer-value
Optional.
By default, the interval is 5
seconds.
Set the delaydown timer
dldp delaydown-timer
delaydown-time
Optional
By default, the delaydown
timer expires after 1
second it is triggered.
Set the DLDP handling mode when an
unidirectional link is detected
dldp
unidirectional-shutdown
{
auto
|
manual
}
Optional.
By default, the handling
mode is
auto
.
Set the DLDP operating mode
dldp work-mode
{
enhance
|
normal
}
Optional.
By default, DLDP works in
normal mode.
Note the following when performing basic DLDP configuration.
z
DLDP can detect unidirectional links only after the links are connected. Therefore, before enabling
DLDP, make sure that optical fibers or copper twisted pairs are connected.
z
To ensure unidirectional links can be detected, make sure DLDP is enabled on both sides; and the
interval for sending advertisement packets, authentication mode, and password are the same on
both sides.
z
The interval for sending advertisement packets ranges from 1 to 100 seconds and defaults to 5
seconds. You can adjust this setting as needed to enable DLDP to respond in time to link failures.
If the interval is too long, STP loops may occur before unidirectional links are terminated; if the
interval is too short, network traffic may increase in vain and available bandwidth decreases.
Normally, the interval is shorter than one-third of the STP convergence time, which is generally 30
seconds.
z
DLDP does not process any link aggregation control protocol (LACP) event, and treats each link in
the aggregation group as independent.