Cisco CCNA OSPF Configuration Guide

Configure OSPF and Add Network to Area 0

Prev Question Next Question


What command sequence will configure a router to run OSPF and add network /24 to area 0?



Click on the arrows to vote for the correct answer

A. B. C. D. E. F.


The correct command sequence to configure a router to run OSPF and add network /24 to area 0 is:

C. router ospf 1 network area 0

Here is a breakdown of each command:

  1. router ospf 1: This command enables OSPF routing process and sets the process ID to 1.

  2. network This command adds the network /24 to the OSPF process. The "" is a wildcard mask that matches any IP address in the subnet.

  3. area 0: This command specifies that the network should be placed in OSPF area 0, which is the backbone area for OSPF.

Therefore, the complete command sequence is: router ospf 1 network area 0.

Let's go through the other answer options:

A. router ospf area 0 network area 0: This command sequence has the correct network statement and area specification but uses an incorrect subnet mask ( instead of

B. router ospf network