当前位置:网站首页>华为设备配置BFD状态与接口状态联动
华为设备配置BFD状态与接口状态联动
2022-08-03 06:02:00 【Tony_long7483】
配置LSW1和LSW2的直连接口IP地址
[LSW1]vlan 10
[LSW1-GigabitEthernet0/0/3]port link-type hybrid
[LSW1-GigabitEthernet0/0/3]port hybrid pvid vlan 10
[LSW1-GigabitEthernet0/0/3]port hybrid untagged vlan 10
[LSW1]int Vlanif 10
[LSW1-Vlanif10]ip add 10.1.1.1 24
[LSW2]vlan batch 10
[LSW2-GigabitEthernet0/0/4]port link-type hybrid
[LSW2-GigabitEthernet0/0/4]port hybrid pvid vlan 10
[LSW2-GigabitEthernet0/0/4]port hybrid untagged vlan 10
[LSW2-Vlanif10]ip add 10.1.1.2 24配置BFD单跳检测
[LSW1]bfd
[LSW1]bfd 1to2 bind peer-ip default-ip interface GigabitEthernet 0/0/3
[LSW1-bfd-session-1to2]discriminator local 10
[LSW1-bfd-session-1to2]discriminator remote 20
[LSW1-bfd-session-1to2]commit
[LSW2]bfd
[LSW2]bfd 2to1 bind peer-ip default-ip interface GigabitEthernet 0/0/4
[LSW2-bfd-session-2to1]discriminator local 20
[LSW2-bfd-session-2to1]discriminator remote 10
[LSW2-bfd-session-2to1]commit配置BFD状态与接口状态联动
[LSW1]bfd 1to2
[LSW1-bfd-session-1to2]process-interface-status
[LSW2]bfd 2to1
[LSW2-bfd-session-2to1]process-interface-status验证配置
对LSW3的GE0/0/4接口执行shutdown操作,让BFD状态Down
[LSW3-GigabitEthernet0/0/4]shutdown
边栏推荐
- 置顶文章-
- 深入理解IO流(第一篇)
- Multi-Head-Attention principle and code implementation
- nacos-2.0.3启动报错出现no datasource set的坑
- 贷中存量客户的价值挖掘与分类实现,试试这一重要的场景模型
- empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType),
- 解决登录vCenter提示“当前网站安全证书不受信任“
- JS 预编译
- Laravel 中使用子查询
- 开放域OOD主要数据集、评价指标汇总
猜你喜欢
随机推荐
Chrome configuration samesite=none method
10 分钟彻底理解 Redis 的持久化和主从复制
html+css+php+mysql实现注册+登录+修改密码(附完整代码)
postman配置中文
spark中的cache和checkpoint
Week5
Autowired注解与Resource注解的区别
spark中Repartition 和 Coalesce 区别
Scala 高阶(八):集合内容汇总(下篇)
置顶文章-
多线程打印ABC(继承+进阶)
Laravel 中使用子查询
Chrome 配置samesite=none方式
链表之打基础--基本操作(必会)
torch.nn.modules.activation.ReLU is not a Module subclass
Flink对比Spark
DIFM网络详解及复现
CISP-PTE Zhenti Demonstration
Flutter | 判断 Text 组件是否显示完
UniApp scroll-view 事件不生效(@scroll、@scrolltolower、@scrolltoupper ...)