Configuring Spanning Tree Parameters Configuring STP Bridge Parameters
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 6-27
• If Spanning Tree is disabled on a VLAN, active ports associated with that VLAN are excluded from
Spanning Tree calculations and remain in a forwarding state.
• Note that when a switch is running in the flat mode, disabling Spanning Tree on VLAN 1 disables the
instance for all VLANs and all active ports are then excluded from any Spanning Tree calculations and
remain in a forwarding state.
The following is a summary of Spanning Tree bridge configuration commands. For more information
about these commands, see the OmniSwitch AOS Release 8 CLI Reference Guide.
The following sections provide information and procedures for using the bridge configuration commands
and also includes command examples.
Selecting the Spantree Protocol
The switch supports three Spanning Tree protocols: STP, RSTP (the default), MSTP. To configure the
Spanning Tree protocol for a VLAN instance regardless of which mode (per-VLAN or flat) is active for
the switch, use the spantree protocol command with the vlan parameter. For example, the following
command changes the protocol to RSTP for VLAN 455:
-> spantree vlan 455 protocol rstp
Commands Used for ...
spantree protocol Configuring the protocol for the flat mode CIST instance or a per-
VLAN mode VLAN instance.
spantree priority Configuring the priority value for the flat mode CIST instance, a
Multiple Spanning Tree Instance (MSTI), or a per-VLAN mode
VLAN instance.
spantree hello-time Configuring the hello time value for the flat mode CIST instance or
a per-VLAN mode VLAN instance.
spantree max-age Configuring the maximum age time value for the flat mode CIST
instance or a per-VLAN mode VLAN instance.
spantree forward-delay Configuring the forward delay time value for the flat mode CIST
instance or a per-VLAN mode VLAN instance.
spantree bpdu-switching Configuring the BPDU switching status for a VLAN.
spantree path-cost-mode Configuring the automatic selection of a 16-bit path cost for STP/
RSTP ports and a 32-bit path cost for MSTP ports or sets all path
costs to use a 32-bit value.
spantree auto-vlan-
containment
Enables or disables Auto VLAN Containment (AVC) for 802.1s
instances.
spantree pvst+compatibility Enables or disables PVST+ mode on the switch.
Note. When configuring the protocol value for a VLAN instance, MSTP is not an available option. This
protocol is only supported on the flat mode instance.