9-21
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 Interfaces in the Network Topology
The following example shows how to configure the network topology for node 2 in Figure 9-2:
Node2(config)# interface wdm 0/0
Node2(config-if)# topology neighbor name Node1 port name wdm0/1
Node2(config-if)# topology neighbor agent ip-address 10.1.1.1
Node2(config)# exit
Node2(config)# interface wdm 0/1
Node2(config-if)# topology neighbor name Node3 port name wdm0/0
Node2(config-if)# topology neighbor agent ip-address 10.3.3.3
The following example shows how to configure the network topology for node 3 in Figure 9-2:
Node3(config)# interface wdm 0/0
Node3(config-if)# topology neighbor name Node2 port name wdm0/1
Node3(config-if)# topology neighbor agent ip-address 10.2.2.2
Node3(config)# exit
Node3(config)# interface wdm 0/1
Node3(config-if)# topology neighbor name Node1 port name wdm0/0
Node3(config-if)# topology neighbor agent ip-address 10.1.1.1

Displaying the Network Topology

To display the network topology, use the following EXEC command:
Example
The following example shows the network topology:
Switch# show topology neighbor
Physical Topology:
Local Port Neighbor Node Neighbor Port
---------- ------------- -------------
Wd0/0 Node1 wdm0/0
Wd0/1 Node2 wdm0/1
Configuring Interfaces in the Network Topology
Not all equipment connected to the Cisco ONS15530 supports CDP topology discovery, such as client
equipment connected to transparent or esconphy interface s and EDFAs (erbium-doped fiber amplifiers)
connected to wdm interfaces. To monitor this type of configuration, you must explicitly add these
interfaces to the network topology.
Command Purpose
show topology neighbor Displays the network topology.