
5-18
Loading Software Through USB Interface
Each S5810 series switch provides a USB interface on its front panel. You can download the Boot ROM
and application files to a removable storage device (such as a USB flash disk), and load the file through
the USB interface.
Suppose the Boot ROM and application files are stored in the file named
update.bin
, follow these steps
to load the files from the USB flash disk.
Step1
Plug the USB flash disk containing the
update.bin
file in the USB interface of the switch.
Step2
Copy the
update.bin
file to the flash memory of the switch.
<H3C> cd flash:
<H3C> copy usba:/upadate.bin update.bin
Step3
Remove the USB flash disk, and then load the Boot ROM file.
<H3C> bootrom update file update.bin slot 1
This command will update bootrom file, Continue? [Y/N]:y
Now updating bootrom, please wait....
Step4
Load the application file, and specify the file as the main program file.
<H3C> boot-loader file update.bin slot 1 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 sl
ot 1!
<H3C> display boot-loader
Current boot app is: flash:/update.bin
Next main boot app is: flash:/update.bin
Next backup boot app is: flash:/update.bin
<H3C> reboot
z
After loading the application file, use the
reboot
command to restart the switch to make the update
take effect (make sure you have saved other configurations before restart).
z
If the flash memory does not have enough space, you can load the Boot ROM file first, and then
delete certain application files from the flash memory (you are recommended to delete the unused
host program files); then, load the application file to the switch through FTP for update.
z
Avoid any power failure during the loading process.
Loading Software Using FTP
As shown in
Figure 5-9
, run FTP Server on the local host, configure username
admin
and the password,
and specify the path of the file to be downloaded (suppose the IP address of the FTP server is
202.10.10.53). Then, telnet to the switch and send the host program file to the switch using FTP.