Quidway NetEngine20/20E
Configuration Guide - Basic Configurations 8 FTP, TFTP and XModem
Issue 05 (2010-01-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8-17
[Server] ftp timeout 30
[Server] aaa
[Server -aaa] local-user quidway password simple huawei
Step 2 Configure the authorization mode and directory of the FTP user on the FTP server
[Server -aaa] local-user quidway service-type ftp
[Server -aaa] local-user quidway ftp-directory flash:
[Server -aaa] quit
Step 3 Assign an IP address to the FTP server.
[Server] interface Ethernet2/0/0
[Server-Ethernet2/0/0] ip address 172.16.104.110 255.255.255.0
[Server-Ethernet2/0/0] quit
Step 4 Obtain the system host software.
# Log in to the FTP server to obtain system host software and save it in the root directory of
the Flash Memory of the router.
<Router> cd flash:
<Router> pwd
flash:<Router> ftp 172.16.104.110
Trying 100.1.1.201 ...
Press CTRL+K to abort
Connected to 100.1.1.201.
220 FTP service ready.
User(100.1.1.201:(none)): quidway
331 Password required for quidway.
Password:
230 User logged in.
[ftp] binary
200 Type set to I.
[ftp] get vrp.bin
200 PORT command okay
150 Opening BINARY mode data connection for vrp.bin
226 Transfer finished successfully.
FTP: 5805100 byte(s) received in 19.898 second(s) 291.74Kbyte(s)/sec.
[ftp] bye
----End
Configuration Files
Configuration file of the FTP server.
#
sysname Server
#
ftp server enable
#
interface Ethernet2/0/0
ip address 172.16.104.110 255.255.255.0
#
aaa
local-user quidway password simple Huawei
local-user quidway service-type ftp