what is use of spanning tree root primary and spanning tree root secondary command. if any new switch with insert into insert into network with prioirty less than secondary what would happend in that case
bridge/switch to become primary root bridge. As son as you input this command the priority of the bridge becomes one less than the priority of the existing root bridge. Thus it becomes the new root of the STP topology.
'spanning tree root secondary' forces the switch to become primary as soon as the existing primary root switch steps down / goes-down.
if any new switch which insert into network with prioirty less than secondary ==> it should cause the root secondary's priority to become less than the new switch, but I'm not sure. Any ideas gentlemen.........!
with spanning-tree root primary and secondary commands you can configure these particular switch to be tha root and backup root bridges respectively without manually configuring the priorities.
When you configure the root to be primary then the priority of this switch becomes lesser than the current root bridge.(If the current root's priority is less than 24576 then the primary roots priority becomes 4096.)By defualt the priority will be set to 24576.For secondary root the priority will be any value less than 28762.
If now another switch comes to the picture whose priority is less than secondory but more than primary nothing happens until primary fails.But if the primary root fails then secondary root will not become the root this new switch will take over as a root.(Because there is no way you can find what priority the secondary bridge is using and switches can not change the prority dynamicly once STP is fully converged.)
Now if the priority of the new switch is less than the primary root or less than 4092 then new switch becomes the root!!!!!(Unless u have applied root guard,bpdugurad etc features).
Selecting the root bridge by setting the bridge priority is straightforward, once you have understood that the lower value the better.
That's why I think the real value of the spanning-tree root macro is not really in how it helps selecting the root bridge. It's rather how it helps tuning the STP timers (a much more complex problem than selecting the root with the priority command;-)
The spanning-tree root CLI is in fact a macro, which means that it expands into several IOS commands. Not only it will set the bridge priority but it will also tune the max-age and forward-delay according to the diameter specified (if no diameter is given as an argument to the macro, a default value is assumed).
I don't recommend you use this command with RSTP or MST as tuning aggressive values for max-age or forward-delay is seldom useful in that case.
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...