34、重分布配置实验之分发列表distribute-list
2015-12-04 14:26
597 查看
1、分发列表distribute-list解析
2、实验拓扑
3、实验配置
R1配置interface Serial0/0 ip address 12.1.1.1 255.255.255.0interface Serial0/1 ip address 13.1.1.1 255.255.255.0interface Serial0/2 ip address 14.1.1.1 255.255.255.0router eigrp 90 redistribute ospf 110 metric 1500 100 255 1 1500 network 14.1.1.0 0.0.0.255 no auto-summaryrouter ospf 110 router-id 1.1.1.1 log-adjacency-changes redistribute rip subnets network 13.1.1.0 0.0.0.255 area 0router rip version 2 network 12.0.0.0 no auto-summary
R2配置interface Loopback0 ip address 2.2.2.2 255.255.255.0interface Serial0/0 ip address 12.1.1.2 255.255.255.0router rip version 2 network 2.0.0.0 network 12.0.0.0 no auto-summary
R3配置interface Loopback0 ip address 3.3.3.3 255.255.255.0interface Serial0/0 ip address 13.1.1.3 255.255.255.0router ospf 110 router-id 3.3.3.3 log-adjacency-changes network 3.3.3.0 0.0.0.255 area 0 network 13.1.1.0 0.0.0.255 area 0
R4配置interface Loopback0 ip address 4.4.4.4 255.255.255.0interface Serial0/0 ip address 14.1.1.4 255.255.255.0router eigrp 90 network 4.4.4.0 0.0.0.255 network 14.1.1.0 0.0.0.255 no 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.3
router eigrp 90
distribute-list 3 out ospf 110
此时R4只学到13.1.1.0/24这条路由。
本文出自 “开源殿堂” 博客,请务必保留此出处http://kaiyuandiantang.blog.51cto.com/10699754/1719545
2、实验拓扑
3、实验配置
R1配置interface Serial0/0 ip address 12.1.1.1 255.255.255.0interface Serial0/1 ip address 13.1.1.1 255.255.255.0interface Serial0/2 ip address 14.1.1.1 255.255.255.0router eigrp 90 redistribute ospf 110 metric 1500 100 255 1 1500 network 14.1.1.0 0.0.0.255 no auto-summaryrouter ospf 110 router-id 1.1.1.1 log-adjacency-changes redistribute rip subnets network 13.1.1.0 0.0.0.255 area 0router rip version 2 network 12.0.0.0 no auto-summary
R2配置interface Loopback0 ip address 2.2.2.2 255.255.255.0interface Serial0/0 ip address 12.1.1.2 255.255.255.0router rip version 2 network 2.0.0.0 network 12.0.0.0 no auto-summary
R3配置interface Loopback0 ip address 3.3.3.3 255.255.255.0interface Serial0/0 ip address 13.1.1.3 255.255.255.0router ospf 110 router-id 3.3.3.3 log-adjacency-changes network 3.3.3.0 0.0.0.255 area 0 network 13.1.1.0 0.0.0.255 area 0
R4配置interface Loopback0 ip address 4.4.4.4 255.255.255.0interface Serial0/0 ip address 14.1.1.4 255.255.255.0router eigrp 90 network 4.4.4.0 0.0.0.255 network 14.1.1.0 0.0.0.255 no 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.3
router eigrp 90
distribute-list 3 out ospf 110
此时R4只学到13.1.1.0/24这条路由。
本文出自 “开源殿堂” 博客,请务必保留此出处http://kaiyuandiantang.blog.51cto.com/10699754/1719545
相关文章推荐
- 关于yii2的一些知识的学习笔述
- 备战春季招聘
- 滚动指定UITableViewCell到顶部
- netstat命令详解
- unity NGUI tutorial layout system
- 剑指offer系列之五:用两个栈实现队列
- string和stringstream用法总结
- Build Settings中的变量@rpath,@loader_path,@executable_path
- iOS des加密 16进制输出 代码
- 第四章 面向对象(上)
- Android客户端SQLite数据库升级方案
- asp.net实现图片以二进制流输出的两种方法
- 【设计模式】策略模式——以商场促销为例
- 正则表达式之awk学习笔记
- JavaScript encodeURI 和encodeURIComponent
- 分享+ 在根视图scrollView里面添加子视图
- Failed to create the VirtualBoxClient COM object. 解决这个鸟问题!
- NPOI2.2.0.0实例详解(二)—使用NPOI创建EXCEL
- 详解JavaScript逻辑Not运算符
- Linux进程实时IO监控iotop命令