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).
Example for Configuring an ICMP Test Instance

Example for Configuring an ICMP Test Instance

Networking Requirements

In Figure 7-22, RouterA functions as an NQA client to test whether RouterB is reachable.

Figure 7-22  Networking diagram for configuring an ICMP test instance

Configuration Roadmap

  1. Perform the NQA ICMP test function to test whether the packet sent by RouterA can reach RouterB.
  2. Perform the NQA ICMP test to obtain the RTT of the packet.


  1. # Configure an IP address for RouterA.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] ip address 24
    [RouterA-GigabitEthernet1/0/0] quit

  2. # Configure an IP address for RouterB.

    <Huawei> system-view
    [Huawei] sysname RouterB
    [RouterB] interface gigabitethernet 1/0/0
    [RouterB-GigabitEthernet1/0/0] ip address 24
    [RouterB-GigabitEthernet1/0/0] quit

  3. Enable the NQA client and create an NQA ICMP test instance.

    [RouterA] nqa test-instance admin icmp
    [RouterA-nqa-admin-icmp] test-type icmp
    [RouterA-nqa-admin-icmp] destination-address ipv4

  4. Start the test instance.

    [RouterA-nqa-admin-icmp] start now

  5. Verify the configuration.

    [RouterA-nqa-admin-icmp] display nqa results test-instance admin icmp
     NQA entry(admin, icmp) :testflag is inactive ,testtype is icmp
      1 . Test 1 result   The test is finished
       Send operation times: 3                   Receive response times: 3
       Completion:success                        RTD OverThresholds number: 0
       Attempts number:1                         Drop operation number:0
       Disconnect operation number:0             Operation timeout number:0
       System busy operation number:0            Connection fail number:0
       Operation sequence errors number:0        RTT Stats errors number:0
       Destination ip address:
       Min/Max/Average Completion Time: 31/46/36
       Sum/Square-Sum  Completion Time: 108/4038
       Last Good Probe Time: 2012-8-2 10:7:11.4
       Lost packet ratio: 0 %

Configuration Files

  • RouterA configuration file

     sysname RouterA
    interface GigabitEthernet1/0/0
     ip address
    nqa test-instance admin icmp
     test-type icmp
     destination-address ipv4
  • RouterB configuration file

     sysname RouterB
    interface GigabitEthernet1/0/0
     ip address
Updated: 2019-03-06

Document ID: EDOC1100069336

Views: 30196

Downloads: 177

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