Displaying LLDP information

The show lldp command allows you to display the following information:

Displaying LLDP status

To display the global LLDP status, use the show lldp command.

device# show lldp
LLDP Global Information
  system-name: SLX
  system-description: Extreme BR-SLX9540-4 Router
  description: Extreme-LLDP
  State:                   Enabled
  Mode:                    Receive/Transmit
  Advertise Transmitted:   30 seconds
  Hold time for advertise: 120 seconds
  Tx Delay Timer:          1 seconds
  Transmit TLVs:           Chassis ID               Port ID
                           TTL                      Port Description
                           System Name

To display LLDP status for an Ethernet interface, use the show lldp interface ethernet command.

device# show lldp interface ethernet 0/18
LLDP information for Eth 0/18
  State:                   Enabled
  Mode:                    Receive/Transmit
  Advertise Transmitted:   30 seconds
  Hold time for advertise: 120 seconds
  Tx Delay Timer:          1 seconds
  Transmit TLVs:           Chassis ID               Port ID
                           TTL                      Port Description
                           System Name

Displaying LLDP neighbor information

To display the LLDP neighbor information, use the show lldp neighbors command. This command allows you to display the information for all Ethernet interfaces, a specific interface, or detailed neighbor information.

The following example displays the LLDP neighbor information for all interfaces.

device# show lldp neighbors
Local Port  Dead Interval  Remaining Life  Remote Port ID   Remote Port Descr Chassis ID       Tx  Rx   System Name
Eth 0/18      120            102             Ethernet 0/25   Eth 2/25         768e.f807.6000   653 652  R6  
Eth 0/21      120            108             Ethernet 0/21   Eth 1/21         768e.f807.6000   653 652  R6  
Eth 0/40      120            110             Ethernet 0/50   Eth 1/50         768e.f807.6000   653 650  R6  
Eth 0/43      120            102             Ethernet 0/51   Eth 2/51         768e.f807.6000   653 652  R6  
Eth 0/50      120            102             Ethernet 0/23   Eth 2/23         768e.f807.6000   653 611  R6  

The following example displays the LLDP neighbor information for Ethernet interface 0/18.

device# show lldp neighbors interface ethernet 0/18
Local Port  Dead Interval  Remaining Life  Remote Port ID   Remote Port Descr Chassis ID       Tx  Rx   System Name
Eth 0/18      120            115             Ethernet 0/25    Eth 0/25        768e.f807.6000   655 654  R6  

The following example displays the detailed LLDP neighbor information for Ethernet interface 1/18.

device# show lldp neighbors interface ethernet 0/18 detail
Neighbors for Interface Eth 0/18

MANDATORY TLVs
===============
Local Interface: Eth 0/18  (Local Interface MAC: 768e.f805.5816)
Remote Interface: Ethernet 0/25 (Remote Interface MAC: 768e.f807.610d)
Dead Interval: 120 secs
Remaining Life : 118 secs
Chassis ID: 768e.f807.6000
LLDP PDU Transmitted: 656  Received: 655

OPTIONAL TLVs
==============
Port Interface Description: Eth 0/25
System Name: R6

Displaying LLDP statistics

To display the LLDP statistics for all interfaces or a specific interface, use the show lldp statistics command.

The following example displays the statistics for Ethernet interface 0/18.

device# show lldp statistics interface ethernet 0/18
LLDP Interface statistics for Eth 0/18
Frames transmitted: 659
Frames Aged out:    0
Frames Discarded:   0
Frames with Error:  0
Frames Recieved:    657
TLVs discarded:     0
TLVs unrecognized:  0

If you do not include the interface ethernet option, the command displays the statistics for all interfaces.