Variables : CIDR : Ex : 172.24.241.1/32 : Number : Example 65000 interface loopback0 description Router-ID no shutdown ip address interface ethernet1/1/6 description Leaf11 no shutdown no switchport ipv6 nd max-ra-interval 4 ipv6 nd min-ra-interval 3 ipv6 nd send-ra flowcontrol receive off flowcontrol transmit off ! interface ethernet1/1/7 description Leaf12 no shutdown no switchport ipv6 nd max-ra-interval 4 ipv6 nd min-ra-interval 3 ipv6 nd send-ra flowcontrol receive off flowcontrol transmit off ! interface ethernet1/1/8 description Leaf21 no shutdown no switchport ipv6 nd max-ra-interval 4 ipv6 nd min-ra-interval 3 ipv6 nd send-ra flowcontrol receive off flowcontrol transmit off ! interface ethernet1/1/9 description Leaf22 no shutdown no switchport ipv6 nd max-ra-interval 4 ipv6 nd min-ra-interval 3 ipv6 nd send-ra flowcontrol receive off flowcontrol transmit off router bgp bfd all-neighbors interval 200 min_rx 200 multiplier 3 role active router-id ! template ebgp_l2vpn_evpn send-community extended ! address-family l2vpn evpn activate ! neighbor interface ethernet1/1/6 inherit template ebgp_l2vpn_evpn inherit-type ebgp no shutdown ! neighbor interface ethernet1/1/7 inherit template ebgp_l2vpn_evpn inherit-type ebgp no shutdown ! neighbor interface ethernet1/1/8 inherit template ebgp_l2vpn_evpn inherit-type ebgp no shutdown ! neighbor interface ethernet1/1/9 inherit template ebgp_l2vpn_evpn inherit-type ebgp no shutdown