[Contents] [Prev] [Next] [Index] [Report an Error]

Applying Both the VRF Export and the BGP Export Policies

When you apply a VRF export policy as described in Configuring an Export Policy for the PE Router’s VRF Table, routes from VPN routing instances are advertised to other PE routers based on this policy, where as the BGP export policy is ignored.

If you configure the vpn-apply-export statement, both the VRF export and BGP group or neighbor export policies are applied (VRF first, then BGP) before routes are advertised in the VPN routing tables to other PE routers.

If you configure a PE router as a route reflector or as an AS border router, the behavior enabled by the vpn-apply-export statement is enabled on these routers automatically. For information on how to configure a route reflector or an AS border router, see the JUNOS Routing Protocols Configuration Guide.

When you configure the vpn-apply-export statement, be aware of the following:

To apply both the VRF export and BGP export policies to VPN routes, include the vpn-apply-export statement:

vpn-apply-export;

For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.


[Contents] [Prev] [Next] [Index] [Report an Error]