Configuring Layer 3 VPNs

To configure Layer 3 VPN functionality, you must enable VPN support on the PE router. You must also configure any P routers that service the VPN, and you must configure the CE routers so that their routes are distributed into the VPN. To configure Layer 3 VPNs, you include statements. In addition, you must enable a signaling protocol, IBGP sessions between the PE routers, and an IGP on the PE and provider routers.

[edit routing-instances] 
routing-instance-name {
  description text;
  interface interface-name;
  instance-type vrf;
  route-distinguisher ( as-number:number | ip-address:number );
  vrf-import [ policy-names ];
  vrf-export [ policy-names  ];
  vrf-table-label;
  protocols {
    bgp {
      bgp configuration
    }
    ospf {
      ospf configuration ...

Get Juniper Networks® Field Guide and Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.