Re: [Idr] I-D Action: draft-zzhang-idr-bitmask-route-target-00.txt

"Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net> Mon, 13 July 2020 13:53 UTC

Return-Path: <zzhang@juniper.net>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B17C13A11F9 for <idr@ietfa.amsl.com>; Mon, 13 Jul 2020 06:53:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.019
X-Spam-Level:
X-Spam-Status: No, score=-2.019 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=0fr8XfBP; dkim=pass (1024-bit key) header.d=juniper.net header.b=T+7IQrsZ
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 8oIDbGkAfkSN for <idr@ietfa.amsl.com>; Mon, 13 Jul 2020 06:52:58 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 029C33A122E for <idr@ietf.org>; Mon, 13 Jul 2020 06:52:49 -0700 (PDT)
Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06DDqdo4007735; Mon, 13 Jul 2020 06:52:49 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=v20tccHV8omVCA0kQxC+z5qCX06sdL7MXFa6SH/OKe4=; b=0fr8XfBPxTD3aP8/+SI4/RgwGfN5ct8srLssHj6nkV5HznIxqBaYjVqbDFT6nXzOau7I eJWCRAU0StJuuYgor1PAf5WaR//vZFHJlgXMBsybg8z1V90vMOhAQddNRKL/bZ/8FN0i pxLBxzHmUrEUYpSA5n8JD2rfXwRfEx+cpALVI+Q1eE33BLQkh9tWN2FjW2ojbddVwK9G ZhJaAyAfh93lizMbG7CqijDb02rxZ57Y3Cyl0al0BAT2vfnIMxJVSz2okf5w1mvasZmU 7LQU2OXEev3pX8eCYR1f1YD9F366btDSyMpBNer+HoH52tjyfIJe5K3uDMBG7JguU3Ne 9A==
Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103]) by mx0a-00273201.pphosted.com with ESMTP id 327cpktmy5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jul 2020 06:52:49 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dbWGKv4gbqtVVB7ZSdS+R24isypp/MKN4ob7fk5c6/mhhnAtSx0UBUf3Cgb7tQGbq95EpycT+M54PDutus30dzLtvxnNJq1VY1bS/VZrSFHU2UkxfvMFIOq6KDhKlnwp2d+naPgWok9GsPWPKCVmjg9ovbkiwmbzxQP2nbCYfc58ijNlL1OgBr8W4MguPlcQVU5ZeOoCGyZRdDuC80myy5HJCiqWUZqd+f0CxNmnVkFCUQpuS49cpYZZ+GH6XA9TJRqSgiVGbGqdxILBK+qOPdKiJEAWR49RyBnalBPoQVQpiNcnaPrRWQQdO1jLL8p4FKdXScLzKAQOAEJ/YJktpA==
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=v20tccHV8omVCA0kQxC+z5qCX06sdL7MXFa6SH/OKe4=; b=N3+9jgKH8IyGDKxXGIXgIIyY1c2ub3T0IuIiX8CV82BZMpAGhueK0Ka+RRJgNZMrw6tzKYs9IcqFK2oN830owLK5FOHmLj2KRrLXt+etkXrZeziYAqqnlWCR94CSRrNCizRKbh0VQb6YAS13cg6N+jqVhQlwX73SeArSzPEY9cjY/1b5+efrIwE8N9KWtddBRbwEw3Pj5EBl0yfYzFP9YEcOJXiHLy1pvext5X/jDpKZjkFhKVwoDomI5nQxaBYYlhz8MLxe4XkZVfE5ethprkyDEJ1FuEmXmwnG4tR8J19BdrPxrJ3lSeu53ZxVmF6cAPfW5dwsopbL97kxinP9eQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
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:X-MS-Exchange-SenderADCheck; bh=v20tccHV8omVCA0kQxC+z5qCX06sdL7MXFa6SH/OKe4=; b=T+7IQrsZZ9FYjK79auO3WNlIUo8u0J0SF2iVfHsa2lHkvYFCF3g2+561ZWq+Stsf02IkxUULDenDm3wicFcQMrrOPjMB4pzeRagOelC29Pfah+OP0Z1kcp3SeqRKN8KO3heIa5jeQgeJhJCkLOfD35yjJVkkgSiWOsrZ6GzN4SA=
Received: from MN2PR05MB5981.namprd05.prod.outlook.com (2603:10b6:208:c3::15) by MN2PR05MB6063.namprd05.prod.outlook.com (2603:10b6:208:c6::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.9; Mon, 13 Jul 2020 13:52:46 +0000
Received: from MN2PR05MB5981.namprd05.prod.outlook.com ([fe80::3988:326f:3c17:8191]) by MN2PR05MB5981.namprd05.prod.outlook.com ([fe80::3988:326f:3c17:8191%5]) with mapi id 15.20.3195.009; Mon, 13 Jul 2020 13:52:46 +0000
From: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>
To: Robert Raszuk <robert@raszuk.net>
CC: Srihari Sangli <ssangli@juniper.net>, Jeff Haas <jhaas@juniper.net>, "idr@ietf. org" <idr@ietf.org>
Thread-Topic: I-D Action: draft-zzhang-idr-bitmask-route-target-00.txt
Thread-Index: AQHWWOHZkmh0jKAyLkCOJxLsXMQbjKkFS3/EgAA4FwCAAAHvQA==
Date: Mon, 13 Jul 2020 13:52:46 +0000
Message-ID: <MN2PR05MB5981D257683BC63348867954D4600@MN2PR05MB5981.namprd05.prod.outlook.com>
References: <159460205736.22294.14201622770849775018@ietfa.amsl.com> <CAOj+MMH4+UUQgs9-NbXhOMypXpX5hQOdx5ogZV8-REzrgCjeQw@mail.gmail.com> <FCADD6DE-D2A4-44C4-A7EA-9848F3302072@juniper.net> <CAOj+MMFMD5btFKiSMEbF1EeTpGrzf5yyoLGagMr697wUARtW7A@mail.gmail.com>
In-Reply-To: <CAOj+MMFMD5btFKiSMEbF1EeTpGrzf5yyoLGagMr697wUARtW7A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2020-07-13T13:52:43Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=0633b888-ae0d-4341-a75f-06e04137d755; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=bae77cf8-d86e-4944-8e61-0fbbacff0b21; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=2
dlp-product: dlpe-windows
dlp-version: 11.3.2.8
dlp-reaction: no-action
authentication-results: raszuk.net; dkim=none (message not signed) header.d=none;raszuk.net; dmarc=none action=none header.from=juniper.net;
x-originating-ip: [71.248.165.31]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 0c0698b5-bde0-4c60-e1c2-08d8273405c7
x-ms-traffictypediagnostic: MN2PR05MB6063:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR05MB6063BBA15EBAF5E41C414F3BD4600@MN2PR05MB6063.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: nPrfM+wOfYPOc8wGANUD9X/n+ZtzXAvEyBi83pYb1TrBipgxralODPgh8wyOBIG37u1orGCcZkQzv31+7+L25C7p0JCxA05VS99t+KtLfFVV3aXlmr9t+83EG4DMK8Yv0aF2tHwjhFAHtX9op6TzlJh+7UMx23b640PXPJxRZaUPTkGzhaiUyPhe+wDOHiVmAgROOFgOrVGhrWemC8mxFmQaalg68TwVq+xMjFkpmdrS2VV2XbIt6IPpiCN43hOGuhDCIDrGTGrNs2zaz9SrsZ1ifbJkn27FfFxWuT9iIvK/ltFZlaVudTXu+6lqEFs9VndqIP8b6x/0qtexYL/nKUI+dWjmkwrbVIJfJUrEFGxQFK1ShlUjYudosEPnvFDdxmhTGtbpVFe0bwBlolQ1FQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR05MB5981.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(366004)(396003)(39860400002)(136003)(346002)(6506007)(2906002)(53546011)(6916009)(8676002)(8936002)(66446008)(64756008)(66476007)(66946007)(66556008)(76116006)(33656002)(5660300002)(9686003)(52536014)(66574015)(71200400001)(83380400001)(186003)(26005)(166002)(316002)(55016002)(966005)(54906003)(86362001)(478600001)(7696005)(4326008); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: 5LB7qtFNaoTh9rARukdRNHkHdn9x6UYB3spbD39VxmiX6iiRQkIUPExtxT2DNUI1N1vtsIhJ4XFvGyWFKbnqiNpXdQNniddITgnnuY4Rso1nIicxdl7C/bwTO3cuAvErmUHmgszDicLDIMQZGS8CL3oz5I095l0VjICMNMF1WfqoidWtlf4KkDAaE5r/MCW3+FLX1fwXsuJmyVb+dpSaHfZQH3PKiJ+vFTAMdxSjkMDdjos2KjxUPL0qcnczargl3f6CFRfDt09PaIIUYdWovEJYFV+d8NN+ABMo8QyyMQMzuIE1UeogLtkSXxK9GXAWjXLZXHtKnYcmypdGW9qlxGbfmLJ/SJma/mJ0kU1B53su8b4D86U704z73DT5v373mqM27gILxhRK5n664qCi+0BytDRNLWZRo1ISpRaDOF4AwGZJET58Htt4SVU6gTi8nJo3is3FbzFPA9ZBO35EFbcRT/+6IXN+hGQfjDDhll6VKOeJ4L2XjWK2SrEwA+Qa
Content-Type: multipart/alternative; boundary="_000_MN2PR05MB5981D257683BC63348867954D4600MN2PR05MB5981namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR05MB5981.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0c0698b5-bde0-4c60-e1c2-08d8273405c7
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2020 13:52:46.0534 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: m4VA94VrJRIOVGOzDBw/isahWjT2tpEULxJU2Yf/aLDP2+yhtmdn/ts415q+91YACeK0Bbc3d863gAlTL9oA8Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR05MB6063
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-13_11:2020-07-13, 2020-07-13 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 spamscore=0 clxscore=1015 impostorscore=0 malwarescore=0 bulkscore=0 adultscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 mlxscore=0 mlxlogscore=999 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007130104
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/NYV8UDhq8173lugUFucANruH3e4>
Subject: Re: [Idr] I-D Action: draft-zzhang-idr-bitmask-route-target-00.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jul 2020 13:53:01 -0000

Let me see if I understood you correctly.

In my previous email, I was saying that we configure a RTC ASN/32 on each router (and each VRF for your example) to match a route’s attached more specific RTs for route importation purpose. That would be too much provisioning and your proposal is to attach a RT ASN/32 to the route and it will match all more specific local RTs that has that ASN in the Global Admin field.

Sounds interesting.

Jeffrey



Juniper Business Use Only
From: Robert Raszuk <robert@raszuk.net>
Sent: Monday, July 13, 2020 9:37 AM
To: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>
Cc: Srihari Sangli <ssangli@juniper.net>; Jeff Haas <jhaas@juniper.net>; idr@ietf. org <idr@ietf.org>
Subject: Re: I-D Action: draft-zzhang-idr-bitmask-route-target-00.txt

[External Email. Be cautious of content]

HI,

While you can go and touch 1000s of PEs to add another import statement there are cases when it would be convenient to advertise RT as prefix.

Example ... I would like to add a new mgmt route to all VRFs with say NO-EXPORT. I know that I can import ASN:XXXXXX So if I advertise RT ASN/32 it should get imported by any existing import RT statement which already is importing ASN:*

Today correct me but I am not sure there is any way to attach and propagate an RT as a prefix.

Not only basic 4364 but also RTC itself could benefit from it :).

Thx,
R.

On Mon, Jul 13, 2020 at 12:16 PM Jeffrey (Zhaohui) Zhang <zzhang@juniper.net<mailto:zzhang@juniper.net>> wrote:
If I understand it correctly, that concept is already used in RTC for the control of route propagation. Are you referring to using it for importation as well?

That seems to be just a matter of locally configuring a RTC membership for the purpose of route importation?

Jeffrey
Sent from my iPhone

On Jul 13, 2020, at 2:50 AM, Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>> wrote:

[External Email. Be cautious of content]

Hi,

While bitmask has its own use don't you think that while making RT structure more flexible we should also define the notion of RT prefix ?

That way filtering across groups or areas or ASNs could be very easy and intuitive.

Thx,
R.
---------- Forwarded message ---------
From: <internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>>
Date: Mon, Jul 13, 2020 at 3:02 AM
Subject: I-D Action: draft-zzhang-idr-bitmask-route-target-00.txt
To: <i-d-announce@ietf.org<mailto:i-d-announce@ietf.org>>



A New Internet-Draft is available from the on-line Internet-Drafts directories.


        Title           : Bitmask Route Target
        Authors         : Zhaohui Zhang
                          Srihari Sangli
                          Jeffrey Haas
        Filename        : draft-zzhang-idr-bitmask-route-target-00.txt
        Pages           : 5
        Date            : 2020-07-12

Abstract:
   This document specifies a new type of Route Target called Bitmask
   Route Target as a BGP Community Container.  The key element of a
   Bitmask Route Target is a Bitmask.  Two Bitmask Route Targets are
   considered equivalent for the purpose of controlling route
   propagation (via Route Target Constraints) and importation if the
   result of logical "AND" operation of the Bitmask of the two is non-
   zero.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-zzhang-idr-bitmask-route-target/<https://urldefense.com/v3/__https:/datatracker.ietf.org/doc/draft-zzhang-idr-bitmask-route-target/__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tAu1ci_T$>

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-zzhang-idr-bitmask-route-target-00<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-zzhang-idr-bitmask-route-target-00__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tC_K5Kga$>
https://datatracker.ietf.org/doc/html/draft-zzhang-idr-bitmask-route-target-00<https://urldefense.com/v3/__https:/datatracker.ietf.org/doc/html/draft-zzhang-idr-bitmask-route-target-00__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tGCfXsOz$>


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org<https://urldefense.com/v3/__http:/tools.ietf.org__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tHAMEfVM$>.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/<https://urldefense.com/v3/__ftp:/ftp.ietf.org/internet-drafts/__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tP-azqXc$>


_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org<mailto:I-D-Announce@ietf.org>
https://www.ietf.org/mailman/listinfo/i-d-announce<https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/i-d-announce__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tLdaza6z$>
Internet-Draft directories: http://www.ietf.org/shadow.html<https://urldefense.com/v3/__http:/www.ietf.org/shadow.html__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tNIbC7W5$>
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt<https://urldefense.com/v3/__ftp:/ftp.ietf.org/ietf/1shadow-sites.txt__;!!NEt6yMaO-gk!QBATyOcl6BcLqTZHucumuEBzuvnVxWuj3QOsgfrcwHhQFGGotvmk6JV-tKpPpARY$>