2-566
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set spantree enable
set spantree enable
To enable the spanning tree algorithm for all VLANs, a specific VLAN, a specific instance, or all
instances, use the set spantree enable command.
set spantree enable vlans
set spantree enable all
set spantree enable mistp-instance instance
set spantree enable mistp-instance all
Syntax Description
Defaults The default is enabled, and all instances are enabled (flooding disabled).
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command is not supported by the NAM.
MISTP and VTP pruning cannot be enabled at the same time.
If you do not specify a VLAN number or an instance number, 1 is assu med.
This command is not available in MST mode.
Examples This example shows how to activate spanning tree for VLAN 1:
Console> (enable) set spantree enable 1
VLAN 1 bridge spanning tree enabled.
Console> (enable)
This example shows how to activate spanning tree for an instance:
Console> (enable) set spantree enable mistp-instance 1
-STP instance 1 enabled.
Console> (enable)
vlans Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.
all Specifies all VLANs.
mistp-instance
instance Specifies the instance number; valid values are from 1 to 16.
mistp-instance all Enables all instances.