To provide the ability of carrying external routes originated in the NSSA, a new LSA type was defined, Type 7 LSA. It has the structure and semantics of a Type 5 (External) LSA, with
a two differences:
1.Type 7 LSAs can be originated and propagated within the NSSA, they do not cross area borders like Type 5 LSAs do. 2.Type 5 LSAs are not supported in NSSA; they can be neither originated nor propagated in NSSA.
Translation of Type 7 to Type 5 LSA at the ABR
An ASBR in a NSSA injects its external routes as Type 7 LSAs (The NSSA does not support Type 5 Externals). The ABR can (optionally) translate those to regular Type 5 LSAs and inject them into the backbone as Type 5 Externals. At this point the these LSAs are indistinguishable from other Type 5 LSAs that may have come from other source. As shown on the figure below, these Type 5 LSAs, along with those from other sources, are flooded on all other non-stub areas.
When the NSSA is connected to the backbone via more than one ABR, the ABR with the highest Router ID is selected to perform the Type 7 à Type 5 translation. If that ABR fails, the ABR with next-highest Router ID is selected. TYPE 7-->TYPE 5 应该举一个例子,把show ip ospf data里面的信息显示出来啦~ 这个是在nssa区域上的abr上show的数据库信息
r2#sh ip ospf data
OSPF Router with ID (2.2.2.2) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count 1.1.1.1 1.1.1.1 1247 0x80000006 0xAFDD 3 2.2.2.2 2.2.2.2 437 0x80000003 0x3668 2