liveBook · Manning

Chapter 18: Open Shortest Path First

What you will learn in chapter 18 of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

Introduces OSPF as an open-standard interior gateway protocol, clarifies the meaning of its name, and sets the chapter’s focus on OSPFv2.

After this chapter you will be able to

What it builds on

Section by section

Introduction

Introduces OSPF as an open-standard interior gateway protocol, clarifies the meaning of its name, and sets the chapter’s focus on OSPFv2.

Key terms: OSPF, interior gateway protocol (IGP), open standard, Shortest Path First (SPF), Dijkstra’s algorithm, OSPFv2, OSPFv3, IPv4, IPv6

18.1 OSPF foundations

Introduces the three broad steps by which OSPF routers share routing information and build routing tables.

Key terms: neighbor relationships, routing information, connectivity map, best routes

18.1.1 The link-state database

Explains how OSPF routers flood link-state advertisements to build a shared topology map and use it to calculate routes.

Key terms: link-state advertisement (LSA), link-state database (LSDB), LSA flooding, OSPF area, network topology, SPF algorithm, distance-vector routing protocols

18.1.2 OSPF areas

Explains why OSPF uses areas in larger networks and how area structure determines router and route types.

Key terms: OSPF area, LSDB, SPF algorithm, LSAs, backbone area, area 0, non-backbone areas, internal router, backbone router, area border router

18.1.3 OSPF cost

Explains how OSPF calculates route cost, why its default bandwidth setting can produce poor path choices, and how to adjust costs safely.

Key terms: OSPF cost, metric, outgoing interface, link cost, reference bandwidth, interface bandwidth, cost, ECMP, auto-cost reference-bandwidth mbps, routing loops

18.2 OSPF configuration

Introduces how to start an OSPF process, what basic interface activation does, and why the process ID need not match on neighboring routers.

Key terms: OSPF process, router ospf process-id, network command, router config mode, LSAs, OSPF process ID, locally significant, OSPF processes

18.2.1 The router ID

Explains how an OSPF router ID is selected and changed, and why loopback interfaces provide stable router addresses.

Key terms: router ID, RID, OSPF AS, loopback interface, physical interface, loopback address, 127.0.0.0/8, physical path, router-id, clear ip ospf process

18.2.2 Activating OSPF on interfaces

This section explains why OSPF must be activated on selected interfaces and contrasts two ways to do it.

Key terms: activate OSPF, OSPF neighbors, default route, network command, ip ospf process-id area area, interface config mode

18.2.3 Passive interfaces

This section explains how passive OSPF interfaces advertise their network prefixes without sending messages to form neighbor relationships, and shows two ways to configure them.

Key terms: passive interface, network prefix, OSPF hello messages, neighbor relationships, loopback interface, passive-interface interface-name, passive-interface default, no passive-interface interface-name, router config mode

18.2.4 Advertising a default route

This section explains how an OSPF router shares a default route for external destinations and illustrates equal-cost routes in an OSPF routing table.

Key terms: default route, OSPF AS, default-information originate, ASBR, show ip protocols, show ip route ospf, ECMP, equal-cost routes, maximum-paths

18.3 Neighbors and adjacencies

This introduction identifies neighbor relationships as the first step OSPF routers need before exchanging routing information and calculating routes.

Key terms: neighbor relationships, exchanging routing information, calculating routes

18.3.1 Neighbor states

Explains how OSPF routers discover neighbors with hello messages, progress through neighbor states, synchronize routing information, and maintain the relationship.

Key terms: OSPF hello messages, RID, 224.0.0.5, multicast, Down, Init, 2-Way, OSPF neighbors, ExStart, Exchange

18.3.2 OSPF network types

Explains how OSPF network types affect neighbor discovery, timers, adjacencies, and DR/BDR elections, with a focus on broadcast and point-to-point links.

Key terms: network type, dynamic neighbor discovery, hello timer, dead timer, broadcast, designated router, backup designated router, DROther, 2-Way, LSA

18.3.3 Neighbor requirements

This subsection explains which OSPF settings affect neighbor formation and why an apparent neighbor relationship may still fail to exchange routes.

Key terms: area number, subnet, OSPF process, RIDs, hello and dead timers, authentication settings, IP MTU, neighbor, full adjacency, ExStart/Exchange states

18.4 LSA types

This section identifies three OSPF LSA types and shows how their advertisements appear in a shared link-state database.

Key terms: type 1 (Router LSA), type 2 (Network LSA), type 5 (AS External LSA), DR, ASBR, LSU messages, LSAs, LSDB, show ip ospf database, type 2 LSA

18.5 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 17: Dynamic routing Chapter 19: First hop redundancy protocols →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.