Session Establishment · LSA Types · Areas · Route Redistribution
🔗 Session Establishment
📦 LSA Types
🗺️ Areas
🔄 Redistribution
OSPF Neighbor State Machine — 7 states
Down
Init
2-Way
ExStart
Exchange
Loading
Full
📡 Hello (Type 1)
Multicast224.0.0.5
Interval10s (p2p/bcast)
Dead interval40s (4×Hello)
ContainsRID, Area, Auth
📋 DBD — Database Description (Type 2)
PurposeLSDB summary
FlagsI M MS
I=Initfirst in exchange
MS=1Master role
📥 LSR/LSU/LSAck (3/4/5)
LSRrequest missing
LSUfull LSA data
LSAckconfirm receipt
RetransmitRxmtInterval 5s
OSPF Neighbor FSM
OSPF builds an adjacency through 7 states. Press Next step to walk through it step by step. These parameters must match on both neighbors: Area ID, Hello/Dead intervals, Authentication, Stub flag, MTU.
0 / 9
OSPF LSA Types 1–7
T1
Router LSA
OriginEvery router
ScopeArea-local
FloodingWithin area
T2
Network LSA
OriginDR only
ScopeArea-local
WhenMulti-access
T3
Summary LSA
OriginABR
ScopeArea → Area
ContentInter-area routes
T4
ASBR Summary
OriginABR
ScopeArea → Area
ContentASBR location
T5
AS External LSA
OriginASBR
ScopeAS-wide
E1/E2metric type
T6
Group Membership
OriginDR (MOSPF)
ScopeArea-local
NoteRare
T7
NSSA External LSA
OriginASBR in NSSA
ScopeNSSA only
→T5at ABR
T8/T9
Opaque LSA
RFC5250
UsageTE, MPLS, GRACE
Scopelink/area/AS
Select an LSA type
Click an LSA card above to see the details and the highlight on the topology. Each LSA type has its own flooding scope and is originated by a specific type of router.
OSPF Area Types — comparison
LSA Type
Regular
Stub
Totally Stub
NSSA
Totally NSSA
T1/T2
✓
✓
✓
✓
✓
T3 inter-area
✓
✓
✗ (default only)
✓
✗
T4 ASBR Sum.
✓
✗
✗
✗
✗
T5 AS External
✓
✗
✗
✗
✗
T7 NSSA Ext.
✗
✗
✗
✓
✓
Default route
optional
T3 auto
T3 auto
T7 manual
T3 auto
External routes
T5
none
none
T7 (local ASBR)
T7 only
Area Types
Click an area type above to see the comparison. OSPF areas let you limit LSA flooding and reduce the load on SPF. Each type defines which LSAs are allowed inside the area.
OSPF Route Redistribution
Step
Command
Seed metric
LSA type
E type
Result
Press a step →
Route Redistribution
Redistribution lets OSPF import routes from other protocols. It happens on the ASBR (Autonomous System Boundary Router). This generates LSA Type 5 (or LSA Type 7 in an NSSA). You must set a seed metric — OSPF does not know the "cost" of external routes.