Figure 33 Network diagram for FTPing a system software image file from an FTP server
Configuration procedure
CAUTION:
If the available memory space of the device is not enough, use the fixdisk command to clear the memory
or use the delete/unreserved
operations.
# Log in to the server through FTP.
<Sysname> ftp 10.1.1.1
Trying 10.1.1.1 ...
Connected to 10.1.1.1.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(10.1.1.1:(none)):abc
331 Give me your password, please
Password:
230 Logged in successfully
# Set the file transfer mode to binary.
[ftp] binary
200 Type set to I.
# Download the system software image file newest.app from PC to Device.
•
Download the system software image file newest.app from the PC to the root directory of the
storage medium on the active MPU.
[ftp] get newest.app
Download the system software image file newest.app from the PC to the root directory of the
•
storage medium on the standby MPU (in slot 1).
[ftp] get newest.app slot1#flash:/newest.app
# Upload the configuration file config.cfg of the device to the server for backup.
[ftp] ascii
[ftp] put config.cfg back-config.cfg
227 Entering Passive Mode (10,1,1,1,4,2).
125 ASCII mode data connection already open, transfer starting for /config.cfg.
226 Transfer complete.
FTP: 3494 byte(s) sent in 5.646 second(s), 618.00 byte(s)/sec.
[ftp] bye
# Specify newest.app as the main system software image file for next startup.
Specify newest.app as the main system software image file for next startup of the active MPU.
•
<Sysname> boot-loader file newest.app slot 0 main
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 0!
file
url
-
command to delete the files not in use and then perform the following
79