•
Amount of time to hold the information before discarding it
•
Whether or not to send Version-2 advertisements
Steps 3 through 5 are all optional and can be performed in any order.Note
Follow these steps to configure the CDP characteristics.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
cdp timer seconds
4.
cdp holdtime seconds
5.
cdp advertise-v2
6.
end
7.
show running-config
8.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
(Optional) Sets the transmission frequency of CDP updates in
seconds.
cdp timer seconds
Example:
Switch(config)# cdp timer 20
Step 3
The range is 5 to 254; the default is 60 seconds.
(Optional) Specifies the amount of time a receiving device
should hold the information sent by your device before
discarding it.
cdp holdtime seconds
Example:
Switch(config)# cdp holdtime 60
Step 4
The range is 10 to 255 seconds; the default is 180 seconds.
(Optional) Configures CDP to send Version-2 advertisements.cdp advertise-v2
Step 5
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
433
How to Configure CDP