S
PANNING
T
REE
C
OMMANDS
29-22
spanning-tree mst cost
This command configures the path cost on a spanning instance in the
Multiple Spanning Tree. Use the no form to restore the default.
Syntax
spanning-tree mst instance_id cost cost
no spanning-tree mst instance_id cost
• instance_id - Instance identifier of the spanning tree.
(Range: 0-4094, no leading zeroes)
• cost - Path cost for an interface. (Range: 1-200,000,000)
The recommended range is:
Default Setting
By default, the system automatically detects the speed and duplex mode
used on each port, and configures the path cost according to the values
shown below. Path cost “0” is used to indicate auto-configuration
mode.
Table 29-4 Recommended STA Path Cost Range
Port Type
IEEE 802.1D-1998
*
* Use the spanning-tree pathcost method command on page 29-9 to set the path
cost method.
IEEE 802.1w-2001
*
Gigabit
Ethernet
3-10 2,000-200,000
10G Ethernet 1-5 200-20,000
Table 29-5 Default STA Path Costs
Port Type Link Type
IEEE 802.1D-1998
*
* Use the spanning-tree pathcost method command on page 29-9 to set the path cost
method.
IEEE 802.1w-2001
*
Gigabit
Ethernet
Full Duplex
Trunk
4
4
10,000
5,000
10G Ethernet Full Duplex
Trunk
2
2
1000
500