当前位置:网站首页>华为设备配置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
边栏推荐
- arm64麒麟安装paddlehub(国产化)
- 如何使用windbg查看C#某个线程的栈大小 ?
- Golang source code analysis: juju/ratelimit
- "A daily practice, happy water problem" 1374. Generate a string with an odd number of each character
- 基于 flex 布局实现的三栏布局
- 数字孪生助力智慧城市可视化建设
- Geoip2 - golang golang source code analysis
- ALV concept explanation
- Xcode13.1运行工程报错fatal error: ‘IFlyMSC/IFly.h‘ file not found的问题
- LM小型可编程控制器软件(基于CoDeSys)笔记二十五:plc的数据存储区(数字量输入通道部分)
猜你喜欢
李沐动手学深度学习V2-BERT预训练和代码实现
pytorch的tensor创建和操作记录
ShardingSphere-proxy +PostgreSQL implements read-write separation (static strategy)
Day35 LeetCode
Tencent YunMeng every jie: I experienced by cloud native authors efficiency best practices case
Electron User Guide Beginning Experience
Li Mu hands-on deep learning V2-BERT pre-training and code implementation
一款免费的容器安全 SaaS 平台使用记录
接口测试常用工具及测试方法(入门篇)
Wiring diagrams of switches, motors, circuit breakers, thermocouples, and meters
随机推荐
线程安全(上)
GNN教程:图神经网络基础知识!
力扣每日一题-第46天-344. 反转字符串
你所不知道的C#中的细节
The time series database has been developed for 5 years. What problem does it need to solve?
一次线上事故,我顿悟了异步的精髓
EasyExcel实现动态列解析和存表
go——内存分配机制
Translate My Wonderful | July Moli Translation Program Winners Announced
Wintun:一款惊艳的 WireGuard 虚拟网卡接口驱动
golang 源码分析:uber-go/ratelimit
什么是 IDE
引用类型 ,值类型 ,小坑。
js如何获取浏览器缩放比例
广东省数字经济发展指引 1.0之建成数据安全保障体系
DataGrip 安装教程 详细版
并发与并行
软件测试分类
Bena's life cycle
基于 outline 实现头像剪裁以及预览