3.3. Type-7 LSAs: NSSA External Link-State Advertisements
External routes are imported into NSSAs as type-7 LSAs by the NSSA's AS boundary routers. An NSSA AS boundary routers is a router which has an interface associated with the NSSA and is exchanging routing information with routers belonging to another AS. As with type-5 LSAs a separate type-7 LSA is originated for each destination network. To support NSSA areas, the link-state database must therefore be expanded to contain a type-7 LSA. Type 7-LSAs are identical to type-5 LSAs except for the following (see section 12.3.4 "AS external links" in the OSPF specification).
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.
Type-5 and type-7 metrics and path types are directly comparable.