API Guide

OS10(conf-router-neighbor)# send-community extended
OS10(conf-router-neighbor)# update-source loopback1
OS10(conf-router-neighbor)# no shutdown
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-neighbor-af)# no activate
OS10(conf-router-neighbor-af)# exit
OS10(conf-router-neighbor)# address-family l2vpn evpn
OS10(conf-router-neighbor-af)# no sender-side-loop-detection
OS10(conf-router-neighbor-af)# activate
OS10(conf-router-neighbor-af)# exit
Verify VXLAN with BGP EVPN configuration
1. Verify virtual network configurations
LEAF1# show virtual-network
Codes: DP - MAC-learn Dataplane, CP - MAC-learn Controlplane, UUD - Unknown-Unicast-Drop
Virtual Network: 10000
Members:
VLAN 100: port-channel10, port-channel1000
VxLAN Virtual Network Identifier: 10000
Source Interface: loopback0(192.168.1.1)
Remote-VTEPs (flood-list): 192.168.2.1(CP)
Virtual Network: 20000
Members:
Untagged: port-channel20
VLAN 200: port-channel1000
VxLAN Virtual Network Identifier: 20000
Source Interface: loopback0(192.168.1.1)
Remote-VTEPs (flood-list): 192.168.2.1(CP)
LEAF1#
2. Verify EVPN configurations and EVPN parameters
LEAF1# show evpn evi
EVI : 10000, State : up
Bridge-Domain : Virtual-Network 10000, VNI 10000
Route-Distinguisher : 1:192.168.1.1:10000(auto)
Route-Targets : 0:100:268445456(auto) both
Inclusive Multicast : 192.168.2.1
IRB : Enabled(tenant1)
EVI : 20000, State : up
Bridge-Domain : Virtual-Network 20000, VNI 20000
Route-Distinguisher : 1:192.168.1.1:20000(auto)
Route-Targets : 0:100:268455456(auto) both
Inclusive Multicast : 192.168.2.1
IRB : Enabled(tenant1)
LEAF1#
3. Verify BGP EVPN neighborship between leaf and spine nodes
LEAF1# show ip bgp l2vpn evpn summary
BGP router identifier 172.16.0.1 local AS number 100
Neighbor AS MsgRcvd MsgSent Up/Down State/Pfx
172.201.0.1 101 1132 1116 13:29:00 27
172.202.0.1 101 1131 1118 13:29:02 28
LEAF1#
4. Check connectivity between host A and host B
root@HOST-A:~# ping 10.2.0.10 -c 5
PING 10.2.0.10 (10.2.0.10) 56(84) bytes of data.
64 bytes from 10.2.0.10: icmp_seq=1 ttl=63 time=0.824 ms
64 bytes from 10.2.0.10: icmp_seq=2 ttl=63 time=0.847 ms
64 bytes from 10.2.0.10: icmp_seq=3 ttl=63 time=0.835 ms
64 bytes from 10.2.0.10: icmp_seq=4 ttl=63 time=0.944 ms
92
BGP EVPN for VXLAN