华为交换机配置NQA TCP检测IP网络响应时间

微思 | 华为HCIA试听课程:网络工程师的基本功:网络地址转换NAT

微思 | 华为HCIP试听课程:华为HCIP必考题:DHCP协议原理与配置

组网需求

如图1所示,总部和子公司之间需要跨越外部网络进行通信,DeviceA和DeviceD为总部和子公司的网络出口设备,DeviceB和DeviceC为外部网络提供商的边缘设备。

总部和子公司之间经常需要使用某TCP传输程序传输业务文件,要求传输响应时间小于800ms。此时,可以使用NQA的TCP测试检测企业网出口设备DeviceA和DeviceD之间的TCP响应时间。

图1 配置NQA检测IP网络响应时间组网图

配置思路

采用如下思路配置NQA检测IP网络响应时间:

1.DeviceD为NQA客户端,DeviceA为NQA服务器端,配置TCP测试例。

数据准备

为完成此配置例,需准备如下的数据:

•企业网边缘设备DeviceA和企业网边缘设备DeviceD的IP地址。

•TCP服务的侦听端口号。

操作步骤

复制代码
1.配置NQA服务器端DeviceA。
<HUAWEI>system-view
[HUAWEI] sysname DeviceA
[DeviceA] nqa server tcpconnect 10.1.1.1 4000

2.配置NQA客户端DeviceD,创建TCP测试例,并配置目的地址为DeviceA的IP地址。
<HUAWEI>system-view
[HUAWEI] sysname DeviceD
[DeviceD] nqa test-instance admin tcp
[DeviceD-nqa-admin-tcp] test-type tcp
[DeviceD-nqa-admin-tcp] destination-address ipv4 10.1.1.1
[DeviceD-nqa-admin-tcp] destination-port 4000

3.立即启动测试。
[DeviceD-nqa-admin-tcp] start now

检查配置结果

复制代码
验证测试结果,可以看到响应时间小于800ms。
[DeviceD-nqa-admin-tcp] display nqa results test-instance admin tcp
NQA entry(admin, tcp): test flag is active, test type is TCP
1 . Test 1 result The test is finished
Send operation times: 3               Receive response times: 3
Completion: success                   RTD over thresholds number: 0
Attempts number: 1                    Drop operation number: 0
Disconnect operation number: 0        Operation timeout number: 0
System busy operation number: 0       Connection fail number: 0
Operation sequence errors number: 0   RTT stats errors number: 0
Destination IP address: 10.1.1.1
Min/Max/Average completion time: 600/610/603
Sum/Square-Sum completion time: 1810/1092100
Last response packet receiving time: 2020-04-16 12:59:41.6
Lost packet ratio: 0 %

配置脚本

复制代码
•DeviceA

sysname DeviceA

nqa server tcpconnect 10.1.1.1 4000

isis 1
network-entity 00.0000.0000.0001.00

interface 10GE1/0/1
undo portswitch
ip address 10.1.1.1 255.255.255.0
isis enable 1

return

•DeviceD

sysname DeviceD

isis 1
network-entity 00.0000.0000.0002.00

interface 10GE1/0/1
undo portswitch
ip address 10.2.2.1 255.255.255.0
isis enable 1

nqa test-instance admin tcp
test-type tcp
destination-address ipv4 10.1.1.1
destination-port 4000

return
相关推荐
青草地溪水旁1 小时前
CAN通道的“一对一”与“选择性”:物理线束、CanSM通道与网络报文实践解析
网络·autosar cp
拾光Ծ1 小时前
【Linux网络】计算机网络入门:网络产生与协议
linux·网络·网络协议·tcp/ip·计算机网络
稳联技术老娜8 小时前
DeviceNet主站怎么连接西门子PLC,Profinet网关配置手册(那智机器人)
服务器·网络·数据库
志栋智能10 小时前
AI驱动无代码:降低巡检超自动化的门槛
大数据·运维·网络·人工智能·自动化
专业机床数据采集10 小时前
C# 精雕数控 数据采集 Demo|实时读取精雕机床坐标、主轴、负载、加工工时全量参数
网络·网络协议·tcp/ip·mes·精雕数控数据采集
yuegu77710 小时前
HarmonyOS应用<节气通>开发第2篇:首页开发(上)——Tabs架构与骨架搭建
华为·harmonyos
AOwhisky10 小时前
Ceph系列第六期:Ceph 文件系统(CephFS)精讲
linux·运维·网络·笔记·ceph
我爱C编程10 小时前
基于ECC簇内分组密钥管理算法的无线传感器网络matlab性能仿真
网络·matlab·ecc·密钥管理·无线传感器网络·簇内分组
Sagittarius_A*12 小时前
H3CSE 高性能园区网:园区网安全体系详解
网络·计算机网络·安全·h3cse
程序猿追14 小时前
HarmonyOS——模拟器上写个扫雷的夜晚
华为·harmonyos