02-09-2017 12:40 PM - edited 03-08-2019 09:16 AM
I am trying to get bgp failover working between two routers. BGP is up with both ISPs but I cannot figure out how to get the failover working. I've been reading various documentation fro two days now and I am still stuck. My ASN is 393235. The ISPs are 3549 and 20115.
+--------[WAN-1] <=> [ASN 3549]
|
[internal network]
|
+--------[WAN-2] <=> [ASN 20115]
Here is what I have so far:
-------------------------------------------------
WAN-1
interface Port-channel1
description LAN
ip address 74.202.136.1 255.255.255.0 secondary
ip address 198.204.115.2 255.255.255.0
standby 1 ip 198.204.115.1
standby 1 priority 200
standby 1 preempt
no negotiation auto
end
router bgp 393235
bgp log-neighbor-changes
network 198.204.112.0
network 198.204.115.0
neighbor 209.234.172.13 remote-as 3549
track 1 ip sla 1 reachability
delay down 35 up 35
!
track 2 ip sla 2 reachability
delay down 35 up 35
!
track 3 ip sla 3 reachability
delay down 35 up 35
!
track 10 list boolean or
object 1
object 2
object 3
-------------------------------------------------
WAN-2
interface Port-channel1
description LAN
ip address 198.204.115.129 255.255.255.0
standby 1 ip 198.204.115.1
standby 1 preempt
standby 1 track 1 shutdown
no negotiation auto
end
router bgp 393235
bgp log-neighbor-changes
network 198.204.112.0
network 198.204.115.0
neighbor 71.84.226.97 remote-as 20115
neighbor 71.84.226.97 password 7 <reversible encryption>
neighbor 71.84.226.97 route-map spectrum_prepend out
track 1 ip sla 1 reachability
delay down 35 up 35
!
track 2 ip sla 2 reachability
delay down 35 up 35
!
track 3 ip sla 3 reachability
delay down 35 up 35
!
track 10 list boolean or
object 1
object 2
object 3
route-map spectrum_prepend permit 10
set as-path prepend 393235 393235 393235
Solved! Go to Solution.
02-09-2017 01:07 PM
Hello Stephen,
the link below has numerous failover/load balancing sample setups. Specifically look at Topology 6 and 7 (since yous seem to have 2 PEs):
http://showipbgp.com/bgp-configurations/cisco.html
02-09-2017 01:07 PM
Hello Stephen,
the link below has numerous failover/load balancing sample setups. Specifically look at Topology 6 and 7 (since yous seem to have 2 PEs):
http://showipbgp.com/bgp-configurations/cisco.html
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide