组网需求
如图1所示,总部和子公司之间需要跨越外部网络进行通信,DeviceA和DeviceD为总部和子公司的网络出口设备,DeviceB和DeviceC为外部网络提供商的边缘设备。
总部和子公司之间经常要通过VoIP进行电话会议,要求双向时延小于250ms,抖动小于20ms。为检测网络是否满足要求,可以使用NQA的UDP Jitter测试模拟VoIP业务检测网络。
图1 配置NQA检测VoIP业务抖动组网图
配置思路
采用如下思路配置NQA检测VoIP业务抖动:
1.DeviceD为NQA客户端,DeviceA为NQA服务器端。在DeviceD上配置UDP Jitter测试例。
2.启动测试例。
数据准备
为完成此配置例,需准备如下的数据:
•DeviceA和DeviceD的IP地址
•模拟VoIP业务的编码类型
操作步骤
1.配置NQA服务器端DeviceA。
system-view
[HUAWEI] sysname DeviceA
[DeviceA] nqa server udpecho 10.1.1.1 4000
2.配置NQA客户端DeviceD。 a.配置UDP Jitter测试例的报文版本号。
system-view
[HUAWEI] sysname DeviceD
[DeviceD] nqa jitter tag-version 2
b.创建UDP Jitter测试例,并配置目的地址为DeviceA的IP地址。
[DeviceD] nqa test-instance admin udpjitter
[DeviceD-nqa-admin-udpjitter] test-type jitter
[DeviceD-nqa-admin-udpjitter] destination-address ipv4 10.1.1.1
[DeviceD-nqa-admin-udpjitter] destination-port 4000
c.配置模拟VoIP业务的编码类型。
[DeviceD-nqa-admin-udpjitter] jitter-codec g711a
3.立即启动测试。
[DeviceD-nqa-admin-udpjitter] start now
检查配置结果
验证测试结果,可以看到双向时延小于250ms,抖动小于20ms。
[DeviceD-nqa-admin-udpjitter] display nqa results test-instance admin udpjitter
NQA entry(admin, udpjitter): test flag is active, test type is JITTER
1 . Test 1 result The test is finished
SendProbe: 1000 ResponseProbe: 919
Completion: success RTD over thresholds number: 0
OWD over thresholds SD number: 0 OWD over thresholds DS number: 0
Min/Max/Avg/Sum RTT: 1/408/5/4601 RTT square sum: 1032361
Num of RTT: 919 Drop operation number: 0
Operation sequence errors number: 0 RTT stats errors number: 0
System busy operation number: 0 Operation timeout number: 81
Min positive SD: 1 Min positive DS: 1
Max positive SD: 2 Max positive DS: 9
Positive SD number: 67 Positive DS number: 70
Positive SD sum: 70 Positive DS sum: 80
Positive SD square sum: 76 Positive DS square sum: 156
Min negative SD: 1 Min negative DS: 1
Max negative SD: 24 Max negative DS: 25
Negative SD number: 72 Negative DS number: 82
Negative SD sum: 271 Negative DS sum: 287
Negative SD square sum: 4849 Negative DS square sum: 4937
Min delay SD: 0 Min delay DS: 0
Avg delay SD: 7 Avg delay DS: 0
Max delay SD: 203 Max delay DS: 204
Delay SD square sum: 254974 Delay DS square sum: 257072
Packet loss SD: 0 Packet loss DS: 0
Packet loss unknown: 81 Average of jitter: 2
Average of jitter SD: 2 Average of jitter DS: 2
Jitter out value: 0.0000000 Jitter in value: 0.0000000
Number of OWD: 919 Packet loss ratio: 8 %
OWD SD sum: 1834 OWD DS sum: 1848
ICPIF value: 23 MOS-CQ value: 354
TimeStamp unit: ms
配置脚本
•DeviceA
sysname DeviceA
nqa server udpecho 10.1.1.1 4000
isis 1
network-entity 00.0000.0000.0001.00
interface 10GE1/0/3
undo portswitch
ip address 10.1.1.1 255.255.255.0
isis enable 1
return
•DeviceD
sysname DeviceD
nqa jitter tag-version 2
isis 1
network-entity 00.0000.0000.0002.00
interface 10GE1/0/3
undo portswitch
ip address 10.2.2.1 255.255.255.0
isis enable 1
nqa test-instance admin udpjitter
test-type jitter
destination-address ipv4 10.1.1.1
destination-port 4000
jitter-codec g711a
start now
return