BGP multipath or multihop are not configured in your network.
In this scenario, what is the correct sequence for BGP active route selection?
BGP multipath or multihop are not configured in your network.
In this scenario, what is the correct sequence for BGP active route selection?
The correct sequence for BGP active route selection, when multipath or multihop are not configured, is as follows: higher local preference, shortest AS path, lower origin code, lowest router ID, and lowest peer address. This order ensures the most specific and trusted routes are selected first, and then the selection falls back on technical identifiers when routes are otherwise equal.
BGP Path Selection process follows this order 1.Weight (Bigger is better) 2. Local preference (Bigger is better) 3. Self originated (Locally injected is better than iBGP/eBGP learned) 4. AS-Path (Smaller is better) 5. Origin 6. MED (Smaller is better) 7. External (Prefer eBGP over iBGP) 8. IGP cost (Smaller is better) 9. EBGP Peering (Older is better) 10. Router- ID http://www.next-itsolutions.co.uk/wp-content/uploads/2015/09/CCIE-BGP-Best-Path-Selection1.png https://www.juniper.net/documentation/us/en/software/junos/vpn-l2/bgp/topics/concept/routing-protocols-address-representation.html
seems like B: Algorithm steps BGP Next Hop—Protocol Local Preference—Localpref AS Path—AS path Origin—AS Multiple Exit Discriminator EBGP vs. IBGP—Local AS Cost to IGP peer—Metric Cluster List Router ID Peer ID Multipath ignores router and peer id I cannot find changes by multihop
go with B
b is correct