3Com Switch 8800 Advanced Software V5 Configuration Guide
Configuring NQA Tests 1095
Configuration procedure
Follow these steps to configure the FTP test:
n
■ Transfer a small file for a get operation. If the file is too large, the test may fail
because of time-out.
■ When you perform a get operation, the file obtained from the FTP server will
not be saved on the device, either. If there is no such file-name file on the FTP
server, the FTP test will fail.
■ When you perform a put operation, a file-name file with a fixed size and
contents will be created on the FTP server, but the uploaded file will not be
saved.
Configuration example
1 Network requirements
Use the NQA FTP function to test the connection with a specified FTP server and
the time necessary for the FTP client to upload a file to the FTP server. The login
username is admin, the login password is nqa, and the file to be transferred to the
FTP server is config.txt.
To do... Use the command... Remarks
Enter system view system-view -
Enable the NQA client nqa-agent enable Required
Create an NQA test group
and enter its view
nqa admin-name
operation-tag
-
Set the test type to FTP test-type ftp Required
Configure a destination
address for a test
destination-ip ip-address Required
Here it is the IP address of the
FTP server.
Configure the source IP
address of a test request
packet
source-ip ip-address Required
The source IP address must be
that of an interface on the
device and the interface must
be up. Otherwise, the test will
fail.
Configure the operation type ftp-operation { get | put } Optional
get by default, meaning to
get files from the FTP server.
Configure a login username username name Required
Configure a login password password password Optional
Specify a file to be transferred
between the FTP server and
the FTP client.
filename file-name Required
Configure common optional
parameters
Refer to “Configuring
Optional Parameters for NQA
Tests” on page 1109
Optional
Enable the NQA test test-enable Required
View the test results display nqa results [
admin-name operation-tag ]
Required
You can execute the
command in any view.