当前位置:网站首页>华为设备配置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
边栏推荐
猜你喜欢
随机推荐
一篇文章教你写扫雷(c语言基础版)
ES6 - 剩余参数,Array的扩展方法,String的扩展方法
C语言入门实战(14):选择排序
Spark 的架构与作业提交流程
MySQL 操作语句大全(详细)
Detailed explanation and reproduction of AlexNet network
html+css+php+mysql实现注册+登录+修改密码(附完整代码)
torch.nn.modules.activation.ReLU is not a Module subclass
Basic syntax of MySQL DDL and DML and DQL
Nacos与Eureka的区别
excel高级绘图技巧100讲(二十一)- Excel层叠柱形图
Sqoop 导入导出 Null 存储一致性问题
(十四)51单片机——LCD1602实现滚动效果
empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType),
pyspark --- count the mode of multiple columns and return it at once
IFM网络详解及torch复现
MySQL的on duplicate key update 的使用
uniapp 请求接口封装
(十五)51单片机——呼吸灯与直流电机调速(PWM)
保姆级讲解Transformer