An FTP download test measures the speed at which a client downloads a specified file from an FTP server.
nqa test-instance admin-name test-name
test-type ftp
destination-address ipv4 ip-address
ftp-username name
ftp-password password
ftp-filename file-name
| Item | Command | Description |
|---|---|---|
| Configuring description of a test instance | description description-information | - |
| Configuring a tested VPN instance | vpn-instance vpn-instance-name | - |
| Setting the source IP address of test packets | source-address ipv4 ip-address | By default, no source IP address is specified for test packets. The packets use the primary IP address of the outbound interface as their source IP address. The specified source IP address must be the IP address of an Up interface on the FW. Otherwise, the test will fail. |
| Setting the source port of test packets | source-port port-number | - |
| Setting the destination port of test packets | destination-port port-number | By default, port 21 is used as the destination port for FTP download tests. |
| Setting the size of the file to be downloaded | ftp-filesize size | By default, no file size is specified. This is, the complete file is downloaded. If the specified size value is greater than the actual size of the file on the FTP server, download the complete file. If the specified size value is smaller than the actual file size, download only the specified part of the file. |
| Setting the TTL value of test packets | ttl value | The default value is 30. |
| Setting the ToS value of test packets | tos value | The default value is 0. |
| Setting the test interval | frequency interval | By default, no test interval is set, and the test runs only once. |
| Setting the timeout for a single probe | timeout time | By default, an FTP download probe times out in 15s. |
| Setting the maximum number of historical records | records history number | By default, there are a maximum of 50 historical records. |
| Setting the maximum number of test result records | records result number | By default, a maximum of 5 test results can be recorded. |
| Setting the aging time of a test instance | agetime hh:mm:ss | The default value is 0. That is, test instances are never aged. |
| Configuring the system to send test packets without querying the routing table | sendpacket passroute | By default, the FW forwards the test packets based on the route queried in the routing table. |
Select one of the following start modes as required.
Start the NQA test immediately.
start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]
Start the NQA test at a specified time point.
start at [ yyyy/mm/dd ] hh:mm:ss [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]
Start the NQA test after the delay of a specified period.
start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]
Run the display nqa results command to view the test results.
<FW> display nqa results
NQA entry(admin, ftpdownload) :testFlag is inactive ,testtype is ftp
1 . Test 1 result The test is finished
SendProbe:1 ResponseProbe:1
Completion:success RTD OverThresholds number: 0
MessageBodyOctetsSum: 167201 Stats errors number: 0
Operation timeout number: 0 System busy operation number:0
Drop operation number:0 Disconnect operation number: 0
CtrlConnTime Min/Max/Average: 26/26/26
DataConnTime Min/Max/Average: 115/115/115
SumTime Min/Max/Average: 141/141/141
Average RTT:141
Lost packet ratio:0 %
Item |
Description |
|---|---|
SendProbe |
Number of FTP connection initiation times |
ResponseProbe |
Number of times the FTP server responds to the FTP connection requests from the NQA client |
Completion |
Test completion state:
|
RTD OverThresholds number |
Number of times the RTD exceeds the specified threshold |
MessageBodyOctetsSum |
Total number of bytes transmitted in the FTP download test |
Stats errors number |
Number of RTT measurement failures |
Operation timeout number |
Number of expiration times in the test |
System busy operation number |
Number of initialization or resource application failures |
Drop operation number |
Number of test packet sending failures |
Disconnect operation number |
Number of times the peer tears down the connection |
CtrlConnTime Min/Max/Average |
Minimum, maximum, and average periods for establishing control connections |
DataConnTime Min/Max/Average |
Minimum, maximum, and average periods for establishing data connections |
SumTime Min/Max/Average |
Minimum, maximum, and average test completion periods |
Average RTT |
Average RTT value |
Lost packet ratio |
Packet loss ratio |