System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Modify CDP default settings

Want to summarize with AI?

Log in

Use this procedure to customize CDP settings for compatibility and network discovery frequency.


Ensure CDP operates with customizable settings for compatibility and desired frequency of network discovery information.

Changing CDP defaults allows you to improve compatibility and tuning for network discovery needs.

Before you begin

CDP must be enabled on the router.

Procedure

1.

Configure CDP to use only version 1.

Example:

Router#configure
Router(config)#cdp advertise v1
2.

Set the time the receiving device holds a CDP packet before discarding.

Example:

Router(config)#cdp holdtime 30
Note

Default hold time is 180 seconds.

Ensure the hold time is greater than the CDP timer value.

3.

Set the frequency at which CDP update packets are sent.

Example:

Router(config)#cdp timer 20

By default, when CDP is enabled, CDP update packets are sent at a frequency of once every 60 seconds.

Note

A lower timer setting causes CDP updates to be sent more frequently.