Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
45
Book Title
Follow these steps to configure the switch as the root.:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
spanning-tree vlan
vlaN-ID
root primary
[
diameter
hops
[
hello-time
seconds
]]
4.
end
5.
no spanning-tree vlan
vlan-ID
6.
show spanning-tree vlan
vlan-ID
DETAILED STEPS
Example
Use the
show spanning-tree vlan
command
to verify the that the spanning tree is disabled, as illustrated
below:
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
spanning
-
tree
vlan
vlan-ID
root primary
[
diameter
hops
[
hello-time
seconds
]]
Example:
Router(config)# spanning-tree vlan 200 root
primary
Configures a switch as the root switch.
•
Use the
no
form of this command to restore the
defaults.
Step 4
end
Example:
Router(config)# end
Returns to privileged EXEC mode.
Step 5
no spanning
-
tree vlan
vlan
-
ID
Example:
Router(config)#
s
panning-tree vlan 200 root
primary
Disables spanning tree on a per-VLAN basis.
Step 6
show spanning
-
tree vlan
vlan
-
ID
Example:
Router(config)# show spanning-tree vlan 200
Verifies spanning tree on a per-VLAN basis.