一、实验拓扑:

二、实验要求:
1、R1、R2运行EIGRP协议,R1只通告12.1.1.0网段进EIGRP,其它运行OSPF协议;
2、R1在EIGRP进程下重分发OSPF协议;
3、R4将Loopback 0修改为P-T-P模式;
2、R1用Prefix-list抓取4.4.4.0路由,并在EIGRP中分别调用Prefix-list in/out;
4、in和out R1、R2查看是否还有2.2.2.0条目?

三、命令部署:
R4(config)#int loopback 0
R4(config-if)#ip ospf network point-to-point

R1(config)#router eigrp 90
R1(config-router)#redistribute ospf 110 metric 100000 10 255 1 1500

R1(config)#access-list 10 deny 4.4.4.0 0.0.0.255
R1(config)#access-list 10 permit any

R1(config)#router eigrp 90
R1(config-router)#distribute-list 10 out ospf 110 //只有out方向才有ospf 110写法
或者是:
R1(config-router)#distribute-list 10 out f0/0

四、验证:
1、R1部署:distribute-list 10 out ospf 110 命令效果:R1仍然有4.4.4.0路由条目,但是R2没有
R2#show ip route
1.0.0.0/24 is subnetted, 1 subnets
D EX 1.1.1.0 [170/30720] via 12.1.1.1, 00:08:53, FastEthernet0/0
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 2.2.2.0/24 is directly connected, Loopback0
D 2.0.0.0/8 is a summary, 00:19:30, Null0
3.0.0.0/32 is subnetted, 1 subnets
D EX 3.3.3.3 [170/30720] via 12.1.1.1, 00:08:53, FastEthernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.1.1.0/24 is directly connected, FastEthernet0/0
D 12.0.0.0/8 is a summary, 00:19:33, Null0
13.0.0.0/24 is subnetted, 1 subnets
D EX 13.1.1.0 [170/30720] via 12.1.1.1, 00:08:56, FastEthernet0/0
14.0.0.0/24 is subnetted, 1 subnets
D EX 14.1.1.0 [170/30720] via 12.1.1.1, 00:08:57, FastEthernet0/0

R1#show ip route
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
D 2.0.0.0/8 [90/156160] via 12.1.1.2, 00:18:39, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/2] via 13.1.1.3, 00:10:58, FastEthernet1/0
4.0.0.0/24 is subnetted, 1 subnets
O 4.4.4.0 [110/65] via 14.1.1.4, 00:10:58, Serial2/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, FastEthernet0/0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, FastEthernet1/0
14.0.0.0/24 is subnetted, 1 subnets
C 14.1.1.0 is directly connected, Serial2/0

转载于:https://blog.51cto.com/13856092/2138505

57-高级路由:分发列表:多协议分发列表实验:DV、LS相关推荐

  1. mysql的请求分发,基于 gorilla/mux 实现路由匹配和请求分发:服务单页面应用

    基于 gorilla/mux 实现路由匹配和请求分发:服务单页面应用 由 学院君 创建于1年前, 最后更新于 1年前 版本号 #1 1279 views 0 likes 0 collects 随着前后 ...

  2. 迈普路由器访问控制列表配置命令_路由与交换--ACL基本命令及其实验配置

    1 ACL的配置 1.1创建 ACL 标准 ACL router(config)#access-list {permit|deny}{|any} //表号1~99 扩展 ACL router(conf ...

  3. iproute2;高级路由;ip_route,ip_rule;

    http://linux.cn/article-4326-1.html iproute2 对决 net-tools 如今很多系统管理员依然通过组合使用诸如ifconfig.route.arp和nets ...

  4. 16、基于状态的iptable+高级路由(重点)

    --   基于状态的iptables   如果按照tcp/ip来划分连接状态,有12种之多 但iptables里只有4种状态:ESTABLISHED.NEW.RELATED及INVALID   这两个 ...

  5. android优美列表页面,android listview 列表 点击列表进入详细页面

    [实例简介] android listview 列表 点击列表进入详细页面 [实例截图] [核心代码] ListviewSingleChoice └── ListviewSingleChoice ├─ ...

  6. python列表操作计算列表长度并输出_Python成为专业人士笔记–List列表

    专业人士笔记"系列目录:创帆云:Python成为专业人士笔记--强烈建议收藏!每日持续更新!​zhuanlan.zhihu.com Python列表是Python程序中广泛使用的一种通用数据 ...

  7. html标签(2)--有序列表与无序列表

    有一些内容形式,用div来实现非常麻烦,也不适合 例如一些表格形式 无序列表 ul 代表列表 li 代表列表中的项 list-style 控制列表的样式 有序列表 ol 代表列表 li 代表列表中的项 ...

  8. python列表知识点_Python列表知识点

    1.列表基础 list.append(x) 在列表的末尾添加一个元素.相当于 a[len(a):] = [x] . list.extend(iterable) 使用可迭代对象中的所有元素来扩展列表.相 ...

  9. 好好学python · 你真的会列表吗(列表推导式质检员)

    你真的会列表 数据类型详解-列表 列表的定义 列表的基本操作 列表中切片 列表相关函数 深拷贝与浅拷贝 浅拷贝 深拷贝 列表推导式 一,基本的列表推导式使用方式 二,带有判断条件的列表推到式 三,对于 ...

  10. 全面讲解Python列表数组(二),列表分区/片,列表操作符,比较操作符,逻辑操作符,连接操作符,重复操作符,成员关系操作符;

    一 列表分片 简单概括来说就是可以从一个列表中一次性取出来多个元素等操作; 这里有一个列表 member=[1,2,3,4,5] member[1:3] [2,3] 还可以 member[:3] [1 ...

最新文章

  1. 海思3559A上编译GDB源码操作步骤及简单使用
  2. [动态dp]线段树维护转移矩阵
  3. css3运动后留下轨迹尾巴_球磨机的工作原理及机内运动轨迹分析
  4. Spring-bean作用域
  5. 摸鱼神器来了!让你用QQ、微信的时候都像是在工作
  6. C/C++循环输入问题
  7. 研究项目: JBoss架构分析
  8. 压缩流--DeflateStream和GZipStream
  9. 1063 Set Similarity (25 分)【难度: 一般 / 知识点: STL中set的应用】
  10. 网站数据分析:基于用户细分的比较分析
  11. input onclick点击button无反应_热图分析:精确洞察用户点击偏好
  12. 2013\Province_Java_A\2.振兴中华
  13. Matlab语音采集与读写程序,基于MATLAB的语音信号录制采集和分析的程序设计
  14. php heredoc 用法
  15. 前端与移动开发之vue-day3(4)
  16. android jersey 上传图片,图片上传--Jersey实现RESTful接口
  17. 离散数学 (II) 习题 2
  18. CentOS8下vi编辑器常用命令
  19. 2021的第一篇文章,开个好头先
  20. plt的默认风格/样式设置 or 将plt.rcParams恢复恢复到默认参数设置

热门文章

  1. (转)Ubuntu12.04上NFS Server安装使用过程
  2. mysql-主从服务器同步搭建
  3. Android调用WebService系列之对象构建传递
  4. Linux软件安装管理---源码安装
  5. 【Runtime Error】打开Matlib7.0运行程序报错的解决办法
  6. 软件视频会议Vidyo体验
  7. 从Android访问PC端的port (reverse port forwarding)
  8. Nginx虚拟机主机根据不同的域名使用不同的root路径
  9. Cisco交换机密码配置整理
  10. VC模仿超炫QQ界面的实现