Chapter 2 of 10 · Juniper JNCIS-SP JN0-364

OSPF

Link-state database, packet types, router ID, adjacencies, DR and BDR, areas, LSA types and troubleshooting.

  • 4topics
  • 22 minfast track

Topics in this chapter

Take them in order, or jump to the one you need.

  1. 1OSPF Packet Types and the Link-State DatabaseLearn the five OSPF packet types, LSA flooding, sequence numbers and aging, and how the OSPF link-state database is synchronized…5 min
  2. 2OSPF Router ID, Adjacencies and DR/BDRLearn OSPF router ID selection in Junos, neighbor states from Down to Full, the parameters that must match, and DR and BDR…6 min
  3. 3OSPF Area Types, Router Types and LSA TypesLearn OSPF backbone, stub, totally stubby and NSSA areas, ABR and ASBR roles, LSA types 1 to 7 and the Junos stub default-metric…5 min
  4. 4Configure, Monitor and Troubleshoot OSPFConfigure OSPF interfaces in Junos, apply export and import policy, and troubleshoot neighbors with show ospf commands and…6 min

About this chapter

What this chapter covers

OSPF is the link-state interior gateway protocol most JNCIS-SP candidates meet first. This chapter covers how OSPF routers find each other, how they build and synchronize a link-state database, how areas and LSA types keep that database manageable, and how to configure, filter and troubleshoot OSPF in Junos OS.

Questions are mostly single-answer and multiple-answer, often with show ospf neighbor, show ospf interface or show ospf database output. You must read neighbor states, LSA types and area settings from that output quickly.

It has 10 outline topics, and four pages cover them.

How the topics fit together

Routers first exchange packets to become neighbors, then synchronize their databases, then each runs SPF on the same database.

Hello packetsmatch parametersNeighborsDR and BDR electeddatabase exchangeFull adjacencyFull adjacencyLSAs floodedLink state databaseSPFRoutes in inet.0

Areas and LSA types decide which parts of the database each router holds. Routing policy decides which external routes enter OSPF and which OSPF routes are installed.

Exam tip

Memorize the Junos defaults: OSPF internal preference 10, external 150, hello 10 seconds, dead 40 seconds, DR priority 128, reference bandwidth 100 Mbps. Several questions turn on one of these values.

How to use these pages

Each topic page has the same shape, so you can skim for what you need.

  • What it is: the idea in plain words.
  • How it works: the mechanism, with configuration and tables.
  • Common mistakes: the classic traps.
  • What to remember for the exam: the facts to memorize.
  • Check yourself: three questions to test your understanding.

When a page shows command output, cover the explanation and decide first what the output says about the neighbor or the database.

Ready for more practice?

The full Juniper JNCIS-SP JN0-364 question bank has 860 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by Juniper. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.