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:

10 Mbps

2000000

100 Mbps

200000

1 Gbps

20000

Default: Auto