JNCIS-ENT: Juniper Networks Certified Specialist – Enterprise Routing and Switching (2025) — Question 86
Your network has two ISPs available. You want to ensure that all outbound traffic is routed out ISP-1. If the connection to ISP-1 fails, all outbound traffic is routed to the backup ISP, ISP-2.
In this scenario, how should you configure BGP on your network?
Answer options
- A. Set the local-preference attribute to a higher value for ISP-1 than ISP-2.
- B. Set the local-preference attribute to a higher value for ISP-2 than ISP-1.
- C. Configure the gateway for ISP-1 with a higher origin code than the gateway for ISP-2.
- D. Configure the gateway for ISP-1 with a higher peer ID than the gateway for ISP-2.
Correct answer: A
Explanation
The correct answer, A, involves setting a higher local-preference for ISP-1, ensuring it is preferred for outbound traffic. Option B is incorrect because it prioritizes ISP-2 instead. Options C and D do not affect the outbound routing preference in the same way as local-preference does.