Show Commands
show cdp
430
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
show cdp
To display the interfaces that have the Cisco Discovery Protocol (CDP) enabled, use the show cdp
command.
show cdp {all | entry {all | name name} | global | interface interface-type | traffic interface
interface-type}
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 interfaces that have CDP enabled:
switch(config)# show cdp all
mgmt0 is up
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 30 seconds
Ethernet7/1 is down
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 30 seconds
all Displays all interfaces in the CDP database.
entry Displays CDP entries in the database.
name name Displays a specific CDP entry that matches a name.
global Displays CDP global parameters.
interface
interface-type
Displays CDP parameters for an interface.
traffic Displays CDP traffic statistics.
interface-type Type of interface.
Release Modification
4.0(1) This command was introduced.