Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
For
vlan-id
, the range is 1 to 4094.
no spanning-tree vlan vlan-id
Example:
Switch(config)#
no spanning-tree vlan 300
Step 3
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 4
Related Topics
Supported Spanning-Tree Instances, on page 221
Default Spanning-Tree Configuration, on page 223
Configuring the Root Switch
To configure a switch as the root for the specified VLAN, use the
spanning-tree vlan vlan-id root
global
configuration command to modify the switch priority from the default value (32768) to a significantly lower
value. When you enter this command, the software checks the switch priority of the root switches for each
VLAN. Because of the extended system ID support, the switch sets its own priority for the specified VLAN
to 24576 if this value will cause this switch to become the root for the specified VLAN.
Use the
diameter
keyword to specify the Layer 2 network diameter (that is, the maximum number of switch
hops between any two end stations in the Layer 2 network). When you specify the network diameter, the
switch automatically sets an optimal hello time, forward-delay time, and maximum-age time for a network
of that diameter, which can significantly reduce the convergence time. You can use the
hello
keyword to
override the automatically calculated hello time.
This procedure is optional.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
spanning-tree vlan vlan-id root primary
[
diameter net-diameter
4.
end
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
227
How to Configure Spanning-Tree Features
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......