JNCIS-ENT · domain
OSPF
This domain covers OSPF configuration and troubleshooting on Junos devices, including neighbor adjacency formation, link-state database behavior, area types, and path cost calculation. Questions test packet types, NSSA and LSA handling, reference bandwidth tuning, and the operational commands used to verify neighbor states and routing information.
Focused practice
Practice OSPF questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
What to know about OSPF
Be able to configure and verify OSPF adjacencies on Junos, interpret show ospf neighbor and database output, tune reference bandwidth for high-speed links, and identify which router translates Type 7 LSAs in an NSSA.
OSPF hello packet role in discovering neighbors and maintaining adjacencies on Junos
Default reference bandwidth and adjusting it for high-speed 10G and 40G links
NSSA Type 7 to Type 5 LSA translation performed by the NSSA ABR
Junos show ospf neighbor command output including dead timers and address bindings
Why learners struggle
Why OSPF questions are commonly missed
OSPF questions are often missed because learners confuse neighbour states, route selection rules, router IDs, areas, timers, and cost calculations. A question may look like it is testing OSPF, but the real decision may depend on administrative distance, route specificity, passive interfaces, DR/BDR behaviour, or command-output interpretation.
- ·OSPF cost vs administrative distance — they measure different things and compare differently
- ·2-Way vs FULL neighbour state — 2-Way is not always a failed adjacency
- ·DR vs BDR vs DROTHER — election depends on network type and interface priority
- ·Area mismatch vs timer mismatch — both prevent adjacency but for different reasons
- ·Passive interface vs failed adjacency — passive interfaces intentionally suppress hello packets
- ·Router ID selection — highest loopback address wins unless manually configured
- ·show ip route OSPF codes — O, O IA, O E1, O E2 describe different route sources
- ·OSPF external route types — E1 accumulates cost, E2 preserves the external cost only
Watch out for
Common OSPF exam traps
- ▸Assuming hello packets carry the full link-state database; database description and link-state request packets handle that exchange instead.
- ▸Forgetting that Junos default reference bandwidth can make high-speed interfaces share the same cost unless reference-bandwidth is adjusted.
- ▸Believing any NSSA router translates Type 7 LSAs; only the NSSA ABR performs translation into Type 5 LSAs.
Question index
All OSPF questions (41)
Click any question to see the full explanation, or start a practice session above.
What is the OSPF router ID format used by Junos OS when initializing the OSPF routing process if no explicit router ID is configured?
Easy2You are troubleshooting an OSPF network on Junos devices. A router in area 1 is not receiving external routes from an ASBR in area 0. The ABR connecting the areas is correctly configured. You suspect a problem with LSA flooding. Which LSA type is used by the ASBR to advertise external routes, and what is its flooding scope?
Hard3Which TWO features characterize OSPFv3 compared to OSPFv2? (Choose two)
Medium4You are configuring authentication for OSPF on a Junos router using MD5. Where must the MD5 key ID and password be defined in the configuration hierarchy?
Medium5Which command allows an administrator to view the OSPF link-state database (LSDB) summary on a Junos device?
Easy6You are troubleshooting an OSPF network where an NSSA area is connected to the backbone via an ABR. External routes are being injected into the NSSA by an ASBR. Which router is responsible for translating Type 7 LSAs into Type 5 LSAs before flooding them into the backbone area?
Hard7While reviewing OSPF logs on a Junos device, you notice frequent adjacency flaps. You suspect a mismatch in the OSPF timer configurations. Which two timers must match identically on adjacent OSPF interfaces for an adjacency to form?
Medium8Which OSPF packet type is used to acknowledge the receipt of Link-State Updates (LSUs) to ensure reliable flooding?
Easy9Which TWO actions occur during OSPF link-state database flooding on a Junos routing device? (Choose two)
Medium10Which TWO OSPF packet types are used for reliable flooding and direct acknowledgment of Link State Advertisements? (Choose two.)
Easy11What type of LSA is generated by an OSPF Area Border Router (ABR) to advertise networks from one area to another area?
Easy12Which Junos command displays detailed information about OSPF neighbor states, including dead timer countdowns and address bindings?
Easy13You are configuring OSPF on a Juniper router. The router must not generate any OSPF packets or form adjacencies on interface ge-0/0/1, but the interface must remain in the OSPF configuration for future use. Which configuration statement accomplishes this?
Medium14Which command is used on a Junos device to clear the OSPF database and force a re-synchronization with neighbors?
Easy15Which TWO states are valid OSPF operational adjacency states seen in Junos operational outputs? (Choose two)
Easy16What is the primary function of the OSPF Designated Router (DR) on a broadcast network segment?
Easy17An OSPF area contains routers running Junos OS where external routes must be imported into the OSPF domain from a BGP core. However, the area must not accept external AS-external LSAs (Type 5) from other areas, but must allow routers within this area to originate external routes themselves. Which area type fulfills this requirement?
Hard18An administrator needs to configure an OSPF stub area on a Juniper router. Which THREE characteristics apply to a standard OSPF stub area? (Choose three.)
Hard19You are troubleshooting an OSPF adjacency issue on a Junos router. The neighbor state is stuck in 'ExStart'. You have verified that the interfaces are up and IP connectivity exists. Which configuration mismatch is most likely causing this problem?
Hard20During the establishment of an OSPF adjacency, two routers exchange Database Description (DBD) packets. What is the primary purpose of the DBD packet exchange in the OSPF protocol sequence?
Easy21You are configuring OSPF on a Juniper router and need to control which router becomes the Designated Router (DR) on a broadcast network. Which two statements about OSPF DR election on Junos are true? (Choose two.)
Medium22An administrator is configuring OSPF on a Junos device and notices that two routers on a broadcast segment are stuck in the 2-Way state. What is the most likely cause of this behavior on a broadcast network?
Easy23When calculating OSPF path costs in a network containing high-speed links (such as 10Gbps and 40Gbps interfaces), what default reference bandwidth does Junos use, and what configuration adjustment is typically required to differentiate costs accurately?
Hard24In an OSPF NSSA configuration on a Junos device, which router is specifically responsible for translating Type 7 LSAs into Type 5 LSAs when propagating routes out of the NSSA into the backbone?
Hard25You are troubleshooting an OSPF network and notice that a router's OSPF state is stuck in 'ExStart'. What is the most common reason for this adjacency state issue?
Medium26An enterprise network runs OSPF across multiple areas. A Junos routing device receives an LSA with an aging timer approaching MaxAge (3600 seconds). Under what condition does a router purge or flush an LSA from its link-state database?
Hard27You are tasked with tuning OSPF convergence times on a Juniper EX Series switch. Which configuration command hierarchy allows you to modify the OSPF Hello and Dead intervals on a specific interface?
Medium28You are troubleshooting an OSPF network where an ASBR is injecting external routes. Routers in other areas need to reach this ASBR. Which LSA type provides the reachability information to the ASBR itself?
Medium29You are configuring OSPF route summarization on an ABR in a Junos environment. You want to summarize routes from Area 1 into Area 0. Which Junos configuration hierarchy is used to define this summary?
Hard30Which LSA type is originated by a Designated Router (DR) on a broadcast or NBMA network to describe all the routers attached to that multi-access segment?
Easy31A network engineer wants to inject external routes into an OSPF domain using Junos OS. The routes originate from an external BGP process. Which OSPF LSA type is generated by the ASBR to describe these external destinations?
Medium32Which OSPF area is mandatory in any multi-area OSPF routing architecture?
Easy33You are configuring OSPF on a Juniper EX Series switch. You want to change the OSPF hello interval and dead interval on a specific interface to improve convergence. Which configuration hierarchy should you use?
Easy34An administrator implements OSPF on a Junos router with virtual links to span a disconnected non-backbone area across a non-backbone transit area to reach Area 0. What is a key design best practice regarding OSPF virtual links in enterprise networks?
Hard35Which OSPF packet type is responsible for discovering neighbors and maintaining adjacencies on a Junos device?
Easy36During OSPF database synchronization, two Junos routers exchange Database Description (DBD) packets. One router repeatedly sends DBD packets with the master/slave bit set incorrectly or encounters sequence number mismatches, causing the adjacency to loop in the Exchange state. Which OSPF packet type is immediately sent by a router to request missing link-state information once the ExStart/Exchange transition completes?
Hard37You are configuring OSPF on a Junos device and notice that Type 3 LSAs are not being generated or propagated into a specific area. When examining the configuration under protocols ospf, you see that the area is defined with the no-summaries parameter. Which area type has been configured?
Medium38You are troubleshooting an OSPF adjacency issue between two Juniper EX Series switches. One switch logs an error stating 'OSPF packet received with mismatched area ID'. Where in the Junos CLI should you check and correct this parameter?
Medium39An operator executes the 'show ospf database' command on a Junos device and notices multiple Type 2 Network LSAs. Under which specific network topology condition are Type 2 LSAs generated?
Hard40An administrator wants to configure an OSPF Not-So-Stubby Area (NSSA) on a Junos router. Which THREE characteristics distinguish an NSSA from a standard OSPF Stub Area? (Choose three)
Hard41You are configuring OSPF on a Junos device and need to ensure that the router prefers internal OSPF intra-area paths over inter-area paths, and inter-area paths over external paths. According to OSPF route preference rules, what is the evaluation order?
MediumOther domains
All JNCIS-ENT exam domains
Frequently asked questions
- What does the OSPF domain cover on the JNCIS-ENT exam?
- Be able to configure and verify OSPF adjacencies on Junos, interpret show ospf neighbor and database output, tune reference bandwidth for high-speed links, and identify which router translates Type 7 LSAs in an NSSA.
- How many questions are in this domain?
- This page lists all 41 OSPF questions in the JNCIS-ENT question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only OSPF questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.