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 at the[edit protocols bgp],[edit protocols bgp groupgroup-name], or[edit protocols bgp groupgroup-nameneighborneighbor]hierarchy level:[edit]vpn-apply-export;