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

spanning tree priority

ronshuster
Level 1
Level 1

Is there a difference between the options:

a) making a switch the root spanning-tree by doing this:

spanning-tree vlan 22 root

OR

b) making a switch the root spanning-tree by

spanning-tree vlan 22 priority 4096 (whereas the other switch is 8192

practically speaking, what is the difference between the two ways of assigning spanning-tree preference?

Also when changing the priority (or making the other switch a ROOT), is there any outage for the traffic to traverse through the other path?

1 Reply 1

Edison Ortiz
Hall of Fame
Hall of Fame

From the switch documentation:

When you enter the spanning-tree vlan vlan-id root command, the software checks the switch priority of the current root switch for each VLAN. Because of the extended system ID support, the switch sets the switch priority for the specified VLAN to 24576 if this value will cause this switch to become the root for the specified VLAN. If any root switch for the specified VLAN has a switch priority lower than 24576, the switch sets its own priority for the specified VLAN to 4096 less than the lowest switch priority. (4096 is the value of the least-significant bit of a 4-bit switch priority value.)

When using the absolute value, there is no checking for the current STP root, you need to know the value to place there.

Either command may produce traffic outage depending upon the current STP Root.

HTH,

__

Edison.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco