Huawei AR150/200 Series Configuration Manual page 218

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
Figure 6-6 Networking diagram of the FTP upload test
Router A
FTP Client
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
Procedure
Step 1 Configure reachable routes between Router A, Router B, and Router C. (The detailed procedure
is not mentioned here.)
Step 2 Configure Router C as the FTP server.
<RouterC> system-view
[RouterC] ftp-server enable
[RouterC] aaa
[RouterC-aaa] local-user user1 password cipher hello
[RouterC-aaa] local-user user1 service-type ftp
[RouterC-aaa] local-user user1 ftp-directory flash:
[RouterC-aaa] quit
Step 3 Create an NQA FTP test on Router A and create a file with the size being 10 KB for uploading.
<Router> system-view
[RouterA] nqa test-instance admin ftp
[RouterA-nqa-admin-ftp] test-type ftp
[RouterA-nqa-admin-ftp] destination-address ipv4 10.2.1.2
[RouterA-nqa-admin-ftp] source-address ipv4 10.1.1.1
[RouterA-nqa-admin-ftp] ftp-operation put
[RouterA-nqa-admin-ftp] ftp-username user1
[RouterA-nqa-admin-ftp] ftp-password hello
[RouterA-nqa-admin-ftp] ftp-filesize 10
Step 4 Start the test.
Issue 02 (2012-03-30)
Eth1/0/0
Eth1/0/0
10.1.1.1/24
10.1.1.2/24
Configure Router A as an NQA client as well as an FTP client. Create and perform an FTP
test on Router A to check whether Router A can set up a connection with the FTP server
and to obtain the time taken by Router A to upload a file to the FTP server.
A user named user1 logs in to the FTP server by entering the password hello to upload a
file with the size being 10 KB.
IP address of the FTP server
Source IP address for the test
FTP user name and password
Size of the uploaded file
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Router B
Eth2/0/0
10.2.1.1/24
10.2.1.2/24
6 NQA Configuration
Router C
Eth1/0/0
FTP Server
207

Advertisement

Table of Contents
loading

Table of Contents