NSSA区域
见末梢区域
查看没有配置的原有的路由器的信息
TCP/IP 7.2 OSPF NSSA区域_第1张图片
 
 
TCP/IP 7.2 OSPF NSSA区域_第2张图片
 
TCP/IP 7.2 OSPF NSSA区域_第3张图片
 
 
TCP/IP 7.2 OSPF NSSA区域_第4张图片
 
 
R4(config)#router ospf 1
R4(config-router)#area 2 nssa
R4(config-router)#
*May 24 15:32:32.931: %OSPF-5-ADJCHG: Process 1, Nbr 5.5.5.5 on Serial1/1 from FULL to DOWN, Neighbor Down: Adjacency forced to reset
R4(config-router)#
*May 24 15:32:47.487: %OSPF-5-ADJCHG: Process 1, Nbr 5.5.5.5 on Serial1/1 from LOADING to FULL, Loading Done
 
 
R5(config)#router ospf 1
R5(config-router)#area 2 nssa
R5(config-router)#
*May 24 15:32:45.955: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on Serial1/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset
*May 24 15:32:47.635: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on Serial1/0 from LOADING to FULL, Loading Done
 
 
 
 
 
TCP/IP 7.2 OSPF NSSA区域_第5张图片
 
 
TCP/IP 7.2 OSPF NSSA区域_第6张图片
 
可以看到不再接受  4 5类型的LSA 变换成LSA7
 
 
还有很多的选项,实践出来看看
R5(config-router)#area 2 nssa no-summary
R5(config-router)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
 
Gateway of last resort is 172.16.1.1 to network 0.0.0.0
 
C    218.2.115.0/24 is directly connected, Loopback0
     172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C       172.16.1.0/24 is directly connected, Serial1/0
O       172.16.2.1/32 [110/65] via 172.16.1.1, 00:00:04, Serial1/0
     10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
O IA    10.2.2.0/24 [110/129] via 172.16.1.1, 00:00:04, Serial1/0
O IA    10.1.1.1/32 [110/130] via 172.16.1.1, 00:00:04, Serial1/0
O IA 192.168.1.0/24 [110/65] via 172.16.1.1, 00:00:04, Serial1/0
     192.168.2.0/32 is subnetted, 1 subnets
O IA    192.168.2.1 [110/66] via 172.16.1.1, 00:00:04, Serial1/0
O*N2 0.0.0.0/0 [110/1] via 172.16.1.1, 00:00:04, Serial1/0
 
 
R5(config-router)#area 2 nssa  default-information-originate
R5(config-router)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
 
Gateway of last resort is 172.16.1.1 to network 0.0.0.0
 
C    218.2.115.0/24 is directly connected, Loopback0
     172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C       172.16.1.0/24 is directly connected, Serial1/0
O       172.16.2.1/32 [110/65] via 172.16.1.1, 00:00:02, Serial1/0
     10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
O IA    10.2.2.0/24 [110/129] via 172.16.1.1, 00:00:02, Serial1/0
O IA    10.1.1.1/32 [110/130] via 172.16.1.1, 00:00:02, Serial1/0
O IA 192.168.1.0/24 [110/65] via 172.16.1.1, 00:00:02, Serial1/0
     192.168.2.0/32 is subnetted, 1 subnets
O IA    192.168.2.1 [110/66] via 172.16.1.1, 00:00:02, Serial1/0
O*N2 0.0.0.0/0 [110/1] via 172.16.1.1, 00:00:02, Serial1/0
 
 
TCP/IP 7.2 OSPF NSSA区域_第7张图片