Zum Hauptinhalt springen

3.3. Type-7-LSAs: NSSA-externe Link-State Advertisements

Externe Routen werden von den AS-Boundary-Routern der NSSA als Typ-7-LSAs in NSSAs importiert. Ein NSSA-AS-Boundary-Router ist ein Router, der ein mit der NSSA verknüpftes Interface besitzt und Routing-Informationen mit Routern eines anderen AS austauscht. Wie bei Typ-5-LSAs wird für jedes Zielnetz eine eigene Typ-7-LSA erzeugt. Um NSSA-Areas zu unterstützen, muss die Link-State-Datenbank daher um eine Typ-7-LSA erweitert werden. Typ-7-LSAs sind mit Ausnahme der folgenden Punkte identisch mit Typ-5-LSAs (siehe Abschnitt 12.3.4 "AS external links" in der OSPF-Spezifikation).

1. The type field in the LSA header is 7.

2. Type-7 LSAs are only flooded within the NSSA.
The flooding of type-7 LSAs follow the same rules
as the flooding of type 1-4 LSAs.

3. Type-7 LSAs are kept within the NSSA's LSDB (are
area specific) whereas because type-5 LSAs are
flooded to all type-5 capable areas, type-5 LSAs
global scope in the router's LSDB.

4. At the area border router, selected type-7 LSAs are
translated into type 5-LSAs and flooded into the
backbone.

5. Type 7 LSAs have a propagate (P) bit which is
used to flag the area border router to translate the
type-7 LSA into a type-5 LSA. Examples of how the P-bit
is used for loop avoidance are in the following sections.

6. Those type-7 LSAs that are to be translated into type-5
LSAs must have their forwarding address set.
Type-5 LSAs that have been translated from type-7 LSAs
for the most part must contain a forwarding address.
The execption to this is if the translation to a type-5
LSA is the result of an address range match, in which
case the type-5 LSA will not contain a forwarding address
(see section 4.1 for details).
The forwarding address contained in type-5 LSAs will
result in more efficient routing to the AS external
networks when there are multiple NSSA area
border routers. Having the forwarding address in the
type-7 LSAs will ease the translation of type-7 into
type-5 LSAs as the NSSA area border router will
not be required to compute the forwarding address.

If the network between the NSSA AS boundary router and the
adjacent AS is advertised into OSPF as an internal OSPF
route, the forwarding address should be the next hop
address as is currently done in type-5 LSAs, but unlike
type-5 LSAs if the intervening network is not advertised
into OSPF as an internal OSPF route, the forwarding
address should be any one of the router's active OSPF
interface addresses.

Die Metriken und Pfadtypen von Typ-5 und Typ-7 sind direkt vergleichbar.