C613-50170-01 Rev B
Command Reference for x510 Series
670
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
S
PANNING
T
REE
C
OMMANDS
SPANNING
-
TREE
FORCE
-
VERSION
spanning-tree force-version
Overview
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):
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
spanning-tree force-version 0
Set the default protocol version:
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
no spanning-tree force-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.