2-995
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
spanning-tree mst
spanning-tree mst
To set the path cost and port-priority parameters for any MST instance (including the CIST with instance
ID 0), use the spanning-tree mst command. To return to the default settings, use the no form of this
command.
spanning-tree mst instance-id [cost cost] | [port-priority prio]
no spanning-tree mst instance-id {cost | port-priority}
Syntax Description
Defaults Port priority is 128.
Command Modes Interface configuration mode
Command History
Usage Guidelines The higher cost cost values indicate higher costs. When entering the cost value, do not include a comma
in the entry; for example, enter 1000, not 1,000.
The higher port-priority prio values indicate smaller priorities.
By default, the cost depends on the port speed; faster interface speeds indicate smaller costs. MST
always uses long path costs.
Examples This example shows how to set the interface path cost:
Switch(config-if)# spanning-tree mst 0 cost 17031970
Switch(config-if)#
This example shows how to set the interface priority:
Switch(config-if)# spanning-tree mst 0 port-priority 64
Switch(config-if)#
Related Commands
instance-id Instance ID number; valid values are from 0 to 15.
cost cost (Optional) Specifies the path cost for an instance; valid values are from
1 to 200000000.
port-priority prio (Optional) Specifies the port priority for an instance; valid values are from 0
to 240 in increments of 16.
Release Modification
12.1(12c)EW Support for this command was introduced on the Catalyst 4500 series switch.