JNCIA-Junos: Juniper Networks Certified Associate – Junos (legacy) — Question 22
-- Exhibit --
[edit routing-options]
user@router# show
static {
route 0.0.0.0/0 {
next-hop 10.1.1.1;
qualified-next-hop 10.1.1.254 {
preference 4;
}
}
}
-- Exhibit --
Assuming both paths shown in the exhibit are available, which statement is correct?
Answer options
- A. Traffic matching the default route will use 10.1.1.1 as the next hop.
- B. Traffic matching the default route will use 10.1.1.254 as the next hop.
- C. Traffic matching the default route will be load-balanced per packet across both next hops.
- D. Traffic matching the default route will be load-balanced per flow across both next hops.
Correct answer: B
Explanation
The correct answer is B because the qualified-next-hop 10.1.1.254 has a preference value of 4, which is lower than the implicit preference of the primary next hop 10.1.1.1. Therefore, traffic matching the default route will prefer the qualified next hop. Options A, C, and D are incorrect because they do not account for the preference value that prioritizes the qualified next hop.