Setup: I have 2 PE routers. PE-a and PE-b both connected to CE's(setup with EIGRP)that are advertising default routes to PE-c and currently PE-c is preferring PE-b due to natural iBGP selection process. Currently PE-c is running EIGRP with the CE as well. Is there a way I can manipulate the incoming default route at the VRF address family level on PE-c so that it would prefer PE-a. Basically I'm trying to force PE-c to prefer PE-a even though it prefers PE-b. Any help would be appreciated. Thanks!
When you run eigrp as a PE-CE protocol, PE-c should not make its BGP best path decision as usual but rather compares the BGP cost community before everything else. Changing the eigrp metric(s) between PE-b and its CE to make it the preferred metric should cause PE-c to select PE-b instead of PE-a.
Thanks for the info but I was wondering if you can assist with a different scenario. If I had another location for example on PE-d and I wanted that location to use PE-a as a default gateway and PE-c to use PE-b, with the metric being that PE-b is the preferred route, how would I go about manipulating the PE-d router to choose PE-a instead of PE-b. Sorry I'm jumping around a lot but I'm basically trying to figure out how I can config my PE to pick and choose which default route to take manually instead of dynamically. I still need the dynamic part there just incase there is a failure but the manual part is there to have options. Any help would be appreciated. Thanks!
You could allow the different PEs to select the best path to the default route based on the best IGP metric from one PE to another (normal BGP best path selection process) but for that you would need to tell BGP to ignore the Cost community using the following command:
router bgp xx
bgp bestpath cost-community ignore
Is there a way I can do this on a specific VRF only? I have many different VRF's running on this same PE and I don't want to affect their traffic.
Disabling the evaluation of the cost commuity is global and would apply to all the VRFs. Are all VRFs running eigrp as PE-CE routing protocol?
In this case, you could assign a different loopback interface address for that VRF on the egress PE (i.e. "bgp next-hop loopback xx" under "ip vrf xxx") and then use a TE tunnel on the ingress PE for that specific loopback address to prefer one egress over the other. This would make it such that no other VRF would be impacted by the change.
Thanks for the info. I'm new to Traffic Engineering, I get the egress PE part but I'm a little confused on the ingress. I know how to create a Tunnel but after I create the tunnel how do I config the tunnel to prefer one route over the other?
in this case a route-map in AF vpnv4 or an export-map could raise the local preference for the PE to be preferred ?
Is this a possible solution ?