04-05-2005 10:10 AM - edited 03-03-2019 09:12 AM
Hi, guys:
I have a quick question. Based on the BGP route selection criteria posted by Cisco, the route with higher local preference is preferred. The route type (EBGP or iBGP) comparison is way down on the list.
So my question is, if an iBGP speaker originated a route by making Local Preference to 200, in the mean while, the local router receives a update from a EBGP peer for the same prefix. In this case, which route does the local router use?
I believe it should use the one from iBGP peer, however, one thing bother me is that the AD value for EBGP route is actually lower than the one for iBGP route, which means, EBGP should be preferred.
Can anybody help me clarify?
Thanks!
cableip
04-05-2005 11:41 AM
You are correct in stating that the iBGP learnt path with a local preference of 200 will be choosen over the eBGP learnt path with a lower local preference.
The admin distance doesn't come in to play between BGP learnt paths as the decision is made by BGP according to the best path selection process. The AD would only come into play if the BGP best path was competing with a prefix learnt from another routing protocol (or static) for installation in the RIB.
Hope this helps,
04-06-2005 02:38 PM
Thank you very much, hritter!
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