Configure Routing Instances for Layer 2 VPNs on the PE Routers
To configure routing instances for Layer 2 VPNs, include the
routing-instancesstatement at the[edit]hierarchy level. You configure Layer 2 VPN routing instances only on the PE routers.Configure the routing instance as follows:
[edit]routing-instances {routing-instance-name{descriptiontext;instance-type l2vpn;interfaceinterface-name;route-distinguisher (as-number:id|ip-address:id);vrf-export [policy-name]vrf-import [policy-name]}}
For the Layer 2 VPN to function, you must include the
instance-type,interface,route-distinguisher,vrf-export,and vrf-importstatements in the routing instance configuration on the PE router.The following sections describe how to configure Layer 2 VPN routing instances:
- Configure the Description
- Configure the Instance Type
- Configure Interfaces for Layer 2 VPN Routing
- Configure CCC Encapsulation on Interfaces
- Configure TCC Encapsulation on Interfaces
- Configure Layer 2 VPN Policing on Interfaces
- Configure the Route Distinguisher
- Configure Policy for the PE Router's VRF Table