S
PANNING
T
REE
A
LGORITHM
C
ONFIGURATION
3-163
Admin MST Path Cost – This parameter is used by the MSTP to
determine the best path between devices. Therefore, lower values
should be assigned to ports attached to faster media, and higher values
assigned to ports with slower media. (Path cost takes precedence over
port priority.) Note that when the Path Cost Method is set to short
(page 3-63), the maximum path cost is 65,535.
•Range
- Ethernet: 200,000-20,000,000
- Fast Ethernet: 20,000-2,000,000
- Gigabit Ethernet: 2,000-200,000
•Default
- Ethernet – Half duplex: 2,000,000; full duplex: 1,000,000; trunk:
500,000
- Fast Ethernet – Half duplex: 200,000; full duplex: 100,000;
trunk: 50,000
- Gigabit Ethernet – Full duplex: 10,000; trunk: 5,000
Web – Click Spanning Tree, MSTP, Port Configuration or Trunk
Configuration. Enter the priority and path cost for an interface, and click
Apply.
Figure 3-71 MSTP Port Configuration
CLI – This example sets the MSTP attributes for port 4.
Console(config)#interface ethernet 1/4 4-174
Console(config-if)#spanning-tree mst 1 port-priority 0 4-231
Console(config-if)#spanning-tree mst 1 cost 50 4-229