On a Cisco router/switch CDP is enabled by default.
Configuring CDP example:
To disable CDP:
Router#config t
Router(config)#no cdp run
To enable CDP:
Router#config t
Router(config)#cdp run
To verify if CDP is enabled use the following command:
show cdp neighbors
‘% CDP is not enabled’ indicates that CDP is disabled
|