Lsa types, Neighbor and adjacency – H3C Technologies H3C S3600 Series Switches User Manual
Page 330
4-3
which uniquely identifies the LSA. This reduces the size of traffic transmitted between the routers
because the header of an LSA only occupies a small portion of the LSA. With the header, the peer
router can judge whether it has the LSA or not.
z
LSR packet:
After exchanging DD packets, the two routers know which LSAs of the peer router are lacked in the local
LSDB, and send link state request (LSR) packets requesting for the lacked LSAs to the peer. These
LSR packets contain the digest of the needed LSAs.
z
LSU packet:
Link state update (LSU) packets are used to transmit the needed LSAs to the peer router. An LSU
packet is a collection of multiple LSAs (complete LSAs, not LSA digest).
z
LSAck packet
Link state acknowledgment (LSAck) packets are used to acknowledge received LSU packets. An
LSAck contains the header(s) of LSA(s) to be acknowledged (One LSAck packet can acknowledge
multiple LSAs).
LSA Types
1) Five basic LSA types
As described in the preceding sections, LSAs are the primary source for OSPF to calculate and
maintain routes. RFC 2328 defines five types of LSAs:
z
Router-LSA: Type-1 LSAs, generated by every router to describe the router's link states and costs,
and advertised only in the originating area.
z
Network-LSA: Type-2 LSAs, generated by the DRs on a broadcast or NBMA network to describe
the link states of the current network segment, and are advertised only in the originating area.
z
Summary-LSA: Type-3 and Type-4 LSAs, generated by ABRs and advertised in the areas
associated with the LSAs. Each Summary-LSA describes a route to a destination in another area of
the AS (also called inter-area route).Type-3 Summary-LSAs are for routes to networks (that is, their
destinations are segments), while Type-4 Summary-LSAs are for routes to ASBRs.
z
AS-external-LSA: Type-5 LSA, also called ASE LSA, generated by ASBRs to describe the routes
to other ASs and advertised to the whole AS (excluding stub areas and NSSA areas). The default
AS route can also be described by AS-external-LSAs.
2) Type-7
LSAs
In RFC 1587 (OSPF NSSA Option), Type-7 LSA, a new LSA type, is added.
As described in RFC 1587, Type-7 LSAs and Type-5 LSAs mainly differ in the following two ways:
z
Type-7 LSAs are generated and advertised in an NSSA, where Type-5 LSAs will not be generated
or advertised.
z
Type-7 LSAs can only be advertised in an NSSA area. When Type-7 LSAs reach an ABR, the ABR
can convert part of the routing information carried in the Type-7 LSAs into Type-5 LSAs and
advertise the Type-5 LSAs. Type-7 LSAs are not directly advertised to other areas (including the
backbone area).
Neighbor and Adjacency
In OSPF, neighbor and adjacency are two different concepts.
Neighbor: Two routers that have interfaces to a common network. Neighbor relationships are
maintained by, and usually dynamically discovered by, OSPF's hello packets. When a router starts, it