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

Configuration Guide - Network Management and Monitoring

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, RMON2, LLDP, Performance Management, iPCA, NQA, Service Diagnosis, Mirroring, Packet Capture, NetStream, sFlow, TWAMP Light, NETCONF, ECA, Intelligent Video O&M, eMDI, and Network Deception.
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 FTP Upload Test Instance

Configuring an FTP Upload Test Instance

Context

Before configuring an FTP upload test, configure the FTP user name, password, and the login directory for the FTP server, and ensure reachable routes between the FTP client and the FTP server.

Pay attention to the following points for an FTP upload test:
  • The local device functions as an FTP client to upload a specified file to the FTP server.
  • An FTP upload test can obtain statistics about each FTP phase, including the time spent in setting up an FTP control connection and the time spent in transmitting data.
  • You can specify the file or the number of bytes to be uploaded. If the number of bytes is specified, the FTP client can generate test files automatically for uploading.
NOTE:

The NQA client also functions as the FTP client. Perform the following steps on the NQA client.

At present, the NQA FTP test only supports data transmission in proactive and ASCII modes. Anonymous users cannot be used for the test.

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 ftp

    The test type is set to FTP.

  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 FTP test.

    • Run description string

      A description is configured for the test instance.

    • Run frequency interval

      The test period is set for the NQA test instance.

    • Run timeout time

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

      By default, the timeout period of an FTP probe is 15 seconds.

    • Run destination-port port-number

      The destination port number is configured.

    • Run source-address ipv4 ipv4-address

      The source IP address is configured.

    • Run source-port port-number

      The source port number is configured.

    • Run ttl number

      The TTL value in the NQA test packet is set.

    • Run sendpacket passroute

      The NQA test instance is configured to send packets without searching the routing table.

    • Run tos value

      Type of Service (TOS) is set for the test packet.

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

  6. Run ftp-operation put

    The FTP operation type is set to Put.

  7. Run ftp-username name

    The FTP user name is configured.

  8. Run ftp-password { password | cipher cipher-password }

    The FTP password is configured.

  9. (Optional) Use one of the following methods to upload the specified file.

    • To upload the specified file, run the ftp-filename file-name command.

      NOTE:
      • If no file path is specified, the system searches for the file in the current path. If the specified file name does not exist, the system generates a file with the specified file name and sets the file size to 1 MB.
      • The file name cannot contain such characters as tilde (~), asterisk (*), slash (/), backslash (\), apostrophe ('), quotation mark ("), and comma (,), but the file path can contain these characters.

      • The file name can contain a file name extension but cannot contain only the file name extension, for example, .txt

    • To upload a file of a specified size, run the ftp-filesize size command. The NQA client (also the FTP client) automatically generates a file named nqa-ftp-test.txt for uploading.

      NOTE:

      During the FTP test, select a file of a small size. If the file is too large, the test may fail because of timeout.

      The file uploading operation cannot save the local file to the FTP server, but upload the file in the fixed size and content. You need to configure the file name. The data is specified by the system. If the file name is the same as that in the FTP server, the uploaded file overwrites the existing file and is not deleted after the test.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065680

Views: 52586

Downloads: 500

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