Solved

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

Posted on 2010-09-22
9
992 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 16

Expert Comment

by:InteraX
ID: 33738177
BTW, that's a cisco command
0
 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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 …
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

777 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