Courseiva
mediumMultiple Choice

CCNP Practice Question: Examine this configuration: interface…

Examine this configuration:

interface GigabitEthernet0/0
 ip address 192.168.1.1 255.255.255.0

ipv6 address 2001:db8::1/64 ipv6 ospf 1 area 0

What is the effect of the 'ipv6 ospf 1 area 0' command?

⚠ Common exam trap

Cisco often tests the distinction between OSPFv2 and OSPFv3 interface commands, and the trap here is that candidates confuse 'ip ospf' (OSPFv2) with 'ipv6 ospf' (OSPFv3) or assume the process ID must match a pre-existing global process, when in fact the interface command can auto-create the process.

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

✓

It enables OSPFv3 process 1 on this interface and assigns it to area 0.

The 'ipv6 ospf 1 area 0' command enables OSPFv3 (the IPv6 version of OSPF) on the specified interface, assigns it to OSPFv3 process 1, and places the interface in area 0 (the backbone area). This is the correct syntax for activating OSPFv3 on an interface under a specific process and area, independent of any global OSPFv3 process configuration.

Answer analysis

Option-by-option breakdown

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

  • ✓

    It enables OSPFv3 process 1 on this interface and assigns it to area 0.

    Why this is correct

    The command 'ipv6 ospf 1 area 0' is the correct IOS interface subcommand to enable OSPFv3, the IPv6-capable version of OSPF, on that link. It starts OSPFv3 process 1 for that interface and places the interface in backbone area 0, which is the mandatory area that interconnects all other areas. The process ID is locally significant, and the area ID is a 32-bit value, with '0' being shorthand for 0.0.0.0.

  • ✗

    It enables OSPFv2 process 1 on this interface and assigns it to area 0.

    Why it's wrong here

    This command cannot be enabling OSPFv2 because OSPFv2 is initiated on an interface with 'ip ospf' (or 'ip ospf process-id area area-id'), not 'ipv6 ospf'. The 'ipv6' keyword explicitly invokes OSPFv3, which uses IPv6 link-local addresses and carries IPv6 prefixes. OSPFv2 is for IPv4 and would never use the ipv6 ospf syntax.

  • ✗

    It enables OSPFv3 on this interface but the process ID must match the router ospf process ID; if not, it will be ignored.

    Why it's wrong here

    The claim that the interface process ID must match a router OSPF process or be ignored is incorrect. In IOS, the interface command 'ipv6 ospf 1 area 0' is accepted even if 'ipv6 router ospf 1' (or the OSPFv3 router process) is not yet configured; the router simply does not run OSPFv3 on that interface until the process exists. When a matching router process is later created, the interface is automatically associated, and if the process ID never matches, the interface command remains dormant, not 'ignored'. Multiple OSPFv3 processes can coexist, so the interface must select one by process ID, but the command is never deleted or ignored.

  • ✗

    It enables OSPFv3 on this interface but area 0 is invalid for IPv6; OSPFv3 uses area 0.0.0.0.

    Why it's wrong here

    This statement confuses OSPFv3 with OSPFv2 addressing rules. Area 0 is entirely valid for OSPFv3; it is the backbone area and is required for multi-area designs. The area identifier is a 32-bit number, and 'area 0' is the decimal equivalent of 0.0.0.0, so the command is legal. OSPFv3 does not change area semantics, it only changes the network-layer protocol and LSA handling.

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

One of 1,923 original 350-401 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.