Send irrtoolset mailing list submissions to irrtoolset@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/irrtoolset or, via email, send a message with subject or body 'help' to irrtoolset-requ...@lists.isc.org You can reach the person managing the list at irrtoolset-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of irrtoolset digest..." Today's Topics: 1. Re: Fix for communities starting with 0: (Faidon Liambotis) ---------------------------------------------------------------------- Message: 1 Date: Thu, 06 Nov 2014 15:29:30 +0200 From: Faidon Liambotis <parav...@debian.org> To: Daryl Collins <da...@htb.com.au>, irrtoolset@lists.isc.org Subject: Re: Fix for communities starting with 0: Message-ID: <545b77ba.8050...@debian.org> Content-Type: text/plain; charset=utf-8; format=flowed Hi Daryl, On 09/30/14 05:24, Daryl Collins wrote: > I'm still developing the odd patch for RtConfig as we encounter issues > in our environment. In general I'd be keen to work with the community > to get as many of our patches as possible (specifically XR support) into > a new release of IRRToolSet. > > Latest issue we've found is that if you do something like: > community= {0:20000} > > The output for Cisco IOS & Cisco XR drops the 0: > > Patch to fix is below. Well, first of all, the code is incorrect here; "high" is an unsigned int, so the < 0 check is superfluous. As you can see from the code, though this isn't an off-by-one error or some other accidental mistake: the code explicitly checks for 0 and 0xFFFF. RFC 1997 (BGP Communities Attribute) says on the matter: "The community attribute values ranging from 0x0000000 through 0x0000FFFF and 0xFFFF0000 through 0xFFFFFFFF are hereby reserved.". JunOS doesn't accept those two values either. I think this may be a configuration mistake on your part and a too relaxed, non-RFC-compliant implementation on Cisco's part. Faidon ------------------------------ _______________________________________________ irrtoolset mailing list irrtoolset@lists.isc.org https://lists.isc.org/mailman/listinfo/irrtoolset End of irrtoolset Digest, Vol 49, Issue 1 *****************************************