4 路由重发布;控制

上传人:飞*** 文档编号:52263064 上传时间:2018-08-19 格式:PPT 页数:29 大小:699.50KB
返回 下载 相关 举报
4  路由重发布;控制_第1页
第1页 / 共29页
4  路由重发布;控制_第2页
第2页 / 共29页
4  路由重发布;控制_第3页
第3页 / 共29页
4  路由重发布;控制_第4页
第4页 / 共29页
4  路由重发布;控制_第5页
第5页 / 共29页
点击查看更多>>
资源描述

《4 路由重发布;控制》由会员分享,可在线阅读,更多相关《4 路由重发布;控制(29页珍藏版)》请在金锄头文库上搜索。

1、路由重发布概述路由重发布概述What is redistribute?对重发布的考虑 Routing feedback Suboptimal path selection Incompatible routing information Inconsistent convergence timeSeed MetricThe first, or seed metric for a route is derived from being directly connected to a router interface. Use the default-metric command to estab

2、lish the seed metric for the route or specify the metric when redistributing. Once a compatible metric is established, the metric will increment just like any other route.Default Seed Metrics重发布命令RtrA(config-router)# redistribute ? bgp Border Gateway Protocol (BGP) connected Connected egp Exterior G

3、ateway Protocol (EGP) eigrp Enhanced Interior Gateway Routing Protocol (EIGRP) igrp Interior Gateway Routing Protocol (IGRP) isis ISO IS-IS iso-igrp IGRP for OSI networks mobile Mobile routes odr On Demand stub Routes ospf Open Shortest Path First (OSPF) rip Routing Information Protocol (RIP) static

4、 Static routes将Classless路由协议 重发布到Classful路由协议实验:Classless to Classful172.16.12.1/24 S1S1S0S0 LondonDenver172.16.1.1/24172.16.3.1/30172.16.10.1/24loopback0loopback1loopback0172.16.2.1/27loopback2172.16.12.2/24172.16.11.2/24172.16.11.1/24IGRP 50OSPF Area 0Denver能学到哪些路由?Florence实验:Classless to Classful

5、 答案Florence(config)# router ospf 1 Florence(config-router)# network 172.16.12.0 0.0.0.255 area 0 Florence(config-router)# redistribute igrp 50 subnets Florence(config-router)# area 0 range 172.16.2.0 255.255.255.0 Florence(config-router)# area 0 range 172.16.3.0 255.255.255.0 Florence(config-router)

6、# exitFlorence(config)# router igrp 50 Florence(config-router)# network 172.16.0.0 Florence(config-router)# passive-interface serial 1 Florence(config-router)# redistribute ospf 1 metric 10000 100 1 255 1500 Florence(config-router)# exitFlorence(config)# ip route 172.16.2.0 255.255.255.0 null0 Flore

7、nce(config)# ip route 172.16.3.0 255.255.255.0 null0修改Distance解决 路由重发布的问题实验 DistanceR5R1 S1192.168.1.1/2410.5.1.2/2410.5.1.1/2410.4.1.2/2410.4.1.1/2410.3.1.2/2410.3.1.1/2410.1.1.2/2410.2.1.2/2410.2.1.1/2410.1.1.1/24IGRP 100RIPR3R2R4S0.1S0.1S0S1S0.2S0.1S1S0.1S0.1实验 答案(R13部分配置)access-l 1 permit 192.16

8、8.1.0 0.0.0.255 router ripdistance 80 10.1.1.1 255.255.255.255 1路由过滤 distribute-list / route-map实验1 (route-map)10.1.1.1/30 S1S1S0S0 LondonDenver172.16.1.1/24 172.16.2.1/24 172.16.3.1/24 172.16.4.1/24 172.16.5.1/24 172.16.6.1/24 172.16.7.1/24 172.16.8.1/24Loopback0-7Loopback0-7 10.1.1.2/3010.1.1.6/30

9、10.1.1.5/30ISIS Area 1OSPF Area 0Florence192.168.1.1/24 192.168.2.1/24 192.168.3.1/24 192.168.4.1/24 192.168.5.1/24 192.168.6.1/24 192.168.7.1/24 192.168.8.1/24 London想看到 192.168.1.0、192.168.3.0、192.168.5.0、192.168.7.0 Denver不想看到 172.16.2.0、172.16.4.0、172.16.6.0、172.16.8.0实验1 配置示例router ospf 9redist

10、ribute isis level-1 subnets route-map isis-ospf ! router isis redistribute ospf 9 route-map ospf-isis ! access-list 1 permit 192.168.1.0 0.0.0.255 access-list 1 permit 192.168.3.0 0.0.0.255 access-list 1 permit 192.168.5.0 0.0.0.255 access-list 1 permit 192.168.7.0 0.0.0.255 ! access-list 2 permit 1

11、72.16.2.0 0.0.0.255 access-list 2 permit 172.16.4.0 0.0.0.255 access-list 2 permit 172.16.6.0 0.0.0.255 access-list 2 permit 172.16.8.0 0.0.0.255 ! route-map isis-ospf permit 10match ip address 1 ! route-map ospf-isis deny 10match ip address 2 route-map ospf-isis permit 20实验2 (distribute-list)10.1.1

12、.1/30 S1S1S0S0 LondonDenver172.16.1.1/24 172.16.2.1/24 172.16.3.1/24 172.16.4.1/24 172.16.5.1/24 172.16.6.1/24 172.16.7.1/24 172.16.8.1/24Loopback0-7Loopback0-7 10.1.1.2/3010.1.1.6/3010.1.1.5/30EIGRP 50OSPF Area 0Florence192.168.1.1/24 192.168.2.1/24 192.168.3.1/24 192.168.4.1/24 192.168.5.1/24 192.

13、168.6.1/24 192.168.7.1/24 192.168.8.1/24 London想看到 192.168.1.0、192.168.3.0、192.168.5.0、192.168.7.0 Denver不想看到 172.16.2.0、172.16.4.0、172.16.6.0、172.16.8.0实验2 配置示例router eigrp 50redistribute ospf 9 metric 10000 100 1 255 1500distribute-list 12 out ospf 9 ! router ospf 9redistribute eigrp 50 subnetsdis

14、tribute-list 11 out eigrp 50 ! access-list 11 permit 192.168.1.0 0.0.0.255 access-list 11 permit 192.168.3.0 0.0.0.255 access-list 11 permit 192.168.5.0 0.0.0.255 access-list 11 permit 192.168.7.0 0.0.0.255 ! access-list 12 deny 172.16.2.0 0.0.0.255 access-list 12 deny 172.16.4.0 0.0.0.255 access-li

15、st 12 deny 172.16.6.0 0.0.0.255 access-list 12 deny 172.16.8.0 0.0.0.255 access-list 12 permit any路由过滤应用 distribute-list / route-map实验 (route-summary / route-map / distribute-list)CiscoLondonDenverS1E0E0S0 S0S1192.168.3.33/27192.168.3.34/27 192.168.3.129/27192.168.3.130/27192.168.3.97/27 192.168.3.6

16、5/27 192.168.1.1/24192.168.3.161/27 192.168.3.193/27 192.168.2.1/24172.16.4.1/24172.16.4.2/24172.16.5.1/24 172.16.6.1/24 172.16.7.1/24OSPF Area 0EIGRP 20EIGRP 10Juniper实验 答案(Summary: Juniper部分配置 )router ospf 1summary-address 192.168.3.128 255.255.255.128summary-address 172.16.4.0 255.255.252.0 ! interface Ethernet 0ip summary-address eigrp 10 172.16.4.0 255.255.252.0ip summary-address eigrp 10 192.168.3.0 2

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号