Help with BGP auto fail over!

Hello friends! I kindly need your help with bgp auto failover configuration. I will do this on production routers :slight_smile: So the set-up is as follow:

  1. An mpls cloud at the centre AS 11111
  2. MT router1 to the left AS 100 connecting to the cloud, /30 IP
  3. MT router2 to the right AS 100 connecting to the cloud, /30 IP
  4. A point-to-point link from router1 to router2, /30 IP

Now to you guys- help configure bgp fail-over such that link via AS 11111 are primary while the ptp link is secondary. I appreciate any further ideas.

My configuration did not work. The ptp link is taking over as primary when it should not! I’m guess some of you have resolved a similar problem.

Cheers

Sang

Unless I’m missing something here all you’ll need to do is apply a routing filter to the peers for links with AS100 and assign a weight to routes learned through it. The default weight is 0, any other weight wins. Weight is local to the router only and not passed to any peers, so there’s no need to balance this out between R1 and R2 - they’ll simply prefer all routes learned via AS100 to anything they learn from one another.

Thanks fewi,

will implement the weight, test and update you.

sang