STP Commands
spanning-tree mst cost
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
434
33
Command Mode
Global Configuration mode
User Guidelines
For two or more switches to be in the same MSTP region, they must contain the
same VLAN mapping, the same configuration revision number, and the same
name.
Example
switchxxxxxx(config)#
spanning-tree mst configuration
switchxxxxxx(config-mst)#
instance 1 vlan 10-20
switchxxxxxx(config-mst)#
name region1
switchxxxxxx(config-mst)#
revision 1
spanning-tree mst cost
To configure the path cost for MSTP calculations, use the spanning-tree mst cost
Interface Configuration mode command. If a loop occurs, the STP considers the
path cost when selecting an interface to put in the Forwarding state.
To revert to its default setting, use the no form of this command.
Syntax
spanning-tree mst
instance-id
cost
cost
no spanning-tree mst
instance-id
cost
Parameters
•
instance-id
—The MSTP instance ID. (Range: 0 to 15)
•
cost
—The port path cost. (Range: 1 to 200000000, 0 means Auto)
Default Configuration
The default path cost is determined by the port speed and the path cost method
(long or short):
Interface
Long Short
port channel
20,000
4