侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

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

2023-02-01 星期三 / 0 评论 / 0 点赞 / 94 阅读 / 1334 字

一、实验拓扑:二、命令部署:1、将Area 2变为:Stub区域R2(config)#router osp 110R2(config-router)#area 2 stubR4(config)#rou

.

一、实验拓扑:

二、命令部署:

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

.

广告 广告

评论区