Overview 189
3 If no echo packet is received from the neighbor, DLDP performs the following 
processing.
DLDP neighbor state
A DLDP neighbor can be in one of the three states described in Table 36. You can 
check the state of a DLDP neighbor by using the display dldp command.
Echo packet  Retrieves the 
neighbor 
information. 
If the corresponding neighbor entry does not exist, 
creates the neighbor entry, triggers the Entry timer, 
and transits to Probe state. 
The 
correspondi
ng neighbor 
entry 
already 
exists 
If the neighbor information it carries 
conflicts with the corresponding locally 
maintained neighbor entry, drops the 
packet. 
Otherwise, sets the flag of the neighbor 
as two-way connected. In addition, if 
the flags of all the neighbors are 
two-way connected, the device transits 
from Probe state to Advertisement 
state and disables the Echo timer. 
Disable packet  Check to see if 
the local port is in 
Disable state. 
If yes, no process is performed. 
If not, the local port transits to Disable state. 
RecoverProbe 
packet 
Check to see if 
the local port is in 
Disable or 
Advertisement 
state. 
If not, no process is performed. 
If yes, returns RecoverEcho packets. 
RecoverEcho 
packet 
Check to see if 
the local port is in 
Disable state. 
If not, no process is performed. 
If yes, the local port transits to Active state if the 
neighbor information the packet carries is consistent 
with the local port information. 
LinkDown packet  Check to see if 
the local port 
operates in 
Enhanced mode. 
If not, no process is performed. 
If yes and the local port is not in Disable state, the 
local transits to Disable state.
Table 34   Procedures for processing different types of DLDP packets
Packet type  Processing procedure 
Table 35   Processing procedure when no echo packet is received from the neighbor
No echo packet received from the 
neighbor Processing procedure 
In normal mode, no echo packet is 
received when the Echo timer expires. 
DLDP transits to the Disable state, outputs log and 
tracking information, and sends Disable packets. In 
addition, depending on the user-defined DLDP 
down mode, DLDP shuts down the local port or 
prompts users to shut down the port, and removes 
the corresponding neighbor entry. 
In enhanced mode, no echo packet is 
received when the enhanced timer 
expires.
Table 36   Description on DLDP neighbor states
DLDP neighbor 
state Description 
Unknown  A neighbor is in this state when it is just detected and is being probed. 
No information indicating the state of the neighbor is received. A 
neighbor is in this state only when it is being probed. It transits to Two 
way state or Unidirectional state after the probe operation finishes.