Re: [mpls] Alexey Melnikov's Discuss on draft-ietf-mpls-rfc3107bis-02: (with DISCUSS and COMMENT)

Eric C Rosen <erosen@juniper.net> Tue, 01 August 2017 21:00 UTC

Return-Path: <erosen@juniper.net>
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 4D070124B0A; Tue, 1 Aug 2017 14:00:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.802
X-Spam-Level:
X-Spam-Status: No, score=-4.802 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=juniper.net
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 dF4UE7jvj2Az; Tue, 1 Aug 2017 13:59:59 -0700 (PDT)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0098.outbound.protection.outlook.com [104.47.42.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 30AB3124217; Tue, 1 Aug 2017 13:59:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HfI50tULbXYEju2SrMZy3+YpILUIAJ/06MYl3ItOD6c=; b=acbOMr4aR+SwdvBWbksO6vMFdN8AecTZllWC7Rfgamae5GmguDuVkQU0pzM/TD+TZvo+HU0PTn2SZHSPo+N5b03xWHLUQUrZyu6aaaOUK9Gp7RZaJj7SgShPI56urmfVW1zX04a1zhZhUFBjgeSld5eavonECQBBRns1uishigI=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=erosen@juniper.net;
Received: from [172.29.36.32] (66.129.241.14) by BY2PR05MB2181.namprd05.prod.outlook.com (10.166.112.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1320.10; Tue, 1 Aug 2017 20:59:53 +0000
To: Alexey Melnikov <aamelnikov@fastmail.fm>, The IESG <iesg@ietf.org>
Cc: draft-ietf-mpls-rfc3107bis@ietf.org, Loa Andersson <loa@pi.nu>, mpls-chairs@ietf.org, mpls@ietf.org
References: <150160092345.9575.15101330200808959616.idtracker@ietfa.amsl.com>
From: Eric C Rosen <erosen@juniper.net>
Message-ID: <0dafc151-777c-ce0c-dd40-192e88bdc915@juniper.net>
Date: Tue, 01 Aug 2017 16:59:49 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <150160092345.9575.15101330200808959616.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Originating-IP: [66.129.241.14]
X-ClientProxiedBy: DM5PR06CA0042.namprd06.prod.outlook.com (10.168.181.28) To BY2PR05MB2181.namprd05.prod.outlook.com (10.166.112.9)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 73bc7798-4853-4089-861e-08d4d92042c6
X-MS-Office365-Filtering-HT: Tenant
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR05MB2181;
X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB2181; 3:IBjX2YkyyKD+TRwXZJZBVWqzRYo/6ypLorkSAo3+e0kuSKpuKsamMffo7ZRDWdIV1J3zB1lwMbw72eN6IzY9Hbz/o3rrIb1bmanx91iDA5KpG6PnWeozT+5l9EJKsrdq+z1K3fzfEAEmX5Zs1HdfguimpqzwL2kulOiqGAjOMKNuF/Nw1+zVe8B47iD5/DFBj05TApcPkP7A7xljMnohxI4/74pvolcMy9DbYL9P61FQrAPVeQp6mIhjaQGDfIyl; 25:ausnKgbBCIV+POSx7ZZdSLYQOmSxzhcEWb5qQEdh9EIAQQroY5m4175gWtywJYnPvFJp8q7uB/qBczHneSEC5yl1zQHul1G2NodPyWCpM35Kzjn5/c5dMwch9P57fXTKg7slknOnhiZ3tCt+n+7XLkDdEZmh9G3/rz7L8CALoi8OMN4qzg5DV+SjvPDI8u/O+5n0UR7pGqYWXu+n1m4WfXcOP8+/BCz6A6/F4XoVybb6cSvuSPUxkpJZ2eRKDz92dILX5PW94/XPGI4ep3zWBY1uVjB8H88uXNVcUofCqG4Q2MHTZR1df49iXu1VkTuyZ/gBiLDfMwL9cgZujIB3jQ==; 31:gE5jY5EITc0wOcaojzAwem5s7pm9Bc3nMYmbBhcllRVTSgc0PCtisMaEPdyW5onZm1x8wfoHW/CL8HXSu9rr4dR0Y4424wpQwTVJ+H0Uy7NqCV+eWduhyF7yAm8tHq8JD4D2Au2IxOM3NYRNMsbekFH7VmeSjGrG3RiVkJEJrDKZJPAzrECWFUK57IUCNE+g1wO1nRctP/7eBkA0w8/enWaEa9fk1AIH+mV6pU5rwZU=
X-MS-TrafficTypeDiagnostic: BY2PR05MB2181:
X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB2181; 20:w/twpjCJOIXRXJ4DNa1UVX89lRrdg093oHqfXynMT59J27+n/uoTH0pXSpv/8nKbw7d7s59JQih4q0gzib/r0Cr0W+9Owk95OSm1Po4n0m7EYAAgr/h1y/8tb1pNgdgbTAD395ujCXCDqiNS0IrR22uWZvxC3TMJ4i1OGeNyxzwIljcMWEjAYCCSnmENo12okFB4ffdGgFYwsuHSPm3jGzmeOM8Spi5ZIcHtleVF3Us8otLBIct41DAJhj9BHy6V21qQnkI4qF+YmLbubH8PpSiyUAcqLpjZsLc5ZjhGGBiqm5kMPm9q7wPJgW03lPjim6eM+rfhn60wUzcB6IuPibt3nBO3AkqDwknUufXbrTpbe01NDOOxTwXiWKKc3bl5ukf47A+a1tn63WMwPUnUOIJ2A1P0g1PSMVHkL1jC+lSpGk4Sk2JR6tHK1CG+2MXQshE9Xrc0UTsVqBFB5iClDaIhlMH3Er4lBnR5YAjnvyW1Y3c7hNbq3XURqQfCQCes5bUgg7AEtipCtPu/2j57ys7kRMbrujNqzIQcNmtR4Wt9/qaQTHeP4QftSfJLJCJ74dQtZfX7+RFHF3fz6mG3Be0AcEt4v9CwmcQ185TzcfA=; 4:UvQp5RvPHsG1P3Tft1xLE+41vo1k8dhdOADULWhTWs6NupdjYi14LiAyfNdG0FPl0zgh38TDLvpJhqxEwJQBRpoHOu08n2Q/xwQAOCCr2IAg+Dq7oESlZE5sCym8rkUfyAJWCWksVUS7uie+j5VQ/hN9+h//a60GGZlnXrg1g0Rl7EGfS4yeKLCjPyC4WANYeQ2d5tLIn7tfNOEjlkoKn6gWsNSwX9JPHG5om4n5JueEMPRDMPvxBGlntm6oYTXC
X-Exchange-Antispam-Report-Test: UriScan:;
X-Microsoft-Antispam-PRVS: <BY2PR05MB21812E8327F75D1306C9AD71D4B30@BY2PR05MB2181.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR05MB2181; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR05MB2181;
X-Forefront-PRVS: 0386B406AA
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(7370300001)(6009001)(6049001)(39850400002)(39400400002)(39410400002)(39840400002)(39860400002)(39450400003)(189002)(199003)(31696002)(6486002)(106356001)(229853002)(7350300001)(230700001)(50986999)(3846002)(230783001)(2950100002)(6666003)(31686004)(97736004)(8666007)(105586002)(6246003)(33646002)(189998001)(53936002)(36756003)(23676002)(478600001)(64126003)(50466002)(86362001)(38730400002)(6116002)(25786009)(3260700006)(68736007)(47776003)(65826007)(5660300001)(77096006)(90366009)(4001350100001)(8676002)(305945005)(42186005)(81156014)(2906002)(83506001)(4326008)(66066001)(81166006)(7736002)(65806001)(101416001)(54356999)(65956001)(76176999); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR05MB2181; H:[172.29.36.32]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
Received-SPF: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1;BY2PR05MB2181;23:lbB2Kq71lqz5bQZ6bBo0fjOhPqZD4VyIxcb7N3Zq1xPqmkA8EAqTHmy0DNZmUjvp628IKRrH6sSA6jVLSjzyyWZDqvAbwMlgrXzo00ORhhX2pqz8sFWSobFIeabhIR2mtOMGzaxAGnUhcBpThof37nFg2S+iGARPEuVZPXtFkiflU+SSArSG44j6YhM4JE7pM99mM5ywb73sk5QQ5S+b8wAC4Mk7CZ/IHvlA7wNfLR/FngI4u3oEKDVcX8o7k6sNMqskuHIGJnyLt0/Qc4oQQBkl2LzO8fV5VaGR0yN/WF9oV3TocbjDZUlX9QYu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ticMetadata: NSPM
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2017 20:59:53.3882 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR05MB2181
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/cg4qFNPl7lxN5xoUHwhX1GjUZyI>
Subject: Re: [mpls] Alexey Melnikov's Discuss on draft-ietf-mpls-rfc3107bis-02: (with DISCUSS and COMMENT)
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 01 Aug 2017 21:00:01 -0000

> DISCUSS:
> ----------------------------------------------------------------------
>
> I would like to discuss one issue before recommending approval of this document:
>
> In Section 2.1:
>
>     The value field of the Multiple Labels Capability (shown in Figure 1)
>     consists of one or more triples, where each triple consists of four
>     octets.  The first two octets of a triple specify an AFI value, the
>     third octet specifies a SAFI value, and the fourth specifies a Count.
>     If one of the triples is <AFI,SAFI,Count>, the Count is the maximum
>     number of labels that the BGP speaker sending the Capability can
>     process in a received UPDATE of the specified AFI/SAFI.
>
> I think lack of recommendations on the minimal supported Count value will
> result in lack of interoperability. What are the common Count values used by
> implementations?

An implementation is not required to support more than one label in the 
NLRI.  In that case, of course the Multiple Labels Capability is not  
supposed to be used.  So if the Capability is used, the minimum value is 
2.   It looks like the document does not state that explicitly, but it 
certainly should.  I will fix that.

Thus the literal answer to your question is that the Multiple Labels 
Capability MUST NOT contain a count less than 2.

Typically when SAFI-4 or SAFI-128 routes are used, only one label is 
included.  If an operator has a scenario in which multiple labels are 
needed, it is necessary for the operator to ensure that all his vendors 
can support however many labels he needs.  That's not really something 
that the standard can address.  If the operator needs 3 labels in the 
NLRI, it won't help much if some of his boxes can only support 2.

---------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> In Section 2.3:
>
>        0                   1                   2                     3
>        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>       +-+-+-+-+-+-+-+-+
>       |    Length     |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |                 Label                 |Rsrv |S~
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       ~                 Label                 |Rsrv |S|
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |                          Prefix                               ~
>       ~                                                               |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>                      Figure 3: NLRI With Multiple Labels
>
>     - Length:
>
>        The Length field consists of a single octet.  It specifies the
>        length in bits of the remainder of the NLRI field.
>
> I would like to double check that my math is correct. With SAFI=128 and AFI=2,
> assuming the prefix length of 192 bits, this will leave space for:
>
>   (255-192)/24 = 2.625. So this configuration only allows for 2 labels to be included, right?
>
Your arithmetic is accurate ;-)

If you are implying that this is not necessarily the best mechanism for 
associating an arbitrarily long label stack with a prefix, I wouldn't 
disagree.