PurposeCommand or Action
Example:
Switch(config)# cdp advertise-v2
This is the default state.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 6
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 7
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 8
What to Do Next
Use the no form of the CDP commands to return to the default settings.
Related Topics
CDP Overview, on page 431
Monitoring and Maintaining CDP, on page 441
Disabling CDP
CDP is enabled by default.
Switch clusters and other Cisco devices (such as Cisco IP Phones) regularly exchange CDP messages.
Disabling CDP can interrupt cluster discovery and device connectivity.
Note
Follow these steps to disable the CDP device discovery capability.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
434
How to Configure CDP