550 Spanning Tree Commands
•
mstp
 — Multiple Spanning Tree Protocol (MSTP) is enabled.
Default Configuration
Rapid Spanning Tree Protocol (RSTP) is supported.
Command Mode 
Global Configuration mode
User Guidelines
In RSTP mode the switch would use STP when the neighbor switch is using 
STP. In MSTP mode the switch would use RSTP when the neighbor switch is 
using RSTP and would use STP when the neighbor switch is using STP.
Example
The following example configures the spanning-tree protocol to MSTP.
console(config)#spanning-tree mode mstp
spanning-tree mst 0 external-cost
Use the spanning-tree mst 0 external-cost command to set the external cost 
for the common spanning tree. The external cost is used by the switch when 
negotiating spanning tree topology outside the region. 
  Since by default each switch is in its own region, the external cost is considered in 
determining the spanning tree in the network.
  This command is used to configure rstp path cost.
Use the “no” form of this command to reset the external cost to the default.
Syntax
spanning-tree mst 0 external-cost 
cost
no spanning-tree mst 0 external-cost
•
cost
 — The external cost of the common spanning tree (Range: 
0–200000000).