
Spanning Tree Commands
©2008 Allied Telesis Inc. All rights reserved.
19.26
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
spanning-tree force-version
Use this command 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
Mode
Interface mode
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.
Examples
Set the value to enforce the spanning tree protocol (STP):
Set the default protocol version:
Related Commands
show spanning-tree
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.1.2
awplus(config-if)#
spanning-tree force-version 0
awplus#
configure terminal
awplus(config)#
interface port1.1.2
awplus(config-if)#
no spanning-tree force-version