You can apply a VPN routing and forwarding (VRF) export policy in addition to applying a BGP export policy to routes before advertising the routes to provider edge (PE) routers in a VPN. The default action is to accept routes.
To apply an export policy to routes, include the vpn-apply-export statement:
-
vpn-apply-export;
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.