CCNA OSPF Questions

24 of 174 questions · Page 3/3 · OSPF topic · Answers revealed

151
Multi-Selectmedium

A branch router is running single-area OSPF. An engineer wants an interface to advertise its connected network into OSPF but must prevent hello packets from being sent on that LAN segment. Which two actions achieve that goal?

Select 2 answers
A.Enable OSPF on the interface or matching network statement
B.Configure the interface as passive in the OSPF process
C.Set the interface network type to point-to-point
D.Apply distribute-list out on the interface
AnswersA, B

OSPF must still be enabled for the connected subnet to be advertised.

Why this answer

In OSPF, a passive interface still advertises the connected network but does not send or process hello packets. So the interface must participate in OSPF, and then it must be made passive.

Exam trap

A frequent exam trap is assuming that changing the OSPF network type or applying a distribute-list on the interface will stop hello packets. Many candidates mistakenly believe that setting the interface to point-to-point suppresses hellos, but it only changes adjacency behavior. Similarly, distribute-lists filter routing updates but do not affect hello packet transmission.

The key mistake is forgetting that OSPF must be enabled on the interface to advertise the network and that only the passive-interface command prevents hello packets while still advertising the connected subnet.

Why the other options are wrong

C

Setting the interface network type to point-to-point changes adjacency behavior but does not suppress hello packets. Therefore, it does not meet the requirement to prevent hello packet transmission.

D

Applying a distribute-list out on the interface filters routing updates but does not affect the sending of OSPF hello packets. It does not prevent hello packet transmission on the LAN segment.

152
MCQhard

On a broadcast multiaccess segment, R3 has an OSPF priority of 255, but it is in the DROTHER state. Which explanation best fits OSPF behavior?

A.DR election is nonpreemptive on broadcast networks
B.A router cannot become DR if it uses a loopback router ID
C.OSPF priority works only on point-to-point links
D.R3's priority is lower than the current DR's priority
AnswerA

Changing priority later does not automatically replace the existing DR.

Why this answer

On broadcast networks, OSPF DR and BDR election is not preemptive. If a DR is already elected, giving another router a higher priority later does not force a new election unless the current DR goes down or OSPF is reset on the segment.

Exam trap

A common exam trap is assuming that increasing a router's OSPF priority after the DR election will cause it to immediately become the new DR. Many candidates mistakenly believe OSPF DR election is preemptive and that the router with the highest priority always becomes DR instantly. However, OSPF DR election on broadcast networks is nonpreemptive, meaning the current DR remains until it fails or OSPF adjacency resets.

This misunderstanding can lead to incorrect answers about why a router with a higher priority remains DROTHER, as in the case of R3 in the question.

Why the other options are wrong

D

This distractor assumes the election is based on current priority values, but OSPF DR election is nonpreemptive; even if R3's priority is higher, it will not become DR unless the current DR fails.

153
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure single‑area OSPFv2 on a router, advertise the 192.168.10.0/24 and 10.0.0.0/24 networks in area 0, and set the GigabitEthernet0/0 interface as passive.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

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

Why this order

The correct sequence is: (1) Enter global configuration mode with 'configure terminal' – this is required before any configuration commands. (2) Initiate the OSPF process with 'router ospf 1' – this places the CLI into OSPF router configuration mode where the remaining commands are issued. (3) Advertise the 192.168.10.0/24 network in area 0 – the 'network' command must be issued under OSPF router mode to inject the connected network into OSPF. (4) Advertise the 10.0.0.0/24 network – a second 'network' statement; the order of network commands is interchangeable but they must be configured before setting passive interfaces in a logical workflow. (5) Configure GigabitEthernet0/0 as a passive interface – this prevents OSPF Hello packets and neighbor adjacency on that interface while still advertising its subnet, and it is configured under OSPF router mode. (6) Return to privileged EXEC mode with 'end' – exits configuration mode and returns to the enable prompt. While setting a passive interface before the network statement does not break the configuration, Cisco documentation suggests adding networks first to clearly define which interfaces participate in OSPF before applying passive-interface restrictions.

154
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure OSPFv3 for IPv6 on a Cisco IOS-XE router and verify the OSPFv3 neighbor adjacency and route installation.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

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

Why this order

The correct sequence ensures IPv6 routing is enabled first, then the OSPFv3 process is created, applied to the interface, and finally verified for adjacency and route installation.

Exam trap

Do not skip the 'ipv6 unicast-routing' command; without it, OSPFv3 will not function. Also, remember that OSPFv3 uses a router ID that must be configured manually or via an IPv4 address.

155
PBQhard

You are connected to R1 via console. R1 and R2 are connected via two serial links: Serial0/0/0 (10.0.0.1/30) and Serial0/0/1 (10.0.0.5/30). OSPF is configured on both links. However, the OSPF neighbor adjacency is stuck in EXSTART/EXCHANGE state. You suspect a mismatch in OSPF parameters. You need to identify and fix the issue.

Network Topology
S0/0/010.0.0.1/30S0/0/010.0.0.2/30R1R2

Hints

  • EXSTART/EXCHANGE state indicates a problem with the Database Descriptor (DBD) packet exchange.
  • Check the MTU on the interfaces; a mismatch can cause this issue.
  • Use show ip interface to verify the MTU value.
A.Check and adjust the MTU on the serial interfaces to match.
B.Check and adjust the OSPF hello and dead timers to match.
C.Check and adjust the OSPF network type on the interfaces to match.
D.Check and adjust the OSPF area ID on the interfaces to match.
AnswerA
solution
! R1
interface Serial0/0/0
ip mtu 1400

! R2
interface Serial0/0/0
ip mtu 1400

Why this answer

The adjacency stuck in EXSTART/EXCHANGE is often due to an MTU mismatch. If one interface has a lower MTU, the DBD packets may be fragmented or rejected, preventing the exchange of LSAs. Setting the same MTU on both sides resolves the issue.

Exam trap

Do not confuse the symptoms of MTU mismatch with other OSPF parameter mismatches. MTU mismatch specifically causes problems in EXSTART/EXCHANGE, while timer mismatches cause issues in INIT/2-WAY, and area ID mismatches prevent adjacency entirely.

Why the other options are wrong

B

The specific factual error is that timer mismatches affect the neighbor discovery phase, not the database exchange phase.

C

The specific factual error is that network type affects the election of DR/BDR and adjacency formation, but not the DBD exchange process.

D

The specific factual error is that area ID mismatches cause OSPF to ignore hello packets, so the adjacency never progresses beyond DOWN.

156
MCQhard

A network engineer is troubleshooting an OSPFv3 adjacency issue between two directly connected routers. Both routers are configured for OSPFv3 in area 0 on their GigabitEthernet0/0 interfaces. The engineer checks the OSPFv3 neighbor status on R1 and sees that the neighbor state is stuck in EXSTART. The engineer verifies that both interfaces are up and have IPv6 link-local addresses. What is the most likely cause of this problem?

A.Configure a global unicast IPv6 address on the interface.
B.Ensure that the MTU is the same on both sides of the link.
C.Change the router ID to be the same on both routers.
D.Change the network type to point-to-point.
AnswerB

An MTU mismatch can cause OSPFv3 to get stuck in EXSTART state because DBD packets exceed the MTU of one interface.

Why this answer

The EXSTART state in OSPF indicates that the routers have formed a bidirectional communication and are negotiating the master/slave relationship and the initial Database Description (DBD) packet exchange. A common cause for getting stuck in EXSTART is an MTU mismatch between the two interfaces, which prevents the DBD packets from being accepted by the neighbor, causing the process to stall.

Exam trap

Cisco often tests the MTU mismatch as a specific cause for OSPF adjacency being stuck in EXSTART, and candidates may mistakenly focus on router IDs or addressing instead of the packet size negotiation.

Why the other options are wrong

A

The problem is not due to missing global addresses; the adjacency is stuck at EXSTART, not at DOWN or INIT.

C

The show output shows different router IDs (192.168.1.1 and 192.168.1.2), so this is not the issue.

D

The adjacency is stuck in EXSTART, which is not typically resolved by changing network type; the issue is related to packet exchange.

157
MCQhard

Two OSPF routers connected over Ethernet fail to become neighbors. Their interfaces are up/up and in the same IPv4 subnet. One router uses area 0 and the other uses area 1 on the connecting interfaces. What is the most likely cause?

A.Mismatched OSPF process IDs
B.Mismatched OSPF areas on the shared link
C.Missing default routes
D.Different router IDs
AnswerB

Correct. The area mismatch is a neighbor-forming failure condition.

Why this answer

OSPF neighbors on the same link must agree on key parameters, including the area assigned to that interface. A mismatch prevents the adjacency from forming.

Exam trap

A common exam trap is assuming that OSPF process IDs must match between neighbors for adjacency to form. Many candidates mistakenly focus on process ID alignment, but OSPF process IDs are locally significant and do not need to match. The real cause of adjacency failure in this scenario is the mismatch in OSPF area IDs on the shared link.

This subtle difference often leads to confusion, causing candidates to overlook the critical role of area consistency in neighbor formation and select incorrect answers related to process IDs or router IDs.

Why the other options are wrong

A

Mismatched OSPF process IDs do not prevent neighbor formation because process IDs are locally significant identifiers on each router. They do not need to match for adjacency to form, so this option is incorrect.

C

Missing default routes do not affect OSPF neighbor formation. Default routes influence routing decisions but are not required for establishing OSPF adjacencies, so this option is incorrect.

D

Different router IDs are necessary for OSPF neighbors to uniquely identify each router. Having different router IDs does not cause adjacency failure, so this option is incorrect.

158
Multi-Selectmedium

Which TWO statements correctly describe OSPFv2 DR/BDR election behavior in a multi-access network?

Select 2 answers
A.The router with the highest OSPF interface priority is elected as the DR.
B.A router with OSPF priority 0 can become the BDR if no other router has a higher priority.
C.If two routers have equal priority, the router with the highest router ID (RID) is elected as the DR.
D.The DR election is preemptive; a new router with a higher priority will immediately take over as DR.
E.All routers on a multi-access network form full adjacencies with the DR and BDR only.
AnswersA, C

The DR is elected based on the highest interface priority (0-255, default 1).

Why this answer

Options A and C are correct: OSPFv2 DR election first compares interface priority (highest wins), and if equal, the highest Router ID (RID) wins. Option B is incorrect because a priority of 0 prevents a router from ever becoming DR or BDR. Option D is incorrect because the election is non‑preemptive; a router with higher priority won't take over until the current DR/BDR fails.

Option E is incorrect because DR and BDR form full adjacencies with all routers on the segment, not just with each other.

Exam trap

Cisco often tests the misconception that a priority 0 router can become BDR if no other router has a higher priority, but in reality, priority 0 means the router is never elected as DR or BDR.

Why the other options are wrong

B

Priority 0 excludes the router from DR/BDR election entirely; it can only become a DROTHER.

D

A new router with a higher priority does not trigger a new election unless the existing DR or BDR goes down.

E

DROTHERs do not form full adjacencies among themselves; they only exchange LSAs via the DR/BDR.

159
PBQhard

You are connected to R1 via console. The network administrator has attempted to configure OSPFv2 between R1, R2, and R3 but OSPF neighbor adjacencies are failing. Configure R1 to correct all issues so that R1 becomes FULL neighbors with both R2 and R3. Do not modify any other device's configuration.

Hints

  • Check if OSPF is sending hello packets on the interfaces.
  • Review the passive-interface configuration on R1.
  • The network statements are correct; the issue is with hello suppression.
A.Remove the 'passive-interface default' command and remove the 'passive-interface GigabitEthernet0/0' and 'passive-interface GigabitEthernet0/1' commands under OSPF configuration.
B.Add 'no passive-interface GigabitEthernet0/0' and 'no passive-interface GigabitEthernet0/1' under OSPF configuration, but keep 'passive-interface default'.
C.Change the network statements to include the correct wildcard masks for the subnets on GigabitEthernet0/0 and GigabitEthernet0/1.
D.Add 'ip ospf network point-to-point' on both GigabitEthernet0/0 and GigabitEthernet0/1 interfaces.
AnswerB
solution
! R1
configure terminal
router ospf 1
no passive-interface GigabitEthernet0/0
no passive-interface GigabitEthernet0/1
end

Why this answer

The core issue is that R1 has 'passive-interface default' under the OSPF process, which prevents all interfaces from sending or receiving OSPF hello packets, breaking neighbor formation. The correct fix is to override this default with 'no passive-interface' on the interfaces that connect to neighbors (GigabitEthernet0/0 and GigabitEthernet0/1), allowing OSPF to form adjacencies while keeping other interfaces passive for security. Option B matches the solution commands and is the intended approach.

Option A would also work but removes the default entirely, potentially enabling OSPF on all interfaces, which is not the recommended best practice in this scenario.

Exam trap

When 'passive-interface default' is configured, you must explicitly enable OSPF on neighbor-facing interfaces with 'no passive-interface'; simply removing the default (Option A) is not the intended solution and may expose unintended interfaces to OSPF.

Why the other options are wrong

A

Although removing 'passive-interface default' would also restore OSPF on these interfaces, the solution commands show the preferred method of overriding the default selectively, making this option incorrect for the given scenario.

C

The network statements on R1 already correctly include the /30 subnets, so there is no need to change wildcard masks.

D

The OSPF network type defaults to broadcast, which is appropriate for Ethernet links; changing to point-to-point does not resolve the passive-interface issue and would not fix hello suppression.

160
Drag & Dropmedium

Drag and drop the following OSPFv2 neighbor state transitions into the correct order, starting from the initial state when no neighbor information has been received.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

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

Why this order

OSPF neighbor states begin at Down, then Init after receiving Hello, 2-Way after seeing own router ID, ExStart for master/slave negotiation, and Exchange for exchanging database descriptors.

Exam trap

Do not confuse the order of ExStart and Exchange; ExStart always precedes Exchange. Also, remember that 2-Way comes after Init, not before.

161
MCQhard

Why is traffic to 10.10.10.200 using the EIGRP route instead of the OSPF route, given that both routes have the same prefix length?

A.Because EIGRP has a lower administrative distance than OSPF for the same prefix length.
B.Because OSPF routes are never installed when EIGRP is present.
C.Because OSPF can be used only for IPv6 routes.
D.Because EIGRP routes always have a smaller subnet mask than OSPF routes.
AnswerA

This is correct because both routes are /24, so administrative distance becomes decisive and EIGRP wins.

Why this answer

When two routes have the same prefix length, the router uses administrative distance to choose the route with the lowest value. EIGRP has a default administrative distance of 90, while OSPF uses 110. Therefore, the EIGRP route is preferred.

Exam trap

A common mistake is to assume that OSPF routes always have a lower administrative distance than EIGRP routes.

Why the other options are wrong

B

OSPF routes are installed when EIGRP is present; routing protocols coexist and the route with the lowest AD is selected.

C

OSPF supports both IPv4 and IPv6; it is not limited to IPv6.

D

EIGRP routes do not always have a smaller subnet mask; prefix length is determined by the network design, not the routing protocol.

162
MCQmedium

R1 receives an OSPF route to 10.55.0.0/16 and already has a static route to 10.55.10.0/24. Which route will be used for traffic sent to 10.55.10.25?

A.The OSPF /16 route, because dynamic routes override static routes learned later.
B.The static /24 route, because it is the longest-prefix match.
C.Both routes equally, because they point to the same major network.
D.Neither route, because overlapping routes are invalid.
AnswerB

Route lookup prefers the most specific matching prefix.

Why this answer

The static /24 route is more specific than the OSPF /16 route, so longest-prefix match wins. Administrative distance is only compared among routes to the same prefix length.

Exam trap

Remember that the longest-prefix match rule takes precedence over administrative distance when routes have different prefix lengths.

Why the other options are wrong

A

This option is incorrect because static routes are preferred over dynamic routes in OSPF when both are present, regardless of when they were learned. The static route to 10.55.10.0/24 will be used due to its longer prefix match.

C

This option is incorrect because OSPF routes do not share equal preference with static routes; the static /24 route will be preferred due to its longer prefix length, making it the best match for the specific destination IP.

D

This option is incorrect because overlapping routes are valid in routing protocols like OSPF, and both routes can coexist in the routing table. The static route to 10.55.10.0/24 is valid and will be preferred due to its longer prefix length.

163
MCQhard

Refer to the exhibit. A network engineer is verifying OSPF routing on R1. All routers in the topology are expected to reside in OSPF area 0, and the network 172.16.0.0/16 should be advertised from R2 within the same area. The engineer issues the show ip route 172.16.0.0 command on R1 and sees the output in the exhibit. The engineer expected to see an intra-area route (O) instead of an inter-area route (O IA). What is the most likely cause of this discrepancy?

A.R1 has a mismatched OSPF process ID compared to the ABR.
B.The network type on GigabitEthernet0/0 is configured as non-broadcast, preventing full adjacency.
C.The metric for the route is too high, causing OSPF to treat it as an inter-area route.
D.The destination network 172.16.0.0/16 is located in a different OSPF area.
AnswerD

The routing table entry shows 'type inter area'. This indicates the prefix is being learned via an OSPF Type-3 summary LSA, which is only generated when the network is in a different area than the local router. Therefore, the network is indeed in a different area, contradicting the assumption that R1 and the destination are both in area 0.

Why this answer

The exhibit explicitly lists the route type as 'inter area' for 172.16.0.0/16. In OSPF, an inter-area (IA) route means the destination network resides in a different OSPF area than the local router. Since all routers are expected to be in area 0, the presence of an IA route indicates the 172.16.0.0/16 network is actually located in a different area, causing the ABR to generate a Type-3 summary LSA.

Exam trap

Many candidates incorrectly choose option C, believing that a high OSPF metric can change the route type from intra-area to inter-area. OSPF route types are determined solely by the LSA type and area topology, not by the metric value.

Why the other options are wrong

A

Candidates mistakenly assume that OSPF process IDs must match globally for proper LSA exchange, but they are only locally significant.

B

Candidates may think that the network type influences the OSPF LSA type, but it only affects neighbor discovery and DR/BDR election, not the area origin of LSAs.

C

Candidates sometimes confuse the metric influence with the route type, thinking that OSPF converts routes when the cost exceeds a threshold.

164
MCQhard

R1 and R2 are connected via a shared Ethernet segment. Both routers are configured in OSPF area 0 and are on the same IP subnet. OSPF authentication is enabled on both interfaces, but the adjacency is not forming. What is the most likely reason?

A.The OSPF authentication key does not match on the two routers.
B.The routers must use different OSPF areas to become neighbors.
C.OSPF message-digest authentication can be used only on serial links.
D.The routers must remove IP addressing before OSPF can form.
AnswerA

This is correct because an authentication mismatch prevents OSPF adjacency on the shared segment.

Why this answer

The most likely reason is an OSPF authentication mismatch. In practical terms, both routers are on the same IP subnet and in the same area, but they are not using the same authentication key on the shared link. OSPF neighbors must agree on key authentication parameters before they will trust each other enough to form an adjacency.

This is a classic CCNA troubleshooting pattern because the configuration looks almost correct until you compare the security settings carefully.

Exam trap

A frequent exam trap is selecting an answer that incorrectly states OSPF authentication is limited to serial links or that routers must be in different areas to form adjacency. Candidates may also mistakenly believe that removing IP addressing is necessary for OSPF to form. These misconceptions overlook that OSPF authentication applies to Ethernet interfaces and that neighbors must be in the same area and subnet with matching authentication keys.

Misreading these details leads to choosing incorrect options that seem plausible but contradict OSPF adjacency rules.

Why the other options are wrong

B

This option is incorrect because OSPF neighbors must be in the same area to form adjacency. Using different areas on the same segment prevents adjacency, so this option contradicts OSPF area rules.

C

This option is incorrect because OSPF authentication, including message-digest (MD5), is supported on Ethernet interfaces, not just serial links. Authentication is not limited by interface type.

D

This option is incorrect because OSPF requires valid IP addressing on interfaces to operate. Removing IP addressing disables OSPF on that link, so adjacency cannot form without IP addresses.

165
Drag & Dropmedium

Drag and drop the following OSPFv2 neighbor state transitions and DR/BDR election steps into the correct order for a multi-access network where a new router joins an existing OSPF area.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

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

Why this order

The new router first discovers neighbors via Hello. Then DD, LSR, LSU exchange synchronizes databases. DR/BDR election happens before Full state is achieved.

Exam trap

Do not confuse the order of ExStart and Exchange, or Loading and Full. Remember that DR/BDR election occurs after 2-Way and before ExStart.

166
MCQmedium

A network engineer enters the following configuration on R1 and R2, but R1 cannot form an OSPF adjacency with R2 on interface GigabitEthernet0/0. R1# show running-config interface GigabitEthernet0/0 interface GigabitEthernet0/0 ip address 10.0.0.1 255.255.255.0 ip ospf hello-interval 10 ip ospf dead-interval 40 ip ospf 1 area 0 ! R2# show running-config interface GigabitEthernet0/0 interface GigabitEthernet0/0 ip address 10.0.0.2 255.255.255.0 ip ospf hello-interval 5 ip ospf dead-interval 20 ip ospf 1 area 0 What is the most likely cause of the failure?

A.The routers are in different OSPF areas.
B.The OSPF timers on the interface do not match.
C.The subnet mask prevents multicast OSPF packets from being exchanged.
D.The OSPF process IDs do not match on the two routers.
AnswerB

This is correct because the interfaces are configured with different hello and dead intervals. OSPF neighbors expect those timers to align, and if they do not, the routers reject the neighbor relationship. The addressing and area assignment are fine, but the timer mismatch blocks adjacency formation.

Why this answer

The routers must agree on hello and dead timers to establish an OSPF adjacency. R1 uses hello=10 and dead=40, while R2 uses hello=5 and dead=20; this mismatch prevents the neighbor relationship. Although both routers share the same area (0) and subnet mask, and OSPF process IDs are locally significant (no match required), the timer difference is the root cause.

Exam trap

Remember that OSPF process IDs are locally significant and do not need to match between routers.

Why the other options are wrong

A

This option is incorrect because OSPF can still form adjacencies between routers in different areas, provided they are correctly configured to do so. The issue in this scenario is related to OSPF timers, not area mismatches.

C

This option is incorrect because OSPF can still exchange multicast packets even if the subnet mask is not configured correctly, as long as the interfaces are up and configured for OSPF. The failure to form an adjacency is more likely due to mismatched OSPF timers.

D

This option is wrong because OSPF process IDs do not need to match for routers to form an adjacency; they only need to be in the same area and have matching network statements.

167
MCQhard

An administrator has just configured OSPF in a single area between router R1 and router R2, which are directly connected via their Gi0/0 interfaces with IP addresses 10.0.0.1/30 and 10.0.0.2/30. On R1, the command show ip ospf neighbor shows no entries, and a further check on R2 with show ip ospf interface gi0/0 indicates that the interface is passive. Which configuration error is most likely causing the adjacency failure?

A.The network command on R1 does not cover the 10.0.0.0/30 subnet.
B.R2 has the passive-interface default command but no no passive-interface command for Gi0/0.
C.The OSPF process IDs on R1 and R2 are mismatched.
D.The hello and dead intervals on R1 and R2 are not the same.
AnswerB

The passive-interface default command sets all OSPF interfaces to passive mode. To allow neighbor adjacency on a specific interface, a no passive-interface <interface> command is required. Without it, Gi0/0 remains passive, preventing OSPF hellos and adjacency formation.

Why this answer

The output on R2 shows the Gi0/0 interface is passive, meaning OSPF will not send or receive hello packets on that interface, preventing neighbor discovery. The passive-interface default command makes all interfaces passive by default, and without a no passive-interface Gi0/0 command, the interface remains passive, blocking adjacency formation. This directly explains why R1's show ip ospf neighbor shows no entries.

Exam trap

Cisco often tests the distinction between passive-interface default and the need for explicit no passive-interface commands, as candidates may assume that OSPF will automatically form adjacencies on directly connected interfaces without considering passive configuration.

Why the other options are wrong

A

This option fails to account for the explicit passive interface state shown on R2. A missing network statement would not cause the interface to be displayed as passive; it would simply not be enrolled in the OSPF process.

C

This is a common misconception, but process ID mismatch does not affect OSPF neighbor formation. The passive interface status on R2 directly contradicts this as the cause.

D

The passive interface status would not appear if the only issue were interval mismatches; the interface would still be active and sending hellos. This directly conflicts with the given show output.

168
MCQhard

After configuring the area 0 range 10.0.0.0 255.255.0.0 command on an OSPF ABR, a technician finds that a host at 10.0.5.100 in Area 1 cannot reach hosts in Area 0. The ABR’s OSPF database shows only the summary 10.0.0.0/16 in Area 0, and no individual /24 routes. What is the most likely cause?

A.The ABR is filtering the specific /24 routes using a distribute-list under the OSPF process.
B.The routers in Area 1 are no longer advertising their /24 routes to the ABR because the ABR is in a different area.
C.The area range command causes the ABR to advertise only the summary LSA and suppress the more-specific Type-3 LSAs for the range.
D.The ABR has automatically created a discard route to null0 for the summary, which is dropping all traffic destined to the summarized networks.
AnswerC

By default, the area range command summarizes the specified prefix range and suppresses the individual component routes from being advertised into the target area. Only the summary LSA appears in Area 0, which matches the observed behavior.

Why this answer

The area 0 range command on an OSPF ABR creates a summary Type-3 LSA and suppresses the more-specific Type-3 LSAs within that range. This is expected OSPF route summarization behavior; only the summary route is advertised into Area 0, which explains why the /24 routes are missing. The ABR continues to forward traffic properly because it retains specific routes learned from Area 1, so connectivity within the summary should still work under normal conditions.

The other answers either describe non-existent configurations or misunderstand the discard route's role.

Exam trap

Many candidates mistake the null0 discard route for an immediate black hole, but it only drops packets when no more-specific route exists in the ABR’s routing table. In this case, the ABR still has the /24 routes from Area 1, so the discard route does not block traffic.

Why the other options are wrong

A

A distribute-list requires explicit configuration; its absence makes this an unsubstantiated guess.

B

Area border routers receive all LSAs from non-backbone areas; the area boundary does not stop LSA propagation to the ABR itself.

D

The null0 route is a loop-prevention mechanism, not an absolute traffic blocker; more-specific entries in the routing table take precedence.

169
MCQhard

A technician is troubleshooting an OSPF network. On a broadcast segment, R1 is the DR and R2 is the BDR. R1's interface GigabitEthernet0/0 is shut down for maintenance. The technician expects that R2 will assume the DR role, but instead a new DR election occurs and another router is elected DR. What is the most likely cause?

A.The OSPF hello and dead intervals on R2 do not match those of other routers on the segment.
B.R2 has an OSPF priority of 255.
C.The OSPF network type on the segment was changed to point-to-point.
D.R2 has an OSPF priority of 0.
AnswerD

On a broadcast OSPF network, a priority of 0 makes a router ineligible for DR or BDR election. Even though R2 was the BDR, its priority of 0 prevents it from taking over as DR when R1 fails. Consequently, a new DR election is triggered among the remaining eligible routers, and a router other than R2 becomes the new DR.

Why this answer

When the DR fails on a broadcast OSPF network, the BDR normally takes over as DR and a new BDR is elected. However, if the BDR's OSPF priority is set to 0, the router is ineligible to become DR or BDR. With the DR down and the BDR ineligible, the remaining routers must hold a fresh election, and the router with the highest non-zero priority (or highest router-ID if priorities tie) becomes the new DR.

Therefore, R2's priority of 0 explains why it did not become DR and a new election was triggered.

Exam trap

Many candidates assume the BDR becomes DR automatically when the DR fails, forgetting that an OSPF priority of 0 makes a router ineligible for DR/BDR elections. If the BDR has priority 0, it will not become DR; instead, a new election occurs among the other routers.

Why the other options are wrong

A

Neighbor adjacency failure due to timer mismatch would have prevented R2 from becoming BDR at all.

B

High priority increases the chance of being elected DR, not decrease it.

C

Point-to-point networks do not have DR/BDR elections, so R2 could not have been BDR.

170
Matchingmedium

Drag and drop the OSPFv3 commands/terms on the left to the correct descriptions on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Enables OSPFv3 on a specific interface and assigns it to an area

Displays OSPFv3 neighbor adjacencies, state, and neighbor ID

Used for OSPFv3 neighbor discovery and as next-hop address

Enters OSPFv3 router configuration mode to enable the routing process

The backbone area required for all inter-area OSPFv3 routing

Lists OSPFv3-enabled interfaces, their area, and state

Why these pairings

These commands and terms are accurately paired with their OSPFv3 descriptions as per Cisco IOS.

Exam trap

Candidates often confuse the Router ID with other OSPF identifiers like the Link State ID. Remember that the Router ID uniquely identifies the router itself, while the Link State ID identifies a specific LSA. Also, do not confuse LSA types with router identifiers.

171
Drag & Dropmedium

Drag and drop the following commands into the correct order to configure OSPFv3 for IPv6 on a Cisco IOS-XE router.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

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

Why this order

First enable IPv6 routing, then create the OSPFv3 process, then assign the process to interfaces under interface configuration mode.

Exam trap

Do not confuse the order with OSPFv2. For OSPFv3, you must first enable IPv6 routing globally; otherwise, the router will reject OSPFv3 configuration commands.

172
MCQhard

R1 and R2 are directly connected via Ethernet on interface G0/0. Both interfaces are in the same subnet and configured for OSPF area 0. After enabling OSPF, R1's G0/0 is stuck in the INIT state in the OSPF neighbor table. What is the most likely cause?

A.MTU mismatch
B.Hello and dead timer mismatch
C.Missing router ID on both routers
D.A duplicate static route to 10.1.12.0/30
AnswerB

Correct choice.

Why this answer

Being stuck in the INIT state means R1 has received Hello packets from R2 but has not transitioned to the 2-WAY state. This most often occurs when critical OSPF parameters like the hello and dead timers do not match. An MTU mismatch, while problematic, would cause the adjacency to fail during database exchange (Exstart/Exchange), not during initial neighbor formation.

Missing router IDs are not a real issue because routers auto-generate them, and a duplicate static route to the connected subnet would not affect OSPF neighbor discovery.

Exam trap

A common exam trap is selecting MTU mismatch or missing router IDs as the cause of OSPF adjacency failure. While MTU mismatches can cause adjacency issues during database exchange, they do not prevent the initial neighbor relationship from forming. Missing router IDs do not block adjacency because routers automatically generate IDs if none are configured.

Another trap is confusing static routes with neighbor discovery; static routes do not influence OSPF adjacency. The key is to focus on timer mismatches, as hello and dead intervals must be identical for routers to recognize each other as neighbors and establish adjacency.

Why the other options are wrong

A

MTU mismatch can cause OSPF adjacency problems during the database exchange phase, but it does not typically prevent the initial neighbor relationship from forming. Since the question states adjacency cannot form, MTU mismatch is unlikely the primary cause.

C

Missing router IDs do not prevent OSPF adjacency because routers automatically generate a router ID if none is configured. Therefore, this option is not a valid cause for adjacency failure.

D

A duplicate static route to 10.1.12.0/30 does not affect OSPF neighbor formation, as static routes are unrelated to OSPF adjacency processes. This option is irrelevant to the adjacency issue.

173
MCQhard

A network engineer is troubleshooting OSPFv3 adjacency between two directly connected Cisco routers, R1 and R2, both running IOS-XE. The engineer configures OSPFv3 on both routers but notices that the adjacency does not form. The engineer runs 'show ospfv3 neighbor' on R1 and sees no neighbors. What is the most likely cause of this issue?

A.The OSPFv3 process ID must match on both routers.
B.The interface GigabitEthernet0/0 is missing the 'ospfv3 1 ipv6 area 0' command.
C.The link-local addresses are not in the same subnet.
D.The router ID 1.1.1.1 is duplicated on R2.
AnswerB

Without this command, OSPFv3 is not enabled on the interface, preventing adjacency formation.

Why this answer

Option B is correct because OSPFv3 requires explicit interface-level configuration to enable the protocol on a specific interface. The correct command is 'ospfv3 1 ipv6 area 0' (or 'ipv6 ospf 1 area 0' for the traditional OSPFv3 configuration). Without this command, the interface does not participate in OSPFv3, so no Hello packets are sent or received, preventing adjacency formation.

Exam trap

Cisco often tests the distinction between OSPFv2 (where enabling the protocol under the routing process automatically activates it on all interfaces with 'network' statements) and OSPFv3 (which requires explicit per-interface activation), leading candidates to overlook the mandatory interface-level command.

Why the other options are wrong

A

This is a common misconception; OSPFv3 uses the router ID for neighbor identification, not the process ID.

C

Link-local addresses are automatically configured and do not affect OSPFv3 adjacency as long as they are unique.

D

In this scenario, no neighbors are seen, indicating a more fundamental issue like OSPFv3 not being enabled on the interface.

174
PBQhard

You are connected to R1. Configure single-area OSPFv2 on R1 and R2 so that they become fully adjacent. The link between them is 10.0.0.0/30, with R1 using G0/0 and R2 using G0/1. The current configuration has mismatched hello/dead timers: R1's G0/0 uses hello 10 and dead 40, while R2's G0/1 uses hello 30 and dead 120. Also, the 'passive-interface loopback0' command is missing on R1. Ensure OSPF is enabled in area 0, use router-id 1.1.1.1 on R1 and 2.2.2.2 on R2, and correct the timer mismatch.

Network Topology
G0/010.0.0.1/30G0/110.0.0.2/30linkR1R2

Hints

  • Check the hello/dead timers on both routers' interfaces.
  • The loopback0 interface should not send OSPF hellos.
  • Use 'ip ospf hello-interval' and 'ip ospf dead-interval' on the interface with wrong timers.
A.On R2, configure 'ip ospf hello-interval 10' and 'ip ospf dead-interval 40' under G0/1. On R1, configure 'passive-interface loopback0' under router ospf.
B.On R1, configure 'ip ospf hello-interval 30' and 'ip ospf dead-interval 120' under G0/0. On R2, configure 'passive-interface loopback0' under router ospf.
C.On R1, configure 'ip ospf hello-interval 10' and 'ip ospf dead-interval 40' under G0/0. On R2, configure 'passive-interface loopback0' under router ospf.
D.On R2, configure 'ip ospf hello-interval 30' and 'ip ospf dead-interval 120' under G0/1. On R1, configure 'passive-interface loopback0' under router ospf.
AnswerA
solution
! R1
configure terminal
router ospf 1
passive-interface loopback0
end
write memory

! R2
configure terminal
interface gigabitethernet0/1
ip ospf hello-interval 10
ip ospf dead-interval 40
end
write memory

Why this answer

The adjacency fails because R2's G0/1 has hello/dead timers of 30/120, while R1's G0/0 uses 10/40. To fix, on R2 under interface G0/1, use 'ip ospf hello-interval 10' and 'ip ospf dead-interval 40'. Additionally, R1's loopback0 is advertised via a /32 network statement but should be made passive to prevent OSPF hellos from being sent out (where no neighbor exists).

On R1, configure 'passive-interface loopback0' under router ospf. After both changes, adjacency forms.

Exam trap

Watch out for timer mismatches: OSPF requires hello and dead intervals to match between neighbors. Also, remember that loopback interfaces should be made passive to avoid unnecessary OSPF hellos. Do not confuse which router needs the timer change or where the passive-interface command should be applied.

Why the other options are wrong

B

The specific factual error is that the passive-interface command is applied on the wrong router (R2 instead of R1) and the timers are changed on R1 instead of R2.

C

The specific factual error is that the timer change is applied to the wrong interface (R1's G0/0 already has correct timers) and the passive-interface is applied to the wrong router.

D

The specific factual error is that the timer values are not changed; they remain mismatched with R1's timers.

← PreviousPage 3 of 3 · 174 questions total

Ready to test yourself?

Try a timed practice session using only OSPF questions.