Configuring Cdp - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Configuring CDP

Each CDP-configured device sends periodic messages to a multicast address. Each device advertises at
least one address at which it can receive SNMP messages. The advertisements also contain the
time-to-live, or holdtime information, which indicates the length of time a receiving device should hold
CDP information before discarding it.
Configuring CDP
The following sections describe how to configure CDP:
Enabling CDP Globally
To enable CDP globally, use this command:
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, use this command:
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 IOS XE 3.6.0E and IOS 15.2(2)E
30-2
Enabling CDP Globally, page 30-2
Displaying the CDP Global Configuration, page 30-2
Enabling CDP on an Interface, page 30-3
Displaying the CDP Interface Configuration, page 30-3
Monitoring and Maintaining CDP, page 30-3
Sending CDP packets every 120 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled
Purpose
Enables CDP globally.
Use the no keyword to disable CDP globally.
Purpose
Displays global CDP information.
"Monitoring and Maintaining CDP" section on page
Chapter 30
Configuring CDP
30-3.
OL_28731-01

Advertisement

Table of Contents
loading

Table of Contents