15 SPANNING-TREE COMMANDS
spanning-tree The spanning-tree Global Configuration mode command enables
spanning-tree functionality. To disable the 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 mode command
configures the spanning-tree protocol. To restore the default
configuration, use the no form of this command.
Syntax
spanning-tree mode {stp | rstp| mstp}
Console(config)# spanning-tree