首页 > 其他 > 详细

19-高级路由:OSPF区域类型:Totally Not-So-Stubby

时间:2018-07-07 13:36:24      阅读:202      评论:0      收藏:0      [点我收藏+]
一、实验拓扑:
技术分享图片
二、命令部署:
R1(config)#router ospf 110
R1(config-router)#area 1 nssa no-summary 部署完全非纯末节才可以

R3(config)#router ospf 110
R3(config-router)#area 1 nssa no-summary

1、R3、R5部署OSPF Area 35:
R3(config)#router ospf 35
R3(config-router)#network 35.1.1.0 0.0.0.255 area 35

R5(config)#router ospf 35
R5(config-router)#network 5.5.5.0 0.0.0.255 area 35
R5(config-router)#network 35.1.1.0 0.0.0.255 area 35

2、R3上重分发 OSPF 35到OSPF 110:
R3(config)#router ospf 110
R3(config-router)#redistribute ospf 35 subnets

3、R3上重分发 OSPF 110到OSPF 35:
R3(config)#router ospf 35
R3(config-router)#redistribute ospf 110 subnets

4、先把上个实验命令删除:
R1(config)#router ospf 110
R1(config-router)#no area 1 nssa no-redistribution 删除重分发路由
R1(config-router)#no area 1 nssa default-information-originate 删除默认路由语句
三、验证:
1、NSSA区域有外部OSPF区域路由条目,其它区域没有:
R2#show ip route ospf
1.0.0.0/24 is subnetted, 1 subnets
O 1.1.1.0 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/3] via 12.1.1.1, 00:00:16, FastEthernet0/0
4.0.0.0/32 is subnetted, 1 subnets
O 4.4.4.4 [110/2] via 24.1.1.4, 00:00:16, FastEthernet1/0
O 202.100.10.0/24 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/0
O 202.100.11.0/24 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/0
13.0.0.0/24 is subnetted, 1 subnets
O IA 13.1.1.0 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/0
O 202.100.8.0/24 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/0
O 202.100.9.0/24 [110/2] via 12.1.1.1, 00:00:16, FastEthernet0/0

2、反向:R5也没有内部区域的路由条目:
R5#show ip route ospf
3.0.0.0/24 is subnetted, 1 subnets
O E2 3.3.3.0 [110/1] via 35.1.1.3, 00:10:41, FastEthernet0/0
13.0.0.0/24 is subnetted, 1 subnets
O E2 13.1.1.0 [110/1] via 35.1.1.3, 00:10:41, FastEthernet0/0

19-高级路由:OSPF区域类型:Totally Not-So-Stubby

原文:http://blog.51cto.com/13856092/2137520

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!