-32
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
spanning-tree mst cost
spanning-tree mst cost
To set the path cost for multiple spanning-tree (MST) calculations, use the
spanning-tree mst cost
command in interface configuration
mode. If a loop occurs, spanning tree considers the path cost when
selecting an interface to put in the forwarding state. To return to the default setting, use the
no
form of
this command.
spanning-tree
mst
instance-id
cost
cost
no spanning-tree
mst
instance-id
cost
Syntax Description
Defaults
The default path cost is computed from the interface speed. Faster speeds have smaller costs.
•
10 Gb/s—2000
•
1000 Mb/s—20000
•
100 Mb/s—200000
•
10 Mbp\/s—2000000
Command Modes
Interface configuration
Command History
Usage Guidelines
When you configure the cost, higher values represent higher costs.
You can verify your settings by entering the
show spanning-tree mst interface
interface-id
privileged
EXEC command.
Examples
This example shows how to set a path cost of 250 on a port associated with instances 2 and 4:
Switch(config)#
interface gigabitethernet0/2
Switch(config-if)#
spanning-tree mst 2,4 cost 250
instance-id
Range of spanning-tree instances. You can specify a single instance, a range of
instances separated by a hyphen, or a series of instances separated by a comma. The
range is 0 to 4094.
cost
Path cost is 1 to 200000000, with higher values meaning higher costs.
Release
Modification
12.2(52)EY
This command was introduced.
Summary of Contents for ME 3600X
Page 14: ...Contents xiv Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 534: ... 100 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 Chapter xconnect ...
Page 625: ...Index IN 15 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 626: ...Index IN 16 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 627: ...Index IN 17 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 628: ...Index IN 18 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...