26-3
Cisco Catalyst Blade Switch 3130 for Dell Software Configuration Guide
OL-13270-01
Chapter26 Configuring CDP Configuring CDP
Use the no form of the CDP commands to return to the default settings.
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
For additional CDP show commands, see the “Monitoring and Maintaining CDP” section on page 26-5.
Disabling and Enabling CDP
CDP is enabled by default.
Beginning in privileged EXEC mode, follow these steps to disable the CDP device discovery capability:
Beginning in privileged EXEC mode, follow these steps to enable CDP when it has been disabled:
This example shows how to enable CDP if it has been disabled.
Switch# configure terminal
Switch(config)# cdp run
Switch(config)# end
Step3 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.
Step4 cdp advertise-v2 (Optional) Configure CDP to send Version-2 advertisements.
This is the default state.
Step5 end Return to privileged EXEC mode.
Step6 show cdp Verify your settings.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 no cdp run Disable CDP.
Step3 end Return to privileged EXEC mode.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 cdp run Enable CDP after disabling it.
Step3 end Return to privileged EXEC mode.