9-6
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
To configure CDP topology discovery on wdm interfaces, perform the following steps, beginning in
global configuration mode:
Examples
The following example shows how to enable CDP topology discovery on a wdm int erfac e:
Switch(config)# interface wdm 0/0
Switch(config-if)# topology neighbor cdp
The following example shows how to disable CDP topology discovery on a wdm interface:
Switch(config)# interface wdm 0/0
Switch(config-if)# topology neighbor disable
Displaying CDP Information for Wdm Interfaces
You can display interface-level information gathered by CDP, including neighboring devices.
To display the CDP information for an interface, use the following EXEC commands:
Example
Switch# show topology neighbor
Physical Topology:
Local Port Neighbor Node Neighbor Port
---------- ------------- -------------
Wd0/0 Node1 wdm1/1
Wd0/1 Node2 wdm0/2
Trans8/0/0 Router1 gigabitethernet1/1
Switch# show topology
Global Physical Topology configuration:
Maximum Hold Time = 300 secs
Trap interval = 60 secs
Command Purpose
Step1 Switch(config)# topology hold-time seconds Modifies the interval to hold a nonstatic network
topology node entry. The default value is 300 seconds.
Step2 Switch(config)# interface wdm slot/subcard
Switch(config-if)#
Selects the interface to configure and enters interface
configuration mode.
Step3 Switch(config-if)# topology neighbor cdp
[proxy interface]
or
Switch(config-if)# topology neighbor disable
Enables CDP topology discovery on the interface. The
default is enabled.
or
Disables CDP on the interface.
Command Purpose
show topology neighbor [detail] Displays information about the physical network
topology neighbors for the node.
show topology Displays the global physical network topology
configuration.