Viewing the current CDP configuration of the switch
CDP is shown as enabled/disabled both globally on the switch and on a per-port basis.
Syntax:
show cdp
Lists the global and per-port CDP configuration of the switch.
The following example shows the default CDP configuration.
Default CDP configuration
switch(config)# show cdp Global CDP information Enable CDP [Yes] : Yes (Receive Only) Port CDP ---- -------- 1 enabled 2 enabled 3 enabled . . . . . .