浮动路由+静态路由快速重路由配置

双专线浮动路由配置

interface GigabitEthernet1/0/0/10
 port link-mode route
 description to WanDa-CMCC
 ip address 10.214.255.38 255.255.255.252

interface GigabitEthernet2/0/0/10
port link-mode route
description to WanDa-CUCC
ip address 10.214.255.42 255.255.255.252
undo shut

ip route-static 10.209.56.0 24 10.214.255.37
ip route-static 10.214.67.0 24 10.214.255.37
ip route-static 10.214.95.0 24 10.214.255.37

ip route-static 10.214.165.0 24 10.214.255.37

ip route-static 10.209.56.0 24 10.214.255.41 preference 5

ip route-static 10.214.67.0 24 10.214.255.41 preference 5
ip route-static 10.214.95.0 24 10.214.255.41 preference 5
ip route-static 10.214.165.0 24 10.214.255.41 preference 5


双专线静态路由快速重路由配置
interface LoopBack 0
ip address 1.1.1.1 32
undo shut
interface GigabitEthernet1/0/0/10
port link-mode route
description to WanDa-CMCC
ip address 10.214.255.38 255.255.255.252
undo shut


interface GigabitEthernet2/0/0/10
port link-mode route
description to WanDa-CUCC
ip address 10.214.255.42 255.255.255.252
undo shut


ip route-static 10.209.56.0 24 GigabitEthernet1/0/0/10 10.214.255.37 
ip route-static 10.214.67.0 24 GigabitEthernet1/0/0/10 10.214.255.37
ip route-static 10.214.95.0 24 GigabitEthernet1/0/0/10 10.214.255.37
ip route-static 10.214.165.0 24 GigabitEthernet1/0/0/10 10.214.255.37
 
bfd echo-source-ip 1.1.1.1
ip ip-prefix HT-WanDa index 10 permit 10.209.56.0 24
ip ip-prefix HT-WanDa index 10 permit 10.214.67.0 24
ip ip-prefix HT-WanDa index 10 permit 10.214.95.0.0 24
ip ip-prefix HT-WanDa index 10 permit 10.214.165.0 24
route-policy WanDa permit node 10
if-match ip-prefix HT-WanDa
apply fast-reroute backup-interface GigabitEthernet2/0/0/10 backup-nexthop 10.214.255.41
quit
ip route-static fast-reroute route-policy WanDa


验证
display ip routing-table 10.214.95.0 24 verbose
Summary Count : 1


Destination: 10.214.95.0/24
   Protocol: Static          Process ID: 0
  SubProtID: 0x1                    Age: 78d02h09m40s
       Cost: 0               Preference: 60
        Tag: 0                    State: Active Adv 
  OrigTblID: 0x0                OrigVrf: default-vrf
    TableID: 0x2                 OrigAs: 0
      NibID: 0x11000007          LastAs: 0
     AttrID: 0xffffffff        Neighbor: 0.0.0.0
      Flags: 0x10060        OrigNextHop: 10.214.255.37
      Label: NULL           RealNextHop: 10.214.255.37
    BkLabel: NULL             BkNextHop: 10.214.255.41
  Tunnel ID: Invalid          Interface: GigabitEthernet1/0/0/10
BkTunnel ID: Invalid        BkInterface: GigabitEthernet2/0/0/10
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值