06-17-2011 10:48 AM - edited 03-04-2019 12:44 PM
I have two WAN connections (OC3 and DS3) in two separate routers. Both connections are to the same private MPLS cloud. My company would like to force all traffic over the OC3, and use the DS3 only in the event that the OC3 fails. I've successfully tested using local preference to influence outbound traffic, and using AS_Path to influence inbound traffic. This was tested in a lab environment. I know there are multiple solutions to this problem, but I wanted to make sure that the local pref/as_path was an efficient choice. Any reccomendations are greatly appreciated.
06-17-2011 12:02 PM
Hello Randy,
the solution that you have tested works.
if both eBGP sessions are to same AS number you can influence inbound traffic by using MED ( BGP metric), the lowest MED is preferred but default value is 0.
in the route-maps instead of setting as path prepending you could set metric using set metric
You can also set both AS path prepending and MED
Hope to help
Giuseppe
06-17-2011 01:25 PM
Thanks for the reply Giuseppe. I have found that in the lab the solution above works until I fail the primary BGP connection. Once it is restored, the primary never takes back over. It's like the route-map isn't being reapplied. The command show ip bgp
06-17-2011 01:27 PM
Note: I have to manually clear ip bgp * to get everything back to working order after a failure.
06-17-2011 01:28 PM
nevermind... something i did fixed it... oh well, I guess that's how it goes sometimes.
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