API Guide

Usage
Information
The no version of this command re-enables STP and applies the currently configured 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 configured
Usage
Information
Root guard and loop guard configurations are mutually exclusive. Configuring one overwrites the other
from the active configuration.
Command Mode INTERFACE
Example
OS10(conf-if-eth1/1/4)# spanning-tree guard root
Supported
Releases
10.2.0E or later
spanning-tree link-type
Sets the spanning-tree link-type for faster convergence.
Syntax
spanning-tree link-type {auto | point-to-point | shared}
Parameters
auto Enter the keyword to sets the link-type based on the duplex setting of the interface.
point-to-pointSpecifies that the interface is a point-to-point or full-duplex link.
sharedSpecifies that the interface is a half-duplex medium.
Default Auto
Command Mode INTERFACE
Usage
Information
As specified in IEEE 802.1w, OS10 assumes a port that runs in full-duplex mode as a point-to-point link. A
point-to-point link transitions to forwarding state faster. By default, OS10 derives the link-type of a port
from the duplex mode. You can override the duplex mode using the spanning-tree link-type
command.
As half-duplex mode is considered as a shared link, the fast transition feature is not applicable for shared
links. If you designate a port as a shared link, you cannot use the fast transition feature, regardless of the
duplex setting.
Example
OS10(config-inf)# spanning-tree link-type point-to-point
Supported
Releases
OS10 legacy command.
476 Layer 2