×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

spanning tree

Unanswered Question
Feb 24th, 2006
User Badges:

Can anyone tell me how I would make a certain switch on my network the root bridge, and how would I make sure that the next switch to it blocks the loop, is it always the switch next in line to the root bridge that blocks the loop ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
Loading.
dwyerr Fri, 02/24/2006 - 03:30
User Badges:

Hello,


It is a bit dependant on the platform you are running but generally I would use the following.


=======


spanning-tree vlan root primary


========



It is also considered best practice to manually set the secondary root as well.


=========


spanning-tree vlan root secondary


==========


The above commands are setting the priority for you which is why I feel it's the best/cleanest method. This, however, can also be done manually.


===========

:root

spanning-tree vlan priority 8192


:sec root

spanning-tree vlan priority 16384


============


The thing to remember is the switch with the higher priority ,lower value, becomes root. The switch with the second highest priority becomes secondary.


To answer your other question , all ports on the root bridge will be in forward state. All other switches in the topology will have only one root port in the forward state, baring any type of load balancing methods, creating a tree leading back to the root.


Regards,


-Rob

Actions

This Discussion