CDP

From CCIE Study Wiki

Jump to: navigation, search


CDP is a Cisco-proprietary Layer 2 protocol that allows the device to discover other directly connected devices and learn how they are configured.

Theory

Contents

CDP messages are listened for and sent to the multicast MAC of 0100:0CCC:CCCC.

CDP advertisements contain TTL info, which indicates the length of time a receiving device should hold CDP info before discarding it. A receiver stores CDP info in a table that is refreshed each time an advertisement is received. The info is discarded after three advertisements are missed.

SNMP will interact with CDP by using CDP info to learn the device type and SNMP agent address of neighboring devices.

Commands

  • no cdp run (global) - turns off CDP globally on a device
  • no cdp enable (interface) - turns CDP off on the specific interface
  • cdp timer seconds (global) - specifies the transmission frequency of CDP packets
  • cdp holdtime seconds (global) - specifies the amount of time a receiving device should hold CDP info before discarding it

Default Settings

  • CDP is on by default
  • CDP messages sent every 60 seconds
  • CDP holdtime is 180 seconds

Verification

  • Nothing listed yet

Troubleshooting, Tips, and Tricks

  • Not supported on Frame Relay multipoint subinterfaces.

Online Resources

  • Cisco IOS Network Management Configuration Guide section on CDP.






Have something to contribute? See a mistake on this page? Have a hint or a link to share?
The CCIE Study Wiki is open to everyone to edit! All you need to do is to create an account to start contributing.
Please be sure to follow our posting guidelines when editing the wiki.

Maybe you have just have some thoughts or suggestions for this entry?
Use the Discussion link on the top or bottom menu to create or join the CCIE forum post on this topic.
You can also go straight to the CCIE Forums and start a new discussion in the forum of your choice.

If you'd rather just contact us with your thoughts, we'd love to hear what you have to say.

This page was last modified on 13 October 2009, at 01:07. This page has been accessed 235 times.