Comware

 View Only
Expand all | Collapse all

STP topology change

This thread has been viewed 1 times
  • 1.  STP topology change

    Posted Sep 15, 2008 10:54 AM
    Hi, we have a large network (80 switches) and we have a very frequent topology change of the stp.
    When we issue the command "show spanning" we notice that the topology change every 40/60 seconds.
    There is some command to troobleshoot this problem?

    we have an 8212 switch at the core and some 4200, 2524 and 2600 at the edge.

    Thank you to all


  • 2.  RE: STP topology change

    Posted Sep 15, 2008 11:24 AM
    Have you tried manually setting your 8200 core switch to a higher root bridge priority?


  • 3.  RE: STP topology change

    Posted Sep 15, 2008 01:10 PM
    Sure, the core switch (8212) is the root of stp, with priority 0


  • 4.  RE: STP topology change

    Posted Sep 15, 2008 02:17 PM
    The best advice I can give you on this type of problem is to look into the device logs to see if the changes are particular to a specific Vlan. Also with so many switches you have to make sure you don't hit the seven switch limit/per spanning tree instance. Of course this is supposition on my part since we don't know what your topology looks like.


  • 5.  RE: STP topology change

    Posted Sep 16, 2008 08:09 AM
    The most important thing is that you make sure they're all running the current firmware versions. 9 times out of 10 that will stabilise it.


  • 6.  RE: STP topology change

    Posted Sep 17, 2008 06:40 AM


    Jack:

    >Also with so many switches you have to make
    >sure you don't hit the seven switch
    >limit/per spanning tree instance.

    What is this seven switch limit? How does it work and what importance does it have?


  • 7.  RE: STP topology change

    Posted Sep 17, 2008 06:52 AM
    Normal spanning tree has a limit of seven hops from the end/bottom switch to the root of the spanning tree per Vlan. It then depends on if your switches can run per vlan spanning tree or one spanning tree for all of your vlans. If the BPDU's are not received from the root in a timely manner, a device assumes there is a problem and swithes to the other uplink and STP change. Again without details I'm assuming most of your switches are dual homed.


  • 8.  RE: STP topology change

    Posted Sep 17, 2008 07:07 AM

    Thank you for your answer, Jack!

    >Normal spanning tree has a limit of seven
    >hops from the end/bottom switch to the root
    >of the spanning tree per Vlan.

    With normal spanning tree, do you mean the original STP standard or does this "problem" exist with RSTP and MSTP also?

    >If the BPDU's are not received from the
    >root in a timely manner, a device assumes
    >there is a problem and swithes to the other
    >uplink and STP change.

    If I am not incorrect the TTL for BPDU:s from the root is 20 seconds, if that is the time-limit for the bpdu:s to cross the network from root to "leaf" switches - will there be a problem with modern high performance switches?

    (With that I mean, the seven switches limit, is that a "hardcoded" limit or a soft limit defined to be sure that bpdu has enough time to travel over the network?)


  • 9.  RE: STP topology change

    Posted Sep 17, 2008 07:08 AM
    That's an old limit from the original spanning-tree specification. I believe it's now up to 40 hops with MSTP.


  • 10.  RE: STP topology change

    Posted Sep 17, 2008 07:40 AM
    Yes, the seven hop limit is for STP, not for RSTP or MSTP. I tried to find an actual limit for RSTP on Cisco Web site and other resources and couldn't find one.

    Have you been able to narrow down what is causing your frequent STP changes? Are all your switches running RSTP or MSTP? Do you think you have a spanning tree loop of some kind or just a flakey link that is causing the topology changes?



  • 11.  RE: STP topology change

    Posted Sep 17, 2008 07:46 AM

    Thank you Matt and Jack! One more reason for not running the legacy-spanning tree protocol.

    (I did not post the original question however.)