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

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

routing loop avoiding in BGP

Hi All,

I have two routers connected back to back and One ISP providing two MPLS links running on BGP. Kindly suggest the method as I want to get my data from my primary Link via BGP and when primary goes down, the data should route via secondary link ( running on bgp). I have set the local preference high on the primary end and put low on the secndary end but this is not working, I am gettinh the remote end routes via both the links.

Please help.

Regards,

Anil K.

2 REPLIES
Purple

routing loop avoiding in BGP

Hi,

You will always have the 2 paths in the BGP table but now the best route will be the one with higher local preference.

And this route will be installed in the routing table.Don't forget to do a route-refresh(clear ip bgp * in) for the local preference change to take effect).

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

routing loop avoiding in BGP

What Cadet suggessted will work for outbound redundancy. I would talk with your ISP, and make sure that inbound redundancy will work as well. They could just have a static route for your network range such as 4.4.4.0/25, going to R1, and if R1 fails, your outbound redundancy (with what Cadet suggested) will work great, but your inbound redundancy could fail.

I'm assuming you have multiple routers since you said back to back.

178
Views
0
Helpful
2
Replies
CreatePlease login to create content