3Com WX3000 Switch User Manual


 
1-20
FTP Test
Network requirements
As shown in Figure 1-4, both the HWPing client and the FTP server are WX3000 series devices.
Perform a HWPing FTP test between the two devices to test the connectivity to the specified FTP server
and the time required to upload a file to the server after the connection is established. Both the
username and password used to log in to the FTP server are “admin”. The file to be uploaded to the
server is cmdtree.txt.
Figure 1-4 Network diagram for the FTP test
Switch A Switch B
HWPing Client
IP network
10.1.1.1/8 10.2.2.2/8
FTP Server
Configuration procedure
z Configure FTP Server (Switch B):
Configure FTP server on Switch B. For specific configuration of FTP server, refer to the
FTP-SFTP-TFTP part of the manual.
z Configure HWPing Client (Switch A):
# Configure the IP address for the Ethernet interface.
<device> system-view
[device] interface Vlan-interface 1
[device-Vlan-interface1] ip address 10.1.1.1 8
# Enable the HWPing client.
[device] hwping-agent enable
# Create a HWPing test group, setting the administrator name to "administrator" and test tag to "FTP".
[device] hwping administrator ftp
# Configure the test type as ftp.
[device-hwping-administrator-ftp] test-type ftp
# Configure the IP address of the FTP server as 10.2.2.2.
[device-hwping-administrator-ftp] destination-ip 10.2.2.2
# Configure the FTP login username.
[device-hwping-administrator-ftp] username admin
# Configure the FTP login password.
[device-hwping-administrator-ftp] password admin
# Configure the type of FTP operation.
[device-hwping-administrator-ftp] ftp-operation put
# Configure a file name for the FTP operation.
[device-hwping-administrator-ftp] filename cmdtree.txt
# Configure to make 10 probes per test.