素材来源:华为路由器配置指南
一边学习一边整理试验笔记,并与大家分享,侵权即删,谢谢支持!
附上汇总贴:玩转华为ENSP模拟器系列 | 合集_COCOgsta的博客-CSDN博客_华为模拟器实验
目标
配置多跳BFD报文收发间隔和检测倍数
组网模型
配置思路
- 配置路由协议,保证网络可达
- 配置多跳静态BFD for IP会话
- 配置本端标识符和远端标识符
- 配置BFD报文发送间隔
- 配置BFD报文接收间隔
- 配置本地检测倍数
操作步骤
- 配置各接口IP地址(略)
- 配置OSFP协议,保证网络可达
配置CX1
复制代码
1
2
3
4
5
6CX1: ospf 1 router-id 1.1.1.36 area 0.0.0.0 network 1.1.1.36 0.0.0.0 network 20.1.1.0 0.0.0.255
配置CX2
复制代码
1
2
3
4
5
6
7CX2: ospf 1 router-id 1.1.1.35 area 0.0.0.0 network 1.1.1.35 0.0.0.0 network 10.1.1.0 0.0.0.255 network 20.1.1.0 0.0.0.255
配置CX3
复制代码
1
2
3
4
5
6CX3: ospf 1 router-id 1.1.1.34 area 0.0.0.0 network 1.1.1.34 0.0.0.0 network 10.1.1.0 0.0.0.255
- 全局使能BFD功能
配置CX1
复制代码
1
2
3CX1: bfd
配置CX3
复制代码
1
2
3CX3: bfd
- 配置多跳静态BFD for IP
配置CX1
复制代码
1
2
3CX1: bfd cx1-cx3 bind peer-ip 1.1.1.34 source-ip 1.1.1.36
配置CX3
复制代码
1
2
3CX3: bfd cx3-cx1 bind peer-ip 1.1.1.36 source-ip 1.1.1.34
- 配置本端标识符和远端标识符
配置CX1
复制代码
1
2
3
4
5CX1: bfd cx1-cx3 bind peer-ip 1.1.1.34 source-ip 1.1.1.36 discriminator local 1 discriminator remote 2
配置CX3
复制代码
1
2
3
4
5CX3: bfd cx3-cx1 bind peer-ip 1.1.1.36 source-ip 1.1.1.34 discriminator local 2 discriminator remote 1
- 配置BFD报文本地检测倍数、接收间隔、发送间隔
配置CX1
复制代码
1
2
3
4
5
6CX1: bfd cx1-cx3 bind peer-ip 1.1.1.34 source-ip 1.1.1.36 detect-multiplier 6 min-tx-interval 55 min-rx-interval 55
配置CX3
复制代码
1
2
3
4
5
6
7
8CX3: bfd cx3-cx1 bind peer-ip 1.1.1.36 source-ip 1.1.1.34 discriminator local 2 discriminator remote 1 detect-multiplier 6 min-tx-interval 55 min-rx-interval 55
- 配置验证
查看多跳BFD状态,以CX1的显示为例
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32[~CX1-bfd-session-cx1-cx3]dis bfd session all verbose (w): State in WTR (*): State is invalid -------------------------------------------------------------------------------- (Multi Hop) State : Up Name : cx1-cx3 -------------------------------------------------------------------------------- Local Discriminator : 1 Remote Discriminator : 2 Session Detect Mode : Asynchronous Mode Without Echo Function BFD Bind Type : Peer IP Address Bind Session Type : Static Bind Peer IP Address : 1.1.1.34 Bind Interface : - Track Interface : - Bind Source IP Address : 1.1.1.36 FSM Board Id : 1 TOS-EXP : 7 Min Tx Interval (ms) : 55 Min Rx Interval (ms) : 55 Actual Tx Interval (ms): 55 Actual Rx Interval (ms): 55 Local Detect Multi : 6 Detect Interval (ms) : 330 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 : 6 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-cx3]
最后
以上就是务实小懒猪最近收集整理的关于玩转华为ENSP模拟器系列 | 配置BFD多跳检测的全部内容,更多相关玩转华为ENSP模拟器系列内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复