set protocols spanning-tree enable
The set protocols spanning-tree enable command is used to enable or disable spanning tree protocols on a switching device.
Command Syntax
set protocols spanning-tree enable <true | false>
Parameter
Parameter | Description |
enable <true | false> | Enables or disables spanning tree protocols. The value could be true or false.
By default, spanning tree protocols is enabled. |
Usage Guidelines
To enable a spanning tree protocol, use the set protocols spanning-tree enable true command first, then use the set protocols spanning-tree force-version <0 | 2 | 3 | 4> command to specify the protocol version.
Note: To enable Rapid-PVST+, you must also enable Rapid-PVST+ on the VLAN by using the set protocols spanning-tree pvst vlan <vlan-id> enable true command.
Example
- Disable spanning tree protocols.
admin@Xorplus# set protocols spanning-tree enable false admin@Xorplus# commit
- Enable spanning tree protocols.
admin@Xorplus# set protocols spanning-tree enable true admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.