S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
22-18
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 22 Show Commands
show cdp
show cdp
To display CDP parameters configured globally or for a specific interface, use the
show cdp
command.
show cdp
{
all
|
entry
[
all
|
name
cdp-name
]
|
global
|
interface
[
gigabitethernet
slot
/
port
|
mgmt 0
]
|
neighbors
[
detail
|
interface
{
gigabitethernet
slot
/
port
|
mgmt 0
}]
|
traffic
interface
[
gigabitethernet
slot
/
port
|
mgmt 0
]}
Syntax Description
Defaults
None.
Command Modes
EXEC mode.
Command History
Usage Guidelines
This command is allowed only on the active supervisor module in the Cisco MDS 9500 Series.
Examples
The following example displays all CDP capable interfaces and parameters:
switch#
show cdp all
GigabitEthernet4/1 is up
CDP enabled on interface
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
GigabitEthernet4/8 is down
CDP enabled on interface
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
all
Displays all enabled CDP interfaces.
entry
Displays CDP database entries.
all
Displays all CDP entries in the database
name
cdp-name
Displays CDP entries that match a specified name. Maximum length is 256
characters.
global
Displays global CDP parameters.
gigabitethernet
slot
/
port
Specifies the Gigabit Ethernet interface at the slot number and port number
separated by a slash (/).
mgmt 0
Specifies the Ethernet management interface.
neighbors
Displays all CDP neighbors.
detail
Displays detailed information for all CDP neighbors
interface
Displays CDP information for neighbors on a specified interface.
traffic
Displays CDP traffic statistics for an interface.
Release
Modification
1.1(1)
This command was introduced.