What is the Cisco Discovery Protocol (CDP) ?

The Cisco Discovery Protocol (CDP) is a proprietary layer 2 network protocol developed by Cisco Systems that runs on most Cisco equipment and is used to share information about other directly connected Cisco equipment such as the operating system version and IP address.

Globally

(config)# cdp run
(config)# no cdp run

Interface

To disable,

(config-if)# no cdp enable

To enable,

(config-if)# cdp enable

Additional Commands

# show cdp
# show cdp neighbor detail
# show cdp neighbor
# show cdp interface
(config)# cdp timer 45
(config)# cdp holdtime 60
Rick Donato

Want to become a networking expert?

Here is our hand-picked selection of the best courses you can find online:
Cisco CCNA 200-301 Certification Gold Bootcamp
Complete Cyber Security Course – Network Security
Internet Security Deep Dive course
Python Pro Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial