当前位置:网站首页>华为设备配置BFD多跳检测
华为设备配置BFD多跳检测
2022-08-03 06:02:00 【Tony_long7483】
配置设备间的网络互连
[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配置静态路由,使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配置多跳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验证配置
对LSW1的GE0/0/2接口执行shutdown操作,模拟链路故障
[LSW1-GigabitEthernet0/0/2]shutdown
边栏推荐
- Cesium loads offline maps and offline terrain
- empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType),
- hashSet解析
- pyspark --- count the mode of multiple columns and return it at once
- ES6中 Symbol 的基础学习,迭代器和生成器的基本用法
- 多线程案例
- postman配置中文
- 信息学奥赛一本通T1448:深搜的剪枝技巧 电路维修
- 模型训练前后显卡占用对比、多卡训练GPU占用分析【一文读懂】
- Flink对比Spark
猜你喜欢
随机推荐
Chrome 配置samesite=none方式
IFM网络详解及torch复现
人脸检测和识别--face recognition包
hashSet解析
CISP-PTE真题演示
(十四)51单片机——LCD1602实现滚动效果
Multi-Head-Attention principle and code implementation
置顶文章-
贷中存量客户的价值挖掘与分类实现,试试这一重要的场景模型
Scala 基础 (三):运算符和流程控制
Docker-compose安装mysql
torch.nn.modules.activation.ReLU is not a Module subclass
Multi-Head-Attention原理及代码实现
《多线程案例》阻塞队列、定时器、线程池、饿汉与懒汉模式
CCF NOI 2022笔试题库
请手撸5种常见限流算法!面试必备
nvm 卸载详细流程
excel高级绘图技巧100讲(二十一)- Excel层叠柱形图
Example of embedding code for continuous features
El - tree set using setCheckedNodessetCheckedKeys default check nodes, and a new check through setChecked specified node