Re: [GROW] AS_Path prepend BCP

"Jakob Heitz (jheitz)" <jheitz@cisco.com> Mon, 27 July 2020 20:34 UTC

Return-Path: <jheitz@cisco.com>
X-Original-To: grow@ietfa.amsl.com
Delivered-To: grow@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85BE33A0BC2 for <grow@ietfa.amsl.com>; Mon, 27 Jul 2020 13:34:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.619
X-Spam-Level:
X-Spam-Status: No, score=-9.619 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=Yg645W7s; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=SXnRLWYb
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 9gOkCvfG9_0i for <grow@ietfa.amsl.com>; Mon, 27 Jul 2020 13:33:58 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 782FD3A0BB6 for <grow@ietf.org>; Mon, 27 Jul 2020 13:33:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9317; q=dns/txt; s=iport; t=1595882038; x=1597091638; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=MExFwT5t6mCHdmeIxhHXezVW+CuiqAMKZoLNH3zIKxo=; b=Yg645W7sGeiS5FeG68egPT7ZEDzBcCum7lr6gNDKc8EcklHcE+GmceaA J5p8Gl9X0r6MBpMwyZA8UPQl9sWiGBIKr3rH4V5i5lvn5GepSEgB8RUFt KzaLF1mCAU8aFxMN3wQusEDqs3kNnCIshe5XBUdXkpjHWcaR7Jza1RXFg A=;
IronPort-PHdr: 9a23:xW4IdRGJtrrjPrxM9yiXsZ1GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e401gWbU5jH9uhJlOfX9avnXD9I7ZWAtSUEd5pBH18AhN4NlgMtSMiCFQXgLfHsYiB7eaYKVFJs83yhd0QAHsH4ag7cv2Gv9zMNFxS5Pg1wdaz5H4fIhJGx0Oa/s5TYfwRPgm+7ZrV/ZBW7pAncrI8Ym4xnf60w0RDO5HBPfrdb
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CIBQC/OR9f/5xdJa1gHAEBAQEBAQcBARIBAQQEAQFAgUqBIy9RB29YLyyHegONWJN1hGyCUwNVCwEBAQwBASMKAgQBAYRMAoInAiQ4EwIDAQELAQEFAQEBAgEGBG2FXAyFcQEBAQQSGxMBATgPAgEIEQQBAS8yHQgBAQQBEggagwWBfk0DLgEOpFECgTmIYXSBNIMBAQEFgUdBgyMYgg4DBoE4gm2CUUiGdxqBQT+BEUOCTT6CXAIDAYFdK4Mcgi2ZOYtSkGMKgl6IVpE5n2QtkWmKLpBHhCUCBAIEBQIOAQEFgWojgVdwFYMkUBcCDY4eg3GFFIVCdDcCBggBAQMJfI8VAQE
X-IronPort-AV: E=Sophos;i="5.75,403,1589241600"; d="scan'208,217";a="803814615"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 27 Jul 2020 20:33:57 +0000
Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by rcdn-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id 06RKXvXw004948 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 27 Jul 2020 20:33:57 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 27 Jul 2020 15:33:56 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 27 Jul 2020 16:33:55 -0400
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 27 Jul 2020 15:33:55 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KMO3z8UQ1XSnM43l/fund3CnP5j3AwN+dV4Dky0PRAKWN1qNi+MsQgg18qI1BBWrc3whE01V6L22sQu5T0SMaqelxb0iX80Str9/2r4n8K9K9pueWkEsLMrWQbNrSp1x+t9tW3MKBZEDdI4k8tMB/wDQn3JcUvCaA+SVkfzkqZPZIVE6WFxQgXGBWzI9ONIwky+VwgR3Lf8FgToy/COz7TfnofiwaHd69VHHtgYd0LlP2fW+2hentUgw0zJzmTaolK4PF7+5iRpLRaWnQFz763CFFZQ3Y6Xj2L2O0/SAfTVyTK+/RD9hbcHb9mGyzuhBKnXzNjggnthJZukM9hvr0g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qxOj5iIxFD7cwFWVTzHVWkLpAFomk9TrneAaZ2Gp4+k=; b=n7mvm3yyBMRfK2hlJ5efvEf234H42AjENk+iUzeFcBatqvWKf/TyowQrrQVWakPelRPHZYO3EbGH/ojabaosWq8E/jufRGh/DMgKWuoC/G0+b1CRsWONn+y1JLqGgj7IhI7eA+fEDJhWZzd3p/D+o0ngFjdDq0J8xoiVsdV/xQiBQNOD9jMVSYre2HBr+7oejKOEsXdhKQROitniRbMfKZPe/CETi11OkadvE4BuOuACsczls7ymjXZ9RW7FtFLvC2pKpj/FVImN37zFrpwCbAjY7gif5Q9bq24QwxHS1vbIkp39rPhTL2I/5hLYTDPrE4aoTGG/Vq06teuiJc12Ug==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qxOj5iIxFD7cwFWVTzHVWkLpAFomk9TrneAaZ2Gp4+k=; b=SXnRLWYb9RAc+tS42Qy340uN7q0tlQG6Yj+RUvG6hHtw3pV/ZZM21JyK9IeWJZn2jrngdD3Kx6AqQudT0dS1sgS7cS7hTvXzHYqp8Ygai8ysHoNsu/DiBqOBbJjpWB3ygptAGI+nSa5M83fthYhGjds7adG8nLsux2fUr5dwX5U=
Received: from BYAPR11MB3207.namprd11.prod.outlook.com (2603:10b6:a03:7c::14) by BY5PR11MB4088.namprd11.prod.outlook.com (2603:10b6:a03:185::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.25; Mon, 27 Jul 2020 20:33:54 +0000
Received: from BYAPR11MB3207.namprd11.prod.outlook.com ([fe80::c0a8:f52f:8d8d:ebff]) by BYAPR11MB3207.namprd11.prod.outlook.com ([fe80::c0a8:f52f:8d8d:ebff%5]) with mapi id 15.20.3216.033; Mon, 27 Jul 2020 20:33:54 +0000
From: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
To: Michael McBride <michael.mcbride@futurewei.com>, "grow@ietf.org" <grow@ietf.org>
Thread-Topic: AS_Path prepend BCP
Thread-Index: AdZjfGhmMEc0BHRJTSe3ItklXdO7LAA1UCZA
Date: Mon, 27 Jul 2020 20:33:54 +0000
Message-ID: <BYAPR11MB3207B7D16C6580F8BC8F2758C0720@BYAPR11MB3207.namprd11.prod.outlook.com>
References: <BYAPR13MB2582E3AABED84EE22C14DB4AF4750@BYAPR13MB2582.namprd13.prod.outlook.com>
In-Reply-To: <BYAPR13MB2582E3AABED84EE22C14DB4AF4750@BYAPR13MB2582.namprd13.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: futurewei.com; dkim=none (message not signed) header.d=none;futurewei.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2001:420:c0cc:1002::7d]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ca47d498-2d89-4ee1-4a94-08d8326c6198
x-ms-traffictypediagnostic: BY5PR11MB4088:
x-microsoft-antispam-prvs: <BY5PR11MB40883D148C666E0B94FCE54BC0720@BY5PR11MB4088.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: r31Cv13eZSgpITaUme7JU5AUnXUzNyQar8hv0JrFtLa2LolQthD+Xt1fPy20h8HFOvTKLsy2L06uqcRNvxhLFSX/y2d3T8oe8aJ3VJP2U2vR64c8SFeFmwuKa4G0yDRCtwqgX2opLsVroas8xfq5SW9qfsGRtBUZfWgAyZeI3W0uiZxD4sFv5joLgMpFBvgDOnStL7SxGeinNSh52BDiR6NVOyyJu+TSVzeLWS8fDaC16pkwwQnvJngb6d/zPSWXM5zQI2LQxGqFbT1wRy3WPKZlQsymNLqBVdBvo//eu75FNDoOhHfSPfSqbV3BJSQBNDUXnWqov5zAKMocftWEO2rMCtL2RlT3XAaH2i1xTipuU2t1DOxMwlfcRvVOnwiBe72wNKoeHMwwnuv1CSMH3w==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(346002)(376002)(396003)(136003)(366004)(7696005)(53546011)(186003)(52536014)(66476007)(316002)(66556008)(966005)(5660300002)(64756008)(76116006)(6506007)(66446008)(66946007)(71200400001)(7116003)(110136005)(33656002)(478600001)(2906002)(166002)(66574015)(8676002)(8936002)(9686003)(55016002)(86362001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: y2reDR5V0jRQCPauAS1VvJWznEGt+jLpdgKUK2fC73SlWI+aybAQ++lsbWsp0s8NVEgUTGpXsuL8Lk/ZWAANVgNxl+PJbzA8ODHrZF8TlMLEH54qABflgIm4qZiT7fYekzZb3VGHfGENQuE3fSB33YVkQXxqufJBufw6xMsrlU0uHIwRbB8rtl/BOkE5++E+TgE+AIYmskm0MfsIh6uImQhfZMqJ/OCx4ofRW0cr8v2B45Z/JXaERFX18M73nG5yafHeawVzyN0qVbqb0fTl+OJyvpnFmZkIfXxKQ2cgSxrNkNh17cNjBBkho7lbh0SL1N3qFb7CAKj5jkkqrf4wYOqsNyQjxZlU7q/cMq8hFVr9P28kBsIbAS0GjgLTmDJpVIXbZB8yiYFsiEn1TT1xRKOZxCWKouQoQR7iFW1gfPuvaS/kRnXscnhAXcx6Qwq/cp99hlvOEGzcA5P0iE7LXlV4ttELXurp4NEzgDZbGg5zgaNMPpr65ZB9B0Mn+tVc+6MjHaoy3BUVvPx3D4lYkA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BYAPR11MB3207B7D16C6580F8BC8F2758C0720BYAPR11MB3207namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3207.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ca47d498-2d89-4ee1-4a94-08d8326c6198
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jul 2020 20:33:54.5923 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 4sGxR22SQeehf9IZJ++4aCBdllUdD3KmzJ3HKdxn6zk2vDxL6A45bNA6rCqiBKwxjo0tIqYuJXGnwYgNhDwgjQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4088
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.14, xch-aln-004.cisco.com
X-Outbound-Node: rcdn-core-5.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/grow/wGcZy_y8rhnjG8q--iDRNb-3-7Q>
Subject: Re: [GROW] AS_Path prepend BCP
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/grow/>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Jul 2020 20:34:01 -0000

I have worked on more than one BGP implementation, but not all of them, of course.
On memory requirements for as-paths:
Attribute sets are shared among stored routes.
That means if two stored routes have the same attribute sets, the attribute set is stored only once.
As-paths are shared among attribute sets.
That means if two stored attribute sets have the same as-path, then the as-path is stored only once.
Storing them in the control plane is not a big problem.

However, as-paths can be sent in netflow.
Netflow is generated in the forwarding plane.
AS-paths are not stored in expensive fast memory on the forwarding plane, but still,
using memory on the forwarding plane has greater impact than on the control plane.

An as-path consists of AS_SEQUENCEs (and other elements). An AS_SEQUENCE can contain
a maximum of 255 ASNs. If the as-path is longer, then multiple AS_SEQUENCEs are
required. The code to parse them and create them is not often exercised and
is a potential for bugs in fresh code. The older implementations have these bugs
well and truly shaken out of them.

Regards,
Jakob.

From: GROW <grow-bounces@ietf.org> On Behalf Of Michael McBride
Sent: Sunday, July 26, 2020 11:42 AM
To: grow@ietf.org
Subject: [GROW] AS_Path prepend BCP

Hello wg,

We have submitted https://datatracker.ietf.org/doc/draft-mcbride-grow-as-path-prepend/ which is intended to be a bcp in the use of AS_Path prepend based on work of Doug Madory. As we state in the intro: AS_Path prepending is discussed in Use of BGP Large Communities [RFC8195] and this document provides additional, and specific, guidance to operators on how to be a good internet citizen with the proper use of AS_Path prepend.

We would encourage feedback on this document.

thanks,
mike