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
- 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.
Modes
User EXEC mode
The
show lldp neighbors command displays the following information.
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