What are the types of LSA in OSPF
Emma Miller
Updated on April 06, 2026
Type1 is a Router LSA.Type2 is a Network LSA.Type3 is a Network summary LSA.Type4 is the ASBR summary.Type5 is an external summary.Type7 is therefore written to the OSPF standard.Learn More:
What is Type 3 LSA OSPF?
The Summary (Type 3) LSA is used for advertising prefixes learned from the Type 1 and Type 2 LSAs into a different area. The Area Border Router (ABR) is the OSPF device that separates areas and it is this device that advertises the Type 3 LSA.
What is Type-5 LSA OSPF?
The type-5 LSA is the external LSA. As the name suggests, it describes networks that are external to the OSPF domain, injected into OSPF via some form of redistribution. When redistributing into OSPF, the routes can be of two types – E1 and E2 external routes.
What is Type 4 LSA OSPF?
OSPF Type 4 ASBR Summary LSA A type 4 LSA identifies the ASBR and provides a route to the ASBR. The link-state ID is set to the ASBR router ID. All traffic that is destined to an external autonomous system requires routing table knowledge of the ASBR that originated the external routes.Why do we need Type 4 LSA in OSPF?
So, a type-4 asbr-summary LSA is needed to help make the ASBR reachable and, by extension make the associated type-5 prefix valid. The type-4 acts like a glue record, and uses the ABRs well known RID as a care-of address for the ASBR and it’s advertised prefixes.
What is a Type 2 LSA?
LSA Type 2 – OSPF Network LSA LSA Type 2 (Network LSA) packets are generated by the Designated Router (DR) to describe all routers connected to its segment directly. LSA Type 2 packets are flooded between neighbors in the same area of origin and remain within that area.
What are LSA types?
- Type1 is a Router LSA. All OSPF speaker types generate LSAs of this type. …
- Type2 is a Network LSA. …
- Type3 is a Network summary LSA. …
- Type4 is the ASBR summary. …
- Type5 is an external summary. …
- Type7 is therefore written to the OSPF standard. …
- Learn More:
What is Network LSA in OSPF?
Link State Advertisements (LSAs) are messages communicated via multicast to other routers in the OSPF domain. They are sent from internal routers to the DR/BDR routers to announce changes. This communication occurs on multicast address 224.0. 0.6.What is Type 7 LSA?
Type 7 – External LSA: also known as not-so-stubby-area (NSSA) LSA: As you can see area 2 is a NSSA (not-so-stubby-area) which doesn’t allow external LSAs (type 5).
What defines the relationship between Type 5 and Type 7 LSAs?The difference between Type-5 LSA and Type-7 LSA is that Type-7 LSA can live only into NSSA area, so it will never leave the NSSA area. Instead Type-5 LSA can be propagated to the other areas (backbone and non-backbone). – Both of them are generated by the ASBR.
Article first time published onWhat is LSA and LSU in OSPF?
Link State Update (LSU) packets are OSPF packet Type 4. These packets implement the flooding of LSAs. Each LSA contains routing, metric and topology information to describe a portion of OSPF network. The local router advertises LSA within an LSU packet to its neighboring routers.
What is opaque LSA in OSPF?
Opaque LSA—A proposed type of LSA. Its format consists of a standard LSA header and application specific information. Opaque LSAs are used by the OSPF protocol or by some applications to distribute information into the OSPF routing domain. The opaque LSA includes Type 9, Type 10, and Type 11.
What is Type 7 LSA OSPF?
What Is a Type 7 LSA? This is a type 7 LSA that is generated by an NSSA ASBR. Type 5 LSAs are not allowed in NSSA areas, so the NSSA ASBR generates a type 7 LSA instead, which remains within the NSSA. This type 7 LSA gets translated back into a type 5 by the NSSA ABR.
What is BGP protocol?
Border Gateway Protocol (BGP) refers to a gateway protocol that enables the internet to exchange routing information between autonomous systems (AS). As networks interact with each other, they need a way to communicate. This is accomplished through peering. BGP makes peering possible.
What is OSPF protocol?
Open Shortest Path First (OSPF) is a link-state routing protocol that was developed for IP networks and is based on the Shortest Path First (SPF) algorithm. OSPF is an Interior Gateway Protocol (IGP).
What is OSPF Asbr?
In OSPF, routers always form the boundaries between areas. A router with links outside the OSPF routing domain is called an autonomous system boundary router (ASBR). Routing information about destination IP addresses not learned from OSPF are always advertised by an ASBR.
Why is LSA type 2 needed?
Put simply, yes, the routers could use type 1 LSA’s and detail every router’s links to all other routers, but this is inefficient and will introduce unnecessary bloat into the OSPF LSDB. To mitigate this, the Type 2 (network) LSA is used to represent the broadcast subnet.
Who generates type 7 LSA?
To provide access to the rest of the Autonomous System (AS), the ABR generates a default type 7 LSA into the NSSA. ABRs of an NSSA area can be configured with the no-summary parameter to prevent the generation of type 3 and type 4 summary LSAs into the area.
What is an OSPF NSSA?
NSSA is an OSPF Stub Area, which can carry routes learned by other protocols such as BGP or RIP. Allows the import of external routes in a limited fashion using Type-7 LSAs. NSSA border routers translate selected Type 7 LSAs into Type 5 LSAs, which can then be flooded to all Type-5 capable areas.
What is DBD packet in OSPF?
DBD: This packet is used to check if the LSDB between 2 routers is the same. The DBD is a summary of the LSDB. LSR: Requests specific link-state records from an OSPF neighbor. LSU: Sends specific link-state records that were requested. This packet is like an envelope with multiple LSAs in it.
Which type of OSPF link state advertisement is an AS external LSA?
Type 5 LSA – also known as AS external link advertisements, a Type 5 LSA is sent by autonomous system boundary routers (ASBRs) to advertise routes that are external to the OSPF autonomous system and are flooded everywhere.
What is E1 and E2 in OSPF?
E1 routes indicate cumulative cost to reach the destination i.e. int indicates cost to reach ASBR + cost to destination from ASBR. E2 route reflects cost only from the ASBR to destination. This is the default used by ospf for redistribution.
How many packets are in OSPF?
OSPF uses five different packets in its protocols. Table 3-2 describes the different OSPF packet types. This section discusses each protocol and the role that the packets play.
What are the different types of EIGRP packets?
EIGRP sends out five different types of packets—hello, update, query, reply, and acknowledge (ACK)—that are used to establish the initial adjacency between neighbors and to keep the topology and routing tables current.
What port does OSPF use?
S.NOOSPF6.In OSPF internet protocol is used.7.It works in 89 port number.8.OSPF is a Link State type.9.In OSPF Dijkstra algorithm is used.
Which is a difference between OSPFv2 and OSPFv3?
OSPFv2 stands for Open Shortest Path First version 2 and OSPFv3 stands for Open Shortest Path First version 3. OSPFv2 is the IPv4’s OSPF version, whereas OSPFv3 is the IPv6’s OSPF version. In OSPFv2, many OSPF instances per interface are not supported, whereas in OSPFv3, many OSPF instances per interface are supported.
What is as routing?
An autonomous system (AS) is a collection of connected Internet Protocol (IP) routing prefixes under the control of one or more network operators on behalf of a single administrative entity or domain, that presents a common and clearly defined routing policy to the Internet.
Which is not routing algorithm?
Non Adaptive routing algorithm is also known as a static routing algorithm. When booting up the network, the routing information stores to the routers. Non Adaptive routing algorithms do not take the routing decision based on the network topology or network traffic.
What are the different types of routing protocols?
- Routing information protocol (RIP) …
- Interior gateway protocol (IGRP) …
- Enhanced interior gateway routing protocol (EIGRP) …
- Open shortest path first (OSPF) …
- Exterior Gateway Protocol (EGP) …
- Border gateway protocol (BGP) …
- Immediate system-to-immediate system (IS-IS)