Re: [OSPF] Stub areas and type 4 summary LSAs

Acee Lindem <acee.lindem@ericsson.com> Fri, 20 September 2013 12:09 UTC

Return-Path: <acee.lindem@ericsson.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D11421F898A for <ospf@ietfa.amsl.com>; Fri, 20 Sep 2013 05:09:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DdO7wT6aRvh0 for <ospf@ietfa.amsl.com>; Fri, 20 Sep 2013 05:09:14 -0700 (PDT)
Received: from usevmg20.ericsson.net (usevmg20.ericsson.net [198.24.6.45]) by ietfa.amsl.com (Postfix) with ESMTP id 9C42C21F89A5 for <ospf@ietf.org>; Fri, 20 Sep 2013 05:09:14 -0700 (PDT)
X-AuditID: c618062d-b7fda8e0000024c6-93-523c3ae9c71d
Received: from EUSAAHC003.ericsson.se (Unknown_Domain [147.117.188.81]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id 12.20.09414.9EA3C325; Fri, 20 Sep 2013 14:09:13 +0200 (CEST)
Received: from EUSAAMB101.ericsson.se ([147.117.188.118]) by EUSAAHC003.ericsson.se ([147.117.188.81]) with mapi id 14.02.0328.009; Fri, 20 Sep 2013 08:09:13 -0400
From: Acee Lindem <acee.lindem@ericsson.com>
To: RAMAKRISHNADTV <RAMAKRISHNADTV@infosys.com>
Thread-Topic: [OSPF] Stub areas and type 4 summary LSAs
Thread-Index: AQHOtc9NvgaxpxDB2EG3xZqdC9whwJnOy92A
Date: Fri, 20 Sep 2013 12:09:12 +0000
Message-ID: <94A203EA12AECE4BA92D42DBFFE0AE470305B9B0@eusaamb101.ericsson.se>
References: <F2B120E98374B2448745C1117BDA1854444C0C09@BLRKECMBX22.ad.infosys.com>
In-Reply-To: <F2B120E98374B2448745C1117BDA1854444C0C09@BLRKECMBX22.ad.infosys.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.134]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <002EA6C5BEF2F846A442A61A7AB0FC63@ericsson.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKLMWRmVeSWpSXmKPExsUyuXRPoO5LK5sgg337jSxa7t1jt5h94CaT A5PHkiU/mTwWTGpjD2CK4rJJSc3JLEst0rdL4Mq4/nwZc8FEqYplc1qYGhgninQxcnJICJhI fPyxkAXCFpO4cG89WxcjF4eQwFFGiWnfzrFAOMsZJRoXX2EGqWIT0JF4/ugfmC0ioC+x5s5p RhCbWUBZ4nHXajYQW1jATOLnihNANRxANeYSc3amQpQbSexf9wSslUVAVeJL+3mwcl4BX4nt Z/+zgthCAoES86c3g43kFAiSuH7lEFgNI9Bx30+tYYJYJS5x68l8JoijBSSW7DnPDGGLSrx8 /I8VwlaWWPJkPwtEvY7Egt2f2CBsa4n5sxdBzdGWWLbwNTPEDYISJ2c+YZnAKD4LyYpZSNpn IWmfhaR9FpL2BYysqxg5SotTy3LTjQw2MQKj6pgEm+4Oxj0vLQ8xSnOwKInzrtI7EygkkJ5Y kpqdmlqQWhRfVJqTWnyIkYmDU6qBMTCt/PZV1RWzzExW7bSrm296aun/7FgPrTqvLVO6dvry PNIVepWbKfN678Tlv2RlfkQvvbGl/HfMoaCEw1eF3Hf79xnvlbl0ekLvTbFQm6iqf1OTFAz2 5OZX9pxUyzBSrXys9ik865XVApP/E/5eCnw43W0DQ4l0v3xtyHyuysPuDlo7ugLZlFiKMxIN tZiLihMB2QlUWngCAAA=
Cc: "ospf@ietf.org" <ospf@ietf.org>
Subject: Re: [OSPF] Stub areas and type 4 summary LSAs
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ospf>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Sep 2013 12:09:20 -0000

Hi Ramakrisha,
You are correct and my implementation does, in fact, generate a SeqNumberMismatch event in this case. 
Thanks,
Acee 
On Sep 20, 2013, at 3:03 AM, RAMAKRISHNADTV wrote:

> Hi,
> 
> Could you please clarify the following point in OSPFv2 (RFC 2328) w.r.t
> stub areas?
> 
> The following is excerpted from Section 10.6 (Receiving Database Description
> Packets):
> 
>        When the router accepts a received Database Description Packet
>        as the next in sequence the packet contents are processed as
>        follows.  For each LSA listed, the LSA's LS type is checked for
>        validity.  If the LS type is unknown (e.g., not one of the LS
>        types 1-5 defined by this specification), or if this is an AS-
>        external-LSA (LS type = 5) and the neighbor is associated with a
>        stub area, generate the neighbor event SeqNumberMismatch and
>        stop processing the packet.  Otherwise, the router looks up the
>        LSA in its database to see whether it also has an instance of
>        ...
> 
> This is correctly saying that stub areas should not process external
> LSAs (LS type 5). But what about type 4 summary LSAs (related to ASBR)?
> As far as I understand, stub areas should not receive these LSAs.
> But this paragraph is not explicit about it. I believe this paragraph
> needs to be updated to indicate that received type 4 summary LSAs and
> type 5 external LSAs should elicit the same behavior in stub areas:
> generate the neighbor event SeqNumberMismatch and stop processing the
> packet.
> 
> On the other hand, originating LSA side description in RFC correctly
> states as follows.
> 
> From Section 12.4.3 (Summary-LSAs):
> 
>                ...If so, a Type 4 summary-LSA is originated for the
>                destination, with Link State ID equal to the AS boundary
>                router's Router ID and metric equal to the routing table
>                entry's cost. Note: these LSAs should not be generated
>                if Area A has been configured as a stub area....
> 
> Regards,
> Ramakrishna DTV.
> 
> 
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
> for the use of the addressee(s). If you are not the intended recipient, please 
> notify the sender by e-mail and delete the original message. Further, you are not 
> to copy, disclose, or distribute this e-mail or its contents to any other person and 
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
> every reasonable precaution to minimize this risk, but is not liable for any damage 
> you may sustain as a result of any virus in this e-mail. You should carry out your 
> own virus checks before opening the e-mail or attachment. Infosys reserves the 
> right to monitor and review the content of all messages sent to or from this e-mail 
> address. Messages sent to or from this e-mail address may be stored on the 
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> _______________________________________________
> OSPF mailing list
> OSPF@ietf.org
> https://www.ietf.org/mailman/listinfo/ospf