07-15-2021 05:40 AM
if same prefix learning via ibgp and ebgp ...will it follow bgp path selection algorithm or i t ll select b est path by AD value directly
Solved! Go to Solution.
07-15-2021 06:06 AM - edited 07-15-2021 06:06 AM
Hi @networkinblood ,
It will follow the BGP best path algorithm. The AD is assigned to the path only after it is selected by BGP and only serves to prefer which routes from different sources (static, bgp, ospf, isis, rip, connected, etc) will be installed in the RIB.
Regards,
07-15-2021 06:06 AM - edited 07-15-2021 06:06 AM
Hi @networkinblood ,
It will follow the BGP best path algorithm. The AD is assigned to the path only after it is selected by BGP and only serves to prefer which routes from different sources (static, bgp, ospf, isis, rip, connected, etc) will be installed in the RIB.
Regards,
07-15-2021 06:19 AM
07-15-2021 06:10 AM
As per the BGP path selection algorithm, higher local preference IBGP route will be preferred over lower local preference EBGP route.
Check some path selection documents :
https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13753-25.html
07-15-2021 06:22 AM
Hi Sir , thank for revert but I m not confused with bgp path selection algorithm...I was confused whether it ll directly go for Ad value or it ll follow path selection algorithm
07-15-2021 06:52 AM
The BGP decision process is applied to the routes contained in the Routing Information Base, Incoming (RIB-In) which contains routes learned from inbound update messages. The output of the decision process is the set of routes that will be advertised to BGP speakers in local or remote autonomous systems and are stored in the Adjacency RIB, Outgoing (RIB-Out).
07-15-2021 07:07 AM
07-15-2021 08:45 AM
If a router learns about a route to a destination from more than one routing protocol, and they all have the same prefix length, AD is compared. The preference is given to the route with the lower AD.
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