
46
TFTP: 1045 bytes received in 0 second(s)
File downloaded successfully.
If a startup.cfg file already exists in the router, the system prompts you whether to overwrite it. You can
type
Y
or
y
to overwrite it.
Upgrading the application programs
After setting up the environment, perform the following operations on the device (the application name
is
msr.bin
for example):
Use the
save
command to save the current configuration:
<SYSTEM>save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[ cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Use the
dir
command to view the application files and the available space of the CF card (ensure that the
CF card has enough space to store a new application):
<SYSTEM>dir
Directory of cfa0:/
0 drw- - Dec 20 2007 09:18:22 logfile
1 -rw- 22165484 Dec 20 2007 09:18:10 update.bin
2 -rw- 1181 Dec 20 2007 09:42:54 startup.cfg
4 -rw- 22165484 Dec 20 2007 09:42:28 main.bin
252904 KB total (208940 KB free)
File system type of cfa0: FAT16
<SYSTEM>
Download the application msr.bin to the CF card of the device through TFTP:
<SYSTEM>tftp 192.168.1.2 get msr.bin
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait...\
TFTP: 15054340 bytes received in 34 second(s)
File downloaded successfully.
Use the
boot-loader
command to set the startup file for the next startup to
msr.bin
:
<SYSTEM>boot-loader file cfa0:/msr.bin main
This command will set the boot file. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 0!
<SYSTEM>
Use the
display boot-loader
command to view the startup file information of the device:
<SYSTEM>dis boot-loader
The boot file used at this reboot:cfa0:/main.bin attribute: main
The boot file used at the next reboot:cfa0:/msr.bin attribute: main
Failed to get the backup boot file used at the next reboot!
Failed to get the secure boot file used at the next reboot!
<SYSTEM>
Make sure that the configured startup file is correct, and then use the
reboot
command to reboot the
device: