Supermicro Enterprise Advanced SONiC v4.5.0 — 5.2 BGP EVPN Configuration

Enterprise Advanced SONiC: Use Case: VXLAN/EVPN Fabric 5.2 BGP EVPN Configuration BGP EVPN provides the control plane for VXLAN deployments, automating the distribution of MAC addresses, IP addresses, and VNI-to-VTEP mappings across the fabric. This eliminates the need for flood-and-learn behavior and enables efficient, scalable overlay networks with support for multi-tenancy and workload mobility. Supermicro Enterprise Advanced SONiC can optionally implement BGP EVPN with IPv6 unnumbered peering for simplified leaf-spine fabric addressing. If you are using BGP unnumbered, the command capability-extended-nexthop is required under the peer-group to support RFC5549. 1.

Enable IPv6 on all fabric-facing interfaces between leaf and spine to support BGP unnumbered. Leaf1(config)# interface Eth{slot/port}[/breakout-port] Leaf1(conf-if-Eth1) ipv6 enable Leaf1(conf-if-Eth1) no shutdown 2. Configure a Loopback interface (0 to 16383) which will be used as the BGP Router-ID. The interface is automatically enabled and up. Leaf1(config)# interface Loopback 0 Leaf1(conf-if-lo0)# ip address [ip-address/mask] Leaf1(conf-if-lo0)# exit 3. Configure the BGP IPv4 Unicast and L2VPN EVPN adjacencies.

Leaf1(config)# router bgp [1- 4294967295] Leaf1(config-router-bgp)# router-id [router-id-ip] Leaf1(config-router-bgp)# address-family ipv4 unicast Leaf1(config-router-bgp-af)# redistribute connected Leaf1(config-router-bgp-af)# maximum-paths [1-16] Leaf1(config-router-bgp-af)# exit ! Leaf1(config-router-bgp)# address-family l2vpn evpn Leaf1(config-router-bgp-af)# advertise-all-vni Leaf1(config-router-bgp-af)# exit ! 34