9-3
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
Configuring CDP
CDP is primarily used to obtain protocol addresses of neighboring devices and to discover the platform
of those devices. For a full description of CDP and details on configuring the protocol, refer to the
Cisco IOS Configuration Fundamentals Configuration Guide. For a full description of the CDP
commands, refer to the Cisco IOS Configuration Fundamentals Com man d Re ference.
On the CiscoONS 15530, you can configure CDP at both the global level and the interface level. The
global-level CDP configuration sets the attributes for the entire system. The in terface-lev el conf iguration
identifies interfaces connected to the client equipment and to the trunk interface to CDP. Because there
are only optical connections to the client equipment, you must explicitly identify the transparent
interfaces connected to the client equipment. On wdm interfaces, you can choose to provide the
information about the interface in the CLI or you can let CDP discover it.
Note The shelf must include the OSC to support CDP. If the OSC is not present, see the Monitoring
Without the OSC or In-Band Message Channel section on page 9-19.

Configuring Global CDP

To configure CDP on your Cisco ONS15530, use the following commands in global configu rat ion
mode:
Examples
In the following example, the CDP packets being sent from your device should be he ld by the receiving
device for 60 seconds before being discarded:
Switch(config)# cdp holdtime 60
In the following example, CDP updates are sent every 80 seconds:
Switch(config)# cdp timer 80
Command Purpose
cdp advertise-v2 Specifies CDP version2 advertisements. The default is version 2.
cdp holdtime seconds Specifies the amount of time the receiving device should hold a
CDP packet from the sending device before discarding it. The
default value is 180 seconds.
cdp timer seconds Specifies how often to send CDP updates. The default value is
60 seconds.
[no] cdp run Enables and disables CDP on the device. The default state is
enabled.