重发布实验

一、双点重发布

R2

[R2]ospf 1
[R2-ospf-1]import-route rip 
[R2-ospf-1]q
[R2]rip 1
[R2-rip-1]import-route ospf 1

R4

[R4]ospf 1
[R4-ospf-1]import-route rip 
[R4-ospf-1]q
[R4]rip 1
[R4-rip-1]import-route ospf 1

R1 

 R3

 

二、选路最佳 

R1

[R1]ip ip-prefix a permit 34.1.1.0 24
[R1]ip ip-prefix b permit 4.4.4.4 32
[R1]int g 0/0/0
[R1-GigabitEthernet0/0/0]rip metricout ip-prefix a 5
[R1-GigabitEthernet0/0/0]rip metricout ip-prefix b 5
 
[R4]ip ip-prefix c permit 23.1.1.0 24
[R4]int g 0/0/1
[R4-GigabitEthernet0/0/1]rip metricout ip-prefix c 5

R3

[R4]ip ip-prefix qq permit 14.1.1.0 24
[R4]route-policy huawei permit node 30
Info: New Sequence of this List.
[R4-route-policy]if-match ip-prefix dd
[R4-route-policy]apply cost-type type-1
[R4-route-policy]q
[R4]route-policy huawei permit node 50
Info: New Sequence of this List.
[R4]ospf 
[R4-ospf-1]import-route rip 1 route-policy huawei

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值