1、分发列表distribute-list解析
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-summary
R2配置interface Loopback0ip address 2.2.2.2 255.255.255.0interface Serial0/0ip address 12.1.1.2 255.255.255.0router ripversion 2network 2.0.0.0network 12.0.0.0no auto-summary
R3配置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 0
R4配置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
4、分发列表应用此时我们可以看到R4可以学到3.3.3.3/32和13.1.1.0/24这两条路由,这里我们希望通过分发列表让R4只学到13.1.1.0/24这条路由。R1配置
access-list 3 permit 3.3.3.3router eigrp 90distribute-list 3 out ospf 110免费云主机域名此时R4只学到13.1.1.0/24这条路由。
相关推荐: 2、EVE-NG镜像导入(Dynamipshe和IOL)
查看EVE-NG的地址,将文件传入EVE-NG中(本文以SecureFX为例)。上传文件完成后执行相应命令来修复镜像(本文以SecureCRT为例)。链接:h免费云主机域名ttp://pan.baidu.com/s/1jIFzrWa 密码:gknq将dynam…
免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。