API Guide

OS10(conf-uplink-state-group-1)# upstream port-channel10
OS10(conf-uplink-state-group-1)# exit
Configure iBGP unnumbered peering between VLT peers with both IPv4 and L2VPN EVPN address families.
OS10(config)# router bgp 201
OS10(config-router-bgp-201)# template ibgp_unified
OS10(config-router-template)# send-community extended
OS10(config-router-template)# address-family l2vpn evpn
OS10(config-router-bgp-template-af)# activate
OS10(config-router-bgp-template-af)# exit
OS10(config-router-template)# neighbor interface vlan4000
OS10(config-router-neighbor)# inherit template ibgp_unified inherit-type ibgp
OS10(config-router-neighbor)# no shutdown
OS10(config-router-neighbor)# exit
11. Configure IP routing in the overlay network.
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.231/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-vrf-tenant1))# vni 3000
OS10((config-evpn-vrf-tenant1))# route-target auto
OS10((config-evpn-vrf-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-vrf-tenant1))# advertise ipv4 connected
OS10((config-evpn-vrf-tenant1))# exit
VTEP Leaf Switch 2 configuration
1. Configure a loopback interface for the VXLAN underlay using the 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.1.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
BGP EVPN for VXLAN
147