9-4
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter9 Monitoring Your Network Topology
Configuring CDP
Displaying the Global CDP Configuration
To display the configured CDP values, use the following EXEC command:
Example
The following example shows how to display the configured CDP values:
Switch> show cdp
Global CDP information:
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled
Displaying Global CDP Information
You can display information gathered by CDP, including a specific neighbor device listed in the CDP
table, the interfaces on which CDP is enabled, and the traffic between devices gathered using CDP.
To display the CDP information, use the following EXEC commands:
Example
The following example shows how to display CDP status and activity information:
Switch1# show cdp entry *
-------------------------
Device ID: Switch2
Entry address(es):
IP address: 10.1.1.2
Platform: cisco , Capabilities: Router
Interface: Wave2/0, Port ID (outgoing port): Wave2/0
Holdtime : 176 sec
Version :
Cisco Internetwork Operating System Software
IOS (tm) ONS-15530 Software (manopt-I-M), Experimental Version 12.1 [koj-ons 122]
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Mon 30-Apr-01 12:04 by koj
advertisement version: 2
Command Purpose
show cdp Displays the configured CDP timer, holdtime, and
advertisement settings.
Command Purpose
show cdp entry {* | entry-name} [protocol |
version]Displays information about all neighbors or a specific
neighbor discovered by CDP. Optionally, displays the
protocol and version.
show cdp interface [type number] Displays information about the interfaces on which
CDP is enabled.
show cdp neighbors Displays a list of CDP neighbors.
show cdp traffic Displays information about traffic between devices
gathered using CDP.