Spanning-Tree Mst Cost - Cisco Catalyst 2960-X Command Reference Manual

Layer 2
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

spanning-tree mst cost

spanning-tree mst cost
To set the path cost of the interface for multiple spanning tree (MST) calculations, use the spanning-tree mst
cost command in interface configuration mode. To revert to the default value, use the no form of this command.
spanning-tree mst instance-id cost cost
no spanning-tree mst instance-id cost
Syntax Description
instance-id
cost
Command Default
The default path cost is computed from the bandwidth setting of the interface. Default path costs are:
• 1 Gb/s: 20000
• 100 Mb/s: 200000
• 10 Mb/s: 2000000
Command Modes
Interface configuration
Command History
Release
Cisco IOS 15.0(2)EX
Usage Guidelines
When you specify a value for the cost argument, higher values indicate higher costs.
Examples
This example shows how to set the path cost for an interface associated with MST instances 2 and 4 to 50:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# spanning-tree mst 2,4 cost 250
Related Commands
Command
show spanning-tree
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
94
Range of spanning-tree instances. The range is 1 to 4094.
Path cost. The range is 1 to 200000000.
Modification
This command was introduced.
Description
Displays spanning-tree information.
Layer 2 Commands
OL-29043 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents