I'm a bit confused on this priority topic. If I set the spanning-tree priority to "1" on one switch and then "4096" on another, I would assume that the switch with the priority of "4096" would become the root bridge. However some people are telling me that the switch with the priority of "1" will win and become the root bridge. Could some one please help clarify this!
The lower the priority the more likely the switch is to be come the root bridge. However you normally have to do STP in incerments of 4096 so you would not be able to allocate a priority of 1 to a switch.
Now that's what I thought. So is this an absolute, that you can't assign a switch a priority of "1" or is this just accepted practice where in reality a priority of "1" will take precendence over a value of "4096" thus making the switch with a value of "1" the root switch?
Whether you can enter 1 or not depends on whether extended sysid feature is enabled. In a nutshell, the extended sysid feature steals 12 bits of the priority to store the vlan id in the bridge ID. This way, all the different spanning tree instances on the different vlans have a different bridge ID, even if they share the same mac address (the bridge ID is priority + bridge mac address). Without extended sysid, one different mac address is used for each and every vlan, which is too expensive (just like IP addresses, the number of mac addresses in the world is also limited).
The reason why the lower is the better for STP is probably because it's the way a the cost works: cost 10 is better than cost 100 (meaning that you are closer to the root). So by using consistently the convention "lower is better", the fields of a bpdu (root ID, cost, sender bridge ID and port ID) can be interpreted as a very long integer. There is no need to extract the different fields in the BPDU to compare it to another one... you can compare all the fields bit by bit.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...