玩转华为ENSP模拟器系列 | 配置静态BFD检测三层IP链路

素材来源:华为路由器配置指南

一边学习一边整理试验笔记,并与大家分享,侵权即删,谢谢支持!

附上汇总贴:玩转华为ENSP模拟器系列 | 合集_COCOgsta的博客-CSDN博客_华为模拟器实验


目标

配置静态BFD for IP会话

组网模型

玩转华为ENSP模拟器系列 | 配置静态BFD检测三层IP链路_第1张图片

配置思路

  • 进入BFD视图
  • 配置静态bfd for ip
  • 配置本端标识符和远端标识符

操作步骤

  1. 配置各接口IP地址(略)
  2. 全局使能BFD功能

配置CX1

CX1:
bfd

配置CX2

CX2:
bfd
  1. 配置静态BFD for IP

配置CX1

CX1:
bfd cx1-cx2 bind peer-ip 10.1.1.2 source-ip 10.1.1.1

配置CX2

CX2:
bfd cx2-cx1 bind peer-ip 10.1.1.1 source-ip 10.1.1.2
  1. 配置本端标识符和远端标识符

配置CX1

CX1:
bfd cx1-cx2 bind peer-ip 10.1.1.2 source-ip 10.1.1.1
 discriminator local 80
 discriminator remote 100

配置CX2

CX2:
bfd cx2-cx1 bind peer-ip 10.1.1.1 source-ip 10.1.1.2
 discriminator local 100
 discriminator remote 80
  1. 配置验证

查看静态BFD状态

[~CX1-bfd-session-cx1-cx2]dis bfd session all verbose 
(w): State in WTR
(*): State is invalid
--------------------------------------------------------------------------------
  (Multi Hop) State : Up                    Name : cx1-cx2
--------------------------------------------------------------------------------
  Local Discriminator    : 80               Remote Discriminator   : 100 
  Session Detect Mode    : Asynchronous Mode Without Echo Function
  BFD Bind Type          : Peer IP Address  
  Bind Session Type      : Static  
  Bind Peer IP Address   : 10.1.1.2         
  Bind Interface         : -                                                 
  Track Interface        : - 
  Bind Source IP Address : 10.1.1.1   
  FSM Board Id           : 1                TOS-EXP                : 7
  Min Tx Interval (ms)   : 10               Min Rx Interval (ms)   : 10 
  Actual Tx Interval (ms): 10               Actual Rx Interval (ms): 10 
  Local Detect Multi     : 3                Detect Interval (ms)   : 30 
  Echo Passive           : Disable          Acl Number             : - 
  Destination Port       : 4784             TTL                    : 254 
  Proc Interface Status  : Disable          Process PST            : Disable    
  WTR Interval (ms)      : -                Config PST             : Disable    
  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  : -   
  Session Description    : - 
--------------------------------------------------------------------------------
    Total UP/DOWN Session Number : 1/0
[~CX1-bfd-session-cx1-cx2] 

 

你可能感兴趣的:(实验笔记,华为,tcp/ip,腾讯云)