2-10
<Sysname> dir
Directory of flash:/
0 drw- - Dec 07 2005 10:00:57 filename
1 drw- - Jan 02 2006 14:27:51 logfile
2 -rw- 1216 Jan 02 2006 14:28:59 config.cfg
3 -rw- 1216 Jan 02 2006 16:27:26 back.cfg
15240 KB total (2511 KB free)
<Sysname> delete /unreserved flash:/back.cfg
2) Configure the PC (FTP Client)
# Log in to the FTP server through FTP.
c:\> ftp 1.1.1.1
Connected to 1.1.1.1.
220 FTP service ready.
User(1.1.1.1:(none)):abc
331 Password required for abc.
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.
z
After you finish upgrading 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 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