科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网软件频道应用软件实验:OSPF高级配置(二)路由汇总1

实验:OSPF高级配置(二)路由汇总1

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

实验:OSPF高级配置(二)路由汇总

作者:ddvip 来源:ddvip 2009年12月31日

关键字: 思科 路由器

  • 评论
  • 分享微博
  • 分享邮件

实验:OSPF高级配置(二)路由汇总1

实验:OSPF高级配置(二)路由汇总

  图片看不清楚?请点击这里查看原图(大图)。

  接上篇《实验: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领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章