show lldp neighbors

Displays Link Layer Discovery Protocol (LLDP) Type Length Value (TLV) information for all neighboring devices on a specific interface.

Syntax

show lldp neighbors interface ethernet slot/port [detail]

Parameters

interface ethernet
Causes the display of LLDP information about an Ethernet interface.
slot
Specifies a valid slot number. Must be 0 if the switch does not contain slots.
port
Specifies a valid port number.
detail
Specifies the display of detailed LLDP neighbor information.

Modes

Privileged EXEC mode

Examples

The following example shows how to display LLDP neighbor information for a specific interface (Ethernet 0/18).

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

The following example displays detailed LLDP neighbor information for a specific interface (Ethernet 0/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: SLX

DCBX TLVs 
===========

BGP Auto NBR TLV
============
Remote AS number: 2250
Remote peer address: 10.5.5.2