show cdp neighbors
show cdp neighbors
To display the status of Cisco Discovery Protocol (CDP) neighbors, use the show cdp neighbors
command.
Syntax Description
interface
interface
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
4.0(1)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the status of CDP neighbors:
switch(config)# show cdp neighbors
Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
Device-ID
Switch
switch(config)#
Related Commands
Command
cdp holdtime
Cisco Nexus 7000 Series NX-OS System Management Command Reference
432
show cdp neighbors [interface interface]
(Optional) Displays CDP neighbors on an interface.
Modification
This command was introduced.
S - Switch, H - Host, I - IGMP, r - Repeater,
V - VoIP-Phone, D - Remotely-Managed-Device,
s - Supports-STP-Dispute
Local Intrfce Hldtme Capability
mgmt0
Description
Configures the time that CDP holds onto neighbor information before
refreshing it.
Platform
163
S I
WS-C2960-24TC Fas0/21
Show Commands
Port ID
OL-25806-03