beautypg.com

Ftp test configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 48

background image

36

Failures due to no connection: 0

Failures due to sequence error: 0

Failures due to internal error: 0

Failures due to other errors: 0

Packet(s) arrived late: 0

# Display the history of DNS tests.

[DeviceA] display nqa history admin test

NQA entry (admin admin, tag test) history record(s):

Index Response Status Time

1 62 Succeeded 2008-11-10 10:49:37.3

FTP test configuration example

Network requirements

As shown in

Figure 10

, configure NQA FTP tests to test the connection with a specific FTP server and the

time required for Device A 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 10 Network diagram

Configuration procedure

NOTE:

Before you make the configuration, make sure the devices can reach each other.

# Create an FTP test group.

system-view

[DeviceA] nqa entry admin test

[DeviceA-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.

[DeviceA-nqa-admin-test-ftp] destination ip 10.2.2.2

# Specify 10.1.1.1 as the source IP address for probe packets.

[DeviceA-nqa-admin-test-ftp] source ip 10.1.1.1

# Set the FTP username to admin, and password to systemtest.

[DeviceA-nqa-admin-test-ftp] username admin

[DeviceA-nqa-admin-test-ftp] password systemtest

# Configure the device to upload file config.txt to the FTP server for each probe operation.

[DeviceA-nqa-admin-test-ftp] operation put

[DeviceA-nqa-admin-test-ftp] filename config.txt

# Enable the saving of history records.

[DeviceA-nqa-admin-test-ftp] history-record enable

[DeviceA-nqa-admin-test-ftp] quit