07-16-2023 09:11 PM
So i'm doing a lab
bgp path selection is as thus
My question is about R4 and R5 the 2 routers in the middle of this topology next to Switch1
Now R4, R5, R6, R7 are in a peer group. To get to router R1's loopback of 2.0.0.0 I've modified the LocalPref to 200 on R4, and so all routers in this BGP AS prefer R4, except for R5 which is taking the eBGP route to R3, to R1.
All the other PA's seem equal to me.
Why is R5 taking R3 eBGP out over going through R4?
The only difference I see in the above screenshot is R4 has a metric0, over R5's null metric. And so I remember reading in the OCG about how metrics are applied across different vendor brands with regards to BGP. I'm not sure if that's what is the cause here.
Any in sight would be helpful.
Solved! Go to Solution.
07-16-2023 10:02 PM
Hello @hfakoor222,
Since the LP is the same, the tie breaker used is external versus internal BGP. Prefer eBGP over iBGP.
07-17-2023 01:48 AM - edited 07-17-2023 01:48 AM
From metric I see you ise eigrp for ibgp neighbor.
Even if this metric high this step will not consider in best path selection' because before it there is step to prefer ebgp than ibgp.
That why you see external is best.
07-16-2023 10:02 PM
Hello @hfakoor222,
Since the LP is the same, the tie breaker used is external versus internal BGP. Prefer eBGP over iBGP.
07-17-2023 07:36 AM
I distinctly remember reading this somewhere it might've been the ENCOR ocg. Okay thanks.
07-17-2023 01:48 AM - edited 07-17-2023 01:48 AM
From metric I see you ise eigrp for ibgp neighbor.
Even if this metric high this step will not consider in best path selection' because before it there is step to prefer ebgp than ibgp.
That why you see external is best.
07-17-2023 07:37 AM
Thank you
07-17-2023 05:15 AM - last edited on 07-17-2023 10:38 PM by Translator
Hello,
I believe it’s hitting the MED requirement. In CISCO world a missing MED is better than 0 I believe. You can change this behavior by issuing the
med-missing-as-worst
command. What this does is any MED that is blank is treated as the worst path for that metric. Then it should choose R4.
-David
07-17-2023 07:37 AM
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide