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 DNS Test Instance

Configuring a DNS Test Instance


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

A DNS test can detect the speed at which a DNS name is resolved into an IP address.


The NQA client also functions as the DHCP client. Perform the following steps on the NQA client.

The timeout and frequency commands constrain each other; therefore, properly set the values when running the two 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.
  • The frequency value must be larger than the timeout value.


  1. Run system-view

    The system view is displayed.

  2. Run dns resolve

    Dynamic DNS resolution is enabled.

    By default, dynamic DNS resolution is disabled.

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

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

  4. Run test-type dns

    The test type is set to DNS.

  5. Run destination-address url urlstring

    The name of the destination host is configured.

  6. (Optional) Run the following commands as required to configure parameters for the DNS 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.

      By default, the timeout period of a DNS probe is 3 seconds.

    • Run source-address { ipv4 ip-address | ipv6 ipv6-address }

      The source IP address is configured.

      ip-address and ipv6-address are similar to -a in the ping command and -a in the ping ipv6 command respectively.

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

    • Run dns-server ipv4 ip-address

      The DNS server address is configured.

Updated: 2019-03-06

Document ID: EDOC1100069336

Views: 41798

Downloads: 217

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next