首页 > 其他 > 详细

17-高级路由:OSPF区域类型:Stub、Totally Stubby

时间:2018-07-07 13:35:55      阅读:207      评论:0      收藏:0      [点我收藏+]
一、实验拓扑:

二、命令部署:

1、将Area 2变为:Stub区域
R2(config)#router osp 110
R2(config-router)#area 2 stub

R4(config)#router ospf 110
R4(config-router)#area 2 stub
Note:R2先部署Stub,R2、R4邻居关系会Down掉,直至R4也部署Stub,邻居才会重新建立。

2、将O IA默认路由cost调为100
R2(config)#router ospf 110
R2(config-router)#area 2 default-cost 100

3、将Area 2变为:Totally Stubby区域
R2(config)#router ospf 110
R2(config-router)#area 2 stub no-summary

R4(config)#router ospf 110
R4(config-router)#area 2 stub no-summary

三、验证:
1、将Area 2 变为Stub区域:R4无O E1、 OE2路由,增加1条O IA默认路由。
R4#show ip route ospf
O*IA 0.0.0.0/0 [110/2] via 24.1.1.2, 00:01:47, FastEthernet0/0

2、将O IA默认路由cost调为100
R4#show ip route ospf
O*IA 0.0.0.0/0 [110/101] via 24.1.1.2, 00:01:09, FastEthernet0/0

3、将Area 2变为:Totally Stubby区域:R4上重新查看路由,是否只有O IA 1条路由。
R4#show ip route ospf
O*IA 0.0.0.0/0 [110/101] via 24.1.1.2, 00:02:10, FastEthernet0/0

技术分享图片

17-高级路由:OSPF区域类型:Stub、Totally Stubby

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

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