R5:
- key chain CISCO
- key 1
- key-string CCNP
-
- router eigrp QYT
- address-family ipv4 unicast autonomous-system 666
-
- neighbor 10.12.25.2 Serial1/1
- af-interface Serial1/1
- authentication mode md5
- authentication key-chain CISCO
四、部署末节路由器
R2和R5:
- router eigrp QYT
- address-family ipv4 unicast autonomous-system 666
- eigrp stub
五、实现二层×××和低速备份链路之间的主备
在R2和R5上针对本区域的路由进行汇总,实现通过最长匹配原则进行主备链路的流量转发控制;
R2:
- router eigrp QYT
- address-family ipv4 unicast autonomous-system 666
- af-interface Serial1/1
- summary-address 10.2.0.0 255.255.0.0
R5:
- router eigrp QYT
- address-family ipv4 unicast autonomous-system 666
- af-interface Serial1/1
- summary-address 10.1.0.0 255.255.0.0
验证:
- R2#traceroute 10.1.100.100 source 10.2.100.100 numeric
- Type escape sequence to abort.
- Tracing the route to 10.1.100.100
- VRF info: (vrf in name/id, vrf out name/id)
- 1 10.2.12.1 9 msec 9 msec 9 msec
- 2 10.12.13.3 9 msec 9 msec 10 msec
- 3 10.1.35.5 9 msec * 6 msec
-
-
- R5#traceroute 10.2.100.100 source 10.1.100.100 numeric
- Type escape sequence to abort.
- Tracing the route to 10.2.100.100
- VRF info: (vrf in name/id, vrf out name/id)
- 1 10.1.35.3 1 msec 0 msec 1 msec
- 2 10.12.13.1 1 msec 0 msec 1 msec
- 3 10.2.12.2 9 msec * 10 msec
断开R1和R3之间的链路,验证备份链路是否能够正常转发流量;
- R1#configure terminal
-
- R1(config)#interface e0/3
- R1(config-if)#shutdown
-
-
- R2#traceroute 10.1.100.100 source 10.2.100.100 numeric
- Type escape sequence to abort.
- Tracing the route to 10.1.100.100
- VRF info: (vrf in name/id, vrf out name/id)
- 1 10.12.25.5 9 msec * 9 msec
-
-
- R5#traceroute 10.2.100.100 source 10.1.100.100 numeric
- Type escape sequence to abort.
- Tracing the route to 10.2.100.100
- VRF info: (vrf in name/id, vrf out name/id)
- 1 10.12.25.2 8 msec * 9 msec
测试完毕,请不要忘记恢复链路。
六、实现特殊业务走低速链路的需求
leak-map在EIGRP中并不止一种应用方案哦,下面介绍结合汇总命令的用法;
上面开启了末节路由器特性,默认仅仅通告本地产生的直连路由和汇总路由出去;
然后又做了汇总,汇总则抑制掉了明细;
现在,通过leak-map在汇总之后,允许特定的直连路由被通告给汇总方向的邻居;
配置:
R2:
- access-list 2 permit 10.2.201.0 0.0.0.255
-
- route-map LEAK permit 10
- match ip address 2
-
- router eigrp QYT
- address-family ipv4 unicast autonomous-system 666
- af-interface Serial1/1
- summary-address 10.2.0.0 255.255.0.0 leak-map LEAK
(编辑:晋中站长网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|