18.8 BFD基础

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

1.配置BFD单跳检测链路

1)R1配置

[R1]bfd
[R1]bfd R1toR2 bind peer-ip 12.1.1.2 interface GigabitEthernet 0/0/0
//创建三层链路单跳检测的BFD会话R1toR2,绑定对端IP地址和本端相应接口
[R1-bfd-session-r1tor2]discriminator local 1
//配置本地标识符为1
[R1-bfd-session-r1tor2]discriminator remote 2
//配置远端标识符为2

2)R2配置

[R2]bfd
[R2]bfd R1toR2 bind peer-ip 12.1.1.1 interface GigabitEthernet 0/0/0
[R2-bfd-session-r2tor1]discriminator local 2
[R2-bfd-session-r2tor1]discriminator remote 1
[R2-bfd-session-r2tor1]commit

3)查看建立了一个单跳(One Hop)的BFD Session,状态为Up

[R1]display bfd session all verbose
Session MIndex : 256       (One Hop) State : Up        Name : r1tor2         
  Local Discriminator    : 1                Remote Discriminator   : 2         
  Session Detect Mode    : Asynchronous Mode Without Echo Function             
  BFD Bind Type          : Interface(GigabitEthernet0/0/0)                     
  Bind Session Type      : Static                                              
  Bind Peer IP Address   : 12.1.1.2                                            
  NextHop Ip Address     : 12.1.1.2                                            
  Bind Interface         : GigabitEthernet0/0/0                                
  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                    : 255       
  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 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容