3.3. Type-7 LSA: NSSA 外部 Link-State 通告
外部路由由 NSSA 的 AS 边界路由器作为 type-7 LSA 引入 NSSA. NSSA AS 边界路由器是指具有一个与 NSSA 相关联的接口, 并且正在与属于另一个 AS 的路由器交换路由信息的路由器. 与 type-5 LSA 一样, 每个目的网络都会单独产生一条 type-7 LSA. 因此, 为支持 NSSA 区域, 链路状态数据库必须 (MUST) 扩展以包含 type-7 LSA. 除以下各项外, Type 7-LSA 与 type-5 LSA 完全相同 (见 OSPF 规范中的第 12.3.4 节 "AS external links"):
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 和 type-7 的度量值与路径类型可直接比较.