Examples
The following example show sample output for the
show lldp neighbors
command:
RP/0/RSP0/CPU0:router#
show lldp neighbors
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID
Local Intf
Hold-time
Capability
Port ID
R1
Et1/0
150
R
Et1/0
Total entries displayed: 1
Table 7: show lldp neighbors Field Descriptions
Description
Field
Name of the neighbor device.
If the device ID has more than 20 characters,
the ID will be truncated to 20 characters in
command output because of display
constraints.
Note
Device ID
Local interface through which this neighbor is
connected.
Local Intf
Amount of time (in seconds) that the local device will
hold the LLDP advertisement from a sending device
before discarding it.
Hold-time
The device type of the neighbor, whose values
correspond to the characters and definition displayed
in the "Capability codes" section.
Capability
Interface and port number of the neighboring device.
Port ID
The following example shows sample output for the
show lldp neighbors detail
command:
RP/0/RSP0/CPU0:router#
show lldp neighbors detail
Wed Apr 13 10:29:40.342 UTC
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
------------------------------------------------
Local Interface: GigabitEthernet0/0/0/8
Chassis id: 0026.9815.c3e6
Port id: Gi0/0/0/8
Port Description: GigabitEthernet0/0/0/8
System Name: asr9k-5
System Description:
Cisco IOS XR Software, Version 4.1.0.32I[Default]
Copyright (c) 2011 by Cisco Systems, Inc.
Time remaining: 102 seconds
Hold Time: 120 seconds
System Capabilities: R
Enabled Capabilities: R
Management Addresses:
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
119
Ethernet Interface Commands on the Cisco ASR 9000 Series Router
show lldp neighbors