Configuring The Cdp Characteristics; Disabling And Enabling Cdp - Cisco Catalyst 2960 Software Configuration Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 25
Configuring CDP

Configuring the CDP Characteristics

You can configure the frequency of CDP updates, the amount of time to hold the information before
discarding it, and whether or not to send Version-2 advertisements.
Beginning in privileged EXEC mode, follow these steps to configure the CDP timer, holdtime, and
advertisement type.
Note
Steps 2 through 4 are all optional and can be performed in any order.
Command
Step 1
configure terminal
Step 2
cdp timer seconds
Step 3
cdp holdtime seconds
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.
OL-26520-01
Purpose
Enter global configuration mode.
(Optional) Set the transmission frequency of CDP updates in seconds.
The range is 5 to 254; the default is 60 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.
(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
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Configuring CDP
25-5.
25-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents