show cdp all
To display the interfaces in the Cisco Discovery Protocol (CDP) database, use the show cdp all command.
show cdp all
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
ModificationRelease
This command was introduced.5.0(3)N2(1)
Examples
This example shows how to display the interfaces in the CDP database:
switch# show cdp all
mgmt0 is up
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
Ethernet1/1 is down
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
Ethernet1/2 is down
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
Ethernet1/3 is down
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
Ethernet1/4 is down
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
Ethernet1/5 is down
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
Ethernet1/6 is down
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
<--Output truncated-->
switch#
Cisco Nexus 5000 Series Interfaces Command Reference    
95
Show Commands
show cdp all