ICX6430のファームウェアをアップデートするよ

Posted on 2016/05/29(Sun) 00:35 in technical

さまり

Brocade ICX6430のファームウェアをアップデートした時のログを残しておきます。

ログの抜粋を貼り付けているだけなので、特にこれといった話題はありません。

以下ログ

こんな感じでアップデートします。:

SSH@SW1>ena
Password:
SSH@SW1#skip-page-display
Disable page display mode
SSH@SW1#show ver
  Copyright (c) 1996-2015 Brocade Communications Systems, Inc. All rights reserved.
    UNIT 1: compiled on Nov  3 2015 at 21:43:36 labeled as ICX64S08030d
        (8486536 bytes) from Primary ICX64S08030d.bin
        SW: Version 08.0.30dT311
    UNIT 2: compiled on Nov  3 2015 at 21:43:36 labeled as ICX64S08030d
        (8486536 bytes) from Primary ICX64S08030d.bin
        SW: Version 08.0.30dT311
  Boot-Monitor Image size = 786944, Version:10.1.05T310 (kxz10105)
  HW: Stackable ICX6430-24
==========================================================================
UNIT 1: SL 1: ICX6430-24 24-port Management Module
     Serial  #: XXXXXXXXXXX
     License: BASE_SOFT_PACKAGE   (LID: dbpFJGMlFJn)
     P-ENGINE  0: type E7FE, rev 01
==========================================================================
UNIT 1: SL 2: ICX6430-SFP 4port 4G Module
==========================================================================
UNIT 2: SL 1: ICX6430-24 24-port Management Module
     Serial  #: XXXXXXXXXXX
     License: BASE_SOFT_PACKAGE   (LID: dbpFJGMlFJz)
     P-ENGINE  0: type E7FE, rev 01
==========================================================================
UNIT 2: SL 2: ICX6430-SFP 4port 4G Module
==========================================================================
  500 MHz ARM processor ARMv5TE, 400 MHz bus
32768 KB flash memory
  256 MB DRAM
STACKID 1  system uptime is 90 day(s) 20 hour(s) 23 minute(s) 32 second(s)
STACKID 2  system uptime is 90 day(s) 20 hour(s) 23 minute(s) 26 second(s)
The system started at 03:28:48 GMT+09 Sun Feb 28 2016

 The system : started=cold start
My stack unit ID = 1, bootup role = active

SSH@SW1#show flash
Stack unit 1:
  Compressed Pri Code size = 8486536, Version:08.0.30dT311 (ICX64S08030d.bin)
  Compressed Sec Code size = 10371776, Version:07.4.00bT311 (ICX64S07400b.bin)
  Compressed Boot-Monitor Image size = 786944, Version:10.1.05T310
  Code Flash Free Space = 6991872
Stack unit 2:
  Compressed Pri Code size = 8486536, Version:08.0.30dT311 (ICX64S08030d.bin)
  Compressed Sec Code size = 10371776, Version:07.4.00bT311 (ICX64S07400b.bin)
  Compressed Boot-Monitor Image size = 786944, Version:10.1.05T310
  Code Flash Free Space = 6987776
SSH@SW1#copy scp flash 192.168.122.43 /var/www/ainoniwa.net/data/ICX64S08030h.bin primary
SSH@SW1#copy scp flash 192.168.122.43 /var/www/ainoniwa.net/data/ICX64S08030h.bin primary
User name:yuki
Password:
Connecting to remote host......

Receiving data (8192 bytes per dot)
.
Automatic copy to member units:  2
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(8192 bytes per dot)...
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Image copy completed

Primary Image file downloaded successfully.

SCP transfer to device completed


Connection Closed

通報

今回はメインのイメージだけが対象でしたが、バージョンによってはBoot-Monitor Imageもアップデートする必要があります。

その場合は、 copy scp flash 192.0.2.1 /data/kxz10105.bin bootrom のような感じでアップデートします。

再起動します。:

SSH@SW1#reload
Are you sure? (enter 'y' or 'n'): y

再起動後、指定のバージョンになっていることを確認します。:

SSH@SW1>ena
Password:
SSH@SW1#skip-page-display
Disable page display mode
SSH@SW1#show flash
Stack unit 1:
  Compressed Pri Code size = 8500344, Version:08.0.30hT311 (ICX64S08030h.bin)
  Compressed Sec Code size = 10371776, Version:07.4.00bT311 (ICX64S07400b.bin)
  Compressed Boot-Monitor Image size = 786944, Version:10.1.05T310
  Code Flash Free Space = 6983680
Stack unit 2:
  Compressed Pri Code size = 8500344, Version:08.0.30hT311 (ICX64S08030h.bin)
  Compressed Sec Code size = 10371776, Version:07.4.00bT311 (ICX64S07400b.bin)
  Compressed Boot-Monitor Image size = 786944, Version:10.1.05T310
  Code Flash Free Space = 6979584
SSH@SW1#
SSH@SW1#show version
  Copyright (c) 1996-2016 Brocade Communications Systems, Inc. All rights reserved.
    UNIT 1: compiled on May 19 2016 at 01:15:45 labeled as ICX64S08030h
                (8500344 bytes) from Primary ICX64S08030h.bin
        SW: Version 08.0.30hT311
    UNIT 2: compiled on May 19 2016 at 01:15:45 labeled as ICX64S08030h
                (8500344 bytes) from Primary ICX64S08030h.bin
        SW: Version 08.0.30hT311
  Boot-Monitor Image size = 786944, Version:10.1.05T310 (kxz10105)
  HW: Stackable ICX6430-24
==========================================================================
UNIT 1: SL 1: ICX6430-24 24-port Management Module
         Serial  #: XXXXXXXXXXX
         License: BASE_SOFT_PACKAGE   (LID: dbpFJGMlFJn)
         P-ENGINE  0: type E7FE, rev 01
==========================================================================
UNIT 1: SL 2: ICX6430-SFP 4port 4G Module
==========================================================================
UNIT 2: SL 1: ICX6430-24 24-port Management Module
         Serial  #: XXXXXXXXXXX
         License: BASE_SOFT_PACKAGE   (LID: dbpFJGMlFJz)
         P-ENGINE  0: type E7FE, rev 01
==========================================================================
UNIT 2: SL 2: ICX6430-SFP 4port 4G Module
==========================================================================
  500 MHz ARM processor ARMv5TE, 400 MHz bus
32768 KB flash memory
  256 MB DRAM
STACKID 1  system uptime is 2 minute(s) 18 second(s)
STACKID 2  system uptime is 2 minute(s) 19 second(s)
The system : started=warm start  reloaded=by "reload"
My stack unit ID = 1, bootup role = active

おしまい。