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

一、实验拓扑:

二、命令部署:

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

转载于:https://blog.51cto.com/13856092/2137517

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值