[j-nsp] Filtering on MP-BGP routes (bgp.l3vpn) in policies?

Piotr Marecki peter at mareccy.org
Mon Sep 19 12:10:54 EDT 2005


> While working on a Juniper-based BGP route-reflector setup, I came across
> the following issue:
>
> Basically, what I want to achieve on the RRs is a export policy (applied
> on the route-reflector-client group) like the following:
>
> x) accept inet prefixes with a certain AS-path and/or community
> x) accept inet6 prefixes with a certain AS-path and/or community
> x) accept all bgp.l3vpn routes
>
> x) deny the rest
>
> The first two conditions are a no-brainer, but I'm having problems
> regarding the third one.
>

To match L3VPN bgp routes you can use "from rib bgp.l3vpn.0" in your 
policy-statement

regards

Piotr Marecki 



More information about the juniper-nsp mailing list