Problem with RtConfig
nick at inex.ie
Tue Jun 16 23:56:13 UTC 2009
On 15/06/2009 22:07, Nick Hilliard wrote:
> Hmmm, still seems to be a problem. I've logged it as:
> ... and will take a look at it in due course.
The problem appears to be that the rpsl.y grammar file does not agree with
rfc 2622 in terms what a correct "peering:" statement should look like in a
If you use a construction like this, you will get useful output:
import: from prng-as5408-tst accept AS3323;
export: to prng-as5408-tst announce AS5408;
peering: AS1111 22.214.171.124 at 126.96.36.199
peering: AS2222 188.8.131.52 at 184.108.40.206
peering: AS3333 220.127.116.11 at 18.104.22.168
rtconfig> @RtConfig importGroup AS5408 prng-as5408-tst
This "peering-set" syntax obviously makes no sense. The "22.214.171.124" ip
address is redundant, but is required by the parser for some strange reason.
The reason that this worked before is that the cisco configuration
generator previously just printed out the peer-group statement, and didn't
bother printing the peer-group member statements. The code was changed to
fix this, but clearly it was never tested properly. There are lots of
things which it doesn't do (address family activation, checking for
multiprotocol stuff properly).
More information about the irrtoolset