API Guide

Create a tenant VRF.
OS10(config)# ip vrf tenant1
OS10(conf-vrf)# exit
Configure an anycast gateway MAC address.
OS10(config)# ip virtual-router mac-address 00:01:01:01:01:01
Configure routing on the virtual network.
OS10(config)# interface virtual-network 10000
OS10(conf-if-vn-10000)# ip vrf forwarding tenant1
OS10(conf-if-vn-10000)# ip address 10.1.0.232/16
OS10(conf-if-vn-10000)# ip virtual-router address 10.1.0.100
OS10(conf-if-vn-10000)# no shutdown
OS10(conf-if-vn-10000)# exit
12. Configure symmetric IRB. In EVPN mode, configure the router MAC address that is used by remote VTEPs as the destination address
in VXLAN encapsulated packets that are sent to the switch. Configure a dedicated VXLAN VNI for symmetric IRB for each tenant
VRF.
OS10(config)# evpn
OS10(config-evpn)# router-mac 00:01:02:03:04:05
OS10(config-evpn)# vrf tenant1
OS10(config-evpn-tenant1)# vni 3000
OS10(config-evpn-tenant1)# route-target auto
OS10(config-evpn-tenant1)# exit
OS10(config-evpn)# exit
13. Configure advertisement of the connected networks through EVPN Type-5 routes.
OS10(config)# evpn
OS10(config-evpn)# vrf tenant1
OS10(config-evpn-tenant1)# advertise ipv4 connected
OS10(config-evpn-tenant1)# exit
VTEP Leaf Switch 3 configuration
1. Configure a Loopback interface for the VXLAN underlay using same IP address as the VLT peer.
OS10(config)# interface loopback0
OS10(conf-if-lo-0)# no shutdown
OS10(conf-if-lo-0)# ip address 192.168.2.1/32
OS10(conf-if-lo-0)# exit
2. Configure the loopback interface as the VXLAN source tunnel interface.
OS10(config)# nve
OS10(config-nve)# source-interface loopback0
OS10(config-nve)# exit
3. Configure the VXLAN virtual network.
OS10(config)# virtual-network 20000
OS10(config-vn-20000)# vxlan-vni 20000
OS10(config-vn-vxlan-vni)# exit
OS10(config-vn-20000)# exit
4. Configure an unused VLAN ID for untagged membership.
OS10(config)# virtual-network untagged-vlan 1000
5. Configure access ports as VLAN members for a port-scoped VLAN-to-VNI mapping.
OS10(config)# interface port-channel20
OS10(conf-if-po-20)# no shutdown
OS10(conf-if-po-20)# switchport mode trunk
OS10(conf-if-po-20)# no switchport access vlan
OS10(conf-if-po-20)# exit
OS10(config)# interface ethernet1/1/6
150
BGP EVPN for VXLAN