23-2
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
Chapter 23 Configuring CDP
Configuring CDP
•
The wired switch and the endpoints both send and receive location information.
For information, go to
http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_cdp_discover.html.
The switch supports CDP Version 2.
Configuring CDP
•
Default CDP Configuration, page 23-2
•
Configuring the CDP Characteristics, page 23-2
•
Disabling and Enabling CDP, page 23-3
•
Disabling and Enabling CDP on an Interface, page 23-4
Default CDP Configuration
shows the default CDP configuration.
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.
Table 23-1
Default CDP Configuration
Feature
Default Setting
CDP global state
Enabled
CDP interface state
Enabled
CDP timer (packet update frequency)
60 seconds
CDP holdtime (before discarding)
180 seconds
CDP Version-2 advertisements
Enabled
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
cdp timer
seconds
(Optional) Set the transmission frequency of CDP updates in seconds.
The range is 5 to 254; the default is 60 seconds.