
122
NOTE:
A DNS test simulates the domain name resolution. It does not save the mapping between the domain name
and the IP address.
Configuring FTP tests
FTP tests of an NQA test group are used to test the connection between the NQA client and an FTP server
and the time required for the FTP client to transfer a file to or download a file from the FTP server.
Configuration prerequisites
Before you start FTP tests, configure the FTP server. For example, configure a username and password that
are used to log in to the FTP server. For more information about FTP server configuration, see
Fundamentals Configuration Guide
.
Configuring FTP tests
Follow these steps to configure FTP tests:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter NQA test group view
nqa
entry
admin-name
operation-tag
—
Configure the test type as FTP, and
enter test type view
type ftp
Required
Specify the IP address of the FTP
server as the destination address of
FTP request packets
destination ip
ip-address
Required
By default, no destination IP address is
configured.
Configure the source IP address of
FTP request packets
source ip
ip-address
Required
By default, no source IP address is specified.
The source IP address must be the IP address
of a local interface. The local interface must
be up; otherwise, no FTP requests can be sent
out.
Configure the operation type
operation
{
get
|
put
}
Optional
By default, the operation type for the FTP is
get
, which means obtaining files from the FTP
server.
Configure a login username
username
name
Required
By default, no login username is configured.
Configure a login password
password
password
Required
By default, no login password is configured.
Specify a file to be transferred
between the FTP server and the FTP
client
filename
file-name
Required
By default, no file is specified.
Set the data transmission mode for
FTP tests
mode
{
active
|
passive
}
Optional
active
by default.