这篇文章跟大家分析一下“如何进行route-map解析”。内容详细易懂,对“如何进行route-map解析”感兴趣的朋友可以跟着小编的思路慢慢深入来阅读一下,希望阅读后能够对大家有所帮助。下面跟着小编一起深入学习“如何进行route-map解析”的知识吧。1、route-map解析2、实验拓扑3、实验配置R1配置interface Serial0/0ip address 12.1.1.1 255免费云主机域名.255.255.0interface Serial0/1ip address 13.1.1.1 255.255.255.0interface Serial0/2ip address 14.1.1.1 255.255.255.0router eigrp 90redistribute ospf 110 metric 1500 100 255 1 1500network 14.1.1.0 0.0.0.255no auto-summaryrouter ospf 110router-id 1.1.1.1log-adjacency-changesredistribute rip subnetsnetwork 13.1.1.0 0.0.0.255 area 0router ripversion 2network 12.0.0.0no auto-summaryR2配置interface Loopback0ip address 2.2.2.2 255.255.255.0interface Loopback22ip address 22.22.22.22 255.255.255.0interface Loopback222ip address 222.222.222.222 255.255.255.0interface Serial0/0ip address 12.1.1.2 255.255.255.0router ripversion 2network 2.0.0.0network 22.0.0.0network 222.222.222.0network 12.0.0.0no auto-summaryR3配置interface Loopback0ip address 3.3.3.3 255.255.255.0interface Serial0/0ip address 13.1.1.3 255.255.255.0router ospf 110router-id 3.3.3.3log-adjacency-changesnetwork 3.3.3.0 0.0.0.255 area 0network 13.1.1.0 0.0.0.255 area 0R4配置interface Loopback0ip address 4.4.4.4 255.255.255.0interface Serial0/0ip address 14.1.1.4 255.255.255.0router eigrp 90network 4.4.4.0 0.0.0.255network 14.1.1.0 0.0.0.255no auto-summary此时R3学到4外部路由,我们希望作如下修改。222.222.222.0/24修改为E12.2.2.0/24 修改Default Seed Metrics为1022.22.22.0/24 deny掉,permit anyR1配置ip prefix-list 222 seq 5 permit 222.222.222.0/24access-list 2 permit 2.2.2.0 0.0.0.255access-list 22 permit 22.22.22.0 0.0.0.255route-map RM permit 10match ip address prefix-list 222set metric-type type-1route-map RM permit 20match ip address 2set metric 10route-map RM deny 30match ip address 22route-map RM permit 40router ospf 110redistribute rip subnets route-map RM可以看到结果与我们的需求一致。关于如何进行route-map解析就分享到这里啦,希望上述内容能够让大家有所提升。如果想要学习更多知识,请大家多多留意小编的更新。谢谢大家关注一下云编程开发博客网站!
相关推荐: Lintcode31 Partition Array solution题解
【题目描述】Given an array nums of integers and an int k, partition the array (i.e move the elements in “nums”) such that:All elements =…
免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。