[pim] Re: Bootstrap Router Mechanism: Forwarding of non-preferred BSMs

Alexander Gall <gall@switch.ch> Wed, 23 May 2007 15:15 UTC

Return-path: <pim-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HqsYd-0004oB-Lz; Wed, 23 May 2007 11:15:23 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HqsYd-0004o6-86 for pim@ietf.org; Wed, 23 May 2007 11:15:23 -0400
Received: from hadron.switch.ch ([2001:620:0:4:203:baff:fe4c:d99b]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HqsYc-0000Ra-Fa for pim@ietf.org; Wed, 23 May 2007 11:15:23 -0400
Received: from hadron.switch.ch.switch.ch (localhost [IPv6:::1]) by hadron.switch.ch (8.14.0+Sun/8.14.0) with ESMTP id l4NFF24L026777; Wed, 23 May 2007 17:15:03 +0200 (CEST)
From: Alexander Gall <gall@switch.ch>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <18004.23158.807122.197704@hadron.switch.ch>
Date: Wed, 23 May 2007 17:15:02 +0200
To: Mark Doll <doll@tm.uka.de>
In-Reply-To: <4648C703.5070105@tm.uka.de>
References: <4648C703.5070105@tm.uka.de>
X-Mailer: VM 7.18 under Emacs 21.3.3
X-Spam-Score: -2.8 (--)
X-Scan-Signature: ff03b0075c3fc728d7d60a15b4ee1ad2
Cc: Nidhi Bhaskar <nbhaskar@cisco.com>, James Lingard <jchl@arastra.com>, Stig.Venaas@uninett.no, pim <pim@ietf.org>
Subject: [pim] Re: Bootstrap Router Mechanism: Forwarding of non-preferred BSMs
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol Independent Multicast <pim.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pim>, <mailto:pim-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pim@ietf.org>
List-Help: <mailto:pim-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pim>, <mailto:pim-request@ietf.org?subject=subscribe>
Errors-To: pim-bounces@ietf.org

[ Cc'd Stig ]

Mark,

Sorry for the late response.

On Mon, 14 May 2007 22:30:59 +0200, Mark Doll <doll@tm.uka.de> said:

> I have questions/comments regarding the forwarding of non-preferred BSMs in
> the Bootstrap Router Mechanism, as specified in draft-ietf-pim-sm-bsr-10.txt.

> First:
> =====
> Why do routers in state "Candidate BSR" forward non-preferred BSMs from the
> elected BSR (and switch to state P-BSR), but routers in state "Accept
> preferred" don't?

They do.  In the description of the event "Receive Preferred BSM" in
section 3.1.4 it is stated that

          A Bootstrap message is also preferred if it is from the
          current BSR with a lower weight than the previous BSM it
          sent ...

for precisely this reason.  However, this is not evident if you just
read the description of the event "Receive Non-preferred BSM".  To
make this clear, I suggest to add a reference to this exception:

      Receive Non-preferred BSM
           A Bootstrap message is received from a BSR that has lower
           weight than the current BSR with the exception detailed
           above. If a router is in P-BSR state, then it uses its own
           weight as that of the current BSR.


> As es result, a C-BSR will see BSMs with a lowered priority from the elected
> BSR only if directly adjacent to it.

> I don't get the point, why to distinguish this special "adjacent C-BSRs" case
> instead of simply ignoring a lowered priority from the elected BSR, time out,
> let the routers in the domain switch to state "Pending BSR" and "Accept Any",
> respectively, and restart the election as it happens in the case of
> non-adjacent C-BSRs. So why not just specifying for routers

> When in C-BSR state:
> Event: Receive Non-preferred BSM
> Action: -> C-BSR state

> (was:
> Event: Receive Non-preferred BSM from Elected BSR
> Action: -> P-BSR state; Forward BSM; Set Bootstrap Timer to BS_Rand_Override
> )

> Second:
> ======
> Why forwarding non-preferred BSMs when in state "Pending BSR"?
> Shortly afterwards, the router itself will send a BSM with a higher priority,
> so forwarding is useless anyway. So why not specifying for routers

> When in P-BSR state:
> Event: Receive Non-preferred BSM
> Action: -> P-BSR state

> (was:
> Event: Receive Non-preferred BSM
> Action: -> P-BSR state; Forward BSM
> )

> Third:
> =====
> As an alternative to first and second above, always forward a non-preferred
> BSMs if they come from the elected BSM router, to quickly restart the BSR
> election:

This is supposed to happen with the present specification (given the
clarification above).

> When in Accept Preferred state:
> Event: Receive Non-preferred BSM from elected BSR

Note that "Receive Non-preferred BSM from elected BSR" is actually
only defined in C-BSR state (because non-preferred is relative to the
local candidate's weight).  With the exception in the definition of a
preferred BSM, this case is already covered.

> Action: -> AP state; Forward BSM; Store RP-Set; Set Bootstrap Timer to
> BS_Timeout; Set SZT to SZ_Timeout

> (was:
> Event: Receive Non-preferred BSM
> Action: -> AP state
> )

> and

> When in P-BSR state:
> Event: Receive Non-preferred BSM from elected BSR or if elected BSR is unknown

By definition, there is no elected BSR in this state.  I believe that
the spec covers all possible events.

> Action: -> P-BSR state; Forward BSM

> (was:
> Event: Receive Non-preferred BSM
> Action: -> P-BSR state; Forward BSM
> )

> I would prefer third.

> Regards, Mark Doll.

> P.S.: BTW, just a nit: In the current draft, it's not explicitly specified,
> that routers in state "Candidate BSR" do not forward non-preferred BSMs from
> other BSRs than the elected BSR. Yes, it's a no-op, so it can be savely
> omitted, but then the other no-op "When in Accept Preferred state, Event:
> Receive Non-preferred BSM, Action: -> AP state", should be omitted, too.

Right.  I'd rather not change that at this late stage, though.

Regards,
Alex


_______________________________________________
pim mailing list
pim@ietf.org
https://www1.ietf.org/mailman/listinfo/pim