cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3245
Views
0
Helpful
1
Replies

STP vlan priority and root primary

john.wright
Level 3
Level 3

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?

1 Accepted Solution

Accepted Solutions

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

View solution in original post

1 Reply 1

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.