Spanning-Tree Commands
OL-32830-01 Command Line Interface Reference Guide
Forwarding state. Use the no form of this command to restore the default
configuration.
Syntax
instance-id
spanning-tree mst
no spanning-tree mst
Default Configuration
N/A
Parameters
•
instance-id—Specifies the spanning-tree instance ID. (Range: 1–15)
•
cost—Specifies the port path cost. (Range: 1–200000000)
Default Configuration
Default path cost is determined by the port speed and path cost method (long or
short) as shown below:
Interface
Port-channel
Gigabit Ethernet (1000 Mbps)
Ethernet (10 Mbps)
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Example
The following example configures the MSTP instance 1 path cost for port
4.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
cost
cost
instance-id
cost
Long
20,000
20,000
2,000,000
gi1
interface
9
spanning-tree mst
Short
4
4
100
1
cost
4
46
9 to
gi1
906