192 CHAPTER 22: DLDP CONFIGURATION
Setting the Port
Shutdown Mode
On detecting a unidirectional link, the ports can be shut down in one of the 
following two modes.
■ Manual mode. This mode applies to networks with low performance, where 
normal links may be treated as unidirectional links. It protects service packet 
transmission against false unidirectional links. In this mode, DLDP only detects 
unidirectional links and generates log and traps. The operations to shut down 
unidirectional link ports are accomplished by the administrator.
■ Auto mode. In this mode, when a unidirectional link is detected, DLDP transits 
to Disable state, generates log and traps, and set the port as DLDP Down.
Follow these steps to set port shutdown mode
c
CAUTION:
■ On a port with both remote OAM loopback and DLDP enabled, if the port 
shutdown mode is auto mode, the port will be shut down by DLDP when it 
receives a packet sent by itself, causing remote OAM loopback to operate 
improperly. To prevent this, you need to set the port shutdown mode to auto 
mode.
■ If the device is busy, or the CPU utilization is high, normal links may be treated 
as unidirectional links. In this case, you can set the port shutdown mode to 
manual mode to eliminate the effects caused by false unidirectional link report.
Configuring DLDP
Authentication
Follow these steps to configure DLDP authentication:
c
CAUTION: To enable DLDP to operate properly, make sure the DLDP 
authentication modes and the passwords of the both sides of a link are the same.
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Set the DelayDown timer  dldp delaydown-timer time Optional
1 second by default
DelayDown timer setting 
applies to all the DLDP-enabled 
ports.
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Set port shutdown mode  dldp unidirectional-shutdown 
{ auto | manual } 
Optional
auto by default
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Configure DLDP authentication  dldp authentication-mode { md5 
md5-password | none | simple 
simple-password } 
Required
none by default