OSPF Configuration on Interface so-0/0/0 unit 100

Configure OSPF on Interface so-0/0/0 unit 100

Prev Question Next Question

Question

You are at the top of the hierarchy and must configure OSPF on interface so-0/0/0 unit 100.

Which two achieve this result? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

BD

The correct answers are B and C.

Explanation:

OSPF (Open Shortest Path First) is a routing protocol used to distribute routing information within a single autonomous system (AS) in a network. In Junos OS, there are several ways to configure OSPF. One way is to use the command-line interface (CLI) and configure OSPF using the protocols ospf hierarchy.

Here are the explanations for each answer:

A. set protocols setospf area 0 set interface so-0/0/0.100

This command is incorrect because "setospf" is not a valid Junos OS command. The correct command is "ospf", and it should be configured under the "protocols" hierarchy. Also, the syntax is incorrect because "set interface" is not a valid option for OSPF interface configuration.

B. set protocols ospf area 0 interface so-0/0/0.100

This command is correct because it configures OSPF on the interface so-0/0/0 unit 100 in OSPF area 0. The "ospf" statement is configured under the "protocols" hierarchy, and the "interface" statement is used to specify the interface to which the OSPF configuration applies.

C. edit protocols ospf interface so-0/0/0.100

This command is also correct because it enters the OSPF interface configuration mode for the interface so-0/0/0 unit 100. This allows you to configure OSPF parameters specific to that interface.

D. edit protocols ospf area 0

This command is not sufficient to configure OSPF on the interface so-0/0/0 unit 100. This command only enters the OSPF area configuration mode for area 0, which allows you to configure OSPF parameters specific to that area. You still need to configure the interface to enable OSPF on it.