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

边栏推荐
猜你喜欢

ES6 - 剩余参数,Array的扩展方法,String的扩展方法

第五章:指令集

empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType),

Nacos单机模式的安装与启动

第四章:架构,Architecture

连续型特征做embedding代码示例

Getting started with el-tabs (tab bar)

torch.nn.modules.activation.ReLU is not a Module subclass

hashSet解析

《多线程案例》阻塞队列、定时器、线程池、饿汉与懒汉模式
随机推荐
【卫朋】硬件创业:营销与开发同行
信息学奥赛一本通T1448:深搜的剪枝技巧 电路维修
Embedding two implementations of the torch code
torch.nn.modules.activation.ReLU is not a Module subclass
2021年PHP-Laravel面试题问卷题 答案记录
el-table实现列筛选功能,控制列的显示和隐藏(实现简单,效果满分)
第一章:ARM公司Cortex-M 系列处理器介绍,第二章:嵌入式软件开发介绍和第三章:Cortex-M3和Cortex-M4处理器的一般介绍
线程基础(二)
IFM网络详解及torch复现
Embedding的两种实现方式torch代码
FiBiNet torch复现
多线程打印ABC(继承+进阶)
信息学奥赛一本通T1454:山峰和山谷
CISP-PTE真题演示
ES6中 async 函数、await表达式 的基本用法
Chrome插件开发入门
Basic syntax of MySQL DDL and DML and DQL
MySQL 日期时间类型精确到毫秒
链表之打基础--基本操作(必会)
(十四)51单片机——LCD1602实现滚动效果