Configuring CDP
Configuring CDP
The following sections describe how to configure CDP:
•
•
•
•
•
Enabling CDP Globally
To enable CDP globally, perform this task:
Command
Switch(config)# [no] cdp run
This example shows how to enable CDP globally:
Switch(config)# cdp run
Displaying the CDP Global Configuration
To display the CDP configuration, perform this task:
Command
Switch# show cdp
This example shows how to display the CDP configuration:
Switch# show cdp
Global CDP information:
Switch#
For additional CDP show commands, see the
Software Configuration Guide—Release 12.2(25)EW
20-2
Enabling CDP Globally, page 20-2
Displaying the CDP Global Configuration, page 20-2
Enabling CDP on an Interface, page 20-3
Displaying the CDP Interface Configuration, page 20-3
Monitoring and Maintaining CDP, page 20-3
Sending CDP packets every 120 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled
Chapter 20
Purpose
Enables CDP globally.
Use the no keyword to disable CDP globally.
Purpose
Displays global CDP information.
"Monitoring and Maintaining CDP" section on page
Understanding and Configuring CDP
20-3.
OL-6696-01