配置路由重分发
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
<1-65535> Autonomous system number RtrA(config-router)# redistribute eigrp 100 ?
metric
Metric for redistributed routes
metric-type OSPF/IS-IS exterior metric type for redistributed routes
RtrA(config)# router rip RtrA(config-router)# redistribute ospf ?
<1-65535> Process ID RtrA(config-router)# redistribute ospf 1 ?
match
Redistribution of OSPF routes
重分发到OSPF
Default-metric命令
Default-metric命令用于指定默认度量值.
如果使用了该命令,指定的度量值将用于重分发到该协议中的所有协议. 在Redistribute中配置的默认度量值将覆盖Default-metric指定的默认度量值
Passive-interface命令
route-map
Route map reference
subnets
Consider subnets for redistribution into OSPF
tag
Set tag for routes redistributed into OSPF
…
<cr>
默认metric是20. 默认metric类型是2. 默认不重分发子网.
用于禁止通过指定的路由Leabharlann Baidu接口发送路由选择更新.
使用参数Default可以将所有路由器接口设置为被动状态
Distance命令
使用Distance命令可以修改路由协议的管理距离 根据各个 路由协议的管理距离差异影响路由选择
Example: Before Redistribution
Example: Before Redistribution (Cont.)
On Demand stub Routes
ospf
Open Shortest Path First (OSPF)
rip
Routing Information Protocol (RIP)
route-map Route map reference
static
Static routes
<cr>
RIP协议的Redistributie命令
Summary
Several steps must be followed for accurate IP route redistribution to occur. All IP routing protocols can be redistributed into RIP. When IP routing protocols are redistributed into OSPF, additional commands are required. When IP routing protocols are redistributed into EIGRP, a seed metric is required. IP routing protocols are usually redistributed into IS-IS as Level 2 routes. There are several techniques for verifying IP route redistribution.
Enhanced Interior Gateway Routing Protocol (EIGRP)
isis
ISO IS-IS
iso-igrp IGRP for OSI networks
metric
Metric for redistributed routes
mobile
Mobile routes
odr
操纵路由选择更新
配置和验证路由重分发
所有路由协议都支持Redistribution命令
eigrp
RtrA(config)#router rip
RtrA(config-router)#redistribute ?
bgp
Border Gateway Protocol (BGP)
connected Connected
metric
Metric for redistributed routes
route-map Route map reference
…
<cr>
默认Metric为无穷大.
重分发到RIP
OSPF中的重分发命令
RtrA(config)# router ospf 1 RtrA(config-router)# redistribute eigrp ?
Example: Configuring Redistribution at Router B
Example: Routing Tables After Route Redistribution
Example: Routing Tables After Summarizing Routes and Redistributions