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

Reminder

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

upgrade

CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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

Configuring an ICMP Test Instance

Context

Before configuring an ICMP test instance, configure reachable routes between the NQA client and the tested device.

An ICMP test has the same function as the ping command but displays more detailed information.

NOTE:

Perform the following steps on the NQA 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.
In an ICMP test instance, if the following conditions are met, the Completion field in the test results will be displayed as no result:
  • The system CPU usage exceeds 90% and the configured timeout period is less than 6s.
  • frequency configured ≤ (probe-count - 1) × interval + 6.

Procedure

  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 icmp

    The test type is set to ICMP.

  4. Run destination-address { ipv4 ipv4-address | ipv6 ipv6-address }

    The destination address is configured.

  5. (Optional) Run the following commands as required to configure parameters for the ICMP test.

    • Run description string

      A description is configured for the test instance.

    • Run frequency interval

      The interval at which the NQA test instance is automatically executed is set.

    • Run timeout time

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

      By default, the timeout period of an ICMP probe is 3 seconds.

    • Run source-interface interface-type interface-number

      The source interface that sends test packets is configured.

    • 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 ttl number

      The TTL value is set.

      number is similar to -h in the ping command.

    • Run datasize size

      The size of Echo Request packets excluding the IP header is configured.

      size is similar to -s in the ping command.

    • Run datafill fillstring

      The padding field is configured.

      fillstring is similar to -p in the ping command.

    • 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

      The type of service (ToS) field value in an IP header is configured.

      value is similar to -tos in the ping command.

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

      interval is similar to -m in the ping command.

    • 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 records history-filter { all | failures }

      The device is enabled to filter out records in a historical NQA test instance table.

    • Run agetime hh:mm:ss

      The aging time is set for the NQA test instance.

    • Run ip-forwarding

      Packets are forcibly forwarded using IP on the first node.

    • Run nexthop ipv4 ip-address

      The next hop address of the test instance is configured.

  6. (Optional) Create an NQA group and add NQA test instances to the NQA group.

    After an NQA group is created, you can add NQA test instances to the NQA group, and then manage the NQA group to monitor multiple links at the same time.

    1. Run quit

      Exit from the test instance view.

    2. Run nqa-group group-name

      An NQA group is created and the NQA group view is displayed.

    3. Run nqa admin-name test-name

      An NQA test instance is added to the NQA group.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 110568

Downloads: 348

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next