当前位置:网站首页>华为设备配置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

边栏推荐
猜你喜欢

MySQL的Replace用法详解

人脸检测和识别--face recognition包

MySQL忘记密码怎么办

Getting Started with Chrome Plugin Development

UniApp 自定义条件编译详细使用流程

神经网络原理及代码实现

MySQL性能优化(硬件,系统配置,表结构,SQL语句)

第一章:ARM公司Cortex-M 系列处理器介绍,第二章:嵌入式软件开发介绍和第三章:Cortex-M3和Cortex-M4处理器的一般介绍

MySQL 日期时间类型精确到毫秒

empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType),
随机推荐
Multi-Head-Attention原理及代码实现
ClickHouse删除数据之delete问题详解
Nacos单机模式的安装与启动
MySQL 日期时间类型精确到毫秒
el-tree设置利用setCheckedNodessetCheckedKeys默认勾选节点,以及通过setChecked新增勾选指定节点
死锁的成因和对应的解决方案
Example of embedding code for continuous features
MySQL - 触发器
JS 预编译
第六章:存储系统
Flutter | 判断 Text 组件是否显示完
PHP 获取服务器信息
Postman知识汇总
第四章:架构,Architecture
多线程打印ABC(继承+进阶)
el-tree设置选中高亮焦点高亮、选中的节点加深背景,更改字体颜色等
Getting Started with Chrome Plugin Development
信息学奥赛一本通T1447:靶形数独
Chrome 配置samesite=none方式
MySQL的Replace用法详解