Apply Both the VRF Export and the BGP Export Policies
When you apply a VRF export policy as described in Configure Export Policy for the PE Router's VRF Table, routes from VPN routing instances are advertised to other PE routers based on this policy, while the BGP export policy is ignored.
If you configure the
vpn-apply-exportstatement, 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.Include the
vpn-apply-exportstatement:vpn-apply-export;For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.