Viewing DLDP configuration information and statistics

  • To view the DLDP statistics for the specified ports, use the command show dldp statistics <port-list>. The port-list argument specifies a single port, a list of ports, or a range of ports.

  • To view the DLDP statistics for all ports, use the command show dldp statistics all

  • To view the DLDP configuration information and statistics for the specified ports, use the command show dldp <port-list>. The port-list argument specifies a single port, a list of ports, or a range of ports.

  • To view the DLDP configuration information and statistics for all ports, use the command show dldp all.

The following examples shows the DLDP statistics for port number a1.


show dldp statistics a1 

Status and Counters - Device Link Detection Protocol
Port : a1 
Packets Sent                           : 256
Packets Received                       : 255
Invalid Packets Received               : 0
Authentication Failed Packets Received : 0
Valid Packets Received                 : 255
The following example shows the DLDP statistics for ports a1 through a3.

show dldp statistics a1-a3

Status and Counters - Device Link Detection Protocol
Port : a1
Packets Sent                           : 256
Packets Received                       : 255
Invalid Packets Received               : 0
Authentication Failed Packets Received : 0
Valid Packets Received                 : 255
Port : a2
Packets Sent                           : 256
Packets Received                       : 255
Invalid Packets Received               : 0
Authentication Failed Packets Received : 0
Valid Packets Received                 : 255
Port : a3 
Packets Sent                           : 0
Packets Received                       : 0
Invalid Packets Received               : 0
Authentication Failed Packets Received : 0
Valid Packets Received                 : 0
The following example shows the DLDP configuration information and statistics for port number a1.

show dldp a1
The output will display sensitive information. Continue (y/n)?

Status and Configuration - Device Link Detection Protocol
Global Status         : Enabled
Advertisement Interval (Sec) : 5 
Authentication Mode          : None
Authentication Password      : Password
Unidirectional Shutdown Mode : Auto
DelayDown Timer Value (Sec)  : 1
Number of DLDP Enabled Ports : 2
Interface A1
DLDP Port State     : Bidirectional
Number of Neighbors : 1 (Maximum number ever detected: 2)

Port      Port        Link     Neighbor MAC  Neighbor    Neighbor      Neighbor
        State        State    Address       Port Index               Aged Time
----- --------------- -------- ------------- ------------ ------------   ------- 
A1    Unidirectional    up      010fe2-000004     5       unconfirmed    0
The following example shows the DLDP configuration information and statistics for ports a1 through a3.

show dldp a1-a3
The output will display sensitive information. Continue (y/n)?

Status and Configuration - Device Link Detection Protocol
Global Status         : Enabled
Advertisement Interval (Sec) : 5 
Authentication Mode          : None
Authentication Password      : Password
Unidirectional Shutdown Mode : Auto
DelayDown Timer Value (Sec)  : 1
Number of DLDP Enabled Ports : 2
Interface A1
DLDP Port State     : Unidirectional
Number of Neighbors : 1 (Maximum number ever detected: 2)
Interface A2
DLDP Port State     : Bidirectional
Number of Neighbors : 1 (Maximum number ever detected: 2)
Interface A3
DLDP Disabled


Port        Port      Link     Neighbor MAC   Neighbor    Neighbor     Neighbor
          State       State    Address        Port Index             Aged Time
----- ---------------   ------- ------------- ---------- ------------ -------- 
 A1     Unidirectional   up      40a8f0-9e2100     2      unconfirmed    0
 A2     Bidirectional    down     010fe2-000004     3      unconfirmed    0