Courseiva
Virtualization →mediumDrag & Drop

CCNP Virtualization Practice Question

Drag and drop the steps to configure OSPF on a Cisco router in the correct order.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Enter global configuration mode, then configure 'router ospf <process-id>', then configure 'network <network-ip> <wildcard-mask> area <area-id>'

OSPF configuration starts with enabling the OSPF process, then defining networks and areas.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Enter global configuration mode, then configure 'router ospf <process-id>', then configure 'network <network-ip> <wildcard-mask> area <area-id>'

    Why this is correct

    The correct sequence begins in global configuration mode, then starts the OSPF routing process with 'router ospf <process-id>', and then enters the network statement as a subcommand of the OSPF router context. This order is mandatory because the 'network' command cannot be interpreted in global config mode; it only exists inside the OSPF process. Additionally, the 'area' keyword must accompany the wildcard mask to bind the matched interface to a specific OSPF area, which is fundamental to OSPF's area-based design. Therefore, enabling OSPF first, then defining networks with their area, is the only valid configuration path.

  • ✗

    Enter global configuration mode, then configure 'network <network-ip> <wildcard-mask> area <area-id>', then configure 'router ospf <process-id>'

    Why it's wrong here

    Placing the 'network' command before starting the OSPF process is invalid because 'network' is not a global configuration command; it is a subcommand of the OSPF router mode. When entered in global config, the router either rejects it or treats it as an attempted global command, so the statement is never applied to any OSPF instance. Even if you later start an OSPF process, that earlier statement will not be retroactively associated with it, meaning you would have to reissue all network commands. Thus, this order fails to create any OSPF configuration and leaves adjacencies unformed.

  • ✗

    Configure 'router ospf <process-id>', then enter global configuration mode, then configure 'network <network-ip> <wildcard-mask> area <area-id>'

    Why it's wrong here

    This order is impossible because 'router ospf <process-id>' is exclusively a global configuration command and cannot be executed from privileged EXEC mode before entering global configuration. If typed at the EXEC prompt, the router will return an '% Unknown command' error because the command is not available in that mode. Therefore, you must always enter global configuration mode first, then issue 'router ospf', and only then configure network statements within the resulting OSPF submode. Attempting to flip this sequence violates the IOS command-line hierarchy and cannot succeed.

  • ✗

    Enter global configuration mode, then configure 'router ospf <process-id>', then configure 'network <network-ip> <wildcard-mask> <area-id>' without the 'area' keyword

    Why it's wrong here

    Omitting the 'area' keyword in the network command causes a syntax error because OSPF requires every network statement to include an area identifier to assign the matched interface to a specific OSPF area. The command 'network <network-ip> <wildcard-mask> <area-id>' is malformed; the correct syntax is 'network <network-ip> <wildcard-mask> area <area-id>'. Without the explicit 'area' keyword, the parser cannot distinguish the area-ID from a wildcard mask, so the command is rejected. Moreover, even if syntactically accepted, OSPF would have no way to determine area membership, which is essential for building the link-state database and SPF tree.

Visual reference

R1 R2 R3 R4 10 100 10 100 OSPF picks R1→R2→R4 (cost 20) over R1→R3→R4 (cost 200)

Quick reference

Routing Protocol Comparison

ProtocolMetricMax HopsAlgorithmType
RIP v2Hop count15Bellman-FordDistance vector
OSPFCost (bandwidth)UnlimitedDijkstra (SPF)Link state
EIGRPComposite metricUnlimitedDUALHybrid
IS-ISCostUnlimitedDijkstraLink state
BGPPolicy / attributesUnlimitedPath vectorPath vector

RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.

About these practice questions

This 350-401 question is part of Courseiva's 1,923-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 350-401 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-401 exam.