bridge spanning-tree force-version
Use this command to set the version for the bridge. A version identifier of less than a value of 2 enforces the spanning tree protocol. Although the command supports an input range of 0-4, for RSTP, the valid range is 0-2. When the force-version is set for a bridge, all ports of the bridge have the same spanning tree version set.
Use the
show spanning tree command to display administratively configured and currently running values of the BPDU filter parameter for the bridge and port (see
show spanning-tree).
Use the no parameter with this command to disable the version for the bridge.
Command Syntax
bridge <1-32> spanning-tree force-version <0-4>
no bridge <1-32> spanning-tree force-version
Parameters
<1-32>
Specify the bridge group ID.
force-version
Specify a force version identifier:
0
STP
1
Not supported
2
RSTP
3
MSTP
Default
By default, spanning tree force version is 0
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
Set the value to enforce the spanning tree protocol:
#configure terminal
(config)#bridge 1 spanning-tree force-version 0
(config)#no bridge 1 spanning-tree force-version
Last modified date: 10/12/2023