Re: [Idr] draft-heitz-idr-large-community

Jared Mauch <jared@puck.nether.net> Thu, 08 September 2016 12:51 UTC

Return-Path: <jared@puck.nether.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 9F2D712B169 for <idr@ietfa.amsl.com>; Thu, 8 Sep 2016 05:51:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.71
X-Spam-Level:
X-Spam-Status: No, score=-5.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.508, SPF_HELO_PASS=-0.001, SPF_PASS=-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 cRuqEenZUabx for <idr@ietfa.amsl.com>; Thu, 8 Sep 2016 05:51:47 -0700 (PDT)
Received: from puck.nether.net (puck.nether.net [204.42.254.5]) by ietfa.amsl.com (Postfix) with ESMTP id C8E8812B29A for <idr@ietf.org>; Thu, 8 Sep 2016 05:29:09 -0700 (PDT)
Received: from [IPv6:2601:401:4:3000:310f:7559:ba40:29b0] (unknown [IPv6:2601:401:4:3000:310f:7559:ba40:29b0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by puck.nether.net (Postfix) with ESMTPSA id 4F3C4540666; Thu, 8 Sep 2016 08:29:08 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3225\))
From: Jared Mauch <jared@puck.nether.net>
In-Reply-To: <20160908115247.GQ79185@Space.Net>
Date: Thu, 08 Sep 2016 08:29:09 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <475D8E91-689C-4730-ACB9-528410120E1D@puck.nether.net>
References: <CA+b+ERmLQ+HqH=P-6E+frF1SiHybCVrtQM3=HiwH4+7400NLRA@mail.gmail.com> <9B3BFE0A18160E40BAF1950414D10FAE61704805@WPMBX010.bskyb.com> <CA+b+ERk9hApAD6cgsL1OwY3drQm3itVLSqHuz3eRZPKbj93TCA@mail.gmail.com> <20160908115247.GQ79185@Space.Net>
To: Gert Doering <gert@space.net>
X-Mailer: Apple Mail (2.3225)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/KvxFLg9oxgzr5b2Y6wm_LbVXZNc>
Cc: idr wg <idr@ietf.org>, Robert Raszuk <robert@raszuk.net>
Subject: Re: [Idr] draft-heitz-idr-large-community
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 08 Sep 2016 12:51:49 -0000

> On Sep 8, 2016, at 7:52 AM, Gert Doering <gert@space.net> wrote:
> 
> Hi,
> 
> On Thu, Sep 08, 2016 at 01:44:20PM +0200, Robert Raszuk wrote:
>> ???If folks think we should count on manual filtering inbound or outbound or
>> both so be it. 
> 
> This.
> 
>> How easy or how hard it will turn out in practice will be
>> fully dependent on given implementation's policy language/rules.
> 
> Vendors have provided halfway workable languages to do so for the existing
> 32bit communities, so I'd expect them to learn from that, and provide
> appropriate filtering for 4+4+4.


Yes, the existing explicit match and regex based systems, eg:

JunOS:

    community comm-type-wild members "^2914:3..$”;

XR:

community-set comm-peers-wild
  ios-regex '2914:39.$'
end-set


If you refer to the previous mail from Jakob on how this is implemented in XR
it looks essentially the same.  There are also variable based methods
for interacting with communities, eg:


route-policy peer-prepend-ext($asn)
  if community matches-any (65410:$asn) then
    pass
  elseif community matches-any (65401:$asn) then
    prepend as-path 2914 1
. . .

- Jared