小s交換機 bootrom ftp方式升級軟件版本問題

故障描述

華為盒式交換機 軟件大包故障 無法正常進入系統 這個時候通過進入bootrom 來上傳軟件包  流程 包括ftp的配置  電腦的ip地址的設置問題

故障分析

  無

處理過程

首先連用console 連接交換機的console口  打開pc的超級終端軟件

 參數設置如下:

1 :使用超級終端



2:使用crt軟件





配置ftp服務器的時候連接網線 分兩種情況:

1 :如2700等盒式交換機沒有meth管理的網口時 需用網線連接電腦的網卡和交換機的1號網口

2:如5700等盒式交換機有meth管理網口時  直接用網線連接電腦網卡和交換機的管理網口meth口


準備需要上傳軟件大包

交換機軟件下載的地址: http://support.huawei.com/enterprise/Main.action#tabname=productsupport


以上準備工作做好之后 就可以開始給交換機升級了

流程如下:

把交換機斷電重啟

BIOS LOADING ...

Copyright (c) 2008-2011 HUAWEI TECH CO., LTD.

(Ver348, Jun 26 2012, 18:56:33)

Press Ctrl+B to enter BOOTROM menu ... 2 1

提示按Ctr+B的時候   按鍵盤的Ctr 和 B


password:

這的地方會提示輸入密碼  密碼有三種情況  huawei   www.huawei.com    Admin@huawei.com


進入bootrom的主菜單


          BOOTROM  MENU


    1. Boot with default mode

    2. Enter serial submenu

    3. Enter startup submenu

    4. Enter ethernet submenu

    5. Enter filesystem submenu

    6. Modify BOOTROM password

    7. Clear password for console user

    8. Reboot

選擇5查看文件系統

Enter your choice(1-8): 5


         FILESYSTEM SUBMENU


    1. Erase Flash           

    2. Format flash          

    3. Delete file from Flash

    4. Rename file from Flash

    5. Display Flash files   

    6. Return to main menu   


選擇5查看flash里面的文件 和剩余空間大小
 

Enter your choice(1-6): 5
No. File Size(bytes)     Created Date       File Name
=================================================================

1:  8789100  bytes   Jan 01 2008 00:33:06   S3300-28TP-EI-V100R006C03.cc       

2:  851      bytes   Jan 01 2008 00:01:17   private-data.txt                   

3:  836      bytes   Jan 01 2008 00:01:35   rr.dat                             

4:  836      bytes   Jan 01 2008 00:01:40   rr.bak                             

5:  1348985  bytes   Jan 01 2008 01:12:13   s3300-28tp-ei-v100r006c03.web.zip  

6:  216      bytes   Jan 01 2008 00:06:25   1.txt                              

7:  637      bytes   Jan 01 2008 00:02:54   vrpcfg1.zip                        

8:  542      bytes   Jan 01 2008 00:05:25   vrpcfg.zip                         
Total: 14632KB(Free: 4640KB)



         FILESYSTEM SUBMENU


    1. Erase Flash           

    2. Format flash          

    3. Delete file from Flash

    4. Rename file from Flash

    5. Display Flash files   

    6. Return to main menu   

如果剩余的空間大小不夠
可以選擇 2. Format flash 格式化flash空間 
或者選擇  3. Delete file from Flash  刪除一些文件


Enter your choice(1-6): 2

Note: Format flash will damage Flash file system.
      Format flash? Yes or No(Y/N): y


Formatting Flash, please waiting several minutes .................................. done
    FILESYSTEM SUBMENU


    1. Erase Flash           

    2. Format flash          

    3. Delete file from Flash

    4. Rename file from Flash

    5. Display Flash files   

    6. Return to main menu   



Enter your choice(1-6): 5
No. File Size(bytes)     Created Date       File Name
=================================================================
Total: 14632KB(Free: 14624KB)



         FILESYSTEM SUBMENU


    1. Erase Flash           

    2. Format flash          

    3. Delete file from Flash

    4. Rename file from Flash

    5. Display Flash files   

    6. Return to main menu   

選擇6返回上一級 bootrom 菜單



Enter your choice(1-6): 6


          BOOTROM  MENU


    1. Boot with default mode

    2. Enter serial submenu

    3. Enter startup submenu

    4. Enter ethernet submenu

    5. Enter filesystem submenu

    6. Modify BOOTROM password

    7. Clear password for console user

    8. Reboot



通過ftp上傳軟件版本 選擇4 設置以太網相關參數

Enter your choice(1-8): 4


          ETHERNET  SUBMENU


    1. Update BOOTROM system

    2. Download file to Flash through ethernet interface

    3. Modify ethernet interface boot parameter

    4. Return to main menu


選擇3設置ethernet參數 如果需要更新bootrom 就先升級bootrom版本

Enter your choice(1-4): 3


          BOOTLINE  SUBMENU


    1. Set TFTP protocol parameters

    2. Set FTP protocol parameters

    3. Return to ethernet menu

Enter your choice(1-3): 2


'.' = clear field;  '-' = go to previous field; 
Load File name      : S3300-28TP-EI-V100R006C03.cc S3300-28TP-EI-bootrom.bin  /直接在后面跟上要更新的bootrom版本軟件全名
Switch IP address   : 192.168.1.15:ffffff00  / 設置交換機的ip地址 前面的是默認ip地址
Server IP address   : 192.168.1.40  /  設置ftp服務器的ip地址 前面的是默認ip地址
FTP User Name       : 123   / 設置ftp服務器的用戶名
FTP User Password   : 123   / 設置ftp服務器的密碼




Starting to write BOOTLINE into flash ... done



          BOOTLINE  SUBMENU


    1. Set TFTP protocol parameters

    2. Set FTP protocol parameters

    3. Return to ethernet menu


Enter your choice(1-3): 3

設置電腦ip地址






   配置ftpserver軟件
   設置ftp 用戶名密碼 工作的目錄

      

ETHERNET  SUBMENU


    1. Update BOOTROM system

    2. Download file to Flash through ethernet interface

    3. Modify ethernet interface boot parameter

    4. Return to main menu

Enter your choice(1-4): 1

boot string          : 0
boot device          : netdrv
unit number          : 0
processor number     : 0
host name            : switch
file name            : S3300-28TP-EI-bootrom.bin
inet on ethernet (e) : 192.168.1.15:ffffff00
host inet (h)        : 192.168.1.40
user (u)             : 123
ftp password (pw)    : 123
flags (f)            : 0x0

Attached TCP/IP interface to netdrv0.
Loading...
Read file to sdram.Done



Warning: Don't Power-off or Reset the Device!!!

Update bootrom system ... done !



          ETHERNET  SUBMENU


    1. Update BOOTROM system

    2. Download file to Flash through ethernet interface

    3. Modify ethernet interface boot parameter

    4. Return to main menu
Enter your choice(1-4): 3


          BOOTLINE  SUBMENU


    1. Set TFTP protocol parameters

    2. Set FTP protocol parameters

    3. Return to ethernet menu

Enter your choice(1-3): 2


'.' = clear field;  '-' = go to previous field;  ^D = quit
Load File name      : S3300-28TP-EI-V100R006C03.cc  XXXXXXX /直接在這里輸入要上傳的新的軟件版本全名
Switch IP address   : 192.168.1.15:ffffff00  /設置交換機的ip地址 前面顯示的默認ip地址可以不用修改
Server IP address   : 192.168.1.40            /設置ftp服務器的ip地址 前面顯示的是默認的ip地址可以不用修改
FTP User Name       : 123   /設置ftp 用戶名
FTP User Password   : 123   /設置ftp密碼




Starting to write BOOTLINE into flash ... done



          BOOTLINE  SUBMENU


    1. Set TFTP protocol parameters

    2. Set FTP protocol parameters

    3. Return to ethernet menu

返選擇3返回上一級菜單

Enter your choice(1-3): 3



          ETHERNET  SUBMENU


    1. Update BOOTROM system

    2. Download file to Flash through ethernet interface

    3. Modify ethernet interface boot parameter

    4. Return to main menu

選擇2從FTP服務器下載軟件大包

Enter your choice(1-4): 2

boot string          : 0
boot device          : netdrv
unit number          : 0
processor number     : 0
host name            : switch
file name            : S3300-28TP-EI-V100R006C03.cc
inet on ethernet (e) : 192.168.1.15:ffffff00
host inet (h)        : 192.168.1.40
user (u)             : 123
ftp password (pw)    : 123
flags (f)            : 0x0

Attached TCP/IP interface to netdrv0.
Attaching network interface lo0... done.
Loading...
Read file to sdram..........Done



Writing Flash.......................................................................................................................................done
File length: 8789100 bytes
Time taken : 32s



          ETHERNET  SUBMENU


    1. Update BOOTROM system

    2. Download file to Flash through ethernet interface

    3. Modify ethernet interface boot parameter

    4. Return to main menu

上傳成功選擇4返回上一級菜單

Enter your choice(1-4): 4


          BOOTROM  MENU


    1. Boot with default mode

    2. Enter serial submenu

    3. Enter startup submenu

    4. Enter ethernet submenu

    5. Enter filesystem submenu

    6. Modify BOOTROM password

    7. Clear password for console user

    8. Reboot

進入文件系統查看新上傳大包文件 并比較大小

Enter your choice(1-8): 5


         FILESYSTEM SUBMENU


    1. Erase Flash           

    2. Format flash          

    3. Delete file from Flash

    4. Rename file from Flash

    5. Display Flash files   

    6. Return to main menu   


nter your choice(1-6): 5
No. File Size(bytes)     Created Date       File Name
=================================================================

1:  8789100  bytes   Jan 01 2008 00:08:04   S3300-28TP-EI-V100R006C03.cc       
Total: 14632KB(Free: 6040KB)



         FILESYSTEM SUBMENU


    1. Erase Flash           

    2. Format flash          

    3. Delete file from Flash

    4. Rename file from Flash

    5. Display Flash files   

    6. Return to main menu   



Enter your choice(1-6): 6


          BOOTROM  MENU


    1. Boot with default mode

    2. Enter serial submenu

    3. Enter startup submenu

    4. Enter ethernet submenu

    5. Enter filesystem submenu

    6. Modify BOOTROM password

    7. Clear password for console user

    8. Reboot

選擇3進入啟動配置菜單把下次啟動軟件包設置為新上傳的大包

Enter your choice(1-8): 3


       Startup Configuration Submenu


    1. Display startup configuration

    2. Modify startup configuration

    3. Return to main menu

Enter your choice(1-3): 2


Note: startup file field can not be cleared

'.'=clear field; '^D'=quit; Enter=use current configuration



startup type(1: Flash)

  current: 1

  new    :         這個地方敲回車


Flash startup file (can not be cleared)

  current: s3300-28TP-EI-V100R006C03.cc

  new    : s3300-28TP-EI-V100R006C03.cc   輸入啟動的新的軟件版


saved-configuration file

  current: vrpcfg.zip  

  new    :   這個地方敲回車


license file

  current:

  new    : 這個地方敲回車


patch package

  current:

  new    : 這個地方敲回車


       Startup Configuration Submenu


    1. Display startup configuration

    2. Modify startup configuration

    3. Return to main menu

Enter your choice(1-3): 1
Current startup configuration

  startup type      : Flash

  startup file      : s3300-28TP-EI-V100R006C03.cc

  configuration file: vrpcfg.zip

  license file      :

  patch package     :


Last time startup state : Success

Latest successful startup configuration

  startup file      : s3300-28TP-EI-V100R006C03.cc

  configuration file: vrpcfg.zip

  license file      :

  patch package     :



       Startup Configuration Submenu


    1. Display startup configuration

    2. Modify startup configuration

    3. Return to main menu




Enter your choice(1-3): 3


          BOOTROM  MENU


    1. Boot with default mode

    2. Enter serial submenu

    3. Enter startup submenu

    4. Enter ethernet submenu

    5. Enter filesystem submenu

    6. Modify BOOTROM password

    7. Clear password for console user

    8. Reboot

選擇1以默認方式啟動

Enter your choice(1-8): 1


Decompressing Image file ... done


Initialize FSP Task



PPI DEV SysInit..................OK



Hard system init.................OK

Begin to start the system, please waiting ......



VOS VFS init.....................OK

Startup File Check...............OK

VOS monitor init.................OK

CFM init advance.................OK

PAT init ........................OK

HA S2M init......................OK

VOS VFS init hind ...............OK



VRP_Root begin...

VRP_InitializeTask begin...

Init the Device Link.............OK

CFG_PlaneInit begin..............OK

CFM_Init begin...................OK

CLI_CmdInit begin................OK

VRP_RegestAllLINKCmd begin.......OK

create task begin................

task init begin...


Recover configuration...OK!
Press ENTER to get started.
done



Login authentication


Password:
Error: The password times out.
Password:
Error: The password is invalid.
Password:
Error: The password is invalid.

User interface con0 is available



Please Press ENTER.


Login authentication



<Quidway>dis 
<Quidway>display  v
<Quidway>display  voice-vlan         er
<Quidway>display  version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.70 (S3328 V100R006C03)
Copyright (C) 2003-2011 HUAWEI TECH CO., LTD
Quidway S3328TP-EI Routing Switch uptime is 0 week, 0 day, 0 hour, 4 minutes

EOFEA 0(Master) : uptime is 0 week, 0 day, 0 hour, 3 minutes
128M bytes DDR Memory
16M bytes FLASH
Pcb      Version :  VER B
Basic  BOOTROM  Version :  348 Compiled at Jun 26 2012, 18:56:33
Software Version : VRP (R) Software, Version 5.70 (V100R006C03)



能夠正常進入系統 查看軟件版本 是最新上傳的 確認本次升級成功

建議/總結

  無

中国6一12呦女精品