< Home

Example for Configuring an ICMP Jitter Test Instance

Networking Requirements

In Figure 1, 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.

Figure 1 Networking diagram for configuring an ICMP jitter test instance

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure SwitchA as an NQA client and create an ICMP jitter test instance on SwitchA.

Procedure

  1. 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 0/0/1
    [SwitchA-GigabitEthernet0/0/1] port link-type hybrid
    [SwitchA-GigabitEthernet0/0/1] port hybrid pvid vlan 10
    [SwitchA-GigabitEthernet0/0/1] port hybrid untagged vlan 10
    [SwitchA-GigabitEthernet0/0/1] quit

    # Configure SwitchB.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchB
    [SwitchB] vlan 10
    [SwitchB-vlan10] quit
    [SwitchB] interface gigabitEthernet 0/0/1
    [SwitchB-GigabitEthernet0/0/1] port link-type hybrid
    [SwitchB-GigabitEthernet0/0/1] port hybrid pvid vlan 10
    [SwitchB-GigabitEthernet0/0/1] port hybrid untagged vlan 10
    [SwitchB-GigabitEthernet0/0/1] quit

  2. 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

  3. # 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

  4. Start the test instance immediately.

    [SwitchA-nqa-admin-icmpjitter] start now

  5. 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        
       Min/Max/Avg/Sum RTT:1/160/25/1513    RTT Square Sum:92613               
       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:10                   Min Positive DS:10                 
       Max Positive SD:140                  Max Positive DS:20                 
       Positive SD Number:13                Positive DS Number:8               
       Positive SD Sum:510                  Positive DS Sum:90                 
       Positive SD Square Sum:37100         Positive DS Square Sum:1100        
       Min Negative SD:10                   Min Negative DS:10                 
       Max Negative SD:50                   Max Negative DS:20                 
       Negative SD Number:19                Negative DS Number:7               
       Negative SD Sum:510                  Negative DS Sum:80                 
       Negative SD Square Sum:19500         Negative DS Square Sum:1000        
       Min Delay SD:0                       Min Delay DS:0                     
       Avg Delay SD:12                      Avg Delay DS:11                    
       Max Delay SD:80                      Max Delay DS:79                    
       Packet Loss SD:0                     Packet Loss DS:0                   
       Packet Loss Unknown:0                Average of Jitter:25               
       Average of Jitter SD:31              Average of Jitter DS:11            
       Jitter out value:12.5280771          Jitter in value:1.7729331          
       NumberOfOWD:60                       OWD SD Sum:750                     
       OWD DS Sum:703                       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%   
       Start time: 2016-02-23 17:12:29
       End time: 2016-02-23 17:12:35

Configuration Files

  • SwitchA configuration file

    #
    sysname SwitchA
    #
    vlan batch 10
    #
    interface Vlanif10
     ip address 10.1.1.1 255.255.255.0
    #
    interface GigabitEthernet0/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 GigabitEthernet0/0/1
     port link-type hybrid
     port hybrid pvid vlan 10
     port hybrid untagged vlan 10
    #
    return
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >