1-6

DLDP neighbor state

A DLDP neighbor can be in one of these two states: two way and unknown. You can check the state of
a DLDP neighbor by using the display dldp command.
Table 1-7 Description on the two DLDP neighbor states
DLDP neighbor state Description
two way The link to the neighbor operates properly.
unknown The device is detecting the neighbor and the neighbor state is
unknown.

Precautions During DLDP Configuration

z DLDP works only when the link is up.
z To insure unidirectional links can be detected, you must make sure: DLDP is enabled on both ends,
and the interval of sending advertisement packets, authentication mode and password are
consistent on both ends.
z You can adjust the interval of sending advertisement packets in different network circumstances,
so that DLDP can respond rapidly to link failure. The interval must be shorter than one-third of the
STP convergence time, which is generally 30 seconds. If too long an interval is set, an STP loop
may occur before DLDP shut down unidirectional links. On the contrary, if too short an interval is
set, network traffic increases, and port bandwidth is reduced.
z DLDP does not process any LACP event, and treats each link in the aggregation group as
independent.
DLDP Configuration

DLDP Configuration Tasks

Follow these steps to configure DLDP:
To do… Use the command… Remarks
Enter system view system-view
Enable DLDP globally dldp enable
Enter
Ethernet port
view
Interface interface-type
interface-number
Enable
DLDP Enable
DLDP on
a port Enable
DLDP on a
port 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 integer
Optional. By
default, the
interval is 5
seconds.