cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2595
Views
0
Helpful
0
Replies

Configuration to enhance BGP failover

shartley
Level 1
Level 1

I'm trying to speed up BGP failover when we lose our primary ISP connection (either physical or BGP Peer). I came up with this configuration to match the diagram below. Will this work or is there a better way?

NOTE - ISP #1 BGP Peer 1.1.1.1

NOTE - Router #2 BGP Peer 2.2.2.2

NOTE - Router #1 Internet Interface - TE2/2

Router #1 configuration:

ip sla  1                

type echo protocol ipicmpecho 1.1.1.1                

timeout 1000                

frequency 3

ip sla schedule 1 life forever start-time now

track 1 ip sla 1 reachability

ip route  0.0.0.0 0.0.0.0 1.1.1.1 te2/2 1.1.1.1 track 1

ip access –list 101 permit icmp any host 1.1.1.1 echo

ip local policy route-map default-route-policy

route-map default-route-policy permit 1                

match ip address 101                

set ip next-hop 1.1.1.1                

set interface null 0

ip route  0.0.0.0 0.0.0.0 1.1.1.1 track 1

ip route 0.0.0.0 0.0.0.0 2.2.2.2 200

router bgp 100

bgp timers 15 45

bgp log-neighbor-changes

neighbor IBGP peer-group

neighbor IBGP remote-as 100

neighbor IBGP update-source Loopback0

neighbor 2.2.2.2 peer-group IBGP neighbor 2.2.2.2 description iBGP peer with Router 2

neighbor 2.2.2.2 default-originate route-map default-route-policy

neighbor 1.1.1.1 remote-as 1

neighbor 1.1.1.1 description BGP peer with ISP#1

neighbor 1.1.1.1 update-source TenGigabitEthernet2/2

neighbor 1.1.1.1 fall-over route-map default-route-policy

IN BOTH Router 1 and 2

router ospf 1

                default-information originate always

BGP failover.jpg

0 Replies 0