09-15-2015 06:39 AM - edited 03-08-2019 01:46 AM
What is the difference between these two STP cmds?
spanning-tree vlan 1-4096 root primary
spanning-tree vlan 1-4094 priority 4096
My root switch has the global cmd set: spanning-tree vlan 1-4094 priority 4096.
Does that make this switch the root or must we set the root with this other cmd; spanning-tree vlan 1-4096 root primary?
Solved! Go to Solution.
09-15-2015 06:53 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
"Primary" is just a symbolic to set a low priority value so switch will be root. However, we've noticed different Cisco platforms don't always use the same value for "primary", so it's safer to use the numeric value.
PS:
Keep in mind, whether using a priority value of 4096, or using "primary", another switch (or switches) could have the same priority value, so actual root will then depend on the rest of the MAC.
09-15-2015 06:53 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
"Primary" is just a symbolic to set a low priority value so switch will be root. However, we've noticed different Cisco platforms don't always use the same value for "primary", so it's safer to use the numeric value.
PS:
Keep in mind, whether using a priority value of 4096, or using "primary", another switch (or switches) could have the same priority value, so actual root will then depend on the rest of the MAC.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide