diff --git a/configs/spine1.cfg b/configs/spine1.cfg new file mode 100644 index 0000000..0c45f8d --- /dev/null +++ b/configs/spine1.cfg @@ -0,0 +1,127 @@ +! Spine1 Configuration +! BGP EVPN Spine - AS 65000 +! +hostname spine1 +! +! Enable routing protocols +service routing protocols model multi-agent +! +! Management interface +interface Management1 + vrf mgmt + ip address 172.16.0.1/24 +! +! Loopback for BGP Router-ID +interface Loopback0 + ip address 10.0.250.1/32 +! +! Underlay P2P interfaces to Leafs +interface Ethernet1 + description leaf1 + no switchport + ip address 10.0.1.0/31 + mtu 9214 +! +interface Ethernet2 + description leaf2 + no switchport + ip address 10.0.1.2/31 + mtu 9214 +! +interface Ethernet3 + description leaf3 + no switchport + ip address 10.0.1.4/31 + mtu 9214 +! +interface Ethernet4 + description leaf4 + no switchport + ip address 10.0.1.6/31 + mtu 9214 +! +interface Ethernet5 + description leaf5 + no switchport + ip address 10.0.1.8/31 + mtu 9214 +! +interface Ethernet6 + description leaf6 + no switchport + ip address 10.0.1.10/31 + mtu 9214 +! +interface Ethernet7 + description leaf7 + no switchport + ip address 10.0.1.12/31 + mtu 9214 +! +interface Ethernet8 + description leaf8 + no switchport + ip address 10.0.1.14/31 + mtu 9214 +! +! BGP Configuration +router bgp 65000 + router-id 10.0.250.1 + no bgp default ipv4-unicast + bgp log-neighbor-changes + distance bgp 20 200 200 + maximum-paths 4 ecmp 64 + ! + ! Underlay IPv4 neighbors + neighbor 10.0.1.1 remote-as 65001 + neighbor 10.0.1.3 remote-as 65001 + neighbor 10.0.1.5 remote-as 65002 + neighbor 10.0.1.7 remote-as 65002 + neighbor 10.0.1.9 remote-as 65003 + neighbor 10.0.1.11 remote-as 65003 + neighbor 10.0.1.13 remote-as 65004 + neighbor 10.0.1.15 remote-as 65004 + ! + ! EVPN peer-group configuration + neighbor evpn peer group + neighbor evpn next-hop-unchanged + neighbor evpn update-source Loopback0 + neighbor evpn ebgp-multihop 3 + neighbor evpn send-community extended + neighbor evpn maximum-routes 12000 warning-only + ! + ! EVPN neighbors (to leaf loopbacks) + neighbor 10.0.250.11 peer group evpn + neighbor 10.0.250.11 remote-as 65001 + neighbor 10.0.250.12 peer group evpn + neighbor 10.0.250.12 remote-as 65001 + neighbor 10.0.250.13 peer group evpn + neighbor 10.0.250.13 remote-as 65002 + neighbor 10.0.250.14 peer group evpn + neighbor 10.0.250.14 remote-as 65002 + neighbor 10.0.250.15 peer group evpn + neighbor 10.0.250.15 remote-as 65003 + neighbor 10.0.250.16 peer group evpn + neighbor 10.0.250.16 remote-as 65003 + neighbor 10.0.250.17 peer group evpn + neighbor 10.0.250.17 remote-as 65004 + neighbor 10.0.250.18 peer group evpn + neighbor 10.0.250.18 remote-as 65004 + ! + ! IPv4 address family + address-family ipv4 + neighbor 10.0.1.1 activate + neighbor 10.0.1.3 activate + neighbor 10.0.1.5 activate + neighbor 10.0.1.7 activate + neighbor 10.0.1.9 activate + neighbor 10.0.1.11 activate + neighbor 10.0.1.13 activate + neighbor 10.0.1.15 activate + network 10.0.250.1/32 + ! + ! EVPN address family + address-family evpn + neighbor evpn activate +! +end