扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
实验:OSPF高级配置(二)路由汇总1
接上篇《实验:OSPF高级配置(一)连通性目标实现》本片主要介绍OSPF地址汇总
在ABR(R2)和ASBR(R5)上实现路由汇总:
路由器关键配置:
R2:
R2(config)#router ospf 1
R2(config-router)#area 1 range 192.168.16.0 0.0.15.255 advertise
R5:
R5(config)#router ospf 1
R5(config-router)#summary-address 192.168.64.0 255.255.240.0
查看路由汇总会的路由表:
R1:
R1#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 not set
C 192.168.10.0/24 is directly connected, FastEthernet0/0
C 192.168.1.0/24 is directly connected, FastEthernet1/0
O E2 192.168.64.0/20 [110/20] via 192.168.1.2, 00:02:15, FastEthernet1/0
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者