Default CDP Configuration
Default CDP Configuration
Table 29-1
Table 29-1 CDP Default Configuration
Feature
CDP global enable state
CDP port enable state
CDP message interval
CDP holdtime
Configuring CDP
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
Console> (enable) show cdp
CDP
Message Interval
Hold Time
Console> (enable)
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
29-2
shows the default CDP configuration.
Setting the CDP Global Enable and Disable States, page 29-2
Setting the CDP Enable and Disable States on a Port, page 29-3
Setting the CDP Message Interval, page 29-4
Setting the CDP Holdtime, page 29-4
Displaying CDP Neighbor Information, page 29-5
: enabled
: 60
: 180
: disabled
: 60
: 180
Chapter 29
Default Value
Enabled
Enabled on all ports
60 seconds
180 seconds
Command
set cdp {enable | disable}
show cdp
Configuring CDP
78-13315-02