Cisco Discovery Protokoll - CDP

  • Data Link (Layer 2) Protokoll
  • Cisco proprietär
  • Used to share information about Cisco connected devices
  • CDP messages are generated every 60 second, hold-down timer is 180 seconds.
    • Hold timer 3x times
  • Messages are destined to L2 multicast address 01:00:0C:CC:CC:CC

Gathered Informations

  • Device name (hostname)
  • Interface types and numbers (e.g., GigabitEthernet0/1)
  • IP addresses of connected devices
  • Cisco IOS version
  • Capabilities (e.g., router, switch, etc.)
  • Platform model (e.g., Cisco 9300 switch)
  • VLAN information

Configuration

ConfigDescription
SW1(config)# cdp runEnables CDP globally on device.
SW1(config)# no cdp runDisables CDP globally
SW1(config)# cdp timer <seconds>Specify timer in seconds - default 60 secs
SW1(config)# cdp holdtime <seconds>Holdtimer in Seconds - default 180
Config InterfaceDescription
SW1(config-if)# cdp enableEnables CDP on Interface
SW1(config-if)# no cdp enableDisables CDP on Interface

References