STP changing link cost
The STP cost of a particular switch port is determined by the type of port, such as Ethernet, FastEthernet, GigabitEthernet, 10GigabitEthernet and so on. This cost is based on the cost calculation method being used.
This cost however can be modified on individual interfaces in several ways:
- By using the
spanning-tree costcommand in interface mode
- By changing the
speedparameter of the interface