<div dir="ltr"><div>Hi Faidon,<br><br>Thanks - I will revise the patch.   Regardless of RFC1997, communities starting with 0 are in use in the wild:<br><br>eg <a href="https://ix.equinix.com/ixp/mlpeCommunityInfo">https://ix.equinix.com/ixp/mlpeCommunityInfo</a><br><br></div>I am in favor of making rtconfig get out of the way for router vendors that support them.<br><br>Daryl<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 6, 2014 at 11:59 PM, Faidon Liambotis <span dir="ltr"><<a href="mailto:paravoid@debian.org" target="_blank">paravoid@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Daryl,<span class=""><br>
<br>
On 09/30/14 05:24, Daryl Collins wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm still developing the odd patch for RtConfig as we encounter issues<br>
in our environment.  In general I'd be keen to work with the community<br>
to get as many of our patches as possible (specifically XR support) into<br>
a new release of IRRToolSet.<br>
<br>
Latest issue we've found is that if you do something like:<br>
community= {0:20000}<br>
<br>
The output for Cisco IOS & Cisco XR drops the 0:<br>
<br>
Patch to fix is below.<br>
</blockquote>
<br></span>
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.<br>
<br>
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.<br>
<br>
I think this may be a configuration mistake on your part and a too relaxed, non-RFC-compliant implementation on Cisco's part.<span class="HOEnZb"><font color="#888888"><br>
<br>
Faidon<br>
</font></span></blockquote></div><br></div>