the local port and the neighbor is considered to be recovered to bidirectional, the port changes from
the disable state to the active state, and neighboring relationship is reestablished between the local
port and the neighbor.
Only ports in the DLDP down state can send and process recover probe packets and recover echo
packets. The auto-recovery mechanism does apply to ports that are shut down manually.
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.
17-8