18.8 BFD基础

2.配置BFD多跳检测链路

图片[1]-18.8 BFD基础-大赛人网
图18-13 BFD多跳检测链路配置网络拓扑

1)R1配置

[R1]bfd 
[R1]bfd R1toR3 bind peer-ip 23.1.1.3
//配置多跳检测BFD会话
[R1-bfd-session-r1tor3]discriminator local 10 
//配置本地标识符为10
[R1-bfd-session-r1tor3]discriminator remote 20
//配置远端标识符为20
[R1-bfd-session-r1tor3]commit
[R1]ip route-static 23.0.0.0 255.0.0.0 12.1.1.2
/配置静态路由

2)R2配置

[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]ip address 12.1.1.2 8
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]ip address 23.1.1.2 8

3)R3配置

[R3]bfd
[R3]bfd R3toR1 bind peer-ip 12.1.1.1
[R3-bfd-session-r3tor1]discriminator local 20
[R3-bfd-session-r3tor1]discriminator remote 10
[R3]ip route-static 12.0.0.0 255.0.0.0 23.1.1.2

4)验证配置,“(Multi Hop) State”状态为Up

<R1>display bfd session all verbose
Session MIndex : 256       (Multi Hop) State : Up        Name : r1tor3         
  Local Discriminator    : 10               Remote Discriminator   : 20        
  Session Detect Mode    : Asynchronous Mode Without Echo Function             
  BFD Bind Type          : Peer IP Address                                     
  Bind Session Type      : Static                                              
  Bind Peer IP Address   : 23.1.1.3                                            
  Bind Interface         : -                                                   
  Track Interface        : -                                                   
  FSM Board Id           : 0                TOS-EXP                : 7         
  Min Tx Interval (ms)   : 1000             Min Rx Interval (ms)   : 1000      
  Actual Tx Interval (ms): 1000             Actual Rx Interval (ms): 1000      
  Local Detect Multi     : 3                Detect Interval (ms)   : 3000      
  Echo Passive           : Disable          Acl Number             : -         
  Destination Port       : 3784             TTL                    : 254       
  Proc Interface Status  : Disable          Process PST            : Disable   
  WTR Interval (ms)      : -                                                   
  Active Multi           : 3                                                   
  Last Local Diagnostic  : No Diagnostic                                       
  Bind Application       : No Application Bind
  Session TX TmrID       : -                Session Detect TmrID   : -         
  Session Init TmrID     : -                Session WTR TmrID      : -         
  Session Echo Tx TmrID  : -                                                   
  PDT Index              : FSM-0 | RCV-0 | IF-0 | TOKEN-0                      
  Session Description    : -          
     Total UP/DOWN Session Number : 1/0

1 2 3 4 5 6 7 8

© 版权声明
THE END
喜欢就支持一下吧
点赞14 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容