No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a UDP Test Instance

Configuring a UDP Test Instance


Before configuring a UDP test instance, configure a UDP server and ensure reachable routes between the UDP client and the UDP server.

To test the time for a specified port to respond to a UDP connection request, create a UDP test instance.


The NQA client also functions as the UDP client.

The timeout, probe-count, frequency, and interval commands constrain each other; therefore, properly set the values when running the four commands. Improper command settings may lead to test failure.

  • On a network with poor quality and low transmission rate, increase the timeout value to ensure that the response to NQA detection packets can be received.
  • On a network with low reliability, increase the probe-count value because multiple detection packets may need to be sent to ensure successful detection.
  • The interval value must be larger than the timeout value.
  • The frequency value must be larger than the product of interval and probe-count.


  • Configure the UDP server.
    1. Run system-view

      The system view is displayed.

    2. Run nqa-server udpecho [ vpn-instance vpn-instance-name ] { auto-address | ip-address | ipv6 ipv6-address } port-number

      The monitoring IP address and port number of the UDP server are configured.

  • Configure the NQA client.
    1. Run system-view

      The system view is displayed.

    2. Run nqa test-instance admin-name test-name

      An NQA test instance is created, and the NQA view is displayed.

    3. Run test-type udp

      The test type is set to UDP.

    4. Run destination-address ipv4 ipv4-address

      The destination address is configured.

    5. Run destination-port port-number

      The destination port number is configured.

      By default, the destination port number in the UDP test is 7.


      If the configured destination port number is 7, 13, or 19, run the undo anti-attack udp-flood enable command on the server to disable UDP flood attack defense; otherwise, the server discards detection packets.

    6. (Optional) Run the following commands as required to configure parameters for the UDP test.

      • Run description string

        A description is configured for the test instance.

      • Run frequency interval

        The test period is set for the NQA test instance.

      • Run timeout time

        The timeout period of a probe is set for the NQA test instance.

      • Run source-address ipv4 ipv4-address

        The source IP address is configured.

      • Run source-port port-number

        The source port number is configured.

      • Run ttl number

        The TTL value in the NQA test packet is set.

      • Run datafill fillstring

        The padding field is configured for the NQA test instance.

      • Run datasize size

        The packet size is set for the NQA test instance.

      • Run sendpacket passroute

        The NQA test instance is configured to send packets without searching the routing table.

      • Run probe-count number

        The number of probes in a test is set.

      • Run tos value

        Type of Service (TOS) is set for the test packet.

      • Run fail-percent percent

        The failure percentage is set for the NQA test instance.

      • Run interval seconds interval

        The interval at which test packets are sent is configured.

      • Run vpn-instance vpn-instance-name

        The VPN instance name is configured.

      • Run records history number

        The maximum number of historical records is set for the NQA test instance.

      • Run records result number

        The maximum number of result records is set for the NQA test instance.

      • Run agetime hh:mm:ss

        The aging time is set for the NQA test instance.

Updated: 2019-03-06

Document ID: EDOC1100069336

Views: 41799

Downloads: 217

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next