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 – 10.50.0.0
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.