Configure a VPN Routing Instance on the PE Routers
You need to configure a routing instance for each VPN on each of the PE routers participating in the VPN. The configuration procedures outlined in this section are applicable to Layer 2 VPNs, Layer 3 VPNs, and VPLS. The configuration procedures specific to each type of VPN are described in the corresponding sections in the other configuration chapters.
To configure routing instances for VPNs, include the
routing-instancesstatement at the[edit]hierarchy level:[edit]routing-instances {routing-instance-name{descriptiontext;instance-typetype;interfaceinterface-name;route-distinguisher (as-number:number|ip-address:number);vrf-import [policy-name];vrf-export [policy-name];vrf-target {export community-name;import community-name;}}}The following sections describe how to configure VPN routing instances: