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.

Configuration Guide - Network Management and Monitoring
S1720, S2700, S5700, and S6720 V200R011C10

This document provides the configurations of network management and monitoring features supported by the product, including SNMP, RMON and RMON2, LLDP, Performance Management, iPCA, NQA, Service Diagnosis, Mirroring, Packet Capture, NetStream, sFlow, TWAMP Light, and NETCONF.

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 an HTTP Test Instance

Configuring an HTTP Test Instance


Before configuring an HTTP test instance, configure an HTTP server and ensure reachable routes between the HTTP client and the HTTP server.

Through an NQA HTTP test, you can obtain the response speed in three phases:

  • DNS resolution time: indicates the time taken to resolve the HTTP server domain name into its IP address. During this process, the NQA client sends a DNS request to the DNS server. The DNS server resolves the domain name of the HTTP server to an IP address and returns a DNS response.

  • TCP connection setup time: indicates the time spent in setting up a TCP connection between the NQA client and the HTTP server through three-way handshake.

  • Transaction time: It is a period from the time the client sends the Get or Post packets to an HTTP server to the time the Echo packet sent by the client reaches the HTTP client.

The NQA client also functions as the HTTP client. Perform the following steps on 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 http

    The test type is set to HTTP.

  4. Run destination-address ipv4 ipv4-address

    The destination address is configured.

  5. (Optional) Run the following commands as required to configure parameters for the HTTP 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 dns-server ipv4 ip-address

      The DNS server address is configured.

    • Run destination-port port-number

      The destination port number is configured.

    • 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 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 vpn-instance vpn-instance-name

      The VPN instance name is configured.

      Only S1720GW, S1720GW-E, S1720GWR, S1720GWR-E, S1720X, S1720X-E, S2720EI, S5720LI, S5720S-LI, S5720SI, S5720S-SI, S5730SI, S5730S-EI, S5720EI, S5720HI, S6720LI, S6720S-LI, S6720SI, S6720S-SI, S6720EI, and S6720S-EI support this command.

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

  6. Run http-operation get

    The HTTP operation type is set to Get.

  7. Run http-url deststring [ verstring ]

    The URL of the web page that the HTTP test accesses and the HTTP version are configured.

    If no HTTP version is configured, HTTP1.0 is supported by default. You can set the version to HTTP1.1.

Updated: 2020-02-06

Document ID: EDOC1000178174

Views: 225683

Downloads: 857

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next