! Pine Networks - SONiC EVPN-VXLAN Configuration
! Spine-2 - Enterprise SONiC (sonic-cli)
! Paste in configuration mode: sonic-cli -> configure terminal
!
hostname Spine-2
!
interface Loopback 0
 ip address 10.10.10.2/32
 exit
!
interface Ethernet 1
 description "Link to Leaf-1"
 ip address 1.1.1.4/31
 no shutdown
 exit
!
interface Ethernet 2
 description "Link to Leaf-2"
 ip address 1.1.1.10/31
 no shutdown
 exit
!
interface Ethernet 3
 description "Link to Leaf-3"
 ip address 1.1.1.8/31
 no shutdown
 exit
!
router bgp 65000
 router-id 10.10.10.2
 address-family ipv4 unicast
  redistribute connected
  exit
 neighbor 1.1.1.5
  remote-as 65101
  address-family ipv4 unicast
   activate
   exit
  address-family l2vpn evpn
   activate
   exit
  exit
 neighbor 1.1.1.11
  remote-as 65102
  address-family ipv4 unicast
   activate
   exit
  address-family l2vpn evpn
   activate
   exit
  exit
 neighbor 1.1.1.9
  remote-as 65103
  address-family ipv4 unicast
   activate
   exit
  address-family l2vpn evpn
   activate
   exit
  exit
 exit
!
end
