spanning-tree mst cost
The spanning-tree mst cost Interface Configuration mode command configures the path cost for
multiple Spanning Tree (MST) calculations. If a loop occurs, the Spanning Tree considers path cost
when selecting an interface to put in the forwarding state. Use the no form of this command to return to
the default configuration.
Syntax
•
spanning-tree mst instance-id cost cost
•
no spanning-tree mst instance-id cost
•
instance-ID — ID of the spanning -tree instance. (Range: 1 - 15)
•
cost — The port path cost. (Range: 1 - 200,000,000)
Default Configuration
Default path cost is determined by port speed and path cost method (long or short) as shown below:
Interface
Port-channel
Gigabit Ethernet (1000 Mbps)
Fast Ethernet (100 Mbps)
Ethernet (10 Mbps)
Command Mode
Interface Configuration (Ethernet, port-channel) mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example configures the MSTP instance 1 path cost for Ethernet port 1/e9 to 4.
Console(config) # interface ethernet 1/e9
Console(config-if) # spanning-tree mst 1 cost 4
spanning-tree mst configuration
The spanning-tree mst configuration Global Configuration mode command enables configuring an
MST region by entering the Multiple Spanning Tree (MST) mode.
Long
Short
20,000
4
20,000
4
200,000
19
2,000,000
100
Spanning-Tree Commands
369