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.
- Messages are destined to L2 multicast address 01:00:0C:CC:CC:CC
- 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
Config | Description |
---|
SW1(config)# cdp run | Enables CDP globally on device. |
SW1(config)# no cdp run | Disables 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 Interface | Description |
---|
SW1(config-if)# cdp enable | Enables CDP on Interface |
SW1(config-if)# no cdp enable | Disables CDP on Interface |
References