0% found this document useful (0 votes)
15 views16 pages

Exam Spine

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views16 pages

Exam Spine

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 16

!

----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----
! EXAM ACE-L3 Certification 28 August 2024
!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----

!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡

!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----
!------>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<---------!
!------>>>>>>>>>>>>>>>>>>>>>>>>> SPINE1 <<<<<<<<<<<<---------!
!------>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<---------!

!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----
! Physical Links and Loopback 0 interface Configuration
!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----

!
interface Ethernet1
shutdown
interface Ethernet2
shutdown

interface Ethernet3
no switchport
mtu 9214
ip address 10.10.1.1/30

interface Ethernet4
no switchport
mtu 9214
ip address 10.10.1.5/30

interface Ethernet5
no switchport
mtu 9214
ip address 10.10.1.9/30
interface Ethernet6
no switchport
mtu 9214
ip address 10.10.1.13/30

interface Ethernet7
no switchport
mtu 9214
ip address 10.10.5.2/30

interface Ethernet8
no switchport
mtu 9214
ip address 10.10.6.2/30

interface Loopback0
ip address 172.16.0.101/32
!

!-------------------------------------------------------------------
!-------------------------------------------------------------------
! Spine eBGP Underlay Routing Configuration
!-------------------------------------------------------------------
!-------------------------------------------------------------------

service routing protocols model multi-agent


!
spanning-tree mode mstp
spanning-tree mst 0 priority 4096
!
ip routing
!
!
ip prefix-list loopback
seq 10 permit 172.16.0.71/32
seq 15 permit 172.16.0.72/32
seq 20 permit 172.16.0.73/32
seq 25 permit 172.16.0.74/32
seq 30 permit 172.16.0.101/32
seq 35 permit 172.16.0.102/32
seq 40 permit 172.16.0.103/32
seq 45 permit 172.16.0.104/32
seq 50 permit 172.16.0.105/32
seq 55 permit 172.16.0.106/32
seq 60 permit 172.16.1.70/32
seq 65 permit 172.16.1.107/32
!
route-map loopback permit 10
match ip address prefix-list loopback
!
route-map dont_advertise_loopbacks deny 10
match ip address prefix-list loopback
!
route-map dont_advertise_loopbacks permit 20
!

router bgp 65200


router-id 172.16.0.101
maximum-paths 4 ecmp 4
no bgp default ipv4-unicast
bgp log-neighbor-changes
distance bgp 20 200 200

neighbor 10.10.1.2 description Leaf1


neighbor 10.10.1.2 remote-as 65201
neighbor 10.10.1.2 maximum-routes 12000
neighbor 10.10.1.2 send-community

neighbor 10.10.1.6 description Leaf2


neighbor 10.10.1.6 remote-as 65201
neighbor 10.10.1.6 maximum-routes 12000
neighbor 10.10.1.6 send-community

neighbor 10.10.1.10 description Leaf3


neighbor 10.10.1.10 remote-as 65202
neighbor 10.10.1.10 maximum-routes 12000
neighbor 10.10.1.10 send-community

neighbor 10.10.1.14 description Leaf4


neighbor 10.10.1.14 remote-as 65203
neighbor 10.10.1.14 maximum-routes 12000
neighbor 10.10.1.14 send-community

neighbor Borderleaf peer group


neighbor Borderleaf maximum-routes 12000
neighbor Borderleaf remote-as 65500
neighbor Borderleaf send-community

neighbor 10.10.5.1 peer group Borderleaf


neighbor 10.10.6.1 peer group Borderleaf
neighbor 10.10.5.1 description Borderleaf1
neighbor 10.10.6.1 description Borderleaf2
!
!
address-family ipv4
neighbor 10.10.1.2 activate
neighbor 10.10.1.6 activate
neighbor 10.10.1.10 activate
neighbor 10.10.1.14 activate
neighbor Borderleaf activate
redistribute connected route-map loopback

!----------------------------------------------------------------------------------
---------
!----------------------------------------------------------------------------------
---------
! Spine - eBGPEVPN
!----------------------------------------------------------------------------------
---------
!----------------------------------------------------------------------------------
---------

router bgp 65200

neighbor 172.16.0.71 remote-as 65201


neighbor 172.16.0.71 send-community extended
neighbor 172.16.0.71 ebgp-multihop 3
neighbor 172.16.0.71 update-source loopback 0
neighbor 172.16.0.71 maximum-routes 12000
neighbor 172.16.0.71 next-hop-unchanged

neighbor 172.16.0.72 remote-as 65201


neighbor 172.16.0.72 send-community extended
neighbor 172.16.0.72 ebgp-multihop 3
neighbor 172.16.0.72 update-source loopback 0
neighbor 172.16.0.72 maximum-routes 12000
neighbor 172.16.0.72 next-hop-unchanged

neighbor 172.16.0.73 remote-as 65202


neighbor 172.16.0.73 send-community extended
neighbor 172.16.0.73 ebgp-multihop 3
neighbor 172.16.0.73 update-source loopback 0
neighbor 172.16.0.73 maximum-routes 12000
neighbor 172.16.0.73 next-hop-unchanged

neighbor 172.16.0.74 remote-as 65203


neighbor 172.16.0.74 send-community extended
neighbor 172.16.0.74 ebgp-multihop 3
neighbor 172.16.0.74 update-source loopback 0
neighbor 172.16.0.74 maximum-routes 12000
neighbor 172.16.0.74 next-hop-unchanged

neighbor 172.16.0.71 description Leaf1_EVPN


neighbor 172.16.0.72 description Leaf2_EVPN
neighbor 172.16.0.73 description Leaf3_EVPN
neighbor 172.16.0.74 description Leaf4_EVPN

neighbor Borderleaf_EVPN send-community extended


neighbor Borderleaf_EVPN ebgp-multihop 3
neighbor Borderleaf_EVPN remote-as 65500
neighbor Borderleaf_EVPN update-source loopback 0
neighbor Borderleaf_EVPN maximum-routes 12000
neighbor Borderleaf_EVPN next-hop-unchanged

neighbor 172.16.0.105 peer group Borderleaf_EVPN


neighbor 172.16.0.106 peer group Borderleaf_EVPN
neighbor 172.16.0.105 description Borderleaf1_EVPN
neighbor 172.16.0.106 description Borderleaf2_EVPN

address-family ipv4
no neighbor 172.16.0.71 activate
no neighbor 172.16.0.72 activate
no neighbor 172.16.0.73 activate
no neighbor 172.16.0.74 activate
no neighbor Borderleaf_EVPN activate

address-family evpn
neighbor 172.16.0.71 activate
neighbor 172.16.0.72 activate
neighbor 172.16.0.73 activate
neighbor 172.16.0.74 activate
neighbor Borderleaf_EVPN activate
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡

!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----
!------>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<---------!
!------>>>>>>>>>>>>>>>>>>>>>>>>> SPINE2 <<<<<<<<<<<<---------!
!------>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<---------!

!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----
! Physical Links and Loopback 0 interface Configuration
!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----

!
interface Ethernet1
shutdown
interface Ethernet2
shutdown

interface Ethernet3
no switchport
mtu 9214
ip address 10.10.2.1/30

interface Ethernet4
no switchport
mtu 9214
ip address 10.10.2.5/30

interface Ethernet5
no switchport
mtu 9214
ip address 10.10.2.9/30

interface Ethernet6
no switchport
mtu 9214
ip address 10.10.2.13/30

interface Ethernet7
no switchport
mtu 9214
ip address 10.10.5.6/30

interface Ethernet8
no switchport
mtu 9214
ip address 10.10.6.6/30

interface Loopback0
ip address 172.16.0.102/32
!

!-------------------------------------------------------------------
!-------------------------------------------------------------------
! Spine eBGP Underlay Routing Configuration
!-------------------------------------------------------------------
!-------------------------------------------------------------------

service routing protocols model multi-agent


!
spanning-tree mode mstp
spanning-tree mst 0 priority 4096
!
ip routing
!
!
ip prefix-list loopback
seq 10 permit 172.16.0.71/32
seq 15 permit 172.16.0.72/32
seq 20 permit 172.16.0.73/32
seq 25 permit 172.16.0.74/32
seq 30 permit 172.16.0.101/32
seq 35 permit 172.16.0.102/32
seq 40 permit 172.16.0.103/32
seq 45 permit 172.16.0.104/32
seq 50 permit 172.16.0.105/32
seq 55 permit 172.16.0.106/32
seq 60 permit 172.16.1.70/32
seq 65 permit 172.16.1.107/32
!
route-map loopback permit 10
match ip address prefix-list loopback

router bgp 65200


router-id 172.16.0.102
maximum-paths 4 ecmp 4
no bgp default ipv4-unicast
bgp log-neighbor-changes
distance bgp 20 200 200

neighbor 10.10.2.2 description Leaf1


neighbor 10.10.2.2 remote-as 65201
neighbor 10.10.2.2 maximum-routes 12000
neighbor 10.10.2.2 send-community

neighbor 10.10.2.6 description Leaf2


neighbor 10.10.2.6 remote-as 65201
neighbor 10.10.2.6 maximum-routes 12000
neighbor 10.10.2.6 send-community

neighbor 10.10.2.10 description Leaf3


neighbor 10.10.2.10 remote-as 65202
neighbor 10.10.2.10 maximum-routes 12000
neighbor 10.10.2.10 send-community

neighbor 10.10.2.14 description Leaf4


neighbor 10.10.2.14 remote-as 65203
neighbor 10.10.2.14 maximum-routes 12000
neighbor 10.10.2.14 send-community

neighbor Borderleaf peer group


neighbor Borderleaf maximum-routes 12000
neighbor Borderleaf remote-as 65500
neighbor Borderleaf send-community

neighbor 10.10.5.5 peer group Borderleaf


neighbor 10.10.6.5 peer group Borderleaf
neighbor 10.10.5.5 description Borderleaf1
neighbor 10.10.6.5 description Borderleaf2
!
!
address-family ipv4
neighbor 10.10.2.2 activate
neighbor 10.10.2.6 activate
neighbor 10.10.2.10 activate
neighbor 10.10.2.14 activate
neighbor Borderleaf activate
redistribute connected route-map loopback

!----------------------------------------------------------------------------------
---------
!----------------------------------------------------------------------------------
---------
! Spine - eBGPEVPN
!----------------------------------------------------------------------------------
---------
!----------------------------------------------------------------------------------
---------

router bgp 65200

neighbor 172.16.0.71 remote-as 65201


neighbor 172.16.0.71 send-community extended
neighbor 172.16.0.71 ebgp-multihop 3
neighbor 172.16.0.71 update-source loopback 0
neighbor 172.16.0.71 maximum-routes 12000
neighbor 172.16.0.71 next-hop-unchanged

neighbor 172.16.0.72 remote-as 65201


neighbor 172.16.0.72 send-community extended
neighbor 172.16.0.72 ebgp-multihop 3
neighbor 172.16.0.72 update-source loopback 0
neighbor 172.16.0.72 maximum-routes 12000
neighbor 172.16.0.72 next-hop-unchanged
neighbor 172.16.0.73 remote-as 65202
neighbor 172.16.0.73 send-community extended
neighbor 172.16.0.73 ebgp-multihop 3
neighbor 172.16.0.73 update-source loopback 0
neighbor 172.16.0.73 maximum-routes 12000
neighbor 172.16.0.73 next-hop-unchanged

neighbor 172.16.0.74 remote-as 65203


neighbor 172.16.0.74 send-community extended
neighbor 172.16.0.74 ebgp-multihop 3
neighbor 172.16.0.74 update-source loopback 0
neighbor 172.16.0.74 maximum-routes 12000
neighbor 172.16.0.74 next-hop-unchanged

neighbor 172.16.0.71 description Leaf1_EVPN


neighbor 172.16.0.72 description Leaf2_EVPN
neighbor 172.16.0.73 description Leaf3_EVPN
neighbor 172.16.0.74 description Leaf4_EVPN

neighbor Borderleaf_EVPN send-community extended


neighbor Borderleaf_EVPN ebgp-multihop 3
neighbor Borderleaf_EVPN remote-as 65500
neighbor Borderleaf_EVPN update-source loopback 0
neighbor Borderleaf_EVPN maximum-routes 12000
neighbor Borderleaf_EVPN next-hop-unchanged

neighbor 172.16.0.105 peer group Borderleaf_EVPN


neighbor 172.16.0.106 peer group Borderleaf_EVPN

neighbor 172.16.0.105 description Borderleaf1_EVPN


neighbor 172.16.0.106 description Borderleaf2_EVPN

address-family ipv4
no neighbor 172.16.0.71 activate
no neighbor 172.16.0.72 activate
no neighbor 172.16.0.73 activate
no neighbor 172.16.0.74 activate
no neighbor Borderleaf_EVPN activate

address-family evpn
neighbor 172.16.0.71 activate
neighbor 172.16.0.72 activate
neighbor 172.16.0.73 activate
neighbor 172.16.0.74 activate
neighbor Borderleaf_EVPN activate
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡

!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----
!------>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<---------!
!------>>>>>>>>>>>>>>>>>>>>>>>>> SPINE3 <<<<<<<<<<<<---------!
!------>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<---------!

!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----
! Physical Links and Loopback 0 interface Configuration
!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----

!
interface Ethernet1
shutdown
interface Ethernet2
shutdown

interface Ethernet3
no switchport
mtu 9214
ip address 10.10.3.1/30

interface Ethernet4
no switchport
mtu 9214
ip address 10.10.3.5/30

interface Ethernet5
no switchport
mtu 9214
ip address 10.10.3.9/30

interface Ethernet6
no switchport
mtu 9214
ip address 10.10.3.13/30

interface Ethernet7
no switchport
mtu 9214
ip address 10.10.5.10/30

interface Ethernet8
no switchport
mtu 9214
ip address 10.10.6.10/30

interface Loopback0
ip address 172.16.0.103/32
!
!-------------------------------------------------------------------
!-------------------------------------------------------------------
! Spine eBGP Underlay Routing Configuration
!-------------------------------------------------------------------
!-------------------------------------------------------------------

service routing protocols model multi-agent


!
spanning-tree mode mstp
spanning-tree mst 0 priority 4096
!
ip routing
!
ip prefix-list loopback
seq 10 permit 172.16.0.71/32
seq 15 permit 172.16.0.72/32
seq 20 permit 172.16.0.73/32
seq 25 permit 172.16.0.74/32
seq 30 permit 172.16.0.101/32
seq 35 permit 172.16.0.102/32
seq 40 permit 172.16.0.103/32
seq 45 permit 172.16.0.104/32
seq 50 permit 172.16.0.105/32
seq 55 permit 172.16.0.106/32
seq 60 permit 172.16.1.70/32
seq 65 permit 172.16.1.107/32
!
route-map loopback permit 10
match ip address prefix-list loopback

router bgp 65200


router-id 172.16.0.103
maximum-paths 4 ecmp 4
no bgp default ipv4-unicast
bgp log-neighbor-changes
distance bgp 20 200 200

neighbor 10.10.3.2 description Leaf1


neighbor 10.10.3.2 remote-as 65201
neighbor 10.10.3.2 maximum-routes 12000
neighbor 10.10.3.2 send-community

neighbor 10.10.3.6 description Leaf2


neighbor 10.10.3.6 remote-as 65201
neighbor 10.10.3.6 maximum-routes 12000
neighbor 10.10.3.6 send-community

neighbor 10.10.3.10 description Leaf3


neighbor 10.10.3.10 remote-as 65202
neighbor 10.10.3.10 maximum-routes 12000
neighbor 10.10.3.10 send-community

neighbor 10.10.3.14 description Leaf4


neighbor 10.10.3.14 remote-as 65203
neighbor 10.10.3.14 maximum-routes 12000
neighbor 10.10.3.14 send-community

neighbor Borderleaf peer group


neighbor Borderleaf maximum-routes 12000
neighbor Borderleaf remote-as 65500
neighbor Borderleaf send-community

neighbor 10.10.5.9 peer group Borderleaf


neighbor 10.10.6.9 peer group Borderleaf
neighbor 10.10.5.9 description Borderleaf1
neighbor 10.10.6.9 description Borderleaf2
!
!
address-family ipv4
neighbor 10.10.3.2 activate
neighbor 10.10.3.6 activate
neighbor 10.10.3.10 activate
neighbor 10.10.3.14 activate
neighbor Borderleaf activate
redistribute connected route-map loopback

!----------------------------------------------------------------------------------
---------
!----------------------------------------------------------------------------------
---------
! Spine - eBGPEVPN
!----------------------------------------------------------------------------------
---------
!----------------------------------------------------------------------------------
---------

router bgp 65200

neighbor 172.16.0.71 remote-as 65201


neighbor 172.16.0.71 send-community extended
neighbor 172.16.0.71 ebgp-multihop 3
neighbor 172.16.0.71 update-source loopback 0
neighbor 172.16.0.71 maximum-routes 12000
neighbor 172.16.0.71 next-hop-unchanged

neighbor 172.16.0.72 remote-as 65201


neighbor 172.16.0.72 send-community extended
neighbor 172.16.0.72 ebgp-multihop 3
neighbor 172.16.0.72 update-source loopback 0
neighbor 172.16.0.72 maximum-routes 12000
neighbor 172.16.0.72 next-hop-unchanged

neighbor 172.16.0.73 remote-as 65202


neighbor 172.16.0.73 send-community extended
neighbor 172.16.0.73 ebgp-multihop 3
neighbor 172.16.0.73 update-source loopback 0
neighbor 172.16.0.73 maximum-routes 12000
neighbor 172.16.0.73 next-hop-unchanged

neighbor 172.16.0.74 remote-as 65203


neighbor 172.16.0.74 send-community extended
neighbor 172.16.0.74 ebgp-multihop 3
neighbor 172.16.0.74 update-source loopback 0
neighbor 172.16.0.74 maximum-routes 12000
neighbor 172.16.0.74 next-hop-unchanged

neighbor 172.16.0.71 description Leaf1_EVPN


neighbor 172.16.0.72 description Leaf2_EVPN
neighbor 172.16.0.73 description Leaf3_EVPN
neighbor 172.16.0.74 description Leaf4_EVPN

neighbor Borderleaf_EVPN send-community extended


neighbor Borderleaf_EVPN ebgp-multihop 3
neighbor Borderleaf_EVPN remote-as 65500
neighbor Borderleaf_EVPN update-source loopback 0
neighbor Borderleaf_EVPN maximum-routes 12000
neighbor Borderleaf_EVPN next-hop-unchanged

neighbor 172.16.0.105 peer group Borderleaf_EVPN


neighbor 172.16.0.106 peer group Borderleaf_EVPN

neighbor 172.16.0.105 description Borderleaf1_EVPN


neighbor 172.16.0.106 description Borderleaf2_EVPN

address-family ipv4
no neighbor 172.16.0.71 activate
no neighbor 172.16.0.72 activate
no neighbor 172.16.0.73 activate
no neighbor 172.16.0.74 activate
no neighbor Borderleaf_EVPN activate

address-family evpn
neighbor 172.16.0.71 activate
neighbor 172.16.0.72 activate
neighbor 172.16.0.73 activate
neighbor 172.16.0.74 activate
neighbor Borderleaf_EVPN activate
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡
!!!!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% ¡¡¡¡¡¡¡¡¡¡¡¡

!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----
!------>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<---------!
!------>>>>>>>>>>>>>>>>>>>>>>>>> SPINE4 <<<<<<<<<<<<---------!
!------>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<---------!

!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----
! Physical Links and Loopback 0 interface Configuration
!----------------------------------------------------------------------------------
----
!----------------------------------------------------------------------------------
----

!
interface Ethernet1
shutdown
interface Ethernet2
shutdown

interface Ethernet3
no switchport
mtu 9214
ip address 10.10.4.1/30

interface Ethernet4
no switchport
mtu 9214
ip address 10.10.4.5/30

interface Ethernet5
no switchport
mtu 9214
ip address 10.10.4.9/30

interface Ethernet6
no switchport
mtu 9214
ip address 10.10.4.13/30

interface Ethernet7
no switchport
mtu 9214
ip address 10.10.5.14/30
interface Ethernet8
no switchport
mtu 9214
ip address 10.10.6.14/30

interface Loopback0
ip address 172.16.0.104/32
!
!-------------------------------------------------------------------
!-------------------------------------------------------------------
! Spine eBGP Underlay Routing Configuration
!-------------------------------------------------------------------
!-------------------------------------------------------------------

service routing protocols model multi-agent

!
spanning-tree mode mstp
spanning-tree mst 0 priority 4096
!
ip routing
!
ip prefix-list loopback
seq 10 permit 172.16.0.71/32
seq 15 permit 172.16.0.72/32
seq 20 permit 172.16.0.73/32
seq 25 permit 172.16.0.74/32
seq 30 permit 172.16.0.101/32
seq 35 permit 172.16.0.102/32
seq 40 permit 172.16.0.103/32
seq 45 permit 172.16.0.104/32
seq 50 permit 172.16.0.105/32
seq 55 permit 172.16.0.106/32
seq 60 permit 172.16.1.70/32
seq 65 permit 172.16.1.107/32
!
route-map loopback permit 10
match ip address prefix-list loopback

router bgp 65200


router-id 172.16.0.104
maximum-paths 4 ecmp 4
no bgp default ipv4-unicast
bgp log-neighbor-changes
distance bgp 20 200 200

neighbor 10.10.4.2 description Leaf1


neighbor 10.10.4.2 remote-as 65201
neighbor 10.10.4.2 maximum-routes 12000
neighbor 10.10.4.2 send-community

neighbor 10.10.4.6 description Leaf2


neighbor 10.10.4.6 remote-as 65201
neighbor 10.10.4.6 maximum-routes 12000
neighbor 10.10.4.6 send-community

neighbor 10.10.4.10 description Leaf3


neighbor 10.10.4.10 remote-as 65202
neighbor 10.10.4.10 maximum-routes 12000
neighbor 10.10.4.10 send-community

neighbor 10.10.4.14 description Leaf4


neighbor 10.10.4.14 remote-as 65203
neighbor 10.10.4.14 maximum-routes 12000
neighbor 10.10.4.14 send-community

neighbor Borderleaf peer group


neighbor Borderleaf maximum-routes 12000
neighbor Borderleaf remote-as 65500
neighbor Borderleaf send-community

neighbor 10.10.5.13 peer group Borderleaf


neighbor 10.10.6.13 peer group Borderleaf
neighbor 10.10.5.13 description Borderleaf1
neighbor 10.10.6.13 description Borderleaf2
!
!
address-family ipv4
neighbor 10.10.4.2 activate
neighbor 10.10.4.6 activate
neighbor 10.10.4.10 activate
neighbor 10.10.4.14 activate
neighbor Borderleaf activate
redistribute connected route-map loopback

!----------------------------------------------------------------------------------
---------
!----------------------------------------------------------------------------------
---------
! Spine - eBGPEVPN
!----------------------------------------------------------------------------------
---------
!----------------------------------------------------------------------------------
---------

router bgp 65200

neighbor 172.16.0.71 remote-as 65201


neighbor 172.16.0.71 send-community extended
neighbor 172.16.0.71 ebgp-multihop 3
neighbor 172.16.0.71 update-source loopback 0
neighbor 172.16.0.71 maximum-routes 12000
neighbor 172.16.0.71 next-hop-unchanged

neighbor 172.16.0.72 remote-as 65201


neighbor 172.16.0.72 send-community extended
neighbor 172.16.0.72 ebgp-multihop 3
neighbor 172.16.0.72 update-source loopback 0
neighbor 172.16.0.72 maximum-routes 12000
neighbor 172.16.0.72 next-hop-unchanged

neighbor 172.16.0.73 remote-as 65202


neighbor 172.16.0.73 send-community extended
neighbor 172.16.0.73 ebgp-multihop 3
neighbor 172.16.0.73 update-source loopback 0
neighbor 172.16.0.73 maximum-routes 12000
neighbor 172.16.0.73 next-hop-unchanged

neighbor 172.16.0.74 remote-as 65203


neighbor 172.16.0.74 send-community extended
neighbor 172.16.0.74 ebgp-multihop 3
neighbor 172.16.0.74 update-source loopback 0
neighbor 172.16.0.74 maximum-routes 12000
neighbor 172.16.0.74 next-hop-unchanged

neighbor 172.16.0.71 description Leaf1_EVPN


neighbor 172.16.0.72 description Leaf2_EVPN
neighbor 172.16.0.73 description Leaf3_EVPN
neighbor 172.16.0.74 description Leaf4_EVPN

neighbor Borderleaf_EVPN send-community extended


neighbor Borderleaf_EVPN ebgp-multihop 3
neighbor Borderleaf_EVPN remote-as 65500
neighbor Borderleaf_EVPN update-source loopback 0
neighbor Borderleaf_EVPN maximum-routes 12000
neighbor Borderleaf_EVPN next-hop-unchanged

neighbor 172.16.0.105 peer group Borderleaf_EVPN


neighbor 172.16.0.106 peer group Borderleaf_EVPN

neighbor 172.16.0.105 description Borderleaf1_EVPN


neighbor 172.16.0.106 description Borderleaf2_EVPN

address-family ipv4
no neighbor 172.16.0.71 activate
no neighbor 172.16.0.72 activate
no neighbor 172.16.0.73 activate
no neighbor 172.16.0.74 activate
no neighbor Borderleaf_EVPN activate

address-family evpn
neighbor 172.16.0.71 activate
neighbor 172.16.0.72 activate
neighbor 172.16.0.73 activate
neighbor 172.16.0.74 activate
neighbor Borderleaf_EVPN activate

You might also like