Configuring CDP
Configuring CDP
These sections describe how to configure CDP:
•
•
•
•
•
Enabling CDP Globally
To enable CDP globally, perform this task:
Command
Router(config)# cdp run
Router(config)# no cdp run
This example shows how to enable CDP globally:
Router(config)# cdp run
Displaying the CDP Global Configuration
To display the CDP configuration, perform this task:
Command
Router# show cdp
This example shows how to display the CDP configuration:
Router# show cdp
Global CDP information:
Router#
For additional CDP show commands, see the
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
48-2
Enabling CDP Globally, page 48-2
Displaying the CDP Global Configuration, page 48-2
Enabling CDP on a Port, page 48-3
Displaying the CDP Interface Configuration, page 48-3
Monitoring and Maintaining CDP, page 48-3
Sending CDP packets every 120 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled
Purpose
Enables CDP globally.
Disables CDP globally.
Purpose
Displays global CDP information.
"Monitoring and Maintaining CDP" section on page
Chapter 48
Configuring CDP
48-3.
OL-4266-08