EVPN or Ethernet VPN configuration

1- MP-iBGP

2- EVPN service    




eBGP / OSPF-ISIS

Underlay


1- MP-iBGP

Overlay

MP-iBGP
routing-options {
    router-id 11.11.11.11;
    autonomous-system 65000;
}

bgp {
    group Internal {
        type internal;
        family inet-vpn {
        any;
        }
        family evpn {
                signaling;
        }
        neighbor 1.1.1.1 {
            local-address 11.11.11.11;
            bfd-liveness-detection {
            minimum-interval 200;
            multiplier 3;
           }
       }
  }
}

2- EVPN service

evpn
routing-instances {

EVPN-1 {

instance-type evpn;
vlan-id 100;
interface ae0.100;
routing-interface irb.100;
route-distinguisher 11.11.11.11:1;
vrf-target target:65000:1;

protocols {

evpn {

default-gateway do-not-advertise;

}

}

}



Show evpn instance
{master:0}
root@qfx5100-1> show evpn ?
Possible completions:
  database             Show EVPN internal MAC database
  flood                Show EVPN flooding information
  igmp-snooping        Show EVPN igmp snooping information
  instance             Show EVPN instance information
  ip-prefix-database   Show EVPN internal IP prefix database
  l3-context           Show EVPN L3 context information
  mac-table            Show media access control table
  multicast-snooping   Show EVPN multicast-snooping information
  peer-gateway-macs    Show MAC addresses installed as gateway MACs
  statistics           Show EVPN statistics
  vpws-instance        Show EVPN VPWS instance information
{master:0}