Link-State Advertisement (LSA) and Link-State Database (LSD) Flashcards
What does a Link State Advertisement (LSA) contain?
fundamental information about topology
What is formed by a collection of LSAs?
collection of LSAs forms the Link-State Database
How are the LSAs flooded?
flooded to all the routers, so they can build the topology diagram in their Link State Database (LSDb)
What are the first five LSA Types?
- LSA Type 1: Router LSA
- LSA Type 2: Network LSA
- LSA Type 3: Summary LSA
- LSA Type 4: Autonomous System Boundary Router (ASBR) Summary
- LSA Type 5: Autonomous System Boundary Router (ASBR) External LSA
What are the 6th - 11th LSA Types?
- LSA Type 6: OSPF Group Membership LSA
- LSA Type 7: 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 LSA3
- LSA Type 11: OSPF AS (Autonomous System) Scope Opaque LSA
What does LSA Type 1: Router LSA
describe?
the state and configuration of an OSPF router’s interfaces within a single OSPF area
Who generates and floods LSA Type 1: Router LSA?
generated and flooded by every OSPF node
How are LSA Type 1: Router LSA flooded and where do these packets stop?
flooded within an Area and stops when it reaches the Area Border Router
What is the primary function of LSA Type 1: Router LSA
?
to help to construct the SPF tree
In which case is the LSA Type 2: Network LSA
used?
- when there is a DR/BDR election on a segment
- network types that don’t support election of DR/BDR have no Type 2 LSAs
What does LSA Type 2: Network LSA
describe?
all routers connected to an Ethernet subnet
Why is LSA Type 2: Network LSA required? (5)
- Representation of Multi-Access Networks
- DR/BDR Election
- Efficient Flooding of LSAs
- Reduction of LSDb Size
- Synchronization and Consistency
Is it true that anywhere in the topology, in the same area, routers have the same copy of the Link State Database?
yes
When are prefixes started to be advertised?
only after OSPF builds the SPF structure (routing tables are calculated) - then it extracts best path to given destination and puts it in routing table
What does LSA Header contain
?
essential information about the LSA itself
<br></br>
* LSA type
* LSA age
* LSA sequence number
* LSA checksum
* Router ID of the advertising router
What is the Advertising Router
?
Router ID of the router that originated the LSA
What is the LSA Age
?
- field that indicates the age of the LSA, which represents the time since the LSA was originated or last refreshed by the advertising router
- helps routers determine the freshness of the LSA and decide whether to accept it or not
What is the purpose of the LSA Sequence Number
?
- track changes and updates to the LSA
- routers can determine whether a new LSA is more recent than the one they have in their Link-State Database (LSDB) by comparing sequence numbers