Question 396 of 2,152
Device ManagementmediumMultiple ChoiceObjective-mapped

OSPF Configuration: Redundant Interface and Network Commands

This 300-410 practice question tests your understanding of device management. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Consider the following partial configuration on router R2:

interface GigabitEthernet0/0
 ip address 10.0.0.2 255.255.255.0
 ip ospf 1 area 0

!

interface GigabitEthernet0/1
 ip address 192.168.1.2 255.255.255.0
 ip ospf 1 area 0

!

router ospf 1

router-id 2.2.2.2

network 10.0.0.0 0.0.0.255 area 0
 network 192.168.1.0 0.0.0.255 area 0

What is the effect of this configuration?

Quick Answer

The answer is that OSPF will form adjacencies on both interfaces as intended, and the configuration is redundant but fully functional. This happens because OSPF can be enabled on an interface either through the `ip ospf` interface command or through a matching `network` statement under the router process; when both methods are used for the same interface, the result is simply duplicate activation with no conflict or error. On the Cisco CCNP ENARSI 300-410 exam, this scenario tests your understanding of OSPF configuration precedence and redundancy, often appearing as a trick question where candidates mistakenly think the `network` statement overrides or conflicts with the interface-level command. The common trap is assuming that overlapping commands cause a failure, but Cisco IOS gracefully handles the overlap by treating it as harmless duplication. A useful memory tip is "interface first, network second—both work, no wreck."

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

OSPF will form adjacencies on both interfaces as intended; the configuration is redundant but functional.

Option C is correct because the configuration redundantly enables OSPF on both interfaces via both the `ip ospf 1 area 0` interface-level command and the `network` statements under the OSPF process. This is valid and does not cause conflicts; OSPF will form adjacencies on both interfaces as intended. The router-id 2.2.2.2 is explicitly configured and will not be overridden by any loopback IP unless the router-id is not set or is removed.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • OSPF will not form adjacencies because the interface and network commands conflict, causing OSPF to ignore the network statements.

    Why it's wrong here

    There is no conflict; both methods can be used together. OSPF will use the interface configuration and the network statement will also apply, but no conflict arises.

  • OSPF will form adjacencies on both interfaces, but the router-id 2.2.2.2 will be overridden by the highest loopback IP.

    Why it's wrong here

    The router-id is explicitly set to 2.2.2.2 and will not be overridden by any interface IP unless the router-id is removed or reset.

  • OSPF will form adjacencies on both interfaces as intended; the configuration is redundant but functional.

    Why this is correct

    Both interfaces have OSPF enabled via the interface command and the network statement. This is acceptable and OSPF will operate normally.

    Related concept

    Read the scenario before looking for a memorised answer.

  • OSPF will only form adjacency on GigabitEthernet0/1 because the network statement for 10.0.0.0 is incorrect.

    Why it's wrong here

    The network 10.0.0.0 0.0.0.255 area 0 correctly matches the 10.0.0.0/24 subnet on GigabitEthernet0/0.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often think interface-level and network-level OSPF commands conflict or cause redundancy errors, when in fact they are both valid and can coexist without issue.

Detailed technical explanation

How to think about this question

Under the hood, OSPF uses the `ip ospf` interface command and `network` statements independently to determine which interfaces participate in the OSPF process; both methods add the interface to the OSPF database. In real-world scenarios, using both methods can lead to confusion during troubleshooting, but it does not break OSPF operation. The router-id selection follows a strict order: explicit `router-id` command, then highest loopback IP, then highest physical interface IP, and once elected, it remains stable unless the OSPF process is restarted.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A network engineer at a university connects two campus buildings via a fibre link. Both routers run OSPF, but no adjacency forms — even though both routers can ping each other. The engineer finds one router is in area 0 and the other in area 1. OSPF adjacency requires matching area numbers, hello/dead timers, and network type. IP reachability alone is not enough.

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.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related 300-410 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free 300-410 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 300-410 question test?

Device Management — This question tests Device Management — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: OSPF will form adjacencies on both interfaces as intended; the configuration is redundant but functional. — Option C is correct because the configuration redundantly enables OSPF on both interfaces via both the `ip ospf 1 area 0` interface-level command and the `network` statements under the OSPF process. This is valid and does not cause conflicts; OSPF will form adjacencies on both interfaces as intended. The router-id 2.2.2.2 is explicitly configured and will not be overridden by any loopback IP unless the router-id is not set or is removed.

What should I do if I get this 300-410 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More 300-410 practice questions

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This 300-410 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 300-410 exam.