How to build IPv6 prefix filter with RtConfig?

Katie Petrusha katie at
Tue May 8 14:25:05 UTC 2007

On Tue, May 08, 2007 at 02:49:22PM +0300, Pekka Savola wrote:

Hi Pekka,

As far as I remember, all filter evaluation defaults to 
'afi ipv4.unicast', if no afi is mentioned.

Try this:

RtConfig> @RtConfig access_list filter afi ipv6 AS1741
no ipv6 access-list ipv6-100
ipv6 access-list ipv6-100 permit 2001:708::/32 any
ipv6 access-list ipv6-100 deny any any 


> Hi,
> There was a question on this already in 2005, but no answer.
> How do I build (using 4.8.5) a v6 prefix filter based on route6 
> objects?
> I'm trying to use a template like:
> @RtConfig access_list filter AS1741
> .. which only builds a v4 filter.  However, with '-T all', you can see 
> that RtConfig actually does fetch the route6 objects as well, so this 
> seems like an issue with parsing or support in the expressions.
> I can see that the following kinda works, but produces wrong format:
> @RtConfig v6networks AS1741
> -- 
> Pekka Savola                 "You each name yourselves king, yet the
> Netcore Oy                    kingdom bleeds."
> Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings

More information about the irrtoolset mailing list