Configure Default Route on MX240 for Upstream ISP | JN0-102 Exam Answer

Configure Default Route on MX240 for Upstream ISP

Prev Question Next Question

Question

You have been asked to configure your MX240 with a default route toward your upstream ISP at IP address 192.168.100.1.

Which command successfully completes this task?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

The correct command to configure a default route toward the upstream ISP at IP address 192.168.100.1 on a Juniper MX240 is A. set routing-options static route 0.0.0.0/0 next-hop 192.168.100.1.

Here's a detailed explanation of why this command is correct and why the other options are incorrect:

A. set routing-options static route 0.0.0.0/0 next-hop 192.168.100.1: This command sets a static route for all traffic (0.0.0.0/0) to use the next-hop address 192.168.100.1, which is the IP address of the upstream ISP. This is the correct command to configure a default route.

B. set routing-options default route 0.0.0.0/0 next-hop 192.168.100.1: This command is incorrect because the syntax is incorrect. There is no "default route" option in the routing-options hierarchy.

C. set forwarding-options static route 0.0.0.0/0 next-hop 192.168.100.1: This command is incorrect because it is setting a static route in the forwarding-options hierarchy, which is used for configuring various forwarding features such as filters, policers, and classifiers. It is not used for configuring routing.

D. set protocols default route 0.0.0.0/0 next-hop 192.168.100.1: This command is incorrect because it is setting a default route in the protocols hierarchy, which is used for configuring routing protocols such as BGP, OSPF, and IS-IS. It is not used for configuring static routes.

Therefore, the correct command to configure a default route toward the upstream ISP at IP address 192.168.100.1 on a Juniper MX240 is A. set routing-options static route 0.0.0.0/0 next-hop 192.168.100.1.