路由重发布

OSPF度量值为:代价

RIP度量值为:跳数

EIGRP度量值为:5K(带宽、延迟)

  • 缺省Metric为20
  • 缺省Metric Type 为2
  • 缺省不会重发子网路由

Route redistribution配置

只用在center路由上配

Eg:

  • center(config)#router rip

       center(config)#redistribution ospf 200 metric 31---->ospf翻译成rip

  • center(config)#router ospf 200--->ospf后的值在不同路由上不同,选取center上的

       center(config)#redistribution rip metric 20---->rip翻译成ospf,要互相翻译,metric默认值   20,可替换成subnets

  • center(config)#router eigrp 100

       center(config)#redistribute ospf 200 metric 1000 10 255 1 1500--->10:     255: 最大通过量     1: 容阻量        1500:频率最大调数

  • 当出现only classful….报错时要加subnets

 router eigrp 100

redistribute rip metric 1000 1 255 1 1500

redistribute ospf 200 metric 1000 10 255 1 1500

redistribute static metric 1000 10 255 1 1500

network 13.1.1.0 0.0.0.255

network 14.1.1.0 0.0.0.255

network 15.1.1.0 0.0.0.255

no auto-summary

!

router ospf 200

router-id 2.2.2.2

log-adjacency-changes

redistribute rip subnets

redistribute eigrp 100 subnets

redistribute static subnets

network 13.1.1.0 0.0.0.3 area 0

network 14.1.1.0 0.0.0.3 area 0

!

router rip

version 2

redistribute eigrp 100 metric 3

redistribute ospf 200 metric 1

redistribute static

network 13.0.0.0

no auto-summary

!

ip classless

ip route 16.1.2.0 255.255.255.0 16.1.1.2

!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值