记录一次H3C固件软件升级

本文详细介绍了如何通过网线对H3CS3100-52TP-SI交换机进行固件升级,包括检查当前系统版本,下载匹配的固件软件,使用TFTP软件删除旧文件并上传新文件,设置启动文件,以及保存配置和重启设备的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

通过网线的方式进行升级,本设备的型号为S3100-52TP-SI(UM)

1.查看系统版本

<SYM-JP-3>dis version
H3C Comware Platform Software
Comware Software, Version 3.10, Release 2207
Copyright (c) 2004-2009 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
H3C S3100-52TP-SI(UM) uptime is 51 weeks, 5 days, 2 hours, 10 minutes

H3C S3100-52TP-SI(UM) with 1 Processor 
64M     bytes SDRAM
8M      bytes Flash Memory
Config Register points to FLASH

Hardware Version is REV.B
Bootrom Version is 606
[Subslot 0] 48FE         Hardware Version is REV.B
[Subslot 1]  2GE         Hardware Version is REV.B
[Subslot 2]  2SFP        Hardware Version is REV.B```

-------------------
<SYM-JP-3>dir 
Directory of unit1>flash:/

   1 (*)   -rw-   3867271  Sep 22 2009 17:59:22   s31sium-cmw310-r2207.bin  //系统程序
   2 (*)   -rw-    882249  Jan 01 2004 00:00:00   h3c-http3.1.9-0014.web  //web界面程序
   3       -rw-      3146  Jan 01 2004 00:00:00   config.def
   4 (*)   -rw-      5001  May 23 2022 14:09:13   config.cfg  //配置文件

7239 KB total (2588 KB free)

(*) -with main attribute   (b) -with backup attribute
(*b) -with both main and backup attribute



<SYM-JP-3>dis device manuinfo 
DEVICE NAME          : S3100-52TP-SI-UM-H3   //细分型号
DEVICE SERIAL NUMBER : 219801A0AQC09B000007   //序列号
MAC ADDRESS          : 0023-8933-3AB7
MANUFACTURED DATE    : 2009-11-21
VENDOR NAME          : H3C


2.下载对应固件软件

在网站上按型号查找 支持-软件下载-软件下载-(下方按钮)安产品检索-选择交换机(H3C S3100-SI(UM) 系列以太网交换机)
https://www.h3c.com/cn/Service/Document_Software/Software_Download/
这里其实纠结是不是s3100v3或者是应该选择S3100-SI,这个最终确定的方法是去设备里dir看原来的.bin文件叫什么名字,或者去产品手册里找能不能对得上
下载的文件是这两个,注意bin和web是有对应关系的,最好两个都改否则web有些界面会有问题
S31SIUM-CMW310-R2215P16.bin
H3C-http3.3.1-0004.web.

3.准备tft软件

用的是3CDaemon,注意在软件里修改一下上传目录
在这里插入图片描述

4.删除原来bin,上传新的bin,并设置启动文件

因为存储空间不够 需要先删除原来的bin,而且因为H3C有回收站机制删除完还需要清空回收站

删除

<SYM-JP-3>delete s31sium-cmw310-r2207.bin.   
Delete unit1>flash:/s31sium-cmw310-r2207.bin?[Y/N]:y
.
%Delete file unit1>flash:/s31sium-cmw310-r2207.bin...Done.

<SYM-JP-3>delete h3c-http3.1.9-0014.web 
Delete unit1>flash:/h3c-http3.1.9-0014.web?[Y/N]:
Before pressing ENTER you must choose 'YES' or 'NO'[Y/N]:y
.
%Delete file unit1>flash:/h3c-http3.1.9-0014.web...Done.
<SYM-JP-3>dir
Directory of unit1>flash:/

   1       -rw-      3146  Jan 01 2004 00:00:00   config.def
   2 (*)   -rw-      5001  May 23 2022 14:09:13   config.cfg

7239 KB total (2587 KB free)

(*) -with main attribute   (b) -with backup attribute
(*b) -with both main and backup attribute

<SYM-JP-3>

清空回收站

<SYM-JP-3>reset recycle-bin 
Clear flash:/s31sium-cmw310-r2207.bin ?[Y/N]:y
Clearing files from flash may take a long time. Please wait...
...............................................
%Cleared file unit1>flash:/~/s31sium-cmw310-r2207.bin.
Clear flash:/h3c-http3.1.9-0014.web ?[Y/N]:
<SYM-JP-3>y
          ^
 % Unrecognized command found at '^' position.
<SYM-JP-3>reset recycle-bin
Clear flash:/h3c-http3.1.9-0014.web ?[Y/N]:y
Clearing files from flash may take a long time. Please wait...
..............
%Cleared file unit1>flash:/~/h3c-http3.1.9-0014.web.
<SYM-JP-3>

新设备支持在删除的时候彻底删除,

 <F100>delete /unreserved h3c-http3.1.9-0014.web

上传文件

<SYM-JP-3>tftp 10.1.168.111 get
<SYM-JP-3>tftp 10.1.168.111 get S31SIUM-CMW310-R2215P16.bin
  File will be transferred in binary mode. 
  Downloading file from remote tftp server, please wait...........................................................................
  TFTP:  4101035 bytes received in 115 second(s). 
  File downloaded successfully. 

<SYM-JP-3>tftp 10.1.168.111 get H3C-http3.3.1-0004.web     
  File will be transferred in binary mode. 
  Downloading file from remote tftp server, please wait...................................
  TFTP:   991651 bytes received in 28 second(s). 
  File downloaded successfully. 

//查看一下成功没
<SYM-JP-3>dir 
Directory of unit1>flash:/

   1       -rw-   4101035  Jun 12 2023 11:40:01   s31sium-cmw310-r2215p16.bin
   2       -rw-    991651  Jun 12 2023 11:42:13   h3c-http3.3.1-0004.web
   3       -rw-      3146  Jan 01 2004 00:00:00   config.def
   4 (*)   -rw-      5001  May 23 2022 14:09:13   config.cfg

7239 KB total (2252 KB free)

(*) -with main attribute   (b) -with backup attribute
(*b) -with both main and backup attribute

<SYM-JP-3>

设置启动的固件软件和web文件

<SYM-JP-3>boot boot-loader s31sium-cmw310-r2215p16.bin    //系统固件
 The specified file will be booted next time on unit 1!
<SYM-JP-3>boot web-package h3c-http3.3.1-0004.web main 
Your web package is incompatible with the APP you are running.
The released package is H3C-http3.1.9-0014.web  //web文件
Do you want to continue?[Y/N]y
<SYM-JP-3>dir  //查看一下 前面带不带星号 或者使用<H3C> display boot-loader查看
Directory of unit1>flash:/

   1 (*)   -rw-   4101035  Jun 12 2023 11:40:01   s31sium-cmw310-r2215p16.bin
   2 (*)   -rw-    991651  Jun 12 2023 11:42:13   h3c-http3.3.1-0004.web
   3       -rw-      3146  Jan 01 2004 00:00:00   config.def
   4 (*)   -rw-      5001  May 23 2022 14:09:13   config.cfg

7239 KB total (2252 KB free)

(*) -with main attribute   (b) -with backup attribute
(*b) -with both main and backup attribute

<SYM-JP-3>

##5. 保存一下,重启设备

<SYM-JP-3>save
The configuration will be written to the device.
Are you sure?[Y/N]y
Please input the file name(*.cfg)(To leave the existing filename 
 unchanged press the enter key):
Now saving current configuration to the device.
Saving configuration. Please wait...
......
 Unit1 save configuration flash:/config.cfg successfully

<SYM-JP-3>reboot
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

a635161812

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值