show cdp interface
show cdp neighbors
This command shows whether or not CDP is enabled on an interface.
Syntax
show cdp interface [interface]
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28/52)
Command Mode
Privileged Exec
Example
Console#show cdp interface
Interface Status
--------- --------
Eth 1/ 1
Disabled
Eth 1/ 2
Disabled
Eth 1/ 3
Disabled
. .
.
This command shows information about neighbors obtained by monitoring CDP
advertisements.
Syntax
show cdp neighbors [detail | [interface [detail]]
detail -
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28/52)
Command Mode
Privileged Exec
– 521 –
Chapter 22
| CDP Commands