Ftp test configuration example, Network requirements, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 163

11-28
FTp Test Configuration Example
Network requirements
As shown in
, configure NQA FTP tests to test the connection with a specified FTP server
and the time required for AC to upload a file to the FTP server. The login username is admin, the login
password is systemtest, and the file to be transferred to the FTP server is config.txt.
Figure 11-6 Network diagram for FTP tests
Configuration procedure
Before you make the configuration, make sure the devices can reach each other.
# Create an FTP test group.
[AC] nqa entry admin test
[AC-nqa-admin-test] type ftp
# Specify the IP address of the FTP server 10.2.2.2 as the destination IP address for FTP tests.
[AC-nqa-admin-test-ftp] destination ip 10.2.2.2
# Specify 10.1.1.1 as the source IP address for probe packets.
[AC-nqa-admin-test-ftp] source ip 10.1.1.1
# Set the FTP username to admin, and password to systemtest.
[AC-nqa-admin-test-ftp] username admin
[AC-nqa-admin-test-ftp] password systemtest
# Configure the device to upload file config.txt to the FTP server for each probe operation.
[AC-nqa-admin-test-ftp] operation put
[AC-nqa-admin-test-ftp] filename config.txt
# Enable the saving of history records.
[AC-nqa-admin-test-ftp] history-record enable
[AC-nqa-admin-test-ftp] quit
# Start FTP tests.
[AC] nqa schedule admin test start-time now lifetime forever
# Stop the FTP tests after a period of time.
[AC] undo nqa schedule admin test
# Display the results of the last FTP test.
[AC] display nqa result admin test
NQA entry (admin admin, tag test) test results:
Destination IP address: 10.2.2.2
Send operation times: 1 Receive response times: 1