Static Route Configuration for Juniper Networks Certified Internet Specialist Exam JN0-360 | Provider: Juniper

How to Configure Static Routes with Primary and Secondary Next-Hops in Juniper Routers

Prev Question Next Question

Question

You are logged into a router and have navigated to the [edit routing-options] level of the hierarchy. You have been asked to create a static route that will use

43.18.7.1 as its primary next-hop and 76.13.10.2 as its secondary next-hop.

Which command correctly configures this setup?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D

The correct command to configure a static route with a primary next-hop of 43.18.7.1 and a secondary next-hop of 76.13.10.2 is option B:

B. set static route 0/0 next-hop 43.18.7.1 secondary-next-hop 76.13.10.2 preference 10

Here is a breakdown of the different options:

Option A: set static route 0/0 76.13.10.2 qualified-next-hop 43.18.7.1 pref 10 This command sets a static route for the default route (0/0) with a primary next-hop of 76.13.10.2 and a qualified next-hop of 43.18.7.1. However, the order of the next-hops is reversed from the requested configuration, so this is not the correct answer.

Option B: set static route 0/0 next-hop 43.18.7.1 secondary-next-hop 76.13.10.2 preference 10 This command sets a static route for the default route (0/0) with a primary next-hop of 43.18.7.1 and a secondary next-hop of 76.13.10.2. The "preference 10" option sets the preference value to 10. This is the correct answer.

Option C: set static route 0/0 next-hop [76.13.10.2 10.10.10.5] pref 10 This command sets a static route for the default route (0/0) with a next-hop list of 76.13.10.2 and 10.10.10.5. However, the command does not specify which next-hop is primary or secondary, so this is not the correct answer.

Option D: set static route 0/0 next-hop 43.18.7.1 qualified-next-hop 76.13.10.2 preference 10 This command sets a static route for the default route (0/0) with a primary next-hop of 43.18.7.1 and a qualified next-hop of 76.13.10.2. However, the "qualified-next-hop" option is used to specify backup paths that can be used when the primary next-hop is not available. This is not the correct answer.

Therefore, the correct answer is option B.