200-301 · Question #756
What command sequence will configure a router to run OSPF and add network 10.1.1.0 /24 to area 0?
The correct answer is C. router ospf 1. To configure a router to run OSPF and add a network to a specific area, you must first initiate the OSPF routing process with a process ID.
Question
Options
- Arouter ospf area 0
- Brouter ospf
- Crouter ospf 1
- Drouter ospf area 0
- Erouter ospf
- Frouter ospf 1
How the community answered
(35 responses)- A9% (3)
- C83% (29)
- E6% (2)
- F3% (1)
Why each option
To configure a router to run OSPF and add a network to a specific area, you must first initiate the OSPF routing process with a process ID.
`router ospf area 0` is syntactically incorrect, as the 'area' keyword is used with the `network` command, not when initially enabling the OSPF process.
`router ospf` without a process ID is an incomplete command and will not successfully start an OSPF routing process.
The command `router ospf 1` is the correct way to initiate an OSPF routing process on a Cisco router, where '1' is the OSPF process ID, and it places the user into OSPF router configuration mode, which is the prerequisite for defining networks and areas.
`router ospf area 0` is syntactically incorrect, as the 'area' keyword is used with the `network` command, not when initially enabling the OSPF process.
`router ospf` without a process ID is an incomplete command and will not successfully start an OSPF routing process.
`router ospf 1` is a correct command, but as choice C is also `router ospf 1`, choice C is the designated correct answer.
Concept tested: OSPF basic configuration commands
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_ospf/configuration/15-mt/iro-15-mt-book/iro-ospf-cfg.html
Topics
Community Discussion
No community discussion yet for this question.