VXLAN NOTES

vni
(vxlan)
vtep
---->{[mac][ip][mac][ip]}

MAC addresses conveyed via bgp. Datacenter. At the end of the day these are knobs to avoid using L3!.

Forward BUM traffic:


EVPN NOTES - RFC 7432
Simplifying to the maximum, we can say that EVPN is like L3VPN but for layer 2 (mac information). EVPN can be seen as a way to fix L2VPN problem with L3VPN techniques (proper mac learning (no bum flooding) and so on)
https://my.ipspace.net/bin/list?id=EVPN
It uses MP-BGP mechanism and defines a new sub-address family, EVPN address family, in the L2VPN address family.

Summary:

Underlay/Ovelay - rule of thumb:
  1. OSPF for underlay unless scalability requirements (ebgp with 1 asn per spine); then iBGP for overlay
  2. If scalability important, do ebgp for the underlay (with one single asn for spines) then iBGP for overlay : spines to have allow-as

Design Goals

Aggregate on the ToRs only. Use single, not dual tor.

If we want to grow further (ie: we run out of ports), we use multi-planar clos topologies. Full meshed 'pods' connect to planes

Use BFD and be sure is lag and lacp aware


LEAF AND SPINE WITH ARISTA SWITCHES

Arista Validated Designs

show interfaces vxlan1
show vxlan address-table
show vxlan vni
show bgp evpn detail    # to see the evpn routes 
show bgp evpn route-type mac-ip/imet/ip-prefix    # to see the evpn rtypes 2,3,5

Note that, in evpn-vxlan, 85% of the configuration is community settings and its route maps. Automation helps a lot here.

Also MRAI is covenient to be 0. Some implementation are still 30 seconds (specially for Internet) but we don't want that in the DC

Models

Try: DCS 7280, 7500, and 7800


LEAF AND SPINE WITH CISCO

show interface nve                     ! displays NVE (VXLAN tunnel) interface status
show interface nve detail              ! shows detailed info: packet counters, drops, state
show nve vni                           ! shows configured VNIs, their state, and bindings
show nve peers                         ! displays remote VTEPs (VXLAN Tunnel Endpoints)
show mac address-table dynamic         ! lists learned MACs, including VXLAN-related ones
show ip route vrf <VRF>                ! checks reachability within a VXLAN-associated VRF
show arp vrf <VRF>                     ! shows ARP table entries for a specific VRF
show l2route evpn mac all              ! shows learned MACs via EVPN control plane
show l2route evpn mac-ip all           ! includes MAC and IP bindings (Type 2 routes)
show bgp l2vpn evpn                    ! general overview of BGP EVPN routes
show bgp l2vpn evpn route-type mac-ip  ! EVPN Type 2: MAC + IP advertisement
show bgp l2vpn evpn route-type imet    ! EVPN Type 3: multicast replication group
show bgp l2vpn evpn route-type prefix  ! EVPN Type 5: IP prefix route info
Models

Juniper:


Cumulus: