Disabling And Enabling Cdp - Cisco WS-C3560-48PS-S Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C3560-48PS-S:
Table of Contents

Advertisement

Chapter 21
Configuring CDP
Command
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 and verify CDP characteristics.
Switch# configure terminal
Switch(config)# cdp timer 50
Switch(config)# cdp holdtime 120
Switch(config)# cdp advertise-v2
Switch(config)# end
Switch# show cdp
Global CDP information:
For additional CDP show commands, see the

Disabling and Enabling CDP

CDP is enabled by default.
Note
Switch clusters and other Cisco devices (such as Cisco IP Phones) regularly exchange CDP messages.
Disabling CDP can interrupt cluster discovery and device connectivity. For more information, see
Chapter 5, "Clustering Switches."
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
78-16156-01
Purpose
Verify configuration by displaying global information about CDP on the
device.
(Optional) Save your entries in the configuration file.
Sending CDP packets every 50 seconds
Sending a holdtime value of 120 seconds
Sending CDPv2 advertisements is enabled
"Monitoring and Maintaining CDP" section on page
Purpose
Enter global configuration mode.
Disable CDP.
Return to privileged EXEC mode.
Catalyst 3560 Switch Software Configuration Guide
Configuring CDP
21-5.
21-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents