Question

Difficulty: HardRouting Concepts and Dynamic Routing Protocols

An enterprise router configured with OSPF receives a Link-State Update (LSU) packet containing a newer Link-State Advertisement (LSA) for a remote network segment. In what chronological order does the router process this update from initial receipt to global RIB installation?

  1. 1Validate the incoming LSU packet and confirm that the contained LSA sequence number is higher than the existing entry in the local LSDB.
  2. 2Update the local Link-State Database (LSDB) and flood the LSU packet out all active OSPF-enabled interfaces except the receiving interface.
  3. 3Run Dijkstra's Shortest Path First (SPF) algorithm on the updated LSDB topology map.
  4. 4Calculate new cumulative metric path costs and update the protocol-specific OSPF routing table.
  5. 5Offer the candidate route to the global Routing Information Base (RIB), evaluating Administrative Distance against competing protocol routes.

Answer

The correct sequence for processing an incoming OSPF LSU is: 1) Validate the incoming LSU packet and confirm a higher LSA sequence number; 2) Update the local LSDB and flood the LSU out active OSPF interfaces; 3) Run Dijkstra's Shortest Path First (SPF) algorithm; 4) Calculate new cumulative path costs and update the internal OSPF routing table; 5) Offer the candidate route to the global Routing Information Base (RIB) using Administrative Distance.
Upon receiving an LSU, the router verifies that the LSA sequence number is newer than its existing LSDB record. It then updates the LSDB and immediately floods the update out other interfaces to propagate the change across the OSPF area. Next, the router executes the SPF calculation to build an updated shortest-path tree, calculates cumulative metric path costs for OSPF routing, and finally submits the route to the global RIB where Administrative Distance comparison determines final forwarding entry installation.

Step-by-Step Solution

1
Inspect packet headers and sequence numbers upon LSU arrival.
The router confirms the LSA is valid and newer than its stored copy.
Prevents database corruption and processing of redundant topology updates.
2
Store the new LSA in the LSDB and flood it to neighboring routers.
Neighboring OSPF routers receive the update immediately.
Flooding precedes path computation to minimize convergence latency across the network.
3
Execute the Dijkstra SPF algorithm.
A new shortest path tree is constructed.
SPF evaluates interface costs to determine loop-free optimal paths.
4
Derive path metrics and populate internal OSPF routing entries.
OSPF identifies its best intra-protocol paths.
Protocol metrics must be finalized before submitting candidate routes to the global table.
5
Compare Administrative Distance for RIB candidate entry.
The route is written to the global RIB if OSPF has the lowest Administrative Distance for the prefix.
The router's main RIB resolves route precedence between multiple dynamic and static sources.

Key Concept

OSPF Link-State Processing and Convergence Sequence
Rate this question