Placing network 10.2.3.0/24 into OSPF area 0: Which two commands together achieve this (process ID 10, area 0)?
-
A1 and 4
-
B2, 4, and 5
-
C2 and 5
-
D3 and 4
Answer
Correct Answer: 2 and 5
Explanation
Introduction / Context:To advertise a subnet into OSPF, you must enter the OSPF process and add a matching network statement with an appropriate wildcard mask and area assignment. Precision matters: typos such as 'area0' will not work.
Given Data / Assumptions:
- OSPF process ID: 10.
- Prefix: 10.2.3.0/24.
- Goal: place it in area 0.
Concept / Approach:
The two necessary commands are: (2) router ospf 10 to enter the process, and (5) network 10.2.3.0 0.0.0.255 area 0 to match the /24 and bind it to area 0. Using the classful 'network 10.0.0.0' overmatches and is not specific; 'area0' without a space is invalid syntax.
Step-by-Step Solution:
Start OSPF: router ospf 10Advertise subnet: network 10.2.3.0 0.0.0.255 area 0Verification / Alternative check:
Run show ip ospf interface and show ip route ospf to confirm that interfaces matching 10.2.3.0/24 join area 0 and routes appear with OSPF codes (O).
Why Other Options Are Wrong:
(3) network 10.0.0.0 classful match is not the precise /24 specification.
(4) 'area0' is syntactically wrong; IOS requires a space: area 0.
Common Pitfalls:
Using classful network statements unintentionally; forgetting wildcard masks; misplacing the OSPF process ID and area number formatting.
Final Answer:
2 and 5