NEC IX2105のファームウェアをアップデートする
NEC IX2105をヤフオクで買ったので、まずはファームウェアのアップデートをしました。
アップデートの準備
TFTPサーバの起動
Macであれば、以下のコマンドでTFTPサーバが起動します。
$ sudo launchctl unload -w /System/Library/LaunchDaemons/tftp.plist
アップデートイメージを /private/tftpboot
に配置する
/private/tftpboot
に置くだけです。
$ ls /private/tftpboot/ ix2105-boot-12.1-gate-ms-9.3.11.rap
アップデート
ここからは電源の入ったIXにコンソールケーブルを刺して作業します。
現在のバージョン確認
Router(config)# show version NEC Portable Internetwork Core Operating System Software IX Series IX2105 (magellan-sec) Software, Version 8.7.22, RELEASE SOFTWARE Compiled Dec 07-Wed-2011 11:42:26 JST #1 by sw-build, coregen-8.7(22) ROM: System Bootstrap, Version 3.1 System Diagnostic, Version 3.1 Initialization Program, Version 3.1 System uptime is 4 minutes System woke up by reload, caused by command execution System started at Jun 12-Sun-2016 14:59:03 JST System image file is "ix2105-ms-8.7.22.ldc" Processor board ID <0> IX2105 (MPC8314E) processor with 131072K bytes of memory. 2 GigaEthernet/IEEE 802.3 interfaces 512K bytes of non-volatile configuration memory. 16384K bytes of processor board System flash (Read/Write) Default console is web.
MacとIXの接続
LANケーブルでMacとIXをつなぎます。IXはGE1の1番目のポートにつなぎます。
工場出荷時の設定であればDHCPで 192.168.1.0/24
のアドレスが降ってくるはずです。Macに振られたIPを控えておきます。
アップデートイメージのダウンロード
192.168.1.1
と書いてある部分は必要に応じてMacのIPアドレスに書き換えてください。
Router(config)# tftp get 192.168.1.1:ix2105-boot-12.1-gate-ms-9.3.11.rap ix2105-boot-12.1-gate-ms-9.3.11.rap .......................................................................................................................................................................................... ................................................................................................................................................................................ TFTP transfer complete, 5928586 bytes, MD5 = *************************
ダウンロードの確認
ダウンロードされた事を確認します。
Router(config)# show flash Codes: M - Main-side, B - Backup-side, N - Newfile, R - Runnable A - Active-file, + - Next-boot, * - Bootmode-entry Length Name Status 4156969 ix2105-ms-8.7.22.ldc MA 5928586 ix2105-boot-12.1-gate-ms-9.3.11.rap R
古いイメージの削除
現在読み込まれている古いイメージを削除します。
Router(config)# erase ix2105-ms-8.7.22.ldc Now erasing ix2105-ms-8.7.22.ldc, please wait...
再起動
再起動するとアップデートが始まります。
Router# reload Notice: The router will be RELOADED. This is to ensure that the peripheral devices are properly initialized. Are you sure you want to reload the router? (Yes or [No]): Yes NEC Bootstrap Software Copyright (c) NEC Corporation 2001-2011. All rights reserved. %BOOT-INFO: No Build-ID boot records found, attempting flash load. %BOOT-INFO: No boot records found, attempting flash load. %BOOT-INFO: Trying flash load, exec-image [ix2105-boot-12.1-gate-ms-9.3.11.rap]. Loading: ########################################################################################## [OK] Starting at 0x20000 NEC Bootstrap Software, Version 12.1 Copyright (c) NEC Corporation 2001-2016. All rights reserved. ***** FLASH MEMORY IMAGE UPDATER ***** %UPDATE-INFO: Update Information [09030b204886de13] %UPDATE-INFO: Starting update. %UPDATE-INFO: [Bootstrap Software] [Main Bootstrap Software] [Diagnostic Software] [Gateway Software] %UPDATE-INFO: Cleanup all FLASH area, please wait for a while. %UPDATE-INFO: Overwrite VPD area. %UPDATE-INFO: 0x00100274 > 0xfe000000 update done. %UPDATE-INFO: 0x00120294 > 0xfef00000 update done. %UPDATE-INFO: 0x00140294 > 0xfef20000 update done. %UPDATE-INFO: 0x001602b4 > 0xfef80000 update done. %UPDATE-INFO: 0x001802d4 > 0xfe180000 update done. %UPDATE-INFO: 0x001a02d4 > 0xfe1a0000 update done. %UPDATE-INFO: 0x001c02d4 > 0xfe1c0000 update done. %UPDATE-INFO: 0x001e02d4 > 0xfe1e0000 update done. %UPDATE-INFO: 0x002002d4 > 0xfe200000 update done. %UPDATE-INFO: 0x002202d4 > 0xfe220000 update done. %UPDATE-INFO: 0x002402d4 > 0xfe240000 update done. %UPDATE-INFO: 0x002602d4 > 0xfe260000 update done. %UPDATE-INFO: 0x002802d4 > 0xfe280000 update done. %UPDATE-INFO: 0x002a02d4 > 0xfe2a0000 update done. %UPDATE-INFO: 0x002c02d4 > 0xfe2c0000 update done. %UPDATE-INFO: 0x002e02d4 > 0xfe2e0000 update done. %UPDATE-INFO: 0x003002d4 > 0xfe300000 update done. %UPDATE-INFO: 0x003202d4 > 0xfe320000 update done. %UPDATE-INFO: 0x003402d4 > 0xfe340000 update done. %UPDATE-INFO: 0x003602d4 > 0xfe360000 update done. %UPDATE-INFO: 0x003802d4 > 0xfe380000 update done. %UPDATE-INFO: 0x003a02d4 > 0xfe3a0000 update done. %UPDATE-INFO: 0x003c02d4 > 0xfe3c0000 update done. %UPDATE-INFO: 0x003e02d4 > 0xfe3e0000 update done. %UPDATE-INFO: 0x004002d4 > 0xfe400000 update done. %UPDATE-INFO: 0x004202d4 > 0xfe420000 update done. %UPDATE-INFO: 0x004402d4 > 0xfe440000 update done. %UPDATE-INFO: 0x004602d4 > 0xfe460000 update done. %UPDATE-INFO: 0x004802d4 > 0xfe480000 update done. %UPDATE-INFO: 0x004a02d4 > 0xfe4a0000 update done. %UPDATE-INFO: 0x004c02d4 > 0xfe4c0000 update done. %UPDATE-INFO: 0x004e02d4 > 0xfe4e0000 update done. %UPDATE-INFO: 0x005002d4 > 0xfe500000 update done. %UPDATE-INFO: 0x005202d4 > 0xfe520000 update done. %UPDATE-INFO: 0x005402d4 > 0xfe540000 update done. %UPDATE-INFO: 0x005602d4 > 0xfe560000 update done. %UPDATE-INFO: 0x005802d4 > 0xfe580000 update done. %UPDATE-INFO: 0x005a02d4 > 0xfe5a0000 update done. %UPDATE-INFO: 0x005c02d4 > 0xfe5c0000 update done. %UPDATE-INFO: 0x005e02d4 > 0xfe5e0000 update done. %UPDATE-INFO: 0x006002d4 > 0xfe600000 update done. %UPDATE-INFO: 0x006202d4 > 0xfe620000 update done. %UPDATE-INFO: 0x006402d4 > 0xfe640000 update done. %UPDATE-INFO: Update completed. NEC Bootstrap Software Copyright (c) NEC Corporation 2001-2016. All rights reserved. %BOOT-INFO: Trying flash load, exec-image [ix2105-ms-9.3.11.ldc]. Loading: ############################################################################# [OK] Starting at 0x20000 Configuring router subsystems (before IDB proc): done. Constructing IDB(Interface Database): done. Configuring router subsystems (after IDB proc): done. Initializing router subsystems: done. Starting router subsystems: done. All router subsystems coming up. NEC Portable Internetwork Core Operating System Software Copyright Notices: Copyright (c) NEC Corporation 2001-2016. All rights reserved. Copyright (c) 1985-1998 OpenROUTE Networks, Inc. Copyright (c) 1984-1987, 1989 J. Noel Chiappa. Router#