Variables : string : Virtual Network Identifier used by VRF1 for VXLAN transport : number : EX : 30000 (0-4096 are prohibited) : ex : 02:00:00:00:00:00 : VTEP Ip address : max 3 digit number (ex : 11) : Subnet used for VTEP. : A number : Ex : 6 : String : EX : Servers : A number : Ex : 2030 : String : EX : Servers : Router IP for this Network : Anycast Gateway IP of this Network : Number : Example 65011 : Mgmt IP of Leafx1 : Mgmt IP of Leafx2 : VLTi-DomainID: number : MAC address of VLTi : Ex : 00:00:00:01:01:01 ip vrf management interface management ! ! Overlay VRF1 Network, default VRF is used for underlay ip vrf ! ! MAC-Address for Anycast gateways ip virtual-router mac-address hostname !Used for very fast Failure Detection of UpLinks with Spines bfd enable !Used as stable anchor for VTEP interface loopback0 description VXLAN no shutdown ip address ./32 ! !VTEP nve source-interface loopback0 !Example of an L3 and L2 virtual network virtual-network virtual-network interface vlan virtual-network description no shutdown interface vlan virtual-network description no shutdown ! interface vlan4000 description iBGP no shutdown ipv6 nd max-ra-interval 4 ipv6 nd min-ra-interval 3 ipv6 nd send-ra !Define Virtual Networks that will be transported over VXLAN interface virtual-network description no shutdown ip vrf forwarding ip address ip virtual-router address interface virtual-network description no shutdown ip vrf forwarding !Management IP interface mgmt 1/1/1 description Mgmt no shutdown no ip address dhcp ip address !Access-Port interface ethernet1/1/1 description host_in_ no shutdown switchport mode access switchport access vlan spanning-tree bpduguard enable spanning-tree port type edge . . . !Spine_Uplink1 interface ethernet1/1/6 description Spine01 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 ! !Spine_Uplink2 interface ethernet1/1/7 description Spine02 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 ! !VLTi_Link1 interface ethernet1/1/8 description "VLTi Link" no shutdown no switchport flowcontrol receive off flowcontrol transmit off ! !VLTi_Link2 interface ethernet1/1/9 description "VLTi Link" no shutdown no switchport flowcontrol receive off flowcontrol transmit off !Leaf Autonomous System Number router bgp ! Failover detection for BGP with timers of 3*200ms bfd all-neighbors interval 200 min_rx 200 multiplier 3 role active !Unique ID in BGP routing table to identify router. router-id ! address-family ipv4 unicast redistribute connected ! template ebgp_l2vpn_evpn send-community extended ! address-family l2vpn evpn activate ! template ibgp_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 vlan4000 inherit template ibgp_l2vpn_evpn inherit-type ibgp no shutdown vrf ! address-family ipv4 unicast redistribute connected vlt-domain backup destination vrf management discovery-interface ethernet1/1/8-1/1/9 peer-routing primary-priority 1 vlt-mac evpn auto-evi disable-rt-asn router-mac ! vrf vni route-target auto advertise ipv4 connected advertise ipv4 static virtual-network description ! vxlan-vni virtual-network description ! vxlan-vni