Determining which ports are forwarding ports by assigning port cost
Syntax:
spanning-tree port-list path-cost [auto | 1..200000000]
Assigns an individual port cost that the switch uses to determine which ports are forwarding ports in a given spanning tree. In the default configuration (auto) the switch determines a port's path cost by the port's type:
Default: Auto