Ftp test, Network requirements, Network diagram – H3C Technologies H3C S3100 Series Switches User Manual

Page 891: Configuration procedure

Advertising
background image

1-23

FTP Test

Network requirements

Both the HWPing client and the FTP server are H3C S3100 series Ethernet switches. Perform an

HWPing FTP test between the two switches 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.

Network diagram

Figure 1-4 Network diagram for the FTP test

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):

# Enable the HWPing client.

<Sysname> 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 be

saved to 10.

[Sysname-hwping-administrator-ftp] history-record enable

[Sysname-hwping-administrator-ftp] history-records 10

Advertising