ApplicabilityThis example applies to all versions and Huawei AR routers.
Networking Requirements
The AR router connects to an FTP server and functions as an FTP client. You need to download the new system software package to the router using FTP to upgrade the router.
Procedure
1. Configure the router.
#
interface GigabitEthernet0/0/0
ip address 10.1.1.2 255.255.255.0 //Assign an IP address to the interface connected to the FTP server.
2. Check the current system software and configuration file used for startup.
display startup
MainBoard:
Startup system software: sd1:/software.cc
Next startup system software: sd1:/software.cc
Backup system software for next startup: null
Startup saved-configuration file: sd1:/initcfg.cfg
Next startup saved-configuration file: sd1:/initcfg.cfg
3. Download the new system software from the FTP server.
ftp 10.1.1.1
Trying 10.1.1.1 ...
Press CTRL+K to abort
Connected to 10.1.1.1.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(192.168.200.1:(none)):huawei
331 Give me your password, please
Enter password:
230 Logged in successfully
[Huawei-ftp]binary
200 Type is Image (Binary)
[Huawei-ftp]get software_new.cc
200 PORT command okay
150 "D:\ftp\software_new.cc" file ready to send (77582080 bytes) in i
mage / Binary mode
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
...............................
226 Transfer finished successfully.
FTP: 77582080 byte(s) received in 152.403 second(s) 509.05Kbyte(s)/sec.
[Huawei-ftp]quit
221 Windows FTP Server (WFTPD, by Texas Imperial Software) says goodbye
dir
Directory of sd1:/
The remaining steps please visit:
http://www.prlog.org/12347198-how-to-use-the-router-as-an-ftp-client-to-upgrade-the-router.html