当前位置:网站首页>华为设备配置BFD多跳检测
华为设备配置BFD多跳检测
2022-08-02 20:13:00 【51CTO】

1. 配置设备间的网络互连
[LSW1]vlan batch 10
[LSW1-GigabitEthernet0/0/2]port link-type hybrid
[LSW1-GigabitEthernet0/0/2]port hybrid pvid vlan 10
[LSW1-GigabitEthernet0/0/2]port hybrid untagged vlan 10
[LSW1]int Vlanif 10
[LSW1-Vlanif10]ip add 10.1.1.1 24
[LSW2]vlan batch 10 20
[LSW2-GigabitEthernet0/0/1]port link-type hybrid
[LSW2-GigabitEthernet0/0/1]port hybrid pvid vlan 10
[LSW2-GigabitEthernet0/0/1]port hybrid untagged vlan 10
[LSW2-GigabitEthernet0/0/3]port link-type hybrid
[LSW2-GigabitEthernet0/0/3]port hybrid untagged vlan 20
[LSW2-GigabitEthernet0/0/3]port hybrid pvid vlan 20
[LSW2]int Vlanif 10
[LSW2-Vlanif10]ip add 10.1.1.2 24
[LSW2-Vlanif10]int Vlanif 20
[LSW2-Vlanif20]ip add 10.1.2.2 24
[LSW3]vlan batch 20
[LSW3-GigabitEthernet0/0/2]port link-type hybrid
[LSW3-GigabitEthernet0/0/2]port hybrid pvid vlan 20
[LSW3-GigabitEthernet0/0/2]port hybrid untagged vlan 20
[LSW3]int Vlanif 20
[LSW3-Vlanif20]ip add 10.1.2.3 24
2. 配置静态路由,使LSW1、LSW3之间有可达路由
[LSW1]ip route-static 10.1.2.0 24 10.1.1.2
[LSW3]ip route-static 10.1.1.0 24 10.1.2.2
3. 配置多跳BFD检测
[LSW1]bfd
[LSW1]bfd 1to3 bind peer-ip 10.1.2.3
[LSW1-bfd-session-1to3]discriminator local 10
[LSW1-bfd-session-1to3]discriminator remote 20
[LSW1-bfd-session-1to3]commit
[LSW3]bfd
[LSW3]bfd 3to1 bind peer-ip 10.1.1.1
[LSW3-bfd-session-3to1]discriminator local 20
[LSW3-bfd-session-3to1]discriminator remote 10
[LSW3-bfd-session-3to1]commit
4. 验证配置

对LSW1的GE0/0/2接口执行shutdown操作,模拟链路故障
[LSW1-GigabitEthernet0/0/2]shutdown

边栏推荐
- ShardingSphere-proxy +PostgreSQL implements read-write separation (static strategy)
- 博客主页rrs代码
- golang 源码分析:juju/ratelimit
- 力扣每日一题-第46天-344. 反转字符串
- 有效解决MySQL报错:ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: NO/YES)
- 模板的进阶
- 新增指令 v-memo
- 【手撕AHB-APB Bridge】~ AMBA总线 之 APB
- Li Mu hands-on learning deep learning V2-bert and code implementation
- 李沐动手学深度学习V2-bert和代码实现
猜你喜欢

.NET如何快速比较两个byte数组是否相等

Day35 LeetCode

「 每日一练,快乐水题 」1374. 生成每种字符都是奇数个的字符串

【实战 已完结】WPF开发自动化生产管理平台
![Informatics Olympiad All-in-One (1259: [Example 9.3] Find the longest non-descending sequence)](/img/a2/6d548909341a65129db2e69b90e5bf.png)
Informatics Olympiad All-in-One (1259: [Example 9.3] Find the longest non-descending sequence)
![[AnXun cup 2019] easy_web](/img/26/c04bc8b9c65ac75ddd2696b48e1661.png)
[AnXun cup 2019] easy_web

模板的进阶

信息学奥赛一本通(1259:【例9.3】求最长不下降序列)

Informatics orsay a tong (1258: 【 9.2 】 digital pyramid)

ShardingSphere-proxy +PostgreSQL implements read-write separation (static strategy)
随机推荐
Meta 与苹果的元宇宙碰撞
【StoneDB性能相关工具】内存监控
EasyExcel dynamic parsing and save table columns
新增指令 v-memo
Async的线程池使用的哪个?
什么是 IDE
LeetCode 622 设计循环队列[数组 队列] HERODING的LeetCode之路
一款免费的容器安全 SaaS 平台使用记录
4 kmiles join YiSheng group, with more strong ability of digital business, accelerate China's cross-border electricity full domain full growth
奥特学园ROS笔记--7(289-325节)
V - memo new instructions
Axure9的元件用法
信息学奥赛一本通(1256:献给阿尔吉侬的花束)
Nervegrowold hands-on learning deep learning V2 - Bert pre training data set and code implementation
arm64麒麟安装paddlehub(国产化)
2170. 使数组变成交替数组的最少操作数
Thread线程类基本使用(上)
信息学奥赛一本通(1258:【例9.2】数字金字塔)
[21 Days Learning Challenge] Bubble Sort and Insertion Sort
【 LeetCode 】 1374. Generate each character string is an odd number