Show Commands
show cdp neighbors
432
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
show cdp neighbors
To display the status of Cisco Discovery Protocol (CDP) neighbors, use the show cdp neighbors
command.
show cdp neighbors [interface interface]
Syntax Description
Defaults None
Command Modes Any command mode
Supported User Roles network-admin
network-operator
vdc-admin
vdc-operator
Command History
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
S - Switch, H - Host, I - IGMP, r - Repeater,
V - VoIP-Phone, D - Remotely-Managed-Device,
s - Supports-STP-Dispute
Device-ID Local Intrfce Hldtme Capability Platform Port ID
Switch mgmt0 163 S I WS-C2960-24TC Fas0/21
switch(config)#
Related Commands
interface
interface
(Optional) Displays CDP neighbors on an interface.
Release Modification
4.0(1) This command was introduced.
Command Description
cdp holdtime Configures the time that CDP holds onto neighbor information before
refreshing it.