< Home

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.

Perform the following steps on the NQA client.

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

    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

      The source IP address is configured.

      ip-address is similar to -a in the ping command.

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

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >