OSPF Flashcards
OSPF Area Types
- Broadcast Area
- Normal/Standard Area
- Stub Area
- Totally Stub Area
- Not-So-Stubby Area (NSSA)
- NSSA Totally Stub
Characteristics of Broadcast Area
Characteristics of Normal/Standard Area
Characteristics of Stub Area
- No Type 4, 5 AS-external LSAs allowed
Characteristics of Totally Stub Area
- No Type 3, 4 or 5 LSAs allowed except the default summary route.
Characteristics of Not-So-Stubby Area (NSSA)
- No Type 5 AS-external LSAs allowed, but Type 7 LSAs that convert to Type 5 at the NSSA ABR can traverse.
Characteristics of NSSA Totally Stub
- No Type 3, 4 or 5 LSAs except the default summary route, but Type 7 LSAs that convert to Type 5 at the NSSA ABR are allowed.
What are LSA Types?
- LSA Type 1: OSPF Router LSA
- LSA Type 2: OSPF Network LSA
- LSA Type 3: OSPF Summary LSA
- LSA Type 4: OSPF ASBR Summary LSA
- LSA Type 5: OSPF ASBR External LSA
- LSA Type 6: OSPF Group Membership LSA
- LSA Type 7: OSPF Not So Stubby Area (NSSA) External LSA
- LSA Type 8: OSPF External Attributes LSA (OSPFv2) / Link Local LSA (OSPFv3)
- LSA Type 9: OSPF Link Scope Opaque (OSPFv2) / Intra Area Prefix LSA (OSPFv3)
- LSA Type 10: OSPF Area Scope Opaque LSA
- LSA Type 11:OSPF AS (Autonomous System) Scope Opaque LSA
LSA Type 1
Router LSA
- Generated by Normal Area Routers
- Advertising router’s interface and status to neighbors
- Flooding Map: Intra-Area (Area of origin)
LSA Type 2
Network LSA
- Generated by DR
- Advertising DRs direct connected neighbors
- Flooding-Map: Intra-Area (Area of origin)
LSA Type 3
Summary LSA
- Generated by ABR
- Advertising ABRs areas summary
- Flooding-Map: Inter-Area (Multiple Areas)
LSA Type 3 packets are generated by Area Border Routers (ABR) to summarize its directly connected area, and advertise inter-area router information to other areas the ABR is connected to, with the use of a summary prefix (e.g 192.168.0.0/22). LSA Type 3 packets are flooded to multiple areas throughout the network and help with OSPF’s scalability with the use of summary prefixes.
LSA Type 4
ASBR Summary LSA
- Generated by ABR
- Advertising the presence of ASBRs
- Inter-Area (Multiple Areas)
LSA Type 4 packets are the LSAs that advertise the presence of an Autonomous System Border Router (ASBR) to other areas. In the example below when R2 (ABR) receives the LSA Type 1 packet from R1 it will create a LSA Type 4 (Summary ASBR LSA) packet, which advertises the ASBR route received from Area 1, and inject it into Area 0.
LSA Type 5
OSPF ASBR External LSA
- Generated by ASBR
- Advertising external routes to internet
- Inter-Area (Multiple Areas)
LSA Type 5 packets are generated by the ASBR to advertise external redistributed routes into the OSPF’s AS. A typical example of an LSA Type 5 would be an external prefix e.g 192.168.10.0/24 or default route (internet) as shown below:
This external route/prefix is redistributed in to the OSPF network by the ASBR (R1) and seen as O E1 or E2 entries in other OSPF routers routing tables.
LSA Type 6
OSPF Group Membership LSA
LSA Type 6 packets were designed for Multicast OSPF (MOSPF), a protocol that supports multicast routing through OSPF. MOSPF is not supported by Cisco and is not widely used and is expected to be retired soon.
LSA Type 7
NSSA External LSA
- Generated by ASBR
- Advertising external routes to internet to NSSA areas
- Inter-Area (Multiple Areas)
LSA Type 7 packets are used for some special area types that do not allow external distributed routes to go through and thus block LSA Type 5 packets from flooding through them, LSA Type 7 packets act as a mask for LSA Type 5 packets to allow them to move through these special areas and reach the ABR that is able to translate LSA Type 7 packets back to LSA Type 5 packets.