To specify how often the Cisco IOS software sends CDP updates, use the cdp timer global configuration command. Use the no form of this command to revert to the default setting.
cdp timer seconds
Syntax Description
seconds Specifies how often the Cisco IOS software sends
CDP updates.
Defaults
60 seconds
Command Modes
Global configuration
Command History
10.3 This command was introduced.
Release
Modification
Usage Guidelines
The trade-off with sending more frequent transmissions is providing up-to-date information versus using bandwidth more often.
| Note The cdp enable, cdp timer, and cdp run commands affect the operation of the IP on demand routing feature (that is, the router odr global configuration command). For more information on the router odr command, see the "On-Demand Routing Commands" chapter in the Network Protocols Command Reference, Part 1. |
Examples
In the following example, CDP updates are sent every 80 seconds, less frequently than the default setting of 60 seconds. You might want to make this change if you are concerned about preserving bandwidth.
cdp timer 80
Related Commands
cdp holdtime Specifies the amount of time the receiving device
should hold a CDP packet from your router before discarding it. show cdp Displays global CDP information, including timer
and hold-time information.
Command
Description