2-724Cisco Catalyst Blade Switch 3120 for HP Command ReferenceOL-12248-03Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commandsspanning-tree mst costspanning-tree mst costUse the spanning-tree mst cost interface configuration command on the switch stack or on a standaloneswitch to set the path cost for multiple spanning-tree (MST) calculations. If a loop occurs, spanning treeconsiders the path cost when selecting an interface to put in the forwarding state. Use the no form of thiscommand to return to the default setting.spanning-tree mst instance-id cost costno spanning-tree mst instance-id costSyntax DescriptionDefaults The default path cost is computed from the interface bandwidth setting. These are the IEEE default pathcost values:• 1000 Mb/s—20000• 100 Mb/s—200000• 10 Mb/s—2000000Command Modes Interface configurationCommand HistoryUsage Guidelines When you configure the cost, higher values represent higher costs.Examples This example shows how to set a path cost of 250 on a port associated with instances 2 and 4:Switch(config)# interface gigabitethernet1/0/2Switch(config-if)# spanning-tree mst 2,4 cost 250You can verify your settings by entering the show spanning-tree mst interface interface-id privilegedEXEC command.instance-id Range of spanning-tree instances. You can specify a single instance, a range ofinstances separated by a hyphen, or a series of instances separated by a comma. Therange is 0 to 4094.cost Path cost is 1 to 200000000, with higher values meaning higher costs.Release Modification12.2(40)EX1 This command was introduced.