Purpose
Command or Action
Enables CDP if it has been disabled.
cdp run
Example:
Switch(config)#
cdp run
Step 3
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 4
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 5
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config startup-config
Step 6
What to Do Next
Use the
show run all
command to show that CDP has been enabled. If you enter only
show run
, the enabling
of CDP may not be displayed.
Related Topics
Default CDP Configuration, on page 432
Disabling CDP, on page 434
Disabling CDP on an Interface
CDP is enabled by default on all supported interfaces to send and to receive CDP information.
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
CDP bypass is not supported and may cause a port go into err-disabled state.
Note
Follow these steps to disable CDP on a port.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
437
How to Configure CDP
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......