Specifications
10-3
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 10 Configuring CDP
Configuring CDP
BEFORE YOU BEGIN
Steps 2 through 4 are all optional and can be performed in any order.
DETAILED STEPS
Use the no form of the CDP commands to return to the default settings.
EXAMPLE
This example shows how to configure CDP characteristics:
Switch# configure terminal
Switch(config)# cdp timer 50
Switch(config)# cdp holdtime 120
Switch(config)# cdp advertise-v2
Switch(config)# end
Disabling and Enabling CDP
CDP is enabled by default on NNIs. It is disabled by default on ENIs but can be enabled.
Disabling CDP
BEFORE YOU BEGIN
Cisco devices (such as Cisco IP phones) regularly exchange CDP messages with connected devices.
Disabling CDP can interrupt device connectivity.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
cdp timer seconds (Optional) Set the transmission frequency of CDP updates in
seconds.
The range is 5 to 254; the default is 60 seconds.
Step 3
cdp holdtime seconds (Optional) Specify the amount of time a receiving device should
hold the information sent by your device before discarding it.
The range is 10 to 255 seconds; the default is 180 seconds.
Step 4
cdp advertise-v2 (Optional) Configure CDP to send Version-2 advertisements.
This is the default state.
Step 5
end Return to privileged EXEC mode.
Step 6
show cdp Verify your settings.
Step 7
copy running-config
startup-config
(Optional) Save your entries in the configuration file.