8 FTP, TFTP and XModem
Quidway NetEngine80
Configuration Guide - Basic Configurations
8-20 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 04 (2009-12-20)
# 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
The file vrp.cc is already existing, overwrite it? [Y/N]:y
200 PORT command okay
150 Opening BINARY mode data connection for vrp.bin
226 Transfer complete.
FTP: 5805100 byte(s) received in 19.898 second(s) 291.74Kbyte(s)/sec.
[ftp] dir
200 Port command okay.
150 Opening ASCII mode data connection for *.
0 -rw- 5805100 May 25 2007 18:02:30 vrp.bin
1 -rw- 354 Apr 30 2007 14:35:15 vrpcfg.cfg
2 drw- - Apr 30 2007 14:35:36 lam
3 -rw- 852 May 25 2007 16:55:08 vrpcfg.zip
226 Transfer complete.
FTP: 402 byte(s) received in 0.140 second(s) 2.87Kbyte(s)/sec.
[ftp] bye
----End
Configuration Files
Configuration file of the FTP server.
#
sysname Server
#
FTP server enable
#
interface Ethernet2/0/0
undo shutdown
ip address 172.16.104.110 255.255.255.0
#
aaa
local-user quidway password simple Huawei
local-user quidway service-type ftp
local-user quidway ftp-directory flash:/ftp/system
authentication-scheme default
#
authorization-scheme default
#