Owner's Manual

Spanning-Tree Commands 369
Spanning-Tree Commands
spanning-tree
The
spanning-tree
global configuration command enables spanning-tree functionality. To disable
spanning-tree functionality, use the
no
form of this command.
Syntax
spanning-tree
no spanning-tree
Default Configuration
Spanning-tree is enabled.
Command Modes
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example enables spanning-tree functionality.
spanning-tree mode
The
spanning-tree mode
global configuration command configures the spanning-tree protocol. To
return to the default configuration, use the
no
form of this command.
Syntax
spanning-tree mode
{
stp
|
rstp
}
no spanning-tree mode
stp
—STP is supported.
rstp
—RSTP is supported.
Default Configuration
Spanning-tree protocol (STP) is supported.
Command Modes
Global Configuration mode
Console(config)# spanning-tree