跳转到主要内容

小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)



能够正常进入系统 查看软件版本 是最新上传的 确认本次升级成功

建议/总结

  无