Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ip sla with BGP

I'm running BGP with my own ASN, and peering to 2 providers, one 10Mbit, and the other 3Mbit. I prepend my own ASN as-path many times for the 3Mbit provider, so remote networks will almost always prefer the 10Mbit link. Ok, so now to the challenge.

This morning, the 10Mbit connection started acting really slow. Lots of latency, dropping 70% of the packets, etc. BGP didn't save my network from being severely impacted. After the provider of the 10Mbit link drug their feet on the issue, I shut down the interface, and let BGP flow over the the backup link.

Could I use ip sla, or something similar to automate this process in the future? How could I protect the network against something like this happening in the future? Any advice valued & rated! Thanks.


Re: ip sla with BGP


You can try Optimized Edge Routing now called Performance Routing which will automatically divert the traffic to the optimized path based on some pre-defined attributes.

Chk the URL's below:

Hope this helps..


Re: ip sla with BGP

I understand why you are prepending, but would it be plausible to use both links at the same time and let the BGP policy use the best path for route selection?

Do you get routes from your providers?

I would recommend getting full routes from your provider, removing the AS prepending and seeing if that speeds things up. Then any issue with latency will be handled becuase your traffic will not see a bunch of prepends and deny that traffic. Some ISP's will actually drop your announcement if you prepend more than 4 times. You can still prefer to use the 10M link for outbound if you like by using route-maps and if you are flapping you could try adjusting your keepalive timers to drop the session and force traffic out the other peer.