OSPF uses link-state packets (LSPs) to establish and maintain neighbor adjacencies and exchange routing updates.

The figure shows the five different types of LSPs used by OSPF. Each packet serves a specific purpose in the OSPF routing process: