What command sequence will configure a router to run OSPF and add network 10.1.1.0 /24 to area 0?
Click on the arrows to vote for the correct answerA. B. C. D. E. F.
The correct command sequence to configure a router to run OSPF and add network 10.1.1.0 /24 to area 0 is:
C. router ospf 1 network 10.1.1.0 0.0.0.255 area 0
Here is a breakdown of each command:
router ospf 1: This command enables OSPF routing process and sets the process ID to 1.
network 10.1.1.0 0.0.0.255: This command adds the network 10.1.1.0 /24 to the OSPF process. The "0.0.0.255" is a wildcard mask that matches any IP address in the 10.1.1.0/24 subnet.
area 0: This command specifies that the network 10.1.1.0/24 should be placed in OSPF area 0, which is the backbone area for OSPF.
Therefore, the complete command sequence is:
router ospf 1 network 10.1.1.0 0.0.0.255 area 0.
Let's go through the other answer options:
A. router ospf area 0 network 10.1.1.0 255.255.255.0 area 0: This command sequence has the correct network statement and area specification but uses an incorrect subnet mask (255.255.255.0 instead of 0.0.0.255).
B. router ospf network