Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
The root switch for each instance of spanning tree should be a backbone or distribution switch. Do not
Note
configure an access switch as the spanning tree primary root.
Use the diameter keyword to specify the Layer 2 network diameter (that is, the maximum number of
bridge hops between any two end stations in the Layer 2 network). When you specify the network
diameter, the switch automatically picks an optimal hello time, forward delay time, and maximum age
time for a network of that diameter, which can significantly reduce the spanning tree convergence time.
You can use the hello keyword to override the automatically calculated hello time.
We recommend that you avoid configuring the hello time, forward delay time, and maximum age time
Note
manually after configuring the switch as the root bridge.
Follow these steps to configure the switch as the root.
SUMMARY STEPS
1.
2.
3.
4.
5.
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
spanning-tree vlan vlan-id root primary
[diameter hops [hello-time seconds]]
Example:
Router(config)# spanning-tree vlan 200 root
primary
enable
configure terminal
spanning-tree vlan vlan-id root primary [diameter hops [hello-time seconds]]
no spanning-tree vlan vlan-id
show spanning-tree vlan vlan-id
Purpose
Enables privileged EXEC mode.
•
Enter your password if prompted.
Enters global configuration mode.
Configures a switch as the root switch.
•
Enter the VLAN number, along with any optional
keywords or arguments as needed.
How to Configure EtherSwitch HWICs
37