Default CDP Configuration
Default CDP Configuration
Table 31-1
Table 31-1
Feature
CDP global enable state
CDP port enable state
CDP message interval
CDP holdtime
The CDP message interval can be configured in the range of 5–254 seconds.
Note
Configuring CDP on the Switch
These sections describe how to configure CDP:
•
•
•
•
•
Setting the CDP Global Enable and Disable States
To set the CDP global enable state, perform this task in privileged mode:
Task
Step 1
Set the CDP global enable state on the switch.
Step 2
Verify the CDP configuration.
This example shows how to enable CDP globally and verify the configuration:
Console> (enable) set cdp enable
CDP enabled globally
Console> (enable) show cdp
CDP
Message Interval
Hold Time
Console> (enable)
This example shows how to disable CDP globally and verify the configuration:
Console> (enable) set cdp disable
CDP disabled globally
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
31-2
shows the default CDP configuration.
CDP Default Configuration
Setting the CDP Global Enable and Disable States, page 31-2
Setting the CDP Enable and Disable States on a Port, page 31-3
Setting the CDP Message Interval, page 31-4
Setting the CDP Holdtime, page 31-4
Displaying CDP Neighbor Information, page 31-5
: enabled
: 60
: 180
Default Value
Enabled
Enabled on all ports
60 seconds
180 seconds
Command
set cdp {enable | disable}
show cdp
Chapter 31
Configuring CDP
OL-8978-04