A leaf-spine fabric: every leaf connects to every spine, and no leaf to another leaf. Each leaf is its own BGP AS, both spines are AS 65000, so an equal-cost path exists through each spine. SONiC needs no link addresses: ipv6 enable gives a port a link-local address, and neighbor interface peers over it.
Dell SONiC track · Dell Enterprise SONiC-style · 5 objectives
The simulator ticks each one as soon as the network meets it.
On S1 and S2: Loopback 0 (10.0.1.1, 10.0.1.2), ipv6 enable on Eth1/1 and Eth1/2, router bgp 65000 with redistribute connected.
On L1 (AS 65001) and L2 (AS 65002): Loopback 0 (10.0.2.1, 10.0.2.2), Loopback 1 (10.10.10.1, 10.10.10.2), ipv6 enable on Eth1/1 and Eth1/2, router bgp with redistribute connected.
Build a peer-group on each (LEAF on spines, SPINE on leaves): remote-as external, ipv4 unicast and l2vpn evpn activated. Then neighbor interface for each fabric port, in that peer-group.
show bgp ipv4 unicast summary on L1: both interfaces are Established.
L1 learns L2’s VTEP address 10.10.10.2 through BGP.