LSDB
LSDB stands for Link-State Database, a core component of link-state routing protocols such as OSPF and IS-IS. It stores topology information about the network as learned through link-state advertisements or link-state packets. Each router maintains its own LSDB, and in most protocols there is a separate LSDB per area (OSPF) or per level (IS-IS). LSAs or LSPs are flooded throughout the network to ensure all routers within the same scope share a consistent view of the topology. The LSDB contains information about network links, their costs, statuses, and the reachability of networks and endpoints; it includes entries for each link and for each router or area, depending on the protocol.
In OSPF, the LSDB is populated by specific LSA types: Router-LSAs (type 1), Network-LSAs (type 2), Summary-LSAs
The primary purpose of the LSDB is to support the Shortest Path First (SPF) calculation. The router