[Rstplib-users] (no subject)
Status: Alpha
Brought to you by:
ralex
From: <al...@nb...> - 2002-01-02 11:20:55
|
Hi, We didn't find in 802.1w the reason for the upper boundaries on Bridge Max Age and Maximum Bridge Diameter. We are testing a scenario where there are no legacy STP Bridges in the LAN so Annex B is not relevant. Let's consider a chain of n RSTP Bridges: B1----B2-----B3-----........ ---------Bx--------........---------Bn B1 is the Root bridge. Our question is: Which Bridge will be the first to discard the BPDUs? Or in other words: In which Bridge rcvdInfoWhile<=HelloTime (Let's call this Bridge Bc) When default configuration is used (MaxAge=20), Bridge B2 receives BPDUs with MessageAge=0 and saves in rootTimes.MessageAge the value 1 (according to 17.19.21.d.2), because 1/16 of the MaxAge is equal to 1. It also updates its rcvdInfoWhile (according to 17.19.19) with the result of min (MaxAge - EffectiveAge, 3 * HelloTime) where EffectiveAge=1. Bridge Bx receives BPDU with MessageAge=(x-2), calculates EffectiveAge=MessageAge + 1=x-1 (since 1/16 of the MaxAge is equal to 1) and rcvdInfoWhile=min(MaxAge-EffectiveAge, 3*HelloTime)=min (MaxAge-x+1, 6). Based on this calculation, the number of the first Bridge to discard BPDUs (x=c) is MaxAge - 1 + HelloTime. So, for default configuration, maximum LAN Diameter is 19. If we increment MaxAge to 25, it may reach 26+1-2=24 However, for values greater then 25, the result of 1/16 of MaxAge rounded to the nearest whole second, is equal to 2. Bridge B2 saves now in rootTimes.MessageAge the value 2, etc. Bridge number x receives BPDU with MessageAge=2*(x-2), calculates EffectiveAge=MessageAge + 2=2*(x-2) + 2=2*x - 2, updates its rcvdInfoWhile with value (MaxAge - EffectiveAge)= (MaxAge - 2*x – 2) Based on this calculation, the number of the first Bridge to discard BPDUs (x=c) is (MaxAge - 2 - HelloTime) / 2 For MaxAge=31 the result is 13 which is less then the default configuration result 19 !!! For MaxAge values in the range 32 to 40 , Bx receives BPDU with MessageAge=3*(x-2), calculates EffectiveAge=MessageAge + 3=3*(x-2) + 2=3*x - 4, updates its rcvdInfoWhile with value (MaxAge - EffectiveAge)=(MaxAge - 3*x - 4) So, the number of the first Bridge to discard BPDUs (x=c) is (MaxAge - 4 - HelloTime) / 3 and ranges between 8 and 11 ! It seems, that the dependency of LAN diameter on MaxAge is not a linear function ! Could you help us with the following questions: 1. Did we make a mistake in the above calculations? 2. What is the theoretical background of the statement "the greater of (1/16th Max Age) and 1 second, and rounded to the nearest whole second" in Clauses 17.19.19 and 17.19.21 ? 3. What is a reasonable limitation of RSTP LAN diameter ? Best regards, Alex |