Add spine2 configuration
This commit is contained in:
127
configs/spine2.cfg
Normal file
127
configs/spine2.cfg
Normal file
@@ -0,0 +1,127 @@
|
|||||||
|
! Spine2 Configuration
|
||||||
|
! BGP EVPN Spine - AS 65000
|
||||||
|
!
|
||||||
|
hostname spine2
|
||||||
|
!
|
||||||
|
! Enable routing protocols
|
||||||
|
service routing protocols model multi-agent
|
||||||
|
!
|
||||||
|
! Management interface
|
||||||
|
interface Management1
|
||||||
|
vrf mgmt
|
||||||
|
ip address 172.16.0.2/24
|
||||||
|
!
|
||||||
|
! Loopback for BGP Router-ID
|
||||||
|
interface Loopback0
|
||||||
|
ip address 10.0.250.2/32
|
||||||
|
!
|
||||||
|
! Underlay P2P interfaces to Leafs
|
||||||
|
interface Ethernet1
|
||||||
|
description leaf1
|
||||||
|
no switchport
|
||||||
|
ip address 10.0.2.0/31
|
||||||
|
mtu 9214
|
||||||
|
!
|
||||||
|
interface Ethernet2
|
||||||
|
description leaf2
|
||||||
|
no switchport
|
||||||
|
ip address 10.0.2.2/31
|
||||||
|
mtu 9214
|
||||||
|
!
|
||||||
|
interface Ethernet3
|
||||||
|
description leaf3
|
||||||
|
no switchport
|
||||||
|
ip address 10.0.2.4/31
|
||||||
|
mtu 9214
|
||||||
|
!
|
||||||
|
interface Ethernet4
|
||||||
|
description leaf4
|
||||||
|
no switchport
|
||||||
|
ip address 10.0.2.6/31
|
||||||
|
mtu 9214
|
||||||
|
!
|
||||||
|
interface Ethernet5
|
||||||
|
description leaf5
|
||||||
|
no switchport
|
||||||
|
ip address 10.0.2.8/31
|
||||||
|
mtu 9214
|
||||||
|
!
|
||||||
|
interface Ethernet6
|
||||||
|
description leaf6
|
||||||
|
no switchport
|
||||||
|
ip address 10.0.2.10/31
|
||||||
|
mtu 9214
|
||||||
|
!
|
||||||
|
interface Ethernet7
|
||||||
|
description leaf7
|
||||||
|
no switchport
|
||||||
|
ip address 10.0.2.12/31
|
||||||
|
mtu 9214
|
||||||
|
!
|
||||||
|
interface Ethernet8
|
||||||
|
description leaf8
|
||||||
|
no switchport
|
||||||
|
ip address 10.0.2.14/31
|
||||||
|
mtu 9214
|
||||||
|
!
|
||||||
|
! BGP Configuration
|
||||||
|
router bgp 65000
|
||||||
|
router-id 10.0.250.2
|
||||||
|
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.2.1 remote-as 65001
|
||||||
|
neighbor 10.0.2.3 remote-as 65001
|
||||||
|
neighbor 10.0.2.5 remote-as 65002
|
||||||
|
neighbor 10.0.2.7 remote-as 65002
|
||||||
|
neighbor 10.0.2.9 remote-as 65003
|
||||||
|
neighbor 10.0.2.11 remote-as 65003
|
||||||
|
neighbor 10.0.2.13 remote-as 65004
|
||||||
|
neighbor 10.0.2.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.2.1 activate
|
||||||
|
neighbor 10.0.2.3 activate
|
||||||
|
neighbor 10.0.2.5 activate
|
||||||
|
neighbor 10.0.2.7 activate
|
||||||
|
neighbor 10.0.2.9 activate
|
||||||
|
neighbor 10.0.2.11 activate
|
||||||
|
neighbor 10.0.2.13 activate
|
||||||
|
neighbor 10.0.2.15 activate
|
||||||
|
network 10.0.250.2/32
|
||||||
|
!
|
||||||
|
! EVPN address family
|
||||||
|
address-family evpn
|
||||||
|
neighbor evpn activate
|
||||||
|
!
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user