Reference Guide

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+
Command Mode CONFIGURATION
Usage Information All STP instances are stopped in the previous STP mode, and are restarted in the new mode. You can also change
to RSTP/MST mode.
Example (RSTP)
OS10(config)# spanning-tree mode rstp
Example (MST)
OS10(config)# spanning-tree mode mst
Supported Releases 10.2.0E or later
spanning-tree port
Sets the port type as the EdgePort.
Syntax
spanning-tree port type edge
Parameters None
Default Not congured
Command Mode INTERFACE
Usage Information When you congure an EdgePort on a device running STP, the port immediately transitions to Forwarding state.
Only congured ports connected to end hosts act as EdgePorts.
Example
OS10(config)# spanning-tree port type edge
Supported Releases 10.2.0E or later
246 Layer 2