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).
Example for Configuring Test Results to Be Sent to the FTP Server

Example for Configuring Test Results to Be Sent to the FTP Server

Networking Requirements

In Figure 7-32, RouterA functioning as the client performs the ICMP test and send test results to the FTP server through FTP.

Figure 7-32  Networking diagram for configuring test results to be sent to the FTP server

Configuration Roadmap

The configuration roadmap is as follows:

  1. Set parameters for connecting to the FTP server on RouterA, enable the FTP server to save NQA test results through FTP, and set related parameter for saving test results.

  2. Start the test instance and send test results to the FTP server.

Procedure

  1. Configure an IP address for each interface and ensure reachable routes between Routers, as shown in Figure 7-32.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] ip address 10.1.1.11 24
    [RouterA-GigabitEthernet1/0/0] quit
    [RouterA] interface gigabitethernet 2/0/0
    [RouterA-GigabitEthernet2/0/0] ip address 10.1.2.1 24
    [RouterA-GigabitEthernet2/0/0] quit
    NOTE:

    For configurations of RouterB, see the configuration file.

  2. Set parameters for connecting to the FTP server on RouterA.

    [RouterA] nqa-ftp-record ip-address 10.1.2.8
    [RouterA] nqa-ftp-record source-address 10.1.2.1
    [RouterA] nqa-ftp-record username ftp
    [RouterA] nqa-ftp-record password ftp
    [RouterA] nqa-ftp-record filename icmp

  3. Set the number of test results to be saved in a file through FTP.

    [RouterA] nqa-ftp-record item-num 10010

  4. Configure the duration of saving test results through FTP.

    [RouterA] nqa-ftp-record time 2

  5. Send an alarm to the NMS after the FTP transmission succeeds.

    [RouterA] nqa-ftp-record trap-enable

  6. Enable the FTP server to save NQA test results through FTP on RouterA.

    [RouterA] nqa-ftp-record enable

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

  8. Start the test instance.

    [RouterA-admin-icmp] start now

  9. Verify the configuration.

    # Display NQA test results of RouterA.

    <RouterA> display nqa-ftp-record configuration
    ---------------NQA FTP SAVE RECORD CONFIGURATION---------------
       FUNCTION: ENABLE    TRAP: ENABLE
       IP-ADDRESS:10.1.2.8
       VPN-INSTANCE:
       USERNAME:ftp
       PASSWORD:
       FILENAME:icmp
       ITEM-NUM:10010
       TIME:2
       LAST FINISHED FILENAME:icmp20131214-163628.txt

Configuration Files

  • RouterA configuration file

    #
     sysname RouterA
    #
    interface GigabitEthernet1/0/0
     ip address 10.1.1.11 255.255.255.0
    #
    interface GigabitEthernet2/0/0
     ip address 10.1.2.1 255.255.255.0
    #
    nqa-ftp-record trap-enable
    nqa-ftp-record ip-address 10.1.2.8
    nqa-ftp-record source-address 10.1.2.1nqa-ftp-record username ftp
    nqa-ftp-record password cipher %^%#I"q19:tK.V;^4.LaR3FRJW&*%^%#
    nqa-ftp-record filename icmp
    nqa-ftp-record item-num 10010
    nqa-ftp-record time 2
    nqa-ftp-record enable
    #
    nqa test-instance admin icmp
     test-type icmp
     destination-address ipv4 10.1.1.1
    #
    return
    
  • RouterB configuration file

    #
     sysname RouterB
    #
    interface GigabitEthernet1/0/0
     ip address 10.1.1.1 255.255.255.0
    #
    return
    
Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 100407

Downloads: 332

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