#
interface Vlanif10
ip address 10.1.1.2 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
FTP server enable
#
aaa
local-user user1 password cipher 3MQ*TZ,O3KCQ=^Q`MAF4<1!!
local-user user1 service-type ftp
local-user user1 ftp-directory cfcard:
#
return
6.37.3 Example for Configuring the FTP Upload Test
Networking Requirements
As shown in Figure 6-5:
You are required to test the speed of uploading a file from Switch C to the FTP server.
Figure 6-5 Networking diagram for configuring the FTP upload test
SwitchA
SwitchB
GE1/0/0
VLANIF10
10.1.1.1/24
GE1/0/0
VLANIF20
10.2.1.1/24
FTP
Client
SwitchC
GE2/0/0
VLANIF10
10.1.1.2/24
GE1/0/0
VLANIF20
10.2.1.2/24
FTP
Server
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure Switch A as the NQA client and the FTP client. Create and perform the FTP test
on Switch A to check whether a connection between Switch A and the FTP server can be
set up and to test the time for uploading a file to the FTP server.
2. A user with the name user1 and the password hello logs in to the FTP server to upload a
file whose size is 10k.
Data Preparation
To complete the configuration, you need the following data:
l IP address of the FTP server
l Source IP address for the test
l FTP user name and password
l Size of the uploaded file
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management 6 NQA Configuration
Issue 03 (2010-09-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6-145