Reference Guide

spanning-tree disable
Disables the spanning-tree mode congured with the spanning-tree mode command globally on the switch or on specied interfaces.
Syntax
spanning-tree disable
Parameters None
Default Not congured.
Usage Information The no version of this command re-enables STP and applies the currently congured spanning-tree settings.
Command Mode
CONFIGURATION
INTERFACE
Example
OS10(config)# interface ethernet 1/1/4
OS10(config-if-eth1/1/4)# spanning-tree disable
Supported Releases 10.3.0E or later
spanning-tree guard
Enables or disables loop guard or root guard on an interface.
Syntax
spanning-tree guard {loop | root | none}
Parameters
loop — Enables loop guard on an interface.
root — Enables root guard on an interface.
none — Sets the guard mode to none.
Default Not congured
Usage Information Root guard and loop guard congurations are mutually exclusive. Conguring one overwrites the other from the
active conguration.
Command Mode INTERFACE
Example
OS10(conf-if-eth1/1/4)# spanning-tree guard root
Supported Releases 10.2.0E or later
spanning-tree mode
Enables an STP type (RSTP, Rapid-PVST+, or MST).
Syntax
spanning-tree mode {rstp | mst | rapid-pvst}
Parameters
rstp — Sets the STP mode to RSTP.
mst — Sets the STP mode to MST.
rapid-pvst — Sets the STP mode to RPVST+.
Default RPVST+
Layer 2 221