![](/images/new-backgrounds/1319497/319497267x1.webp)
Configuration Commands
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 127 spanning tree groups on the switch (STG 128 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 108 Spanning Tree Configuration commands
Command | Description |
|
|
Associates a VLAN with a spanning tree and requires an external | |
| VLAN ID as a parameter. |
| Command mode: Global configuration |
|
|
no | Breaks the association between a VLAN and a spanning tree and |
vlan | requires an external VLAN ID as a parameter. |
| Command mode: Global configuration |
|
|
no | Removes all VLANs from a spanning tree. |
vlan all | Command mode: Global configuration |
| |
|
|
Globally enables Spanning Tree Protocol. | |
enable | Command mode: Global configuration |
| |
|
|
no | Globally disables Spanning Tree Protocol. |
enable | Command mode: Global configuration |
| |
|
|
default | Restores a spanning tree instance to its default configuration. |
| Command mode: Global configuration |
|
|
show | Displays current Spanning Tree Protocol parameters. |
| Command mode: All |
|
|
134