< Home

Configuring a UDP-jitter Test

A UDP-jitter test measures the delay jitter of a network to determine whether the network can carry real-time services.

Context

The UDP-jitter test requires the cooperation between the NQA server and the NQA client. Before implementing the UDP-jitter test, you need to configure the UDP listening function on the NQA server.

The NTP configured for the NQA server and client can improve the test accuracy.

Procedure

  • Configure the NQA server.
    1. Access the system view.

      system-view

    2. Configure the address and port number of the UDP server.

      nqa-server udpecho [ vpn-instance vpn-instance-name ] ip-address port-number

  • Configure the NQA client.
    1. Access the system view.

      system-view

    2. Create an NQA test instance and access the test instance view.

      nqa test-instance admin-name test-name

    3. Set the test type to UDP-jitter.

      test-type jitter

    4. Set the destination address.

      destination-address ipv4 ip-address

    5. Configure the destination port.

      destination-port port-number

    6. Optional: Configure other parameters for the UDP-jitter test.

      Item Command Description
      Configuring description of a test instance description description-information -
      Configuring a tested VPN instance vpn-instance vpn-instance-name -
      Setting the outbound interface for sending the test packet source-interface [ interface-type interface-number ]

      By default, the FW determines the outbound interface by querying the routing table.

      If there are multiple paths to the tested destination address, you can specify the source interface, so that test packets are forwarded along a specified path.

      Setting the source IP address of test packets source-address ipv4 ip-address

      By default, no source IP address is specified for test packets. The packets use the primary IP address of the outbound interface as their source IP address.

      The specified source IP address must be the IP address of an Up interface on the FW. Otherwise, the test will fail.

      Setting the payload size of test packets datasize size

      By default, the payload size is 100 bytes.

      When the value of datasize is set to 172, the payload of a packet contains 172 bytes. When the value of datasize is set to another value, the payload of a packet constantly contains 100 bytes.

      Setting the padding field of test packets datafill string

      By default, the FW pads the payload using a fixed string.

      When datasize is set to 172, the first 100 bytes in the payload are fixed values and the subsequent types are circularly filled by the field specified by datafill.

      Setting the TTL value of test packets ttl value

      The default value is 30.

      Setting the ToS value of test packets tos value

      The default value is 0.

      Setting the interval at which test packets are sent interval { seconds interval | milliseconds interval }

      By default, UDP-jitter test packets are sent every 20 ms.

      Configuring the number of packets sent in a single probe jitter-packetnum number

      By default, the number of packets sent in a single probe is set to 20.

      Configuring the number of probes in a single test (one probe contains multiple continuously-sent probe packets, and the number of probe packets is determined by jitter-packetnum) probe-count number

      By default, one test initiates three probes.

      NOTE:
      The product of probe-count and jitter-packetnum cannot exceed 3000.
      Setting the test interval frequency interval

      By default, no test interval is set, and the test runs only once.

      Setting the probe failure percentage fail-percent percent

      The default probe failure percentage is 100%. That is, the test is considered failed only when all probes fail.

      Setting the timeout for a single probe timeout time

      By default, the expiration time for a single probe in the UDP-jitter test is 3s.

      Setting the maximum number of historical records records history number

      By default, there are a maximum of 50 historical records.

      Setting the maximum number of test result records records result number

      By default, a maximum of five test results are recorded.

      Setting the aging time of a test instance agetime hh:mm:ss

      The default value is 0. That is, test instances are never aged.

      Configuring the system to send test packets without querying the routing table sendpacket passroute

      By default, the FW forwards the test packets based on the route queried in the routing table.

    7. Start the NQA test.

      start

      Select one of the following start modes as required.

      • Start the NQA test immediately.

        start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]

      • Start the NQA test at a specified time point.

        start at [ yyyy/mm/dd ] hh:mm:ss [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]

      • Start the NQA test after the delay of a specified period.

        start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]

Follow-up Procedure

  • On the NQA server, run the display nqa-server command to query the server information.

    <FW> display nqa-server NQA Server Max: 100              NQA Server Num: 1 NQA Concurrent TCP Server: 0     NQA Concurrent UDP Server: 1 NQA Concurrent RTP-UDP Server: 0 NQA Concurrent RTP-TCP Server: 0     
    
    nqa-server udpecho 1.1.1.1 6555 NOTINSERVICE
  • On the NQA client, run the display nqa results [ test-instance admin-name test-name ] command to query the test results.

    <FW> display nqa results NQA entry(admin, jitter) :testflag is inactive ,testtype is jitter 1 . Test 1 result   The test is finished SendProbe:3000                       ResponseProbe:3000 Completion:success                   RTD OverThresholds number:0 Min/Max/Avg/Sum RTT:5/48/8/23008     RTT Square Sum:192244 NumOfRTT:3000                        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:30                   Max Positive DS:39 Positive SD Number:765               Positive DS Number:728 Positive SD Sum:1553                 Positive DS Sum:775 Positive SD Square Sum:7873          Positive DS Square Sum:2299 Min Negative SD:1                    Min Negative DS:1 Max Negative SD:18                   Max Negative DS:38 Negative SD Number:726               Negative DS Number:723 Negative SD Sum:1557                 Negative DS Sum:776 Negative SD Square Sum:7569          Negative DS Square Sum:2246 Min Delay SD:0                       Min Delay DS:0 Avg Delay SD:3                       Avg Delay DS:3 Max Delay SD:39                      Max Delay DS:47 Packet Loss SD:0                     Packet Loss DS:0 Packet Loss Unknown:0                Average of Jitter:1 Average of Jitter SD:2               Average of Jitter DS:1 Jitter out value:1.0328811           Jitter in value:0.5140466 NumberOfOWD:3000                     OWD SD Sum:11523 OWD DS Sum:10065                     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-01-26 10:54:00+08:00 End time: 2016-01-26 10:55:01+08:00    
    
    Table 1 Description of the display nqa results command output

    Item

    Description

    SendProbe

    Number of sent test packets

    ResponseProbe

    Number of received response packets

    Completion

    Test completion state:
    • success: The test is successful.

    • no result: The test is running, and no result has been obtained.

    • failed: The test fails.

    RTD OverThresholds number

    Number of times the RTD exceeds the specified threshold

    Min/Max/Avg/Sum RTT

    Minimum, maximum, average, and sum of the round trip time of the test packet

    RTT Square Sum

    Quadratic sum of the round trip time of the test packet

    NumOfRTT

    Number of RTTs

    Drop operation number

    Number of test packet sending failures

    Operation sequence errors number

    Number of received out-of-order packets

    RTT Stats errors number

    Number of RTT state errors

    System busy operation number

    Number of initialization or resource application failures

    Operation timeout number

    Number of expiration times in the test

    Min Positive SD

    Minimum positive jitter of the path from the source to the destination

    Min Positive DS

    Minimum positive jitter of the path from the destination to the source

    Max Positive SD

    Maximum positive jitter of the path from the source to the destination

    Max Positive DS

    Maximum positive jitter of the path from the destination to the source

    Positive SD Number

    Number of positive jitters of the path from the source to the destination

    Positive DS Number

    Number of positive jitters of the path from the destination to the source

    Positive SD Sum

    Sum of positive jitter values of the path from the source to the destination

    Positive DS Sum

    Sum of positive jitter values of the path from the destination to the source

    Positive SD Square Sum

    Quadratic sum of positive jitter values of the path from the source to the destination

    Positive DS Square Sum

    Quadratic sum of positive jitter values of the path from the destination to the source

    Min Negative SD

    Minimum negative jitter of the path from the source to the destination

    Min Negative DS

    Minimum negative jitter of the path from the destination to the source

    Max Negative SD

    Maximum negative jitter of the path from the source to the destination

    Max Negative DS

    Maximum negative jitter of the path from the destination to the source

    Negative SD Number

    Number of negative jitters of the path from the source to the destination

    Negative DS Number

    Number of negative jitters of the path from the destination to the source

    Negative SD Sum

    Sum of negative jitter values of the path from the source to the destination

    Negative DS Sum

    Sum of negative jitter values of the path from the destination to the source

    Negative SD Square Sum

    Quadratic sum of negative jitters of the path from the source to the destination

    Negative DS Square Sum

    Quadratic sum of negative jitters of the path from the destination to the source

    Min Delay SD

    Minimum delay of the path from the source to the destination

    Min Delay DS

    Minimum delay of the path from the destination to the source

    Avg Delay SD

    Average delay of the path from the source to the destination

    Avg Delay DS

    Average delay of the path from the destination to the source

    Max Delay SD

    Maximum delay of the path from the source to the destination

    Max Delay DS

    Maximum delay of the path from the destination to the source

    Packet Loss SD

    Maximum number of lost packets on the path from the source to the destination

    Packet Loss DS

    Maximum number of lost packets on the path from the destination to the source

    Packet Loss Unknown

    Number of lost packets in an unknown direction

    Average of Jitter

    Average jitter

    Average of Jitter SD

    Average jitter of the path from the source to the destination

    Average of Jitter DS

    Average jitter of the path from the destination to the source

    Jitter out value

    Jitter of the path for sending packets

    Jitter in value

    Jitter of the path for receiving packets

    NumberOfOWD

    Number of one-way-delay packets

    OWD SD Sum

    Sum of unidirectional delay of the path from the source to the destination

    OWD DS Sum

    Sum of unidirectional delay of the path from the destination to the source

    TimeStamp unit

    Timestamp unit

    Packet Rewrite Number

    Number of rewritten packets

    Packet Rewrite Ratio

    Proportion of rewritten packets

    Packet Disorder Number

    Number of out-of-order packets

    Packet Disorder Ratio

    Proportion of out-of-order packets

    Fragment-disorder Number

    Number of out-of-order packets generated upon fragmentation

    Fragment-disorder Ratio

    Proportion of out-of-order packets generated upon fragmentation

    Start time Test start time
    End time Test end time
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >