6-98
331 Password required for ftp.
Password:
230 User logged in.
# Download the configuration file
config.cfg
of the device to the PC for backup.
ftp> get config.cfg back-config.cfg
# Upload the configuration file
newest.bin
to Device.
ftp> put newest.bin
ftp> bye
z
You can take the same steps to upgrade configuration file with FTP. When upgrading the
configuration file with FTP, put the new file under the root directory of the storage medium (For a
device that has been partitioned, the configuration file must be saved on the first partition.).
z
After you finish transferring the Boot ROM program through FTP, you must execute the
bootrom
update
command to upgrade the Boot ROM.
3) Upgrade
Device
# Specify
newest.bin
as the main boot file to be used at the next startup.
<Sysname> boot-loader file newest.bin main
# Reboot the device and the boot file is updated at the system reboot.
<Sysname> reboot
The boot file used for the next startup must be saved under the root directory of the storage medium
(For a device that has been partitioned, the boot file must be saved on the first partition). You can copy
or move a file to the root directory of the storage medium. For the details of the
boot-loader
command,
see
Software Upgrade
in the
Fundamentals Command Reference
.
FTP Server Configuration Example (On the SR6604/6608/6616 router)
Network requirements
z
As shown in
, use Device as an FTP server, and the PC as the FTP client. Their IP
addresses are 1.2.1.1/16 and 1.1.1.1/16 respectively. Device and PC are reachable to each other.
z
PC keeps the updated boot file of the device. Use FTP to upgrade the device and back up the
configuration file.
z
Set the username to
ftp
and the password to
pwd
for the FTP client to log in to the FTP server.
Summary of Contents for SR6600 SPE-FWM
Page 112: ...6 101...