S
PANNING
T
REE
A
LGORITHM
C
ONFIGURATION
3-149
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
- Fas t 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.
CLI – This example sets the MSTP attributes for port 4.
Console(config)#interface ethernet 1/43-1
Console(config-if)#spanning-tree mst port-priority 04-177
Console(config-if)#spanning-tree mst cost 504-176
Console(config-if)