show lldp neighbors

Displays a list of current LLDP neighbors and details of the latest advertisements received from Link Layer Discovery Protocol (LLDP) neighbors.
Syntax
show lldp neighbors[detailports{all|ethernetstack-id/slot/port [tostack-id/slot/port|[ethernetstack-id/slot/porttostack-id/slot/port |ethernetstack-id/slot/port ] ...]}]
Parameters
detail
Displays detailed neighbor data.
ports
Displays the details of the latest advertisements received from LLDP neighbors for the specified port.
all
Displays the details of the latest advertisements received from LLDP neighbors for all LLDP-enabled ports.
ethernetstack-id/slot/port
Displays the details of the latest advertisements received from LLDP neighbors for the specified Ethernet port.
tostack-id/slot/port
Displays the details of the latest advertisements received from LLDP neighbors for a range of ports.
Modes

User EXEC mode

The show lldp neighbors command displays the following information.

Output field Description
Lcl Port The local LLDP port number.
Chassis ID The identifier for the chassis. RUCKUS ICX devices use the base MAC address of the device as the Chassis ID.
Port ID The identifier for the port. RUCKUS ICX devices use the permanent MAC address associated with the port as the port ID.
Port Description The description for the port. RUCKUS ICX devices use the ifDescr MIB object from MIB-II as the port description.
System Name The administratively-assigned name for the system. RUCKUS ICX devices use the sysName MIB object from MIB-II, which corresponds to the CLI hostname command setting.
Examples

The following is sample output from the show lldp neighbors detail command to display the LLDP entry system name and description that includes a specific pattern.

device# show lldp neighbors  detail ports  ethernet  1/1/12  | inc System

  + System name         : "RUCKUSAP"
  + System description  : "RUCKUS T310D Multimedia Hotzone Wireless AP/SW Version: 108.0.0.0.703"
  + System capabilities : bridge, WLAN access point, router
device# show lldp neighbors | inc RUCKUS

1/1/12   34fa.9f26.6410   34fa.9f26.6410  eth0  RUCKUSAP