当前位置:网站首页>只有一台交换机,如何实现主从自动切换之nqa
只有一台交换机,如何实现主从自动切换之nqa
2022-08-05 08:53:00 【啊 这】
这里配置使用的即是:静态路由与NQA联动
要详细了解什么是NQA,可以看看这个文章:什么是NQA(Network Quality Analysis)?NQA如何工作? - 华为
引用文中的图解:

下面主要是如何配置和相关说明:
#创建一个nqa测试实例,测试管理账户名为admin,测试实例名称为test_icmp
[HUAWEI]nqa test-instance admin test_icmp
#测试类型为icmp协议测试
[HUAWEI-nqa-admin-bjyh_icmp]test-type icmp
#探测间隔10s
[HUAWEI-nqa-admin-bjyh_icmp]frequency 10
测试次数4
[HUAWEI-nqa-admin-bjyh_icmp]probe-count 4
探测的地址为10.0.0.1
[HUAWEI-nqa-admin-bjyh_icmp]destination-address ipv4 10.0.0.1
启动测试实例
[HUAWEI-nqa-admin-bjyh_icmp]start now
Warning: It is recommended that the frequency be greater than 18. Otherwise, the test result may be incorrect.
(建议频率大于18。否则,测试结果可能不正确。)
#配置默认路由和NQA联动,主线正常是下一跳走10.0.0.1,主线异常时走备用线路,下一跳走10.1.0.1
#默认优先级值是60,所以备线优先级的值设置要大于60
#需要指定vlanif出接口
[HUAWEI]ip route-static 172.18.1.37 255.255.255.255 Vlanif10 10.0.0.1 track nqa admin test_icmp
[HUAWEI]ip route-static 172.18.1.37 255.255.255.255 Vlanif20 10.1.0.1 preference 70边栏推荐
- JS语法使用
- thinkPHP5 realizes clicks (data increment/decrement)
- love is a sad song
- 七夕给自己new一个chatRobot当对象
- [Untitled] Long-term recruitment of hardware engineers-Shenzhen Baoan
- XCODE12 在使用模拟器(SIMULATOR)时编译错误的解决方法
- Detailed explanation of DNS query principle
- 工程制图试题
- sql server中 两表查询 平均数 分组
- How to replace colors in ps, self-study ps software photoshop2022, replace one color of a picture in ps with another color
猜你喜欢

How to make a puzzle in PS, self-study PS software photoshop2022, PS make a puzzle effect

SQL语句查询字段内重复内容,并按重复次数加序号

C语言-数组

TensorFlow installation steps

Creo 9.0 基准特征:基准坐标系

MySQL database error The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid)

Xcode10的打包方式distribute app和启动项目报错以及Xcode 打包本地ipa包安装到手机上

使用稀疏 4D 卷积对 3D LiDAR 数据中的运动对象进行后退分割(IROS 2022)

Why is pnpm hitting npm and yarn dimensionality reduction?

【LeetCode】623. Add a row to the binary tree
随机推荐
C语言-数组
Code Audit - PHP
k-nearest neighbor fault monitoring based on multi-block information extraction and Mahalanobis distance
Luogu P3368: 【模板】树状数组 2
随时牵手 不要随意分手[转帖]
这样写有问题吗?怎么在sql-client 是可以做到数据的同步的
The difference between beautiful MM and ordinary MM
RedisTemplate: error template not initialized; call afterPropertiesSet() before using it
[Structural Internal Power Cultivation] The Mystery of Enumeration and Union (3)
【 a daily topic 】 1403. The increasing order of the sequence, boy
Controller-----controller
[Structural Internal Power Cultivation] Structural Realization Stages (2)
最 Cool 的 Kubernetes 网络方案 Cilium 入门教程
Detailed explanation of DNS query principle
15.1.1、md—md的基础语法,快速的写文本备忘录
IT研发/开发流程规范效能的思考总结
Controlling number and letter input in ASP
浅谈自动采集程序及入库
sql server中 两表查询 平均数 分组
【ASM】字节码操作 方法的初始化 Frame