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

NE40E V800R010C00 Configuration Guide - System Monitor 01

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

Delivering the test results to the FTP server can save the test results to the maximum extent.

Networking Requirements

As shown in Figure 4-14, Device A serves as the client to perform an ICMP test and send test results to the FTP server through FTP.

NOTE:
  • Interface 1 and interface 2 in this example stand for GE 1/0/0 and GE 2/0/0, respectively.
Figure 4-14  Networking diagram of sending test results to the FTP server

Configuration Roadmap

The configuration roadmap is as follows:

  1. Set parameters for configuring test results to be sent to the FTP server.

  2. Start a test instance.

  3. Verify the configurations.

Data Preparation

To complete the configuration, you need the following data:

  • IP address of the FTP server
  • User name and password used for logging in to the FTP server

  • Name of a file in which test results are saved through FTP

  • Interval at which test results are uploaded through FTP

Procedure

  1. Set parameters for configuring test results to be sent to the FTP server.

    <DeviceA> system-view
    [~DeviceA] nqa upload test-type icmp ftp ipv4 10.1.2.8 file-name test1 port 21 username ftp password huawei-123 interval 600 retry 3
    [*DeviceA] commit

  2. Start a test instance.

    [~DeviceA] nqa test-instance admin icmp
    [*DeviceA] tset-type icmp
    [*DeviceA] destination-address ipv4 10.1.1.10
    [*DeviceA-admin-icmp] start now
    [*DeviceA-admin-icmp] commit

  3. Check the configurations.

    # Check information about files that a device is uploading and has attempted to upload onto a server.

    <*DeviceA> display nqa upload file-info
    The total number of upload file records is : 2                                  
    ---------------------------------------------------------------                 
    FileName   : NQA_38ba47987301_icmp_20171014112319701_test1.xml                  
    Status     : Upload success                                                     
    RetryTimes : 3                                                                  
    UploadTime : 2017-10-14 11:23:21.697                                            
                                                                                    
    ---------------------------------------------------------------
    FileName   : NQA_38ba47987301_icmp_20171014112421710_test1.xml                  
    Status     : Uploading                                                          
    RetryTimes : 3                                                                  
    UploadTime : --                                                                 
    

Configuration Files

  • Device A configuration file

    #
     sysname DeviceA
    #
    interface GigabitEthernet 1/0/0
     ip address 10.1.1.11 255.255.255.0
    #
    interface GigabitEthernet 2/0/0
     ip address 10.1.2.1 255.255.255.0
    #
    nqa upload test-type icmp ftp ipv4 10.1.2.8 file-name test1 port 21 username ftp password huawei-123 interval 600 retry 3
     nqa test-instance admin icmp
     test-type icmp
     destination-address ipv4 10.1.1.10
    #
    return
  • Device B configuration file

    #
     sysname DeviceB
    #
    interface GigabitEthernet1/0/0
     ip address 10.1.1.10 255.255.255.0
    #
    return
Download
Updated: 2018-07-12

Document ID: EDOC1100028538

Views: 29303

Downloads: 220

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