Spanning-tree force-version – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 532
![background image](/manuals/427254/532/background.png)
Spanning Tree Commands
Software Reference for x310 Series Switches
19.42
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
spanning-tree force-version
Use this command in Interface Configuration mode for a switch port interface only to
force the protocol version for the switch port. Use this command for RSTP or MSTP only.
Syntax
spanning-tree force-version <version>
no spanning-tree force-version
Default
By default, no version is forced for the port. The port is in the spanning tree mode
configured for the device, or a lower version if it automatically detects one.
Mode
Interface Configuration mode for a switch port interface only.
Examples
Set the value to enforce the spanning tree protocol (STP):
Set the default protocol version:
Related Commands
Parameter
Description
<version>
<0-3>
Version identifier.
0
Forces the port to operate in STP mode.
1
Not supported.
2
Forces the port to operate in RSTP mode. If it receives STP
BPDUs, it can automatically revert to STP mode.
3
Forces the port to operate in MSTP mode (this option is only
available if MSTP mode is configured). If it receives RSTP or
STP BPDUs, it can automatically revert to RSTP or STP mode.
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
spanning-tree force-version 0
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
no spanning-tree force-version