CDP is enabled on every interface of a Cisco router/switch by default.
Configuring CDP example:
To disable CDP on an interface:
Router#config t
Router(config)#int fast 0/0
Router(config-if)#no cdp enable
To enable CDP on an interface:
Router#config t
Router(config)#int fast 0/0
Router(config-if)#cdp enable
To verify if CDP is enabled on a interface the ‘show running-config’ command can be used.
show running-config int fast 0/0
interface FastEthernet 0/0
no cdp enable
‘no cdp enable’ indicates that CDP is disabled
|