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