Chapter 29 Configuring Cdp; Disabling And Enabling Cdp - Cisco Catalyst 3750-X Software Configuration Manual

Hide thumbs Also See for Catalyst 3750-X:
Table of Contents

Advertisement

Chapter 29
Configuring CDP
Command
Step 4
cdp advertise-v2
Step 5
end
Step 6
show cdp
Step 7
copy running-config startup-config
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

Disabling and Enabling CDP

CDP is enabled by default.
Switch clusters and other Cisco devices (such as Cisco IP Phones) regularly exchange CDP messages.
Note
Disabling CDP can interrupt cluster discovery and device connectivity. For more information, see
Chapter 6, "Clustering Switches"
Cisco.com.
Beginning in privileged EXEC mode, follow these steps to disable the CDP device discovery capability:
Command
Step 1
configure terminal
Step 2
no cdp run
Step 3
end
Beginning in privileged EXEC mode, follow these steps to enable CDP when it has been disabled:
Command
Step 1
configure terminal
Step 2
cdp run
Step 3
end
This example shows how to enable CDP if it has been disabled.
Switch# configure terminal
Switch(config)# cdp run
Switch(config)# end
OL-21521-01
Purpose
(Optional) Configure CDP to send Version-2 advertisements.
This is the default state.
Return to privileged EXEC mode.
Verify your settings.
(Optional) Save your entries in the configuration file.
"Monitoring and Maintaining CDP" section on page
and see Getting Started with Cisco Network Assistant, available on
Purpose
Enter global configuration mode.
Disable CDP.
Return to privileged EXEC mode.
Purpose
Enter global configuration mode.
Enable CDP after disabling it.
Return to privileged EXEC mode.
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Configuring CDP
29-5.
29-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3560-x

Table of Contents