2-159
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear spantree root
clear spantree root
To restore the spanning tree bridge priority, hello time, maxage, and forward delay on the switch to their
default values, use the clear spantree root command.
clear spantree root [vlans]
clear spantree root mistp-instance instances
clear spantree root mst instances
Syntax Description
Defaults The defaults are as follows:
• switch priority is 32768
• forward delay is 15 seconds
• hello time is 2 seconds
• maxage is 20 seconds
Command Types Switch command.
Command Modes Privileged.
Examples This example shows how to clear the spanning tree root on a range of VLANs:
Console> (enable) clear spantree root 1-20
VLANs 1-20 bridge priority set to 32678.
VLANs 1-20 bridge hello time set to 2 seconds.
VLANs 1-20 bridge max aging time set to 20 seconds.
VLANs 1-20 bridge forward delay set to 15 seconds.
This example shows how to clear the spanning tree root on two specific VLANs:
Console> (enable) clear spantree root 22,24
VLANs 22,24 bridge priority set to 32678.
VLANs 22,24 bridge hello time set to 2 seconds.
VLANs 22,24 bridge max aging time set to 20 seconds.
VLANs 22,24 bridge forward delay set to 15 seconds.
Console> (enable)
vlans (Optional) Number of the VLAN; valid values are from 1 to 4094.
mistp-instance
instances
Specifies the instance number; valid values are from 1 to 16.
mst instances Specifies the MST instance number; valid values are 0 to 15.