加入收藏 | 设为首页 | 会员中心 | 我要投稿 PHP编程网 - 黄冈站长网 (http://www.0713zz.com/)- 数据应用、建站、人体识别、智能机器人、语音技术!
当前位置: 首页 > 运营中心 > 网站设计 > 教程 > 正文

企业网数通方案实战之EIGRP

发布时间:2019-09-13 06:20:19 所属栏目:教程 来源:佚名
导读:副标题#e# 实战目标: 通过实战应用,掌握EIGRP的工作原理和实际操作能力。 案例需求说明及业务部署规划: 公司建有两个办公点,分别为总部和分支; 决定全网使用EIGRP作为动态路由协议,自治系统号码为 666; 其中总部和分支的R1和R3两台设备通过运营商提供

R5:

  1. key chain CISCO 
  2. key 1 
  3.   key-string CCNP 
  4.  
  5. router eigrp QYT 
  6.   address-family ipv4 unicast autonomous-system 666 
  7.  
  8.   neighbor 10.12.25.2 Serial1/1 
  9.    af-interface Serial1/1 
  10.     authentication mode md5 
  11.     authentication key-chain CISCO 

四、部署末节路由器

R2和R5:

  1. router eigrp QYT 
  2.   address-family ipv4 unicast autonomous-system 666 
  3.    eigrp stub 

五、实现二层×××和低速备份链路之间的主备

在R2和R5上针对本区域的路由进行汇总,实现通过最长匹配原则进行主备链路的流量转发控制;

R2:

  1. router eigrp QYT 
  2.   address-family ipv4 unicast autonomous-system 666 
  3.    af-interface Serial1/1 
  4.     summary-address 10.2.0.0 255.255.0.0 

R5:

  1. router eigrp QYT 
  2. address-family ipv4 unicast autonomous-system 666 
  3.    af-interface Serial1/1 
  4.     summary-address 10.1.0.0 255.255.0.0 

验证:

  1. R2#traceroute 10.1.100.100 source 10.2.100.100 numeric 
  2. Type escape sequence to abort. 
  3. Tracing the route to 10.1.100.100 
  4. VRF info: (vrf in name/id, vrf out name/id) 
  5.    1 10.2.12.1 9 msec 9 msec 9 msec 
  6.    2 10.12.13.3 9 msec 9 msec 10 msec 
  7.    3 10.1.35.5 9 msec *  6 msec 
  8.  
  9.  
  10. R5#traceroute 10.2.100.100 source 10.1.100.100 numeric 
  11. Type escape sequence to abort. 
  12. Tracing the route to 10.2.100.100 
  13. VRF info: (vrf in name/id, vrf out name/id) 
  14.    1 10.1.35.3 1 msec 0 msec 1 msec 
  15.    2 10.12.13.1 1 msec 0 msec 1 msec 
  16.    3 10.2.12.2 9 msec *  10 msec 

断开R1和R3之间的链路,验证备份链路是否能够正常转发流量;

  1. R1#configure terminal 
  2.  
  3. R1(config)#interface e0/3 
  4. R1(config-if)#shutdown 
  5.  
  6.  
  7. R2#traceroute 10.1.100.100 source 10.2.100.100 numeric 
  8. Type escape sequence to abort. 
  9. Tracing the route to 10.1.100.100 
  10. VRF info: (vrf in name/id, vrf out name/id) 
  11.    1 10.12.25.5 9 msec *  9 msec 
  12.  
  13.  
  14. R5#traceroute 10.2.100.100 source 10.1.100.100 numeric 
  15. Type escape sequence to abort. 
  16. Tracing the route to 10.2.100.100 
  17. VRF info: (vrf in name/id, vrf out name/id) 
  18.    1 10.12.25.2 8 msec *  9 msec 

测试完毕,请不要忘记恢复链路。

六、实现特殊业务走低速链路的需求

leak-map在EIGRP中并不止一种应用方案哦,下面介绍结合汇总命令的用法;

上面开启了末节路由器特性,默认仅仅通告本地产生的直连路由和汇总路由出去;

然后又做了汇总,汇总则抑制掉了明细;

现在,通过leak-map在汇总之后,允许特定的直连路由被通告给汇总方向的邻居;

配置:

R2:

  1. access-list 2 permit 10.2.201.0 0.0.0.255 
  2.  
  3. route-map LEAK permit 10 
  4.   match ip address 2 
  5.  
  6. router eigrp QYT 
  7.   address-family ipv4 unicast autonomous-system 666 
  8.    af-interface Serial1/1 
  9.     summary-address 10.2.0.0 255.255.0.0 leak-map LEAK 

(编辑:PHP编程网 - 黄冈站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读