Solved

STP reconverge causes a momentary disconnect throughout the entire network. WHY?

Posted on 2010-09-22
9
985 Views
Last Modified: 2012-05-10
Whenever I am at my test bench setting up new switches--mostly Cisco but also HP and Dell-whenever I restart the new switch the SPT reconverges and knocks out network connectivity network wide for a minute or two. I get very unhappy user community and I have never seen this happen before when setting up new switches--they are connected to the network during final setup--and I don't know why this happens. Please help and thank you in advance.
0
Comment
Question by:dprue
  • 6
  • 2
9 Comments
 
LVL 16

Expert Comment

by:InteraX
ID: 33737855
Is that switch the current root bridge. If this goes down, all your switches will need to elect a new root bridge. If it then comes back, a new root bridge will then be re-elected.
0
 

Author Comment

by:dprue
ID: 33738115
I don't know why it would be a root bridge. It is a spare router i am putting into service. how do I know if it is playing as a root bridge?
 
0
 
LVL 16

Expert Comment

by:InteraX
ID: 33738142
I think it's sh stp
Bandwidth and priority nnumber etc all play a factor.
0
 
LVL 16

Expert Comment

by:InteraX
ID: 33738177
BTW, that's a cisco command
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 16

Expert Comment

by:InteraX
ID: 33738257
0
 
LVL 2

Accepted Solution

by:
jbrmiller earned 500 total points
ID: 33757189
depending on the switch interconection to the network , it may be a pathway to other switches to the rootbridge.

If you are still setting up your switch, i recommend to connect it only with a single trunk to the network, so the switch will be a spoke and will not be a relevant part of your spanning tree.
when you really finish setting up the switch, then connect it in the final way, STP will reconverge and you will have a small blackout.

the blackout can be shortened by using rapid-pvst instead pvst. rapid-pvst decreases the learning time of stp to half or less.

sideways... Network implementations and modifications should be maked out of business hours.

Regards.
0
 

Author Closing Comment

by:dprue
ID: 33781859
I was setting up the initial config with a single connection to the network so the switch was really a stub. I know that network interruptions should be done after-hours but configuring a switch just hanging on the network with one port should not be causing a network disconnect when booting up or shutting down. I did not get the answer I was looking for, like maybe how to set the switch so it could not possibly act as the root switch while I configure it and there not cause a reconvergence.
0
 
LVL 16

Expert Comment

by:InteraX
ID: 33786862
Is it a Cisco switch?

To set a cisco switch as the root bridge, use the following command.

spanning-tree vlan <vlan-id> root primary

If you have other cisco switches, issue this on one of those.
0
 
LVL 16

Expert Comment

by:InteraX
ID: 33786868
Further info from the 2950 config guide.

The switch maintains a separate spanning-tree instance for each active VLAN configured on it. A bridge ID, consisting of the switch priority and the switch MAC address, is associated with each instance. For each VLAN, the switch with the lowest bridge ID becomes the root switch for that VLAN.

To configure a switch to become the root, the switch priority can be modified from the default value (32768) to a significantly lower value so that the switch becomes the root switch for the specified VLAN. Use the spanning-tree vlan vlan-id root global configuration command to alter the switch priority. When you enter this command on a switch, it checks the switch priority of the current root switch for each VLAN and sets its own switch priority for the specified VLAN to 8192 if this value causes this switch to become the root for the specified VLAN. If any root switch for the specified VLAN has a switch priority lower than 8192, the switch sets its own priority for the specified VLAN to 1 less than the lowest switch priority.

For example, if all switches in the network have the switch priority for VLAN 100 set to the default value of 32768, entering the spanning-tree vlan 100 root primary global configuration command on a switch sets the switch priority for VLAN 100 to 8192, causing the switch to become the root switch for VLAN 100.



--------------------------------------------------------------------------------
Note The root switch for each instance of STP should be a backbone or distribution switch. Do not configure an access switch as the spanning-tree primary root.


--------------------------------------------------------------------------------
Use the diameter keyword to specify the network diameter (that is, the maximum number of switch hops between any two end stations in the network). When you specify the network diameter, the switch automatically sets an optimal hello time, forward-delay time, and maximum-age time for a network of that diameter, which can significantly reduce the convergence time. You can use the hello keyword to override the automatically calculated hello time.



--------------------------------------------------------------------------------
Note We recommend that you avoid manually configuring the hello time, forward-delay time, and maximum-age time after configuring the switch as the root switch.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

A few months ago I attended the Rocky Mountain IPv6 Summit which was a two-day educational event; it was the 3rd annual conference held here in Denver, Colorado that was held at the Hyatt Regency Denver at the Colorado Convention Center. It was an e…
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now