JNCIP-ENT: Juniper Networks Certified Professional – Enterprise Routing (2024) — Question 11
BGP multipath or multihop are not configured in your network.
In this scenario, what is the correct sequence for BGP active route selection?
Answer options
- A. higher local preference shortest AS path lowest peer address lowest router ID lower origin code
- B. higher local preference shortest AS path lower origin code lowest router ID lowest peer address
- C. higher local preference lowest router ID lowest peer address lower origin code shortest AS path
- D. higher local preference shortest AS path lowest router ID lowest peer address lower origin code
Correct answer: B
Explanation
The correct answer is B because BGP selects routes based on the highest local preference first, followed by the shortest AS path, then lower origin code, lowest router ID, and finally the lowest peer address. Options A, C, and D do not follow the correct sequence for active route selection as defined by BGP rules.