CCNP : OSPF Quick Notes


Points to remember

· When priority is set to 0,that router won’t participate in DR/BDR election

· When other routing protocol routes are being redistributed into OSPF, Make sure "Subnet" option is added

· If ping to fails, it means Router have no OSPF neighbors

· When OSPF is enabled across an NBMA network -- DR BDR election will occur. We need to configure neighbor command to build adjacencies

· If no Loopback is configured, Highest IP address will be the DR

· OSPFv3 for IPv6 authentication is supported by IPv6 IPSec.

· By default, redistribution of routes from other routing protocols into OSPF will appear as type E2 routes in OSPF routing table

· When implementing OSPFv3, In interface configuration mode, the IPv6 OSPF process area ID combination assigns interfaces to OSPFv3 areas.

· In OSPF, Router will only establish full adjacency with the DR and BDR on broadcast multi-access networks.

· OSPF Network LSAs are originated by the DR on every multi-access network. They include all attached routers including the DR itself

· In OSPF, If a router is stuck in INIT STATE means that router didn’t receive hello packets from neighboring router

· To make an area "totally stubby" we must apply the "area <area-id> stub no-summary" on the ABR and "area <area-id> stub" commands to all other routers in that area

· Advantages of creating multiple areas in OSPF

o Less frequent SPF calculation

o Smaller routing table

o Reduced LSU overhead

· Three restrictions apply to OSPF stub areas?

o No virtual links are allowed.

o The area cannot be a backbone area.

o No Autonomous System Boundary Routers are allowed.

· The maximum number of routers per OSPF area typically depends on

o the kind of OSPF areas being implemented

o the number of external LSAs in the network

o how well the areas can be summarized

· When verifying the OSPF link state database, which type of LSAs should you expect to see within the different OSPF area types?

o All OSPF routers in stubby areas can have type 3 LSAs in their database.

o All OSPF routers in NSSA areas can have type 3 LSAs in their database.

o All OSPF routers in NSSA areas can have type 7 LSAs in their database.

· When verifying OSPF virtual link problems, which is an important item to check on the two transit OSPF routers?

o OSPF Router ID

· Two statements about route redistribution when implementing OSPF

o OSPF can import routes learned using EIGRP, RIP, and IS-IS.

o OSPF routes can be exported into BGP.

· 3 statements about OSPF areas

o Areas introduce a boundary on the link-state updates.

o All routers within an area have the exact link-state database.

o The calculation of the Dijkstra algorithm on a router is limited to changes within an area.

Show Command


show ip ospf database external

will display only the Type 5 LSAs in the OSPF topology database

show ip ospf

command displays the number of times that the OSPF Shortest Path First (SPF) algorithm has

been executed

show ip ospf neighbor

· This command is used to verify the current state of the OSPF database loading process

· To view neighbor adjacencies

S how ip ospf interfaces

view neighbor adjacencies

Show ip protocols

Display OSPF parameters such as filter, default metric, maximum paths, and number of areas configured on router


Q: You have been tasked with setting up OSPF on an existing company router usingIPv6. Which command enables OSPF for IPv6 on a router?

A. ipv6 router ospf process-id

Q: One of the most important characteristics of OSPF is multiple areas ?

A. All computation is kept within the area, with minimum communication between the areas, allowing the network to scale to larger sizes.

Q: When learning a new route, if a LSA received is not found in the topological database, what will an internal OSPF router do?

A. The LSA is flooded immediately out of all the OSPF interfaces, except the interface from which the LSA was received.


OSPF LSA type 


 OSPF order to form full adjacency

o Down


o 2way

o Exstart

o Exchange

o Loading

o Full


OSPF adj


  1. Thanks a Lot, Very Helpful :)

  2. Thanks a lot good review before interview.

  3. Really an awesome & good quick note for an interview!!!! Thank you

  4. still some of the key concepts missing. Like interface tracking, passive interface and many more!!

  5. I believe NSSA and Totally NSSA will have LSA 4. But, it is showing No in above table. Shabeer, can you please check?

  6. Very nice....can u plz add some more stuff as it is very helpful