Cisco Discovery Protocol
Configuring CDP
2
Cisco 3200 Series Wireless MIC Software Configuration Guide
Default CDP Configuration
Table 1
lists the default CDP settings.
Configuring the CDP Characteristics
You can configure the CDP holdtime (the number of seconds before the WMIC discards CDP packets)
and the CDP timer (the number of seconds between each CDP packets the WMIC sends).
To configure the CDP holdtime and CDP timer
, follow these steps, beginning in privileged EXEC mode:
Use the
no
form of the CDP commands to return to the default settings.
This example shows how to configure and verify CDP characteristics:
bridge#
configure terminal
bridge(config)#
cdp holdtime 120
bridge(config)#
cdp timer 50
bridge(config)#
end
bridge#
show cdp
Global CDP information:
Sending a holdtime value of 120 seconds
Sending CDP packets every 50 seconds
For additional CDP
show
commands, see the
“Monitoring and Maintaining CDP” section on page 4
.
Disabling and Enabling CDP
To disable the CDP device discovery capability
, follow these steps, beginning in privileged EXEC mode:
Table 1
Default CDP Configuration
Feature
Default Setting
CDP global state
Enabled
CDP interface state
Enabled
CDP holdtime (packet holdtime in seconds)
180
CDP timer (packets sent every x seconds)
60
Command
Purpose
Step 1
configure terminal
Enters global configuration mode.
Step 2
cdp holdtime
seconds
(Optional) Specifies the amount of time a receiving device should
hold the information sent by your device before discarding it.
The range is from 10 to 255 seconds; the default is 180 seconds.
Step 3
cdp timer
seconds
(Optional) Sets the transmission frequency of CDP updates in
seconds.
The range is from 5 to 254; the default is 60 seconds.
Step 4
end
Returns to Privileged EXEC mode.