User manual

Configuration Commands 78
Spanning Tree configuration
The switch supports the IEEE 802.1d Spanning Tree Protocol (STP) and Cisco proprietary PVST and PVST+
protocols. You can configure up to 31 spanning tree groups on the switch (STG 32 is reserved for switch
management). Spanning Tree is turned on by default.
NOTE: When RSTP is turned on, only STP group 1 can be configured.
The following table describes the Spanning Tree Configuration commands.
Table 83 Spanning Tree Configuration commands
Command Description
spanning-tree stp {<1-32>} vlan
{<1-4095>}
Associates a VLAN with a spanning tree and requires an external
VLAN ID as a parameter.
Command mode: Global configuration
no spanning-tree stp {<1-32>} vlan
{<1-4095>}
Breaks the association between a VLAN and a spanning tree and
requires an external VLAN ID as a parameter.
Command mode: Global configuration
no spanning-tree stp {<1-32>} vlan
all
Removes all VLANs from a spanning tree.
Command mode: Global configuration
spanning-tree stp {<1-32>} enable
Globally enables Spanning Tree Protocol.
Command mode: Global configuration
no spanning-tree stp {<1-32>}
enable
Globally disables Spanning Tree Protocol.
Command mode: Global configuration
default spanning-tree <1-32>
Restores a spanning tree instance to its default configuration.
Command mode: Global configuration
show spanning-tree stp {<1-32>}
Displays current Spanning Tree Protocol parameters.
Command mode: All