Chapter 22
| CDP Commands
– 521 –
show cdp interface 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
.
.
.
show cdp neighbors 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