Configuring CDP
CDP and Switch Stacks
A switch stack appears as a single switch in the network. Therefore, CDP discovers the switch stack, not
the individual stack members. The switch stack sends CDP messages to neighboring network devices
when there are changes to the switch stack membership, such as stack members being added or removed.
Configuring CDP
•
•
•
•
Default CDP Configuration
Table 29-1
Feature
CDP global state
CDP interface state
CDP timer (packet update frequency)
CDP holdtime (before discarding)
CDP Version-2 advertisements
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.
Steps 2 through 4 are all optional and can be performed in any order.
Note
Command
Step 1
configure terminal
Step 2
cdp timer seconds
Step 3
cdp holdtime seconds
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
29-2
Default CDP Configuration, page 29-2
Configuring the CDP Characteristics, page 29-2
Disabling and Enabling CDP, page 29-3
Disabling and Enabling CDP on an Interface, page 29-4
Default CDP Configuration
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.
Chapter 29
Default Setting
Enabled
Enabled
60 seconds
180 seconds
Enabled
Configuring CDP
OL-21521-01