O'Reilly logo

OSPF Complete Implementation by John T. Moy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6. The Link-State Database

The link-state database is central to OSPF. The database provides the raw data used by the routing calculations, and most of the protocol machinery in OSPF is dedicated to maintaining database synchronization among routers. In this chapter, we examine the implementation of the OSPF link-state database, including how the individual LSAs are stored internally, database operations, and the aging of the link-state database.

6.1. Link-State Database Fundamentals

Individual LSAs in the database are represented as C++ classes. Each separate LSA type is represented by a different C++ class. Router-LSAs are stored as class rtrLSA, network-LSAs as class netLSA, summary-LSAs as class summLSA, ASBR-summary-LSAs as class asbrLSA ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required