Problem with RtConfig using with differents community and prefs

Matthew Moyle-Croft mmc at mmc.com.au
Tue Apr 28 23:49:40 UTC 2009


Hi,
Multiple import lines are the same as "OR".

I'd suggest splitting the first line into two:

> import:         from AS8218 83.167.52.217 at 83.167.52.218 action  
> pref=110;
> 	community.append(34021:103); accept community(8218:100)
> import:         from AS8218 83.167.52.217 at 83.167.52.218 action  
> pref=110;
> 	community.append(34021:103); accept community(8218:101)


etc

MMC

On 29/04/2009, at 4:39 AM, Geoffroy RIVAT wrote:

> Hi All,
>
> I'm doing some tests with RtConfig and I'm making him coredumping :)
>
> here the deal:
>
> RtConfig -v:
> RtConfig (IRRToolSet v4.8.5) root at jail-20
>
> as34021.txt:
> [...]
> import:         from AS8218 83.167.52.217 at 83.167.52.218 action  
> pref=110;
> 	community.append(34021:103); accept community(8218:100) or  
> community(8218:101)
> import:         from AS8218 83.167.52.217 at 83.167.52.218 action  
> pref=120;
> 	community.append(34021:103); accept community(8218:102)
> import:         from AS8218 83.167.52.217 at 83.167.52.218 action  
> pref=200;
> 	community.append(34021:103); accept ANY
> [...]
>
> bgp3.conf:
> [...]
> @RtConfig import AS34021 83.167.52.218 AS8218 83.167.52.217
> @RtConfig export AS34021 83.167.52.218 AS8218 83.167.52.217
> [...]
>
> RtConfig -protocol ripe -config cisco -cisco_empty_lists - 
> cisco_use_prefix_lists
> -f as34021.txt < bgp3.conf > bgp3.cisco
>
> Warning: filter matches ANY/NOT ANY
> Warning: filter matches ANY/NOT ANY
> Segmentation fault (core dumped)
>
> If I remove one of the two first imports with only community it works.
>
> So what's wrong?
>
> ps : when asking a junos configuration i've got :
>
> protocols {
>   bgp {
>      group peer-83.167.52.217/32 {
>         type external;
>         peer-as 8218;
>         neighbor 83.167.52.217/32 {
>            import AS8218-IMPORT-1 ;
>            family <8C>h^^^H<8C>h^^^H<88>8^N^H<E0>>^^^H {
>                any;
>            }
>         }
>      }
>   }
> }
>
> does anybody know why?
>
> Regards,
>
> -- 
> Geoffroy Rivat
>
> _______________________________________________
> irrtoolset mailing list
> irrtoolset at lists.isc.org
> https://lists.isc.org/mailman/listinfo/irrtoolset

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/irrtoolset/attachments/20090429/be029d19/attachment.html>


More information about the irrtoolset mailing list