Re: [mpls] On the use of GAL in MPLS-SFC OAM

Italo Busi <Italo.Busi@huawei.com> Wed, 10 March 2021 14:16 UTC

Return-Path: <Italo.Busi@huawei.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C0863A0B20; Wed, 10 Mar 2021 06:16:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Iix1OZxblsD; Wed, 10 Mar 2021 06:16:20 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4779D3A0B3F; Wed, 10 Mar 2021 06:16:20 -0800 (PST)
Received: from fraeml712-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DwYsw4m4Zz67xhh; Wed, 10 Mar 2021 22:11:48 +0800 (CST)
Received: from fraeml715-chm.china.huawei.com (10.206.15.34) by fraeml712-chm.china.huawei.com (10.206.15.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 10 Mar 2021 15:16:12 +0100
Received: from fraeml715-chm.china.huawei.com ([10.206.15.34]) by fraeml715-chm.china.huawei.com ([10.206.15.34]) with mapi id 15.01.2106.013; Wed, 10 Mar 2021 15:16:12 +0100
From: Italo Busi <Italo.Busi@huawei.com>
To: 'Greg Mirsky' <gregimirsky@gmail.com>, Stewart Bryant <stewart.bryant@gmail.com>
CC: Tarek Saad <tsaad.net@gmail.com>, MPLS Working Group <mpls-chairs@ietf.org>, mpls <mpls@ietf.org>, "draft-lm-mpls-sfc-path-verification@ietf.org" <draft-lm-mpls-sfc-path-verification@ietf.org>
Thread-Topic: [mpls] On the use of GAL in MPLS-SFC OAM
Thread-Index: AQHXFa9wCEqGJHvVxEeIv7uwuJqn7qp9PSxQ
Date: Wed, 10 Mar 2021 14:16:12 +0000
Message-ID: <df91051eecaa45e89eb7f795b3e59213@huawei.com>
References: <CA+RyBmXf_Nzn3GxW+1Q1LFjcQ8zUpR9YEMBGyQJ0ODJPcBtD3g@mail.gmail.com> <3688C3DB-2583-4A8D-A9F6-1AF2D05875D0@gmail.com> <CA+RyBmViEB0A-EG6x31E8wes+ytzaLosu4SNzFusOKDM+op8+Q@mail.gmail.com>
In-Reply-To: <CA+RyBmViEB0A-EG6x31E8wes+ytzaLosu4SNzFusOKDM+op8+Q@mail.gmail.com>
Accept-Language: it-IT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.47.94.173]
Content-Type: multipart/alternative; boundary="_000_df91051eecaa45e89eb7f795b3e59213huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/K69nATkelb9_sMDhceR_J_ywyQc>
Subject: Re: [mpls] On the use of GAL in MPLS-SFC OAM
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Mar 2021 14:16:23 -0000

Hi Greg,

The second paragraph of section 4.2 of RFC5586 says:

   The GAL MUST NOT appear in the label stack when transporting normal
   user-plane packets.  Furthermore, when present, the GAL MUST NOT
   appear more than once in the label stack.

Actually, I am noting that replacing the text in section 4.2 of RFC5586 as written in RFC6423, the paragraph would read a bit weird:


   In MPLS-TP, the GAL MUST be used with packets on a G-ACh on

   LSPs, Concatenated Segments of LSPs, and with Sections, and MAY

   be used with PWs.  The presence of a GAL indicates that an ACH

   immediately follows the MPLS label stack. Where the GAL is at the bottom

   of the label stack (i.e., S bit set to 1), then it MUST always be

   followed by an ACH.

I think the reason is that at the time RFC5586 was written, the only application of GAL was at the bottom of the stack but the authors of RFC5586 did not want to be too restrictive on future applications of the GAL.

Maybe some editorial clean-up in RFC6423 is needed but it looks like that RFC6423 places no restriction on where the GAL would appear within the label stack but adds the requirement that, independently on where the GAL appears in the label stack, when the GAL is present, the ACH MUST follow the bottom of the label stack.

Anyway, RFC6423 does not remove the requirement for the GAL to appear only once within the label stack.

Italo

From: Greg Mirsky [mailto:gregimirsky@gmail.com]
Sent: martedì 9 marzo 2021 21:34
To: Stewart Bryant <stewart.bryant@gmail.com>
Cc: Tarek Saad <tsaad.net@gmail.com>; MPLS Working Group <mpls-chairs@ietf.org>; mpls <mpls@ietf.org>; draft-lm-mpls-sfc-path-verification@ietf.org
Subject: Re: [mpls] On the use of GAL in MPLS-SFC OAM

Hi Stewart,
thank you for your comments and questions. Please find my notes in-lined below under the GIM>> tag.

Regards,
Greg

On Tue, Mar 9, 2021 at 9:49 AM Stewart Bryant <stewart.bryant@gmail.com<mailto:stewart.bryant@gmail.com>> wrote:



On 9 Mar 2021, at 17:05, Greg Mirsky <gregimirsky@gmail.com<mailto:gregimirsky@gmail.com>> wrote:

Hi Tarek,
thank you for your comment on our draft at the MPLS WG meeting earlier this week. If I captured your comment correctly, you've pointed out that RFC 5586 defined that GAL MUST be at the bottom of the stack. And, because of that, it can appear only once in the label stack. I agree with you that that is the definition of GAL in RFC 5586 but I have several clarifications to the current GAL definition:

  *   firstly, the requirement that GAL MUST be at the bottom of the stack in RFC 5586 is applicable only to the MPLS-TP network. For other MPLS environments RFC 5586 "places no restrictions on where the GAL may appear within the label stack". Obviously, for any MPLS environment, the presence of GAL in the label stack means that ACH immediately follows the bottom-of-the-stack label.
  *   also, will note that RFC 6423 updated the requirement of where in the label stack GAL is placed to the following:
         In MPLS-TP, the GAL MUST be used with packets on a G-ACh on
         LSPs, Concatenated Segments of LSPs, and with Sections, and MAY
         be used with PWs.  The presence of a GAL indicates that an ACH
         immediately follows the MPLS label stack.
As I interpret the text, the requirement for placing GAL as BoS in the MPLS-TP environment has been lifted by RFC 6423.

To conclude, I don't find in the current normative documents related to the use of GAL any requirements to use it only as the BoS label or that it cannot appear more than once in the label stack. Perhaps I've missed something in documents that specify the applicability of GAL. I much appreciate your thoughts, comments on the use of GAL proposed in our draft

Greg

I can see that RFC6423 lifts the restriction on where the GAL may me placed in the stack, although I cannot work out from the text and cannot remember why we lifted the restriction.

What I cannot see is a lifting of the restriction that GAL can only appear once in the label stack.
GIM>> I couldn't find an explicit requirement that GAL must appear only once in a label stack. I think that that limitation was the logical consequence of the requirement included in RFC 5586 for the MPLS-TP network. Once the requirement to place GAL at the BoS removed, I cannot find any normative text to suggest that GAL cannot appear more than once in the label stack.

I am not quite sure I understand why you would need it more than once.
GIM>> This is resulting from RFC 8595<https://tools.ietf.org/html/rfc8595> that defines MPLS-SFC for two modes - swapping and stacking. For MPLS-SFC OAM, we propose using GAL in each Basic Unit of the MPLS label stack for SFC. Thus, in the stacking mode of MPLS-SFC GAL appears as many times as many basic units are present in the label stack.
If you find a GAL and need to access the ACH as a result, you need to be able to find the BOS. If you can find BOS then you could find the GAL at the BOS.
GIM>> I think that there could be a problem for some systems to inspect the label stack of every MPLS packet whether there's GAL and the bottom of the stack. Finding GAL as the next label, in our opinion, avoids that unnecessary lookup. Besides, systems can access only a certain number of labels in the fast path. For some systems that number is relatively small.

Why do we need to have the GAL in the packet more than once, and why not at BOS?
GIM>> I hope that we've explained the use case in our draft-lm-mpls-sfc-path-verification<https://datatracker.ietf.org/doc/draft-lm-mpls-sfc-path-verification/>. Much appreciate your questions and comments on the draft.

Thanks

Stewart