5-19
Updating applications at the CLI after logging in to the switch
z
Before updating the software, make sure that you have saved the configurations. Otherwise, these
configurations may get lost due to system reboot.
z
You must reboot the switch using the
reboot
command to validate the host program.
z
After updating the BootWare, reboot the board so that the new version can take effect.
z
After updating the logic software, the system automatically reboots the board to bring the new
version into effect.
z
For details about updating the logic software and Mbus software, refer to
Device Management
Configuration
in the
System Volume
in the
H3C S12500 Series Routing Switches Operation Manual.
Suppose the applications have been downloaded to the Flash of the switch, of which the host program
is SWITCH002.bin (the host program running in the system is SWITCH001.bin), the BootWare is
swv1r1.btw, and the logic software is lst1xp4.app.
Step1
Update the BootWare program running on a certain board.
<H3C> bootrom update file flash:/swv1r1.btw slot 0
Step2
Specify the next boot program.
<H3C> boot-loader file flash:/SWITCH002.bin slot 0 main
<H3C> boot-loader file flash:/SWITCH002.bin slot 0 backup
<H3C> display boot-loader
The next primary boot file of board 0 is: flash:/SWITCH002.bin
The next backup boot file of board 0 is: flash:/SWITCH002.bin
The current boot file of board 0 is: flash:/SWITCH001.bin
<H3C> reboot
Step3
Update the logic software running on the LPU in Slot 3.
<H3C> logic update bymbus file flash:/lst1xp4.app slot 3 logicid 0
The command will reset the board after updating the logic.
Are you sure? [Y/N]: y
Start updating the logic.
Please wait for a while...
Update logic file cfa0:/lst1xp4l.app successfully.
Reboot slot 3!
Step4
Update the Mbus software.
The Mbus software is contained in the host program. Therefore, the Mbus software is updated together
with the host program.
<H3C> mbus update file flash:/SWITCH002.bin slot 0
Troubleshooting Software Update
These types of problems may occur during software update: