Skip to content

Commit

Permalink
Feat(eos_designs): Add eBGP LAN HA support for CV Pathfinder (#3494)
Browse files Browse the repository at this point in the history
Co-authored-by: Claus Holbech <[email protected]>
  • Loading branch information
gmuloc and ClausHolbechArista authored Feb 23, 2024
1 parent 3d4e618 commit fc15e22
Show file tree
Hide file tree
Showing 41 changed files with 5,721 additions and 207 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,7 @@ ip extcommunity-list ECL-EVPN-SOO permit soo 192.168.42.2:511
ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY
seq 10 permit 192.168.42.0/24 eq 32
!
route-map RM-BGP-UNDERLAY-PEERS-IN deny 20
description Deny prefixes from WAN
match as-path ASPATH-WAN
!
route-map RM-BGP-UNDERLAY-PEERS-IN permit 30
route-map RM-BGP-UNDERLAY-PEERS-IN permit 40
description Mark prefixes originated from the LAN
set extcommunity soo 192.168.42.2:511 additive
!
Expand Down Expand Up @@ -308,7 +304,7 @@ router bgp 65000
neighbor WAN-OVERLAY-PEERS send-community
neighbor WAN-OVERLAY-PEERS maximum-routes 0
neighbor 172.17.0.2 peer group IPv4-UNDERLAY-PEERS
neighbor 172.17.0.2 remote-as 65000
neighbor 172.17.0.2 remote-as 65199
neighbor 172.17.0.2 description site-ha-disabled-leaf_Ethernet2
redistribute connected route-map RM-CONN-2-BGP
!
Expand Down Expand Up @@ -344,7 +340,7 @@ router bgp 65000
route-target import evpn 100:100
route-target export evpn 100:100
router-id 192.168.42.2
neighbor 172.17.0.2 remote-as 65000
neighbor 172.17.0.2 remote-as 65199
neighbor 172.17.0.2 peer group IPv4-UNDERLAY-PEERS
neighbor 172.17.0.2 description site-ha-disabled-leaf_Ethernet2.100_vrf_IT
redistribute connected
Expand All @@ -354,7 +350,7 @@ router bgp 65000
route-target import evpn 42:42
route-target export evpn 42:42
router-id 192.168.42.2
neighbor 172.17.0.2 remote-as 65000
neighbor 172.17.0.2 remote-as 65199
neighbor 172.17.0.2 peer group IPv4-UNDERLAY-PEERS
neighbor 172.17.0.2 description site-ha-disabled-leaf_Ethernet2.42_vrf_PROD
redistribute connected
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,7 @@ ip prefix-list PL-STATIC-VRF-DEFAULT
ip route 172.16.0.0/16 172.16.5.4
ip route 66.66.66.0/24 172.17.0.0
!
route-map RM-BGP-UNDERLAY-PEERS-IN deny 20
description Deny prefixes from WAN
match as-path ASPATH-WAN
!
route-map RM-BGP-UNDERLAY-PEERS-IN permit 30
route-map RM-BGP-UNDERLAY-PEERS-IN permit 40
description Mark prefixes originated from the LAN
set extcommunity soo 192.168.42.1:511 additive
!
Expand Down Expand Up @@ -369,7 +365,7 @@ router bgp 65000
neighbor WAN-OVERLAY-PEERS send-community
neighbor WAN-OVERLAY-PEERS maximum-routes 0
neighbor 172.17.0.0 peer group IPv4-UNDERLAY-PEERS
neighbor 172.17.0.0 remote-as 65000
neighbor 172.17.0.0 remote-as 65199
neighbor 172.17.0.0 description site-ha-disabled-leaf_Ethernet1
neighbor 192.168.144.1 peer group WAN-OVERLAY-PEERS
neighbor 192.168.144.1 description cv-pathfinder-pathfinder
Expand Down Expand Up @@ -408,7 +404,7 @@ router bgp 65000
route-target import evpn 100:100
route-target export evpn 100:100
router-id 192.168.42.1
neighbor 172.17.0.0 remote-as 65000
neighbor 172.17.0.0 remote-as 65199
neighbor 172.17.0.0 peer group IPv4-UNDERLAY-PEERS
neighbor 172.17.0.0 description site-ha-disabled-leaf_Ethernet1.100_vrf_IT
redistribute connected
Expand All @@ -418,7 +414,7 @@ router bgp 65000
route-target import evpn 42:42
route-target export evpn 42:42
router-id 192.168.42.1
neighbor 172.17.0.0 remote-as 65000
neighbor 172.17.0.0 remote-as 65199
neighbor 172.17.0.0 peer group IPv4-UNDERLAY-PEERS
neighbor 172.17.0.0 description site-ha-disabled-leaf_Ethernet1.42_vrf_PROD
redistribute connected
Expand Down
Loading

0 comments on commit fc15e22

Please sign in to comment.