![Huawei AR2200 Series Configuration Manual Download Page 118](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296118.webp)
Figure 6-1
Networking for performing file operations by using FTP
PC
Network
FTP Server
GE1/0/0
10.137.217.221/16
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure the IP address of the FTP server.
2.
Enable the FTP server.
3.
Configure the authentication information, authorization mode, and directories to be
accessed for an FTP user.
4.
Log in to the FTP server by using the correct user name and password.
5.
Upload files to or download files from the FTP server.
NOTE
Ensure that the PC can communicate with the FTP server.
Data Preparation
To complete the configuration, you need the following data:
l
IP address of the FTP server, that is, 10.137.217.221
l
Timeout period for the FTP connection, that is, 20 minutes
l
FTP username as
huawei
and password as
huawei
on the server
l
Destination file name and its position in the FTP client
Procedure
Step 1
Configure the IP address of the FTP server.
[server]
interface gigabitethernet1/0/0
[server-GigabitEthernet1/0/0]
ip address 10.137.217.221 255.255.0.0
[server-GigabitEthernet1/0/0]
quit
Step 2
Enable the FTP server.
<Huawei>
system-view
[Huawei]
sysname server
[server]
ftp server enable
[server]
ftp timeout 20
Step 3
Configure the authentication information, authorization mode, and authorized directories for an
FTP user on the FTP server.
[server]
aaa
[server-aaa]
local-user huawei password simple huawei
[server-aaa]
local-user huawei service-type ftp
[server-aaa]
local-user huawei ftp-directory flash:
[server-aaa]
quit
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
6 Managing File System
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
107