Sat Feb 22, 2014 1:52 am
Greetings,
The cleanest way to accomplish this is using BGP Local Pref.
You can set local pref using a routing filter on the way in from each ISP. (make your preferred connection have a local pref of 80, and your backup connection have a local pref of 70). I'm assuming you're only receiving a handful of routes, or a default route and not a full feed if you're using a RB750.
But that only gets you halfway there (prioritizing your outbound traffic).
In order to prevent inbound traffic from using your backup connection while your primary is up...your backup ISP needs to support BGP communities. Specifically, one that will let you lower the local pref on their side below their upstreams. You set the BGP community on the outbound filter facing your backup connection. For example, Level 3 would have you use the 3356:70 community to set the Local Pref to 70 on their side. (which will essentially stop advertising your route unless they see your prefix disappear from your primary connection).
~Matthew