cdp enable — interface
cdp enable no cdp enable
Cisco Discovery Protocol (CDP)
This command enables CDP on a specific interface. CDP provides information about neighboring Cisco routers. It is a proprietary protocol, and therefore isn’t implemented by other router vendors. Use
show cdp neighbors to see the output.
interface ethernet0 cdp enable