02-15-2011 07:16 AM - edited 03-06-2019 03:33 PM
Hi all. I've a 30Km ring of SMF in wich the costumer wants a network access every 2Km. Therefore, two segments have been hypothesized (8 switch segment, 4km apart and each phase shifted 2km) to cover the entire stretch of 30 km with a total of 16 2960S switches. draft included. The 2960S switches at the ends of the segment will be stacked together. Is it possible in order to protect the network from loops to utilize the spanning tree protocol in this ring topolgy? I fear that the number of hop in this ring will exced the scope of the spanning tree.
thanks
Marco
Solved! Go to Solution.
02-15-2011 08:15 AM
Marco,
If you'll have a look at the document I have suggested in my earlier reply here, there is an in-depth explanation of the STP timers and why they are set to the particular values of 2, 15 and 20. These values have been computed for the legacy 802.1D STP, assuming that there are seven switches at most in a row, to provide a stable STP operation. You could enlarge the STP domain beyond the limit of 7 switches, however, it would then be recommendable to tweak the timers to allow for longer propagation and processing times in a network to maintain the stability of the STP.
Please note that these timers were computed with quite a big safety boundary, and from the viewpoint of the processing speed of modern switches and their CPUs, these timers are strongly conservative. Also, the 802.1w RSTP and 802.1s MSTP do not rely on timers, instead using the Proposal/Agreement mechanism. The only limit in RSTP/MSTP networks is the Message Age which should not reach nor exceed the value of Max Age.
Best regards,
Peter
02-15-2011 07:47 AM
Assuming you set a root bridge at one end, at least one of your orange links will be in a blocking state as a loop prevention mechanisim this is what spanning tree does. I do not know of any hop count concerns, thats generally a layer 3 metric.
Spanning Tree is generally on by default in cisco switches.
02-15-2011 08:02 AM
Hello,
Actually, there is also something similar to a maximum hop protection mechanism in the STP. Each BPDU has a field called Message Age. The root switch sends the BPDU with the Message Age set to 0, and each "hop" further from the root bridge, the Message Age is incremented by one as the BPDU is propagated further. Different STP version then use the Message Age field differently:
Have a look at this document:
http://www.cisco.com/en/US/tech/tk389/tk621/technologies_tech_note09186a0080094954.shtml#stp_timers
Best regards,
Peter
02-15-2011 08:07 AM
vmiller, my doubt arose reading this thread in wich is stated that 7 hops is the maximum suggested limit for spanning to work properly
02-15-2011 08:15 AM
Marco,
If you'll have a look at the document I have suggested in my earlier reply here, there is an in-depth explanation of the STP timers and why they are set to the particular values of 2, 15 and 20. These values have been computed for the legacy 802.1D STP, assuming that there are seven switches at most in a row, to provide a stable STP operation. You could enlarge the STP domain beyond the limit of 7 switches, however, it would then be recommendable to tweak the timers to allow for longer propagation and processing times in a network to maintain the stability of the STP.
Please note that these timers were computed with quite a big safety boundary, and from the viewpoint of the processing speed of modern switches and their CPUs, these timers are strongly conservative. Also, the 802.1w RSTP and 802.1s MSTP do not rely on timers, instead using the Proposal/Agreement mechanism. The only limit in RSTP/MSTP networks is the Message Age which should not reach nor exceed the value of Max Age.
Best regards,
Peter
02-15-2011 08:28 AM
Ok Peter, many thanks for your aswer
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide