12-7
[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.bin
as the main startup file to be used at the next startup.
<Sysname> boot-loader file newest.bin main
# Reboot the device, and the startup file is updated at the system reboot.
<Sysname> reboot
The startup file used for the next startup must be saved under the root directory of the storage medium.
You can copy or move a file to the root directory of the storage medium. For the details of the
boot-loader
command, refer to
Device Management Commands
in the
System Volume
.
IRF System Upgrade
Network requirements
z
As shown in
Figure 12-3
, use Device as an FTP client and PC as the FTP server. Their IP
addresses are 10.2.1.1/16 and 10.1.1.1/16 respectively. An available route exists between Device
and PC.
z
Device downloads a startup file from PC for device upgrade, and uploads the configuration file to
PC for backup.
z
On PC, an FTP user account has been created for the FTP client, with the username being
abc
and the password being
pwd
.
Figure 12-3
Network diagram for FTPing a startup file from an FTP server