9-5
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter9 Monitoring Your Netw ork Topology
Configuring CDP
Switch1# show cdp interface
Wave2/0 is up, line protocol is up
Encapsulation UNKNOWN
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Switch1# show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
Switch2 Wave2/0 158 R Wave2/0
Switch1# show cdp traffic
CDP counters :
Total packets output: 18, Input: 20
Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
No memory: 0, Invalid packet: 0, Fragmented: 0
CDP version 1 advertisements output: 0, Input: 0
CDP version 2 advertisements output: 18, Input: 20

Clearing Global CDP Information

You can reset the CDP traffic counters to zero and clear the table that contains the CDP neighbor
information. To clear the CDP information, use the following privileged EXEC commands:
Configuring CDP Topology Discovery on Wdm Interfaces
You can enable CDP topology discovery on the wdm interfaces that connect to the trunk fiber. CDP then
automatically advertises interface information to neighboring nodes.
Note The Cisco ONS 15530 enables CDP topology discovery by default on the wdm interfaces connecting
to the trunk fiber.
Command Purpose
clear cdp counters Resets the CDP traffic counters to zero.
clear cdp table Clears the table that contains the CDP neighbor
information.