2-430
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco 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
ID0), 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
Command History
Usage Guidelines 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.
Higher port-priority prio values indicate smaller priorities.
By default, 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 show spanning-tree mst
spanning-tree port-priority
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
1to200000000.
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.