Spanning-Tree Mst Cost - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2 Cisco IOS Commands

spanning-tree mst cost

Use the spanning-tree mst cost interface configuration command to set the path cost for multiple
spanning-tree (MST) calculations. If a loop occurs, spanning tree considers the path cost when selecting
an interface to put in the forwarding state. Use the no form of this command to return to the default
setting.
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
instance-id
cost
Defaults
The default path cost is computed from the interface bandwidth setting. These are the IEEE default path
cost values:
Command Modes
Interface configuration
Command History
Release
12.1(9)EA1
Usage Guidelines
When you configure the cost, higher values represent higher costs.
Examples
This example shows how to set a path cost of 250 on an interface associated with instance 2:
Switch(config)# interface fastethernet0/4
Switch(config-if)# spanning-tree mst 2 cost 250
You can verify your settings by entering the show spanning-tree mst interface interface-id privileged
EXEC command.
78-11381-05
spanning-tree mst instance-id cost cost
no spanning-tree mst instance-id cost
ID associated with a spanning-tree instance. The range is 0 to 15.
Path cost is 1 to 200000000, with higher values meaning higher costs.
1000 Mbps—20000
100 Mbps—200000
10 Mbps—2000000
Modification
This command was first introduced.
Catalyst 2950 Desktop Switch Command Reference
spanning-tree mst cost
2-259

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents