user manual

Beginning in privileged EXEC mode, follow these steps to configure these characteristics.
SUMMARY STEPS
1.
configure terminal
2.
cdp timer seconds
3.
cdp holdtime seconds
4.
cdp advertise-v2
5.
end
DETAILED STEPS
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
(Optional) Sets the transmission frequency of CDP updates in
seconds.
cdp timer seconds
Example:
Switch(config)# cdp timer 20
Step 2
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 3
The range is 10 to 255 seconds; the default is 180 seconds.
(Optional) Configures CDP to send Version-2 advertisements.cdp advertise-v2
Step 4
Example:
Switch(config)# cdp advertise-v2
This is the default state.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
Example
The following example shows how to configure CDP characteristics:
Switch# configure terminal
Switch(config)# cdp timer 50
Switch(config)# cdp holdtime 120
Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
OL-29044-01 35
Configuring the Cisco Discovery Protocol
Configuring CDP Characteristics