Академический Документы
Профессиональный Документы
Культура Документы
Any time you want to upgrade huaweis device you have 2 methods to
do this. The first of them is to use CLI (command line interface), the second is to use bootrom
menu. Using CLI is the most popular method. You can configure FTP server on the device
and use your PC as FTP client or install
install FTP server on your PC and treat the device as FTP
client. Anyway, you can use TFTP or serial (slow connection) instead of FTP. Sometimes it is
not possible to get CLI because there is a problem with software file. It is damaged or does
not exist. In this case we can use bootrom menu to download a new software and upgrade the
device. Lets take S5300 as an example.
[ftp]dir
200 PORT command successful.
150 File status OK ; about to open data connection
---------- 1 owner group 327968 Sep 21 10:40 bootrom104.bin
---------- 1 owner group 11050836 Sep 21 10:40 S5300EI-
V100R005C00SPC100.cc
226 Closing data connection
FTP: 1000 byte(s) received in 1.280 second(s) 781.25byte(s)/sec.
[ftp]binary
200 Type set to I.
[ftp]get S5300EI-V100R005C00SPC100.cc
<Quidway>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 -rw- 106,936 Oct 01 2008 00:08:11 matnlog.dat
1 -rw- 5,169,809 Oct 01 2008 00:05:18 log.log
2 -rw- 102 Oct 09 2008 16:27:17 $_patchstate_a
3 -rw- 7,369,844 Oct 01 2008 00:01:06
SV100R002C02B093_for_5300.cc
4 -rw- 11,050,836 Oct 01 2008 00:02:26 S5300EI-
V100R005C00SPC100.cc
5 -rw- 327,968 Oct 01 2008 00:50:21 bootrom104.bin
6 -rw- 4,086 Oct 01 2008 00:51:42 vrpcfg.cfg
7 -rw- 28 Oct 01 2008 00:07:04 private-data.txt
<Quidway>reboot
2. Enter the bootrom menu by Ctrl+B, default bootrom password for S5300 is huawei.
SERIAL SUBMENU
3. After bootrom upgrade we can start upgrading software. The first task is to download
necessary software from FTP server. The whole procedure below:
BOOTROM MENU
ETHERNET SUBMENU
BOOTLINE SUBMENU
BOOTLINE SUBMENU
ETHERNET SUBMENU
4. After the new software is downloaded we can set the new software as startup software:
BOOTROM MENU
saved-configuration file
current: vrpcfg.cfg
new : vrpcfg.cfg
license file
current:
new :
patch package
current:
new :
BOOTROM MENU
If you choose 5 you will enter filesystem submenu. From this level you can display files
stored in flash and execute some operation on these files. Sometimes it is very usefull if you
do not have enough space in flash to download a new software. In this case you can format
flash and then follow procedure of software downloading from bootrom menu. I had such
case for example on S3300 switch where flash memory has not enough space to store 2
software versions.
BOOTROM MENU
FILESYSTEM SUBMENU
1. Erase Flash
2. Format flash
3. Delete file from Flash
4. Rename file from Flash
5. Display Flash files
6. Update EPLD file
7. Update FPGA file
8. Update FansCard File
9. Return to main menu
BOOTROM MENU
Please remember that in older bootrom versions it is necessary to use Ctrl+Z shortcut to make
some additional functions visible in bootrom menu. The bootrom menu can be different on
different devices but after reading this post you will deal with them.
Any questions, anything is not clear for you, do not hesitate to ask me. Please be invite to
write your comments.