|
Table Of Contents
topology neighbor agent ip-address
Topology Neighbor Commands
Use the following commands to configure and monitor network topology neighbors.
show topology
To display information about the global physical network topology configuration, use the show topology command.
show topology
Syntax Description
This command has no other arguments or keywords.
Defaults
None
Command Modes
EXEC and privileged EXEC
Command History
This table includes the following release-specific history entries:
•EY-Release
•E-Release
•EV-Release
•SV-Release
•S-Release
Usage Guidelines
Use this command to display the global physical network topology configuration information.
Examples
The following example shows how to display the topology hold-time interval. (See Table 10-1 for field descriptions.)
Switch# show topology
Global Physical Topology configuration:
Maximum Hold Time = 300 secs
Trap interval = 60 secs
Related Commands
Command DescriptionDisplays network topology information.
Configures the network topology SNMP trap notification throttle interval.
Modifies the interval to hold a nonstatic topology node entry.
show topology neighbor
To display the network topology neighbors for the shelf, use the show topology neighbor command.
show topology neighbor [detail]
Syntax Description
Defaults
Displays summary information.
Command Modes
Privileged EXEC
Command History
This table includes the following release-specific history entries:
•EY-Release
•E-Release
•EV-Release
•SV-Release
•S-Release
Usage Guidelines
Use this command to display the network topology neighbors for the shelf.
Examples
The following example shows how to display network topology neighbor information for the shelf. (See Table 10-2 for field descriptions.)
Switch# show topology neighbor
Physical Topology:
Local Port Neighbor Node Neighbor Port
---------- ------------- -------------
Wd0/3 Switch2 Wd0/0
The following example shows how to display detailed network topology neighbor information for the shelf. (See Table 10-3 for field descriptions.)
Switch# show topology neighbor detail
Physical Topology:
Local Port: Wdm0/3
Neighbor Node : Switch2
Neighbor Port :
Neighbor Agent Address: 172.20.54.159
Neighbor Discovery : Via CDP (Proxy Port: Wave0)
Related Commands
topology hold-time
To modify the interval to hold nonstatic topology node entries, use the topology hold-time command. To return the hold-time interval to its default value, use the no form of the command.
topology hold-time seconds
no topology hold-time
Syntax Description
Defaults
300 seconds
Command Modes
Global configuration
Command History
This table includes the following release-specific history entries:
•EY-Release
•E-Release
•EV-Release
•SV-Release
•S-Release
Usage Guidelines
Use this command to modify the network topology hold-time timer interval. This timer helps avoid reconstructing a nonstatic topology entry when a node leaves the network for only a brief time.
Examples
The following example shows how to modify the network topology hold time.
Switch# configure terminal
Switch(config)# topology hold-time 60
Related Commands
Command DescriptionDisplays global physical topology configuration.
Configures the network topology SNMP trap notification throttle interval.
Enables CDP on wdm interfaces.
topology neighbor
To manually add a static entry for a filterband, filtergroup, thru, OSC wave, oscfilter, transparent, or wdm interface to the network topology, use the topology neighbor command. To remove the interface from the network topology, use the no form of the command or the topology neighbor disable command.
topology neighbor {name node-name | ip-address ip-address |
mac-address mac-address} {port name port-name | port ip-address port-ip-address |
port mac-address port-mac-address}no topology neighbor
Syntax Description
Defaults
CDP (Cisco Discovery Protocol) is enabled on wdm interfaces.
No topology is configured on transparent interfaces.
Command Modes
Interface configuration
Command History
This table includes the following release-specific history entries:
•EY-Release
•E-Release
•EV-Release
•SV-Release
•S-Release
Usage Guidelines
Use this command to manually add wdm, thru, oscfilter, OSC wave, filterband, filtergroup, and transparent interfaces to the network topology. You must also configure the network management agent IP address with the topology neighbor agent ip-address command. By default, CDP is enabled on all these interface types.
For transparent interfaces, you must use the topology neighbor command to add the interface to the network topology because the transparent interfaces do not support CDP. For wdm interfaces, use either the topology neighbor command or the topology neighbor cdp command to populate the network topology.
For y-cable protected configurations, add both associated transparent interfaces to the network topology.
You can also use the topology neighbor disable command to remove an interface from the network topology.
Examples
The following example shows how to connect a mux/demux module to a mux/demux module in another node.
Switch# configure terminal
Switch(config)# interface wdm 0/2
Switch(config-if)# topology neighbor name NodeA port name wdm0/0
Switch(config-if)# topology neighbor agent ip-address 10.1.1.1
The following example shows how to connect a mux/demux module to an interface on client equipment.
Switch# configure terminal
Switch(config)# interface transparent 2/0/2
Switch(config-if)# topology neighbor name Router1 port name gigabitethernet2/1
Switch(config-if)# topology neighbor agent ip-address 10.2.2.2
Related Commands
topology neighbor agent ip-address
To specify the network management agent address on a remote node, use the topology neighbor agent ip-address command. To remove the network management agent address from an interface, use the no form of the command.
topology neighbor agent ip-address ip-address
no topology neighbor agent ip-address
Syntax Description
ip-address
Specifies the IP address of the network management agent on the neighbor node. This address is usually the IP address configured on the NME interface on the neighbor node.
Defaults
None
Command Modes
Interface configuration
Command History
This table includes the following release-specific history entries:
•EY-Release
•E-Release
•EV-Release
•SV-Release
•S-Release
Usage Guidelines
Use this command if you have configured a network topology manually with the topology neighbor command. Use this command on wdm and transparent interfaces.
The network management agent IP address is usually the IP address of the NME on the node.
Note Do not use this command if you have enabled CDP on the interface with the topology neighbor cdp command.
Examples
The following example shows how to configure a network management agent on a wdm interface.
Switch# configure terminal
Switch(config)# interface wdm 0/2
Switch(config-if)# topology neighbor name NodeA port name wdm0/0
Switch(config-if)# topology neighbor agent ip-address 209.165.202.129
The following example shows how to configure a network management agent on a transparent interface.
Switch# configure terminal
Switch(config)# interface transparent 2/3/0
Switch(config-if)# topology neighbor name Router2 port name gigabitethernet 2/2
Switch(config-if)# topology neighbor agent ip-address 209.165.202.130
Related Commands
Command DescriptionDisplays the topology configuration.
Adds a static entry for an interface to the network topology.
topology neighbor cdp
To enable CDP on a wdm interface, use the topology neighbor cdp command. To disable CDP on the interface, use the no form of the command or the topology neighbor disable command.
topology neighbor cdp
no topology neighbor cdp
Syntax Description
This command has no other arguments or keywords.
Defaults
Enabled
The default proxy for WDM interfaces is the OSC wave interface patched to the OSC filter interface on the mux/demux module
Command Modes
Interface configuration
Command History
This table includes the following release-specific history entries:
•EY-Release
•E-Release
•EV-Release
•SV-Release
•S-Release
Usage Guidelines
CDP dynamically adds wdm interfaces to and removes them from the network topology. CDP is not supported on transparent interfaces. For this command to function properly, the OSC and CDP must be present and configured on the system.
You can use the topology neighbor command to statically add a wdm interface to the network topology, but you must first disable CDP on the interface. To configure a transparent interface as part of the network topology, use the topology neighbor command.
Note You must correctly configure the patch connection between the mux/demux modules using the patch command. Otherwise, CDP cannot locate the wdm interfaces that connect to the trunk fiber and discover the topology neighbors.
Examples
The following example shows how to enable CDP on a wdm interface.
Switch# configure terminal
Switch(config)# interface wdm 0/3
Switch(config-if)# topology neighbor cdp
Related Commands
topology neighbor disable
To remove an interface from the network topology, use the topology neighbor disable command.
topology neighbor disable
Syntax Description
This command has no other arguments or keywords.
Defaults
None
Command Modes
Interface configuration
Command History
This table includes the following release-specific history entries:
•EY-Release
•E-Release
•EV-Release
•SV-Release
•S-Release
Usage Guidelines
Use this command to remove an interface from the network topology, whether it was added with the topology neighbor command or the topology neighbor cdp command.
Examples
The following example shows how to remove an interface from the network topology.
Switch# configure terminal
Switch(config)# interface wdm 0/2
Switch(config-if)# topology neighbor disable
Related Commands
Command DescriptionDisplays the system connections.
Adds a static entry for an interface to the network topology.
Enables CDP on the interface.
Posted: Sun Feb 19 15:13:22 PST 2006
All contents are Copyright © 1992--2006 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.