Users Guide

Table Of Contents
The individual switch configuration shows how to configure VRFs in the VTEPs and configure route leaking between VRFs.
For other VXLAN and BGP EVPN configuration, see other examples and the VXLAN section.
Route leaking is performed on the Border Leaf VTEP.
There are three nondefault VRFs present in the network Yellow, Green, and Red.
Route leaking is done between:
VRF-Yellow and VRF-Green.
VRF-Yellow and VRF-Red.
VRF-Yellow and VRF-default (underlay with external router)
NOTE: Route leaking is not performed between VRF-Green and VRF-Red.
On VTEPs 1 and 2, two VRFs are present VRF-Yellow and VRF-Green. VN10001 is part of VRF-Yellow and VN20001 is part
of VRF-Green.
On VTEPs 3 and 4, three VRFs are present VRF-Yellow, VRF-Green and VRF-Red. VN10001 is part of VRF-Yellow and
VN30001 is part of VRF-Red. VRF-Green does not have local VNs.
On all VTEPs, symmetric IRB is configured in EVPN mode using a unique, dedicated VXLAN VNI, and Auto RD/RT values for
each tenant VRF.
On all VTEPs, the disable-rt-asn command is used to autoderive the RT that does not include the ASN in the RT value.
This allows auto RT to be used even if there are separate ASNs for each leaf node.
A VLAN to an external network is configured on VTEPs 3 and 4 in the VLT domain that serves as the border-leaf gateway.
Leaf 1 configuration
1. Configure VRFs Yellow and Green.
OS10(config)# ip vrf Yellow
OS10(conf-vrf)# exit
OS10(config)# ip vrf Green
OS10(conf-vrf)# exit
2. Configure Layer 3 virtual-network interfaces with VRFs and IP addresses.
OS10(config)# interface virtual-network 10001
OS10(conf-if-vn-10001)# ip vrf forwarding Yellow
OS10(conf-if-vn-10001)# ip address 10.1.0.1/24
OS10(conf-if-vn-10001)# ip virtual-router address 10.1.0.254
OS10(conf-if-vn-10001)#
OS10(config)# interface virtual-network 20001
OS10(conf-if-vn-20001)# ip vrf forwarding Green
OS10(conf-if-vn-20001)# ip address 10.2.0.1/24
OS10(conf-if-vn-20001)# ip virtual-router address 10.2.0.254
NOTE: For creating the virtual-networks with access ports, check the relevant sections.
3. Configure EVPN with IP-VRFs.
OS10(config)# evpn
OS10(config-evpn)# auto-evi
OS10(config-evpn)# disable-rt-asn
OS10(config-evpn)# router-mac de:11:de:11:00:01
OS10(config-evpn)# vrf Yellow
OS10(config-evpn-vrf-Yellow)# vni 65001
OS10(config-evpn-vrf-Yellow)# route-target auto
OS10(config-evpn-vrf-Yellow)# advertise ipv4 connected
OS10(config-evpn-vrf-Yellow)# exit
OS10(config-evpn)# vrf Green
OS10(config-evpn-vrf-Green)# vni 65002
OS10(config-evpn-vrf-Green)# route-target auto
OS10(config-evpn-vrf-Green)# advertise ipv4 connected
OS10(config-evpn-vrf-Green)# exit
Leaf 2 configuration
1. Configure VRFs Yellow and Green.
OS10(config)# ip vrf Yellow
OS10(conf-vrf)# exit
OS10(config)# ip vrf Green
OS10(conf-vrf)# exit
VXLAN
1271