Example for Configuring an ICMP Jitter Test Instance
Networking Requirements
In Figure 6-32, SwitchA and SwitchB communicate at Layer 3 using VLANIF interfaces.
SwitchA functions as the NQA client to test the jitter of the network between SwitchA and SwitchB.
Configuration Roadmap
The configuration roadmap is as follows:
- Configure SwitchA as an NQA client and create an ICMP jitter test instance on SwitchA.
Procedure
- Create VLANs and add interfaces to the VLANs.
# Configure SwitchA.
<HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] vlan 10 [SwitchA-vlan10] quit [SwitchA] interface gigabitEthernet 1/0/1 [SwitchA-GigabitEthernet1/0/1] port link-type hybrid [SwitchA-GigabitEthernet1/0/1] port hybrid pvid vlan 10 [SwitchA-GigabitEthernet1/0/1] port hybrid untagged vlan 10 [SwitchA-GigabitEthernet1/0/1] quit
# Configure SwitchB.
<HUAWEI> system-view [HUAWEI] sysname SwitchB [SwitchB] vlan 10 [SwitchB-vlan10] quit [SwitchB] interface gigabitEthernet 1/0/1 [SwitchB-GigabitEthernet1/0/1] port link-type hybrid [SwitchB-GigabitEthernet1/0/1] port hybrid pvid vlan 10 [SwitchB-GigabitEthernet1/0/1] port hybrid untagged vlan 10 [SwitchB-GigabitEthernet1/0/1] quit
- Create VLANIF interfaces and assign IP addresses to the
VLANIF interfaces.
# Configure SwitchA.
[SwitchA] interface vlanif 10 [SwitchA-Vlanif10] ip address 10.1.1.1 24 [SwitchA-Vlanif10] quit
# Configure SwitchB.
[SwitchB] interface vlanif 10 [SwitchB-Vlanif10] ip address 10.1.1.2 24 [SwitchB-Vlanif10] quit
- # Enable the NQA client and create an ICMP jitter NQA test
instance.
[SwitchA] nqa test-instance admin icmpjitter [SwitchA-nqa-admin-icmpjitter] test-type icmpjitter [SwitchA-nqa-admin-icmpjitter] destination-address ipv4 10.1.1.2
- Start the test instance immediately.
[SwitchA-nqa-admin-icmpjitter] start now
- Verify the configuration.
[SwitchA-nqa-admin-icmpjitter] display nqa results test-instance admin icmpjitter NQA entry(admin, icmpjitter) :testflag is inactive ,testtype is icmpjitter 1 . Test 1 result The test is finished SendProbe:60 ResponseProbe:60 Completion:success RTD OverThresholds number:0 OWD OverThresholds SD number:0 OWD OverThresholds DS number:0 Min/Max/Avg/Sum RTT:3/97/17/1025 RTT Square Sum:51913 NumOfRTT:60 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:90 Max Positive DS:7 Positive SD Number:19 Positive DS Number:25 Positive SD Sum:306 Positive DS Sum:55 Positive SD Square Sum:19118 Positive DS Square Sum:201 Min Negative SD:1 Min Negative DS:1 Max Negative SD:21 Max Negative DS:9 Negative SD Number:27 Negative DS Number:18 Negative SD Sum:301 Negative DS Sum:54 Negative SD Square Sum:5297 Negative DS Square Sum:252 Min Delay SD:1 Min Delay DS:1 Avg Delay SD:8 Avg Delay DS:7 Max Delay SD:48 Max Delay DS:48 Delay SD Square Sum:12672 Delay DS Square Sum:12311 Packet Loss SD:0 Packet Loss DS:0 Packet Loss Unknown:0 Average of Jitter:8 Average of Jitter SD:13 Average of Jitter DS:2 Jitter out value:7.7545199 Jitter in value:1.3636709 NumberOfOWD:60 Packet Loss Ratio: 0% OWD SD Sum:504 OWD DS Sum:461 ICPIF value: 0 MOS-CQ value: 0 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 Start time: 2014-11-28 14:10:43 End time: 2014-11-28 14:10:45
Configuration Files
SwitchA configuration file
# sysname SwitchA # vlan batch 10 # interface Vlanif10 ip address 10.1.1.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-type hybrid port hybrid pvid vlan 10 port hybrid untagged vlan 10 # nqa test-instance admin icmpjitter test-type icmpjitter destination-address ipv4 10.1.1.2 # return
SwitchB configuration file
# sysname SwitchB # vlan batch 10 # interface Vlanif10 ip address 10.1.1.2 255.255.255.0 # interface GigabitEthernet1/0/1 port link-type hybrid port hybrid pvid vlan 10 port hybrid untagged vlan 10 # return