Example for Configuring NQA to Check VoIP Service Jitter
Networking Requirements
In Figure 6-39, the headquarters and its subsidiary often hold conferences through VoIP and require that the round-trip delay is shorter than 250 ms and jitter is shorter than 20 ms. The jitter test provided by NQA can be used to simulate VoIP services.
Configuration Roadmap
The configuration roadmap is as follows:
Respectively configure SwitchA and SwitchD as the gateways of the headquarters and its subsidiary and ensure reachable routes between them.
Configure SwitchA as an NQA server and SwitchD as an NQA client, and configure a jitter test instance on SwitchD.
Start the test instance on SwitchD.
Procedure
- Configure IP addresses for SwitchA and SwitchD according to Figure 6-39, and ensure that they have reachable routes to each other.
<HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] vlan 100 [SwitchA-vlan100] quit [SwitchA] interface gigabitethernet 1/0/1 [SwitchA-GigabitEthernet1/0/1] port link-type hybrid [SwitchA-GigabitEthernet1/0/1] port hybrid pvid vlan 100 [SwitchA-GigabitEthernet1/0/1] port hybrid untagged vlan 100 [SwitchA-GigabitEthernet1/0/1] quit [SwitchA] interface vlanif 100 [SwitchA-Vlanif100] ip address 10.1.1.1 24 [SwitchA-Vlanif100] quit [SwitchA] ospf [SwitchA-ospf-1] area 0 [SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 [SwitchA-ospf-1-area-0.0.0.0] quit [SwitchA-ospf-1] quit
For configurations of SwitchD, see the configuration file.
- Configure the NQA server on SwitchA.
[SwitchA] nqa-server udpecho 10.1.1.1 9000
- Configure the NQA client on SwitchD.
- Start the test instance.
[SwitchD-nqa-admin-udpjitter] start now
- Check the test results, and you can find that the round-trip
delay is shorter than 250 ms and jitter is shorter than 20 ms.
[SwitchD-nqa-admin-udpjitter] display nqa results test-instance admin udpjitter NQA entry(admin, udpjitter) :testflag is inactive ,testtype is jitter 1 . Test 1 result The test is finished SendProbe:1000 ResponseProbe:1000 Completion:success RTD OverThresholds number:0 OWD OverThresholds SD number:0 OWD OverThresholds DS number:0 Min/Max/Avg/Sum RTT:10/38/13/12963 RTT Square Sum:171925 NumOfRTT:1000 Drop operation number:0 Operation sequence errors number:0 RTT Stats errors number:0 System busy operation number:0 Operation timeout number:0 Min Positive SD:1 Min Positive DS:1 Max Positive SD:16 Max Positive DS:27 Positive SD Number:288 Positive DS Number:287 Positive SD Sum:427 Positive DS Sum:485 Positive SD Square Sum:1317 Positive DS Square Sum:2455 Min Negative SD:1 Min Negative DS:1 Max Negative SD:16 Max Negative DS:26 Negative SD Number:292 Negative DS Number:285 Negative SD Sum:429 Negative DS Sum:486 Negative SD Square Sum:1235 Negative DS Square Sum:2714 Min Delay SD:5 Min Delay DS:4 Avg Delay SD:6 Avg Delay DS:5 Max Delay SD:19 Max Delay DS:18 Delay SD Square Sum:39901 Delay DS Square Sum:33856 Packet Loss SD:0 Packet Loss DS:0 Packet Loss Unknown:0 Average of Jitter:1 Average of Jitter SD:1 Average of Jitter DS:1 Jitter out value:0.0535000 Jitter in value:0.0606875 NumberOfOWD:1000 Packet Loss Ratio: 0% OWD SD Sum:6239 OWD DS Sum:5724 ICPIF value: 0 MOS-CQ value: 438 TimeStamp unit: ms Packet Rewrite Number: 0 Packet Rewrite Ratio: 0% Packet Disorder Number: 0 Packet Disorder Ratio: 0% Fragment-disorder Number: 0 Fragment-disorder Ratio: 0% Jitter OverThresholds SD number:0 Jitter OverThresholds DS number:0 OverallOverThresholds number:0
Configuration Files
SwitchA configuration file
# sysname SwitchA # vlan batch 100 # interface Vlanif100 ip address 10.1.1.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-type hybrid port hybrid pvid vlan 100 port hybrid untagged vlan 100 # ospf 1 area 0.0.0.0 network 10.1.1.0 0.0.0.255 # nqa-server udpecho 10.1.1.1 9000 # return
SwitchD configuration file
# sysname SwitchD # vlan batch 100 # interface Vlanif100 ip address 10.1.2.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-type hybrid port hybrid pvid vlan 100 port hybrid untagged vlan 100 # ospf 1 area 0.0.0.0 network 10.1.2.0 0.0.0.255 # nqa-jitter tag-version 2 # nqa test-instance admin udpjitter test-type jitter destination-address ipv4 10.1.1.1 destination-port 9000 jitter-codec g711a # return