H3C S5100-24P-EIのアップデート

初期化コマンドなども分からなかったので、
自分のメモとして。。。

例のスイッチ
H3C S5100-24P-EI 0235A08K 24Port 1000T
が1000円!!だったので、2台ほど購入w

コンピュータのおっとサーバ専門店
http://www.pcserver1.jp/

他にも、格安で出ることがあるので時々チェック!!

ファームウェアなどは、このあたりから。。。
https://h10145.www1.hp.com/downloads/DownloadSoftware.aspx?SoftwareReleaseUId=10019&ProductNumber=JD344A&lang=en&cc=us&prodSeriesId=4236529&SerialNumber=&PurchaseDate=

参考URL(kometchさん)
いつか、そのとき、あの場所で。
http://kometchtech.blog45.fc2.com/blog-entry-1141.html

g_yotuyaさん
いつもの自宅な方々
ありがとうございます。


まずは
初期化「reset saved-configuration

<hogehoge>reset saved-configuration
The saved configuration will be erased.
Are you sure?[Y/N]y
Configuration in flash memory is being cleared.
Please wait ...
...
 Unit1 reset saved-configuration successfully.
<hogehoge>reboot
 Start to check configuration with next startup configuration file,
 please wait......
 This command will reboot the device. Current configuration may be lost in next startup if you continue.   Continue? [Y/N] y
 This will reboot device. Continue? [Y/N] y
#Apr  1 23:56:25:605 2000 dc3x12l203 COMMONSY/5/REBOOT:- 1 -
 Reboot device by command.

設定全部消えるけど良いかなとか聞かれますが、「y」でw
これで、再起動したらまっさらなスイッチが出来上がり。

さて再起動
(この時点で僕はPort5にケーブルを差しています。)

Starting......

            ***********************************************************
            *                                                         *
            *          H3C S5100-24P-EI BOOTROM, Version 617          *
            *                                                         *
            ***********************************************************

            Copyright(c) 2004-2007 Hangzhou H3C Technologies Co., Ltd.
            Creation date   : Jul 13 2007, 14:37:43
            CPU Clock Speed : 200MHz
            BUS Clock Speed : 33MHz
            Memory Size     : 64MB
            Mac Address     : 000******

Press Ctrl-B to enter Boot Menu... 0
Auto-booting...
Decompress Image.............................................................................................................................................................................................................................................................................................................................................OK!
Starting at 0x80100000...

Startup configuration file does not exist.
User interface aux0 is available.

Press ENTER to get started.
<H3C>
%Apr  1 23:55:33:305 2000 H3C SHELL/5/LOGIN:- 1 - Console(aux0) in unit1 login
<H3C>
#Apr  1 23:55:35:532 2000 H3C L2INF/2/PORT LINK STATUS CHANGE:- 1 -
 Trap 1.3.6.1.6.3.1.1.5.4(linkUp): portIndex is 4227809, ifAdminStatus is 1, ifOperStatus is 1

%Apr  1 23:55:35:720 2000 H3C L2INF/5/PORT LINK STATUS CHANGE:- 1 -
 GigabitEthernet1/0/24 is UP

<H3C>
<H3C>

Startup configuration file does not exist.
と言われます。

とりあえず
VLAN1にIPを振ってあげる

<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]
[H3C]interface Vlan-interface 1
[H3C]
[H3C-Vlan-interface1]
%Apr  1 23:56:16:105 2000 H3C L2INF/5/VLANIF LINK STATUS CHANGE:- 1 -
 Vlan-interface1 is UP
[H3C]
[H3C-Vlan-interface1]ip address 192.168.1.222 255.255.255.0
[H3C]
[H3C-Vlan-interface1]
%Apr  1 23:56:30:037 2000 H3C IFNET/5/UPDOWN:- 1 -Line protocol on the interface Vlan-interface1 is UP
[H3C]
[H3C-Vlan-interface1]quit
[H3C]quit
<H3C>

「192.168.1.222」を与えました。

TFTPサーバのアドレス・・・192.168.1.20
TFTPサーバからファームウェアとWebページをダウンロード

<H3C>tftp 192.168.1.20 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 39 second(s).
  File downloaded successfully.

<H3C>
<H3C>tftp 192.168.1.20 get S5100EI-CMW310-R2221P07-S168.bin
  File will be transferred in binary mode.
  Downloading file from remote tftp server, please wait....................................................................................................................................................................................
  TFTP:  4363700 bytes received in 172 second(s).
  File downloaded successfully.

<H3C>

この状態では、まだ書き換わっていなので、
再起動して、ブートメニューから書き換えます。

で、とりあえず再起動

<H3C>reboot
 Start to check configuration with next startup configuration file,
 please wait......
 This command will reboot the device. Current configuration may be lost in next startup if you continue.   Continue? [Y/N] y
 This will reboot device. Continue? [Y/N] y
#Apr  2 00:04:22:517 2000 H3C COMMONSY/5/REBOOT:- 1 -
 Reboot device by command.

「save」していないのでVLANの設定は消えてしまいますが、気にしない。

再起動したら「Ctl+b」でブートメニューに入ります

Starting......

            ***********************************************************
            *                                                         *
            *          H3C S5100-24P-EI BOOTROM, Version 617          *
            *                                                         *
            ***********************************************************

            Copyright(c) 2004-2007 Hangzhou H3C Technologies Co., Ltd.
            Creation date   : Jul 13 2007, 14:37:43
            CPU Clock Speed : 200MHz
            BUS Clock Speed : 33MHz
            Memory Size     : 64MB
            Mac Address     : 000*****


Press Ctrl-B to enter Boot Menu... 1

password:


        BOOT  MENU

1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot

Delete file from flash」から、
(ファームやら設定やら消せるので、古いものなどあったら
消してしまいましょw)

まずはWebページを先に設定します
(ファームを先にしてしまうとハマるらしい。。。)

Enter your choice(0-9): 2

Select application file to boot
1. Set application files
2. Set configuration files
3. Set web files
0. Return

Enter your choice(0-3): 3
File Number    File Size(bytes)     File Name
=============================================================================
1(*)           850991               h3c-http3.1.8-0017sp3.web
2              991651               h3c-http3.3.1-0004.web
Free Space: 6090752 bytes
(*)-with main attribute
(b)-with backup attribute
(*b)-with both main and backup attribute
Please input the file number to change: 2
Please input the file attribute (main/backup):main

The attribute of h3c-http3.1.8-0017sp3.web is changed from main to none!

どのWebページを使うか指定して「main」とします。

次にどのファームウェアを使うか

Select application file to boot
1. Set application files
2. Set configuration files
3. Set web files
0. Return
Enter your choice(0-3): 1
File Number    File Size(bytes)     File Name
=============================================================================
1(*)           3434015              s5100ei-cmw310-r2200p02-s168.bin
2              4363700              s5100ei-cmw310-r2221p07-s168.bin
Free Space: 6090752 bytes
(*)-with main attribute
(b)-with backup attribute
(*b)-with both main and backup attribute
Please input the file number to change: 2
Please input the file attribute (main/backup):main

The attribute of s5100ei-cmw310-r2200p02-s168.bin is changed from main to none!
Next time, s5100ei-cmw310-r2221p07-s168.bin will become default boot file!
Do you want to run s5100ei-cmw310-r2221p07-s168.bin now? Yes or No [Y/N] y

同じく、どのファームウェアを使うかを指定し「main」。
ここで勝手に再起動

次にBootromを新しくするため、
再度、ブートメニューに入ります

Starting......

            ***********************************************************
            *                                                         *
            *          H3C S5100-24P-EI BOOTROM, Version 617          *
            *                                                         *
            ***********************************************************

            Copyright(c) 2004-2007 Hangzhou H3C Technologies Co., Ltd.
            Creation date   : Jul 13 2007, 14:37:43
            CPU Clock Speed : 200MHz
            BUS Clock Speed : 33MHz
            Memory Size     : 64MB
            Mac Address     : 000*****

Press Ctrl-B to enter Boot Menu... 1

password:

        BOOT  MENU

1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot

Enter your choice(0-9): 6

Bootromを書き換えるので「6」

今回はtftpを使うので「1」

Bootrom update menu:
1. Set TFTP protocol parameters
2. Set FTP protocol parameters
3. Set XMODEM protocol parameters
0. Return to boot menu

Enter your choice(0-3): 1
Load File name           :H3C-http3.1.5-0046.web  S5100EI-805.btm
Switch IP address        :192.168.1.1  192.168.1.222
Server IP address        :192.168.1.20  192.168.1.20
Are you sure you want to update your bootrom? Yes or No [Y/N] y
Attached TCP/IP interface to netdrv0.
Attaching network interface lo0...done.
Loading...Transfer Timed Out.
tftpGet: Error occurred while transferring the file.
failed!
Loading file failed!

なぜか、1回めは失敗する。。。。
というか、バックスペースキーが効かないのだが?

        BOOT  MENU

1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot

Enter your choice(0-9): 6

Bootrom update menu:
1. Set TFTP protocol parameters
2. Set FTP protocol parameters
3. Set XMODEM protocol parameters
0. Return to boot menu

同じ要領で。。。

Enter your choice(0-3): 1
Load File name           :S5100EI-805.btm
Switch IP address        :192.168.1.222
Server IP address        :192.168.1.20
Are you sure you want to update your bootrom? Yes or No [Y/N] y
Attached TCP/IP interface to netdrv0.
Attaching network interface lo0...done.
Loading.....................................................................................................done
Bootrom updating..........done!

これで書き換わりました!!

で、再起動しよう

        BOOT  MENU

1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot

Enter your choice(0-9): 0

再起動

上がってきたら・・・

            ***********************************************************
            *                                                         *
            *          H3C S5100-24P-EI BOOTROM, Version 805          *
            *                                                         *
            ***********************************************************

            Copyright(c) 2004-2010 Hangzhou H3C Technologies Co., Ltd.
            Creation date   : Aug 13 2010, 13:41:07
            CPU Clock Speed : 200MHz
            BUS Clock Speed : 33MHz
            Memory Size     : 64MB
            Mac Address     : 000*****

めでたくBootromが新しくなりました。

ファームも無事に新しくなりました。

<H3C>display boot-loader
 Unit 1:
   The current boot app is: s5100ei-cmw310-r2221p07-s168.bin
   The main boot app is:    s5100ei-cmw310-r2221p07-s168.bin
   The backup boot app is:

backupがないので、ブートメニューからバックアップを作っておくといいかも。

[tegaki]コマンドが全然わからんw[/tegaki]

H3C S5100-24P-EIのアップデート” に1件のフィードバックがあります

  1. Kenny

    私も3台ほど買いました!
    ファームの場所、教えていただいてありがとうございました!

    返信

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

Enter code * Time limit is exhausted. Please reload CAPTCHA.

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください