Ftp operation configuration example, Network requirements, Configuration procedure – H3C Technologies H3C MSR 50 User Manual

Page 145

Advertising
background image

Failures due to timeout: 0

Failures due to disconnect: 0

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 records of the DNS operation.

[DeviceA] display nqa history admin test1

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

Index Response Status Time

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

The output shows that Device A uses 62 milliseconds to translate domain name host.com into an IP
address.

FTP operation configuration example

Network requirements

As shown in

Figure 41

, configure an FTP operation to test 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 41 Network diagram

Configuration procedure

# Assign each interface an IP address. (Details not shown.)
# Configure static routes or a routing protocol to make sure the devices can reach each other. (Details not

shown.)
# Create an FTP operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test1

[DeviceA-nqa-admin-test1] type ftp

# Specify the IP address of the FTP server 10.2.2.2 as the destination IP address.

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

# Specify 10.1.1.1 as the source IP address.

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

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

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

[DeviceA-nqa-admin-test1-ftp] password simple systemtest

# Configure the device to upload file config.txt to the FTP server.

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

132

Advertising