changing spanning-tree "cost" of ports ? - Do anyone know if this is a "hidden feature" ? :-)
I have a scenario where we have a new fiber-link between two switches that is also connected with a radio-link (the previous link).
We would of course like to utilize the fiber-link as primary, and only switch over to the radio-link in case of some fault on the fiberlink.
We could of course set the speed of the port that is connected to the radio-link to 100Mbit (to give it a higher cost), but we dont really like that solution because the radio-link is faster then 100Mbit (almost 1Gbit).
So do anyone know if there is a hidden "cost" setting I can put on switchports ? 🙂
No, but you could control this simply by selecting an appropriate port.
Port 1 has the highest default port cost, port 24 is lower, and port 48 is lowest. Lets pretend you have a 24 port switch on each end. If you plug your preferred circuit into port 24, and the backup into port 23, and both ports have the same speed configured, port 24 will win and port 23 will block.
And now you now why people often use the last ports on a switch as trunk links to other switches.