Aller au contenu principal

3.3. LSA de Type-7 : annonces de link-state externes NSSA

Les routes externes sont importées dans les NSSA en tant que LSA de type 7 par les routeurs de frontière AS de la NSSA. Un routeur de frontière AS d'une NSSA est un routeur qui possède une interface associée à la NSSA et échange des informations de routage avec des routeurs appartenant à un autre AS. Comme pour les LSA de type 5, une LSA de type 7 distincte est générée pour chaque réseau de destination. Pour prendre en charge les zones NSSA, la base de données link-state doit donc être étendue afin de contenir des LSA de type 7. Les LSA de type 7 sont identiques aux LSA de type 5, à l'exception des points suivants (voir la section 12.3.4 « AS external links » de la spécification OSPF).

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.

Les métriques et les types de chemin des LSA de type 5 et de type 7 sont directement comparables.