12-08-2009 09:05 AM - edited 03-04-2019 06:54 AM
Hi,
I have a headquarters site with a single router that has two links. One link is an OSPF link via Metro and the second is an eBGP link via MPLS. There are multiple remote sites at the far end with an OSPF and eBGP link also into a single router in each site. If I want traffic to take the OSPF route as the primary path what is the best practise method to make eBGP the less perferrable path?
Thank you
Brian
12-08-2009 09:25 AM
Brian.oflynn wrote:
Hi,
I have a headquarters site with a single router that has two links. One link is an OSPF link via Metro and the second is an eBGP link via MPLS. There are multiple remote sites at the far end with an OSPF and eBGP link also into a single router in each site. If I want traffic to take the OSPF route as the primary path what is the best practise method to make eBGP the less perferrable path?
Thank you
Brian
Brian
Two options -
1) Can you summarise the remote networks across the BGP link so that the OSPF routes are more specific and are always used as long as the OSPF link is up ?
2) If not you can look to manipulate the AD (Administrative Distance). Either change OSPF to below 20 or increase EBGP to above 110.
Jon
12-08-2009 09:48 AM
Hi Jon, Option 1 is out unfortunately. I had been looking into option 2 but it seems to be an all or nothing when it comes to changing admin distance. Wasn't sure if there was a more granular way of doing it with a route map.
Cheers
Brian
12-08-2009 09:33 AM
I think, you can use the BGP backdoor that makes the IGP route the preferred route.
It's depend of the topology but maybe help you.
router bgp 1
neighbor 1.1.1.1 remote-as 2
network 10.1.1.0 backdoor
Best regards
Marcelino
12-08-2009 09:49 AM
Thanks Marcelino, I will look into that command.
cheers
Brian
12-08-2009 10:29 AM
Hi Brian,
I found out interesting file, Can you check this file that mentioned using the "weight" value
that one prefix with the higher weight will be installed in the
routing table based on the BGP best path selection process
but you can play with this value.
https://supportforums.cisco.com/docs/DOC-5748
I hope this help
Marcelino
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: