Route-map在重发布中应用的典型案例分析与实现
2021-11-03马梅



DOI:10.19850/j.cnki.2096-4706.2021.08.018
摘 要:文章以一个实际工程中典型的案例为基础,探讨了route-map这个非常强大而有用的工具的使用方法以及route-map在重发布技术中的应用技巧。在完成基础配置以及动态路由协议RIP和OSPF配置后利用重发布实现全网互通,最后为了实现数据分流和链路备份,使用ACL抓取路由条目,配置route-map并在重发布时应用。通过相应的部署,可以实现数据分流和链路备份,保障网络的可靠性和稳定性。上述探讨既有助于读者对route-map和重发布技术相关工作原理的理解,又有助于熟练掌握其配置方法。
关键词:route-map;重发布;数据分流;链路备份
中图分类号:TP393.04 文献标识码:A 文章编号:2096-4706(2021)08-0061-03
Typical Case Analysis and Implementation of Route-map Application in Republication
MA Mei
(Yangzhou Polytechnic Institute,Yangzhou 225127,China)
Abstract:Based on a typical case in a practical project,this paper discusses the usage method of route-map,a very powerful and useful tool,and the application skills of route-map in republication technology. After finishing the basic configuration and the configuration of dynamic routing protocol RIP and OSPF,the whole network interworking is realized by republication. Finally,in order to achieve data diversion and link backup,ACL is used to capture the routing entry,configure route-map and apply it during republication. Through the relevant deployment,data diversion and link backup can be realized to ensure the reliability and stability of the network. Above discussion is helpful for readers to understand the related working principle of route-map and republication technology,it is also helpful to master its configuration method expertly.
Keywords:route-map;republication;data diversion;link backup
0 引 言
在實际工程环境中,为了保障网络的可靠性和稳定性,实现数据分流和链路备份,需要做相应的部署,确保在一条链路出现故障时,能快速切换到另外一条可用线路。本文以一个典型的案例为基础,利用route-map工具和重发布技术,实现数据分流和链路备份。
重发布在实际的项目中运用时,由于不同路由选择协议具有的差异性,使用重分发时可能出现次优路由、路由环路或黑洞问题[1,2],本实例中拓扑结构没有涉及环路,因此这些问题不在本文讨论的范围内,但是在网络规划中考虑重分发时可能引发的问题是非常必要的[3-5]。
1 相关技术
1.1 route-map
将OSPF路由重发布进RIP,在重发布时,可以使用metric关键字来设置路由被重发布进RIP后的metric,如果设置为1,那么直接的结果是所有被注入RIP的OSPF路由,metric都是1。如果希望做些灵活性调整,例如在路由被注入RIP后,192.168.1.0路由的metric为1,192.168.2.0的metric为2,传统的重发布是没办法做到的。……
