9-22
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter9 Monitoring Your Network Topology
Configuring Interfaces in the Network Topology
To add a interfaces to the network topology, perform the following steps, beginning in global
configuration mode:
Example
The following example shows how to add a transparent interface to the n etwor k topol ogy:
Switch(config)# interface transparent 8/0/0
Switch(config-if)# topology neighbor name router1 port name gigabitethernet1/1
Switch(config-if)# topology neighbor agent ip-address 10.1.1.1
Displaying Topology Information for Interfaces
To display the topology information for a transparent interface, use the following EXEC command:
Example
The following example shows how to display the client equipment topology:
Switch# show topology neighbor
Physical Topology:
Local Port Neighbor Node Neighbor Port
---------- ------------- -------------
Trans8/0/0 Router1 gigabitethernet1/1
Command Purpose
Step1 Switch(config)# interface {transparent
slot/subcard/0 | wdm slot/subcard | esconphy
slot/subcard/port }
Switch(config-if)#
Selects the interface to configure and enters interface
configuration mode.
Step2 Switch(config-if)# topology neighbor
{name node-name |
ip-addressnode -ip-add ress |
mac-addressnode -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.
Command Purpose
show topology neighbor Displays network topology information.