cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7054
Views
5
Helpful
4
Replies

Spanning-tree maximum diameter?

wmmak
Level 1
Level 1

Hi all,

As I know 802.1D STP and MST standard, the maximum diameter is 7, may I know that of RSTP?

Thanks and Regards,

mak

4 Replies 4

mehrdad
Level 3
Level 3

as i know , the MST is used RSTP so maybe we can say the maximum RSTP diameter is 7 !

Bobby Thekkekandam
Cisco Employee
Cisco Employee

7 is still correct for RSTP.

It is mentioned here:

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/1219ea1/scg/swmstp.htm#1038772

HTH,

Bobby

The diameter can be larger, but with the default timers assoc. with STP, i.e. forward delay timer, a diameter larger than 7 could make STP unstable.

Francois Tallet
Level 7
Level 7

This limitation is not really relevant for RSTP and MST.To make the whole story short, the root of an STP network advertises its information and can only "hope" that everybody has received it. When I say hope, I mean that the root is going to wait long enough so that it is sure that the information has had enough time to propagate to the leaves of the network. To compute this time, it has to take into account that the bridges may be slow, and may loses seconds while relaying the BPDUs, and also that the links may be unreliable, and that up to 3 BPDUs can be lost. In these condition, you can see that the time required to put a port in forwarding state will depend on the distance from the root to its farther leaf. In order to be very conservative, and considering that the root can be randomly located in the network (STP is supposedly plug and play, manually locating the root is an option), this restriction has been converted into a rule based on the diameter of the network.

Anyway, RSTP does not rely on timers to put a port in forwarding state but instead use an explicit feedback mechanism. I've described a little bit more in detail this in the following document: http://www.cisco.com/warp/public/473/146.html

All this to say is that if your network is entirely RSTP, you can use basically the diameter you want as long as it is a little be under "max age". You can extend max-age at will in order to accomodate networks with larger diameters, and there will be no performance impact.

BTW, MST uses a hop count inside the regions. In the latest IOS images, you can set max-hops up to 255... which allows you to create really huge networks;-)

Regards,

Francois

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: