05-04-2012 09:28 AM - edited 03-04-2019 04:15 PM
All,
I wanted to get some other thoughts on this. I have a location that has 2 routers peering with ISP using ebgp. The convergence time is okay. I lose about 5 packets before the other router picks up. The concern that I have is that we're moving to SAP and I'm not sure what the sensitivity levels on dropped packets is from the perspective of the client. I'd like to try to get this down even faster, so here's what I've done:
Changed the default timers with the ISP to 7 and holdtime of 21
Created a route-map matching on the ISPs subnet (/30) and matching on the source-protocol as connected. I enabled this on the neighbor for fall-over. (I'm not sure this is 100% necessary though because of the default fast-external-fallover.
The problem is that this is an ethernet circuit. I run hsrp on the inside with bgp peering between these 2 routers. I have to track the interface that peers with the provider by using an sla echo. Otherwise, if the circuit goes down I'd never see it go down because it's connected into a switch. (Do providers do something special to trigger a line-protocol down when their circuit goes down?) I believe there's fiber going into their switch and I've got an ethernet handoff. My thought is that I won't see the circuit go down as a line-protocol which is why I need SLAs.
Anyway, is there a way to get bgp to failover faster than what I'm seeing now? I've not modified the scan time, but I'm not sure this would be necessary either. It seems like the failovers happening after hsrp converges.
I don't have bfd support on the version of ios I have. Wouldn't the ISP need to run BFD also if I did?
Thanks,
John
05-04-2012 09:53 AM
Hello John,
>>
Wouldn't the ISP need to run BFD also if I did?
yes
>>
Do providers do something special to trigger a line-protocol down when their circuit goes down?
for L2 transport services they can do it but not for internet L3 access
I agree you are doing as much as possible to improve convergence in any case SAP sessions should be based on TCP sessions that support some losses.
You could try to use BGP timers 1 and 4 seconds respectively (CAUTION depending also on your boxes)
>>
Created a route-map matching on the ISPs subnet (/30) and matching on the source-protocol as connected. I enabled this on the neighbor for fall-over. (I'm not sure this is 100% necessary though because of the default fast-external-fallover.
it's not clear to me what you did here. I guess you have associated a route-map to the BGP session however if the link never dies at OSI Layer1 and Layer2, it is not effective and yes for eBGP now fast-external-fallover is default.
Hope to help
Giuseppe
05-04-2012 10:11 AM
Thanks Giuseppe.
The route map that I created was like the following:
ip prefix-list Fallover permit 192.168.1.0/30
route-map Fallover permit
match ip address prefix-list Fallover
match source-protocol connected
router bgp 1
neighbor 192.168.1.2 fall-over route-map Fallover
The understanding is that when the circuit were to go down, the connected route wouldn't be in the table any longer. I don't think it's necessary though because bgp has the fast-external-fallover enabled for ebgp neighbors by default. I guess I'll see how well it goes tomorrow. The failover test is going to happen while test users are in and moving around in SAP.
Edit:
You know after thinking about it, the above route-map makes no sense anyway. Since it's L3, the interface still wouldn't go down because it's connected to a switch. The above would make more sense for an L2 connection.
Thanks!
05-05-2012 09:59 AM
Hi John,
You could create a dummy static route (or a static for your WAN with the ISP). This route would be tracked with a sla which ping the WAN IP of the ISP.
This route could be used to the fall over route map of the BGP.
So, you can configure a sort timeout to the sla in order to imporve the BGP convergence.
HTH
Vasilis
04-27-2014 12:00 PM
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