OSPF LSA Types and LSA Flooding Explained
An LSA is a data packet that contains routing information in a format that OSPF running routers understand. OSPF running routers use it to exchange routing information. They also maintain a database to keep track of all exchanged LSAs. This tutorial provides a detailed explanation of LSA and its various types.
What is an LSA?
An LSA (Link State Advertisement) is a data packet that describes a specific part of the OSPF network. There are 11 types of LSA. OSPF routers utilize each type of LSA to exchange different information. Since an LSA describes a part of the OSPF network, each OSPF router learns all LSAs that it needs to function and stores them in the LSDB (Link-State Database) In other words, an LSA is an OSPF data packet that contains some specific information about network topology. The LSDB is the collection of all LSA packets the router knows. Convergence is the state in which all OSPF routers are aware of all LSAs.
LSA flooding
LSA flooding is a process that OSPF routers use to share and learn all required LSAs. During the LSA flooding process, all routers collectively advertise all known LSAs to one another. At the end of this process, every router on the network has all the required LSAs. After this process, if any information changes, the affected router creates an LSA describing the change and floods the LSA into the network. Each recipient validates the LSA update and sends an acknowledgment back to the sending router, confirming receipt of the flooded update.
Based on the network type, OSPF routers use the following addresses to flood LSAs.
- In a point-to-point network, they use the reserved multicast address 224.0.0.5.
- In a broadcast network, they use the multicast address 224.0.0.6.
- In a point-to-multipoint network, they use the adjacent router's unicast IP address.
Types of LSAs
Instead of using the same LSA type for all purposes, OSPF routers use a different kind of LSA for each purpose. They use 11 types of LSAs. The following table describes each type of LSA and its purpose.
| Type | Name | Originated by | Distance | Description |
| 1 | Router LSA | by all routers within the area | Within the area | It contains information about RID and directly connected interfaces. |
| 2 | Network LSA | DR (Designated router) | Within the area | It contains information about all paths in the network. |
| 3 | Summary LSA | ABR (Area Border Router) | Within the network | It contains summarized information about all paths in the area |
| 4 | ASBR Summary | ABR (Area Border Router) | Within the network | It contains information about the ASBR where the type 5 LSA originated. |
| 5 | AS-external LSA | ASBR (Autonomous System Boundary Router) | Within the network | It contains information about routes imported into OSPF from other routing protocols. |
| 6 | Group Membership LSA | Used for multicast extensions. It has been deprecated and is no longer in use. | ||
| 7 | NSSA External LSA | ASBR (Autonomous System Boundary Router) | Intra-area | It is identical to type-5. It floods within the NSSA only. It allows routers in NSSA to send external routing information for redistribution. |
| 8 | Link-local LSA (OSPFv3) | All routers | Within the area Link | OSPFv3 uses it to share information about link-local addresses and a list of IPv6 addresses on the link. |
| 9 | Link-local opaque (OSPFv2) | Link-local | In OSPFv2, it contains extended information about a specific application. | |
| 9 | Intra-Area-Prefix (OSPFv3) | Link-local | In OSPFv3, it contains prefixes for stub and transit networks in the link-state ID. | |
| 10 | Area-local opaque | Area-local | It contains information that should be flooded by other routers, even if the router is not able to understand the extended information itself. | |
| 11 | Autonomous System opaque | Within the network | It is identical to Type-10 but not flooded into a stub area. |
The opaque LSA types are designed for application-specific purposes. For example, an application can use them to flood bandwidth information. Opaque LSA types are 9,10, and 11. Each type of LSA has a different flooding scope.
Important LSA types for the CCNA exam
For the CCNA Routing and Switching exam, you should focus only on LSA types 1, 2, and 3. The CCNA exam syllabus does not cover the remaining LSA types.
The following image shows an example OSPF network.

LSA type 1
An LSA type 1 message is known as a router LSA. OSPF routers use LSA type 1 messages to advertise their RID and information about directly connected networks. A RID is the unique ID of the router in the OSPF network. Since all routers in the area require this information about other routers, all OSPF routers generate and advertise LSA type 1 messages. LSA type 1 messages do not cross the area boundary. They remain within the area.
LSA type 2
An LSA type 2 message is known as a network LSA. As mentioned earlier, in an Ethernet/broadcast environment, routers do not share routing information directly. They elect a DR, and then the DR shares the routing information with the other routers. To share routing information, the DR uses LSA type 2 messages. LSA type 2 messages also do not cross the area boundary. They stay within the area.
LSA type 3
An LSA type 3 message is known as the summary LSA. ABR routers use LSA type 3 messages to exchange routing information with the other ABR routers. By default, LSA type 3 messages contain detailed routing information. However, if required, an administrator can instruct the ABR router to summarize the routing information before sharing it with another ABR. For this, the administrator can use the summary command.
This tutorial is part of the tutorial "OSPF Configuration and Concepts Explained.". Other parts of this tutorial are as follows:
Chapter 01 OSPF (Open Shortest Path First) Protocol
Chapter 02 RIP V/s OSPF | Differences between RIP and OSPF
Chapter 03 IGP, EGP, and Autonomous System Explained
Chapter 04 OSPF Features, Advantages, Disadvantages
Chapter 05 OSPF Fundamental Terminology Explained
Chapter 06 OSPF LSA Types and LSA Flooding Explained
Chapter 07 OSPF Area Types and Concept Explained
Chapter 08 OSPF Hello Protocol and Packets Explained
Chapter 09 OSPF RID (Router ID) Explained
Chapter 10 OSPF Neighborship Condition and Requirement
Chapter 11 OSPF DR BDR Selection Process Explained
Chapter 12 How OSPF Routers Build Adjacency Explained
Chapter 13 Shortest Path First (SPF) Algorithm Explained
Chapter 14 OSPF Single-Area Configuration Explained
Chapter 15 OSPF Stub area, Totally Stub area, NSSA, and Totally NSSA
Chapter 16 OSPF Virtual Links Explained
Chapter 17 OSPF Authentication Password and MD5 Explained
Chapter 18 OSPF Multi-Area Configuration Explained
Conclusion
OSPF running routers use LSAs to exchange routing information. There are eleven types of LSAs. This tutorial explained these types in detail. Learning these types allows you to understand the OSPF process and concept more effectively.
Author Laxmi Goswami Updated on 2026-05-01