API Guide

NOTE: This border leaf gateway example for VXLAN BGP EVPN uses the same configuration steps as in Example:
VXLAN BGP EVPN — Multiple AS topology. Configure each spine and leaf switch as in the Multiple AS topology example
and add the following additional configuration steps on each VTEP.
VTEP 1 Leaf Switch
14. Configure a dedicated VXLAN virtual network.
OS10(config)# virtual-network 500
OS10(config-vn-500)# vxlan-vni 500
OS10(config-vn-vxlan-vni)# exit
OS10(config-vn-10000)# exit
15. Configure routing on the virtual network.
OS10(config)# interface virtual-network 500
OS10(conf-if-vn-10000)# ip vrf forwarding tenant1
OS10(conf-if-vn-10000)# ip address 10.5.0.231/16
16. Configure a static route for outbound traffic sent to the anycast MAC address of the dedicated virtual network.
OS10(config)#ip route 0.0.0.0/0 10.5.0.100
VTEP 2 Leaf Switch
14. Configure a dedicated VXLAN virtual network.
OS10(config)# virtual-network 500
OS10(config-vn-500)# vxlan-vni 500
OS10(config-vn-vxlan-vni)# exit
OS10(config-vn-10000)# exit
15. Configure routing on the virtual networks.
OS10(config)# interface virtual-network 500
OS10(conf-if-vn-10000)# ip vrf forwarding tenant2
OS10(conf-if-vn-10000)# ip address 10.5.0.232/16
16. Configure a static route for outbound traffic sent to the anycast MAC address of the dedicated virtual network.
OS10(config)#ip route 0.0.0.0/0 10.5.0.100
VTEP 3 Leaf Switch
14. Configure a dedicated VXLAN virtual network.
OS10(config)# virtual-network 500
OS10(config-vn-500)# vxlan-vni 500
OS10(config-vn-vxlan-vni)# exit
OS10(config-vn-10000)# exit
15. Configure an anycast gateway MAC address on the boder leaf VTEP. This MAC address must be different from the
anycast gateway MAC address configured on non-border-leaf VTEPs.
OS10(config)# ip virtual-router mac-address 00:02:02:02:02:02
16. Configure routing on the virtual network.
OS10(config)# interface virtual-network 500
OS10(conf-if-vn-10000)# ip vrf forwarding tenant1
OS10(conf-if-vn-10000)# ip address 10.5.0.233/16
OS10(conf-if-vn-10000)# ip virtual-router address 10.5.0.100
118
BGP EVPN for VXLAN