9-20
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter9 Monitoring Your Network Topology
Monitoring Without the OSC or In-Band Message Channel
Manually Configuring the Network Topology
If the OSC is absent from the system or CDP is disabled, you must manually add the wdm interfaces
connected to the trunk fiber to the network topology using the CLI. To manually add the wdm interf aces
to the network topology, perform the following steps on all the nodes in the network, beginning in global
configuration mode:
Figure 9-2 shows an example ring topology with three shelves.
Figure9-2 Ring Topology Example
The following example shows how to configure the network topology for node 1 in Figure 9-2:
Node1(config)# interface wdm 0/1
Node1(config-if)# topology neighbor name Node2 port name wdm0/0
Node1(config-if)# topology neighbor agent ip-address 10.2.2.2
Node1(config)# exit
Node1(config)# interface wdm 0/0
Node1(config-if)# topology neighbor name Node3 port name wdm0/1
Node1(config-if)# topology neighbor agent ip-address 10.3.3.3
Command Purpose
Step1 Switch(config)# interface wdm slot/subcard
Switch(config-if)#
Selects the interface to configure and enters interface
configuration mode.
Step2 Switch(config-if)# topology neighbor {name
node-name | ip-address node-ip-address |
mac-address node-mac-address}
{port {name port-name |
ip-addressport-i p-address |
mac-addressport -mac-address}}
[receive | transmit]
Configures the network topology information for a
neighboring node.
Step3 Switch(config-if)# topology neighbor agent
ip-address ip-address Specifies the address of the network topology agent on
a neighboring node.
Node 1
Node 2Node 3
wdm 1/2
wdm 0/0 wdm 1/1
wdm 0/0
wdm 1/0wdm 0/2
58649