1-23FTP TestNetwork requirementsBoth the HWPing client and the FTP server are H3C S3100 series Ethernet switches. Perform anHWPing FTP test between the two switches to test the connectivity to the specified FTP server and thetime required to upload a file to the server after the connection is established. Both the username andpassword used to log in to the FTP server are admin. The file to be uploaded to the server iscmdtree.txt.Network diagramFigure 1-4 Network diagram for the FTP testConfiguration procedurez Configure FTP Server (Switch B):Configure FTP server on Switch B. For specific configuration of FTP server, refer to theFTP-SFTP-TFTP part of the manual.z Configure HWPing Client (Switch A):# Enable the HWPing client. system-view[Sysname] hwping-agent enable# Create an HWPing test group, setting the administrator name to administrator and test tag to FTP.[Sysname] hwping administrator ftp# Configure the test type as ftp.[Sysname-hwping-administrator-ftp] test-type ftp# Configure the IP address of the FTP server as 10.2.2.2.[Sysname-hwping-administrator-ftp] destination-ip 10.2.2.2# Configure the FTP login username.[Sysname-hwping-administrator-ftp] username admin# Configure the FTP login password.[Sysname-hwping-administrator-ftp] password admin# Configure the type of FTP operation.[Sysname-hwping-administrator-ftp] ftp-operation put# Configure a file name for the FTP operation.[Sysname-hwping-administrator-ftp] filename cmdtree.txt# Configure to make 10 probes per test.[Sysname-hwping-administrator-ftp] count 10# Set the probe timeout time to 30 seconds.[Sysname-hwping-administrator-ftp] timeout 30# Configure the source IP address[Sysname-hwping-administrator-ftp] source-ip 10.1.1.1# Enable the saving of history records and set the maximum number of history records that can besaved to 10.[Sysname-hwping-administrator-ftp] history-record enable[Sysname-hwping-administrator-ftp] history-records 10