Generating IPv6 list with filtergen.level3.net

Courtney Smith courtneysmith at comcast.net
Sun Mar 29 00:45:46 UTC 2015


On Mar 28, 2015, at 8:00 AM, nanog-request at nanog.org wrote:
>> 
>> 
>> Does anyone know if filtergen is going to support IPv6-length subnet
>> masks?  Trying to use -le=128 returns an error. I can work around with
>> sed, but just curious if this tool is still being developed.
> 
> May I recommend a different approach instead?
> 
> Download and compile bgpq3:
> 
>    git clone https://github.com/snar/bgpq3.git && cd bgpq3 && ./configure && make
> 
> Run bgpq3:
> 
>    Vurt:~ job$ bgpq3 -6 -A -R 128 -l AS15562pfx AS15562
>    no ipv6 prefix-list AS15562pfx
>    ipv6 prefix-list AS15562pfx permit 2001:67c:208c::/48 le 128
>    ipv6 prefix-list AS15562pfx permit 2001:67c:2980::/48 le 128
>    ipv6 prefix-list AS15562pfx permit 2001:728:1808::/48 le 128
> 
>> Also curious if the tool now supports IOS-XR RPL
> 
> bgpq3 supports BIRD, IOS, XR, JunOS & JSON output. See bgpq3 -h for all
> options
> 
> Kind regards,
> 
> Job


There is a Perl module NET::IRR.  That is what I switched to for IPv6 support after using IRRPT for a few years.   IRRPT has been rewritten in Python but have not had time to play with.  It includes IPv6 support.  You probably have to modify it to output in XR's set format.  That's what I did with the original IRRPT.  

http://search.cpan.org/~tcaine/Net-IRR/lib/Net/IRR.pm

https://github.com/ktims/irrpt-ng

Courtney Smith
courtneysmith at comcast.net

I wanna devise a virus
To bring dire straits to your environment
Crush your corporations with a mild touch
Trash your whole computer system and revert you to papyrus





More information about the NANOG mailing list