show lldp neighbor

This topic explains the command that displays LLDP information received from neighboring devices.

Syntax

show lldp [interfaces id] neighbor

Parameter

interfaces id: As an option, specify the interface or a range of interfaces for which you want to display the LLDP neighbor information. The id parameter represents the interface number or a range of interface numbers. Use a hyphen to indicate a range. Use a comma to separate individual interfaces, ranges, or a combination of both.

Default

No default value.

Mode

Privileged EXEC

Usage

Use this command to display the received neighbor LLDP PDU information. As an option, you can display the information for one or more interfaces only. When LLDP PDUs are received on interfaces on which LLDP RX is enabled, the switch stores the PDU information in its database until the time-to-live (TTL) is expired.

Example: This example shows how to display the LLDP neighbor information:

CODE
Switch# show lldp neighbor

 Port |  Device ID    | Port ID   |  SysName  | Capabilities    | TTL
 ---- + ------------- + --------- + --------- + --------------- +-----
   g1 |    TREEBASE   |   g11     |  TREEBASE | Station Only    |  33