Day One Tips
Day One Tips

Template: Using Auto-export with L3VPN

[ Edited ]
‎10-30-2010 05:26 AM


Auto-export Explanation and Example

Jack W. Parks, IV

Sr. Networks Engineer

Juniper Networks



The document explains auto-export and shows how it functions.  I will use the following drawing to explain the use of auto-export command statement.  This document addresses the use of auto-export at a high level.


The following VRFs and address spaces are in use:

Common Services – cs-vrf – target:65000:50 –

Management – mgmt-vrf – target:65000:60 –

Customer 1 – cust-vrf – target:65000:70 –

Customer 2 – cust2-vrf – target:65000:80 –


The Common Services and Management VRF are only attached to PE2.  We will be sharing prefixes between the Common Services and Management VRFs with the Customer 1 VRF.  The Customer 2 VRF is used as a control VRF to show the effect of the auto-export statement on VRFs that do not use custom polices.






The auto-export command affects the leaking of prefixes between local VRFs configured on a given PE based on the vrf-import and vrf-export policies applied to each VRF.  Remote prefix leaking is accomplished using BGP extended communities.