Spanning-Tree Commands
OL-32830-01 Command Line Interface Reference Guide 906
46
Forwarding state. Use the no form of this command to restore the default
configuration.
Syntax
spanning-tree mst
instance-id
cost
cost
no spanning-tree mst
instance-id
cost
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:
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Example
The following example configures the MSTP instance 1 path cost for port
gi1
9 to
4.
switchxxxxxx(config)#
interface
gi1
9
switchxxxxxx(config-if)#
spanning-tree mst
1
cost
4
Interface Long Short
Port-channel 20,000 4
Gigabit Ethernet (1000 Mbps) 20,000 4
Ethernet (10 Mbps) 2,000,000 100