コンテンツにスキップ

Ix2105の設定

リンク

取扱説明書

https://www.manuals.nec.co.jp/contents/node/344

初期化

マニュアルでは「スーパーリセット」と呼ばれる。

プログラムファイルのロード中を示す文字「##」が出力されている途中でCtrl+cを入力し、ブートモニタモードに移行します。

NEC Bootstrap Software
Copyright (c) NEC Corporation 2001-2014. All rights reserved.
%BOOT-INFO: Trying flash load, exec-image [ix2215-ms-9.0.9.ldc].
Loading: #########  <- ここでCtrl+Cを実行

スタートアップコンフィグを削除

boot[0]> cc 

bコマンドを実行し、プログラムファイルのロードを開始します。

boot[0]> b

ファームの更新

現状を確認する。

Router# enable
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
4250760    ix2105-ms-8.8.22.ldc          MA

[4322472 bytes used, 9823690 available, 14146162 total]
13824 Kbytes of processor board System flash (Read/Write)

ネットワークへの接続設定を行う。

Router(config)# show ip address
Interface Null0.0 is up, line protocol is up
  Interface is unnumbered.
Router(config)# interface GigaEthernet0.0
Router(config-GigaEthernet0.0)# no shutdown
Router(config-GigaEthernet0.0)# ip address dhcp receive-default
Router(config-GigaEthernet0.0)# exit
Router(config)# show ip address
Interface GigaEthernet0.0 is up, line protocol is up
  Internet address is 192.168.0.231/24
  Broadcast address is 255.255.255.255
  Address determined by DHCP
  Primary DNS server is 192.168.0.35
  Secondary DNS server is 1.1.1.1
Interface Null0.0 is up, line protocol is up
  Interface is unnumbered.

pingが通るか確かめる。

Router(config)# ping 192.168.0.1
PING 192.168.0.231 > 192.168.0.1 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=255 time=0.322 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.312 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=0.314 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=255 time=0.319 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=255 time=0.258 ms

--- 192.168.0.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0.258/0.305/0.322

MacでTFTPサーバーを起動する。

mac osx には tftp サーバーが内蔵されてるので起動してみた - それマグで!

UNIVERGE IX2015 ファームウェアアップデート: とあるStoreの業務記録

# 起動
sudo launchctl load -w /System/Library/LaunchDaemons/tftp.plist

# 終了
sudo launchctl unload -w /System/Library/LaunchDaemons/tftp.plist

# 確認
sudo lsof -i:69

# ファイルの設置
sudo cp test.html /private/tftpboot/index.html

TFTPサーバにバックアップする対象のファイルを作成してパーミッション設定をしておく。

cd /private/tftpboot/
mkdir a
chmod 777 a
cd a
# アップロードしたいファイル名
touch ix2105-ms-9.2.20.ldc
chmod 777 ix2105-ms-9.2.20.ldc

IX2105から以下のコマンドを実行して既存ファームをバックアップする。。

Router(config)# tftp put ix2105-ms-9.2.20.ldc 192.168.0.182:a/ix2105-ms-9.2.20.ldc
..................................................................................................................................................................................................................................................................................................................
TFTP transfer complete, 5007666 bytes, MD5 = 76e47a2828675cbeb37875f0e1557e00

md5を確認する。

$ md5sum ix2105-ms-9.2.20.ldc
MD5 (ix2105-ms-9.2.20.ldc) = 76e47a2828675cbeb37875f0e1557e00

古いファームウェアを削除する。

Router(config)# erase ix2105-ms-9.2.20.ldc

新しいファームウェアを取得する。

Router(config)# tftp get 192.168.0.182:ix2105-boot-18.2-gate-ms-10.1.14.rap ix2105-boot-18.2-gate-ms-10.1.14.rap
.............................................................................................................................................................................................................................................................................................................................................................................................................................................
TFTP transfer complete, 7025432 bytes, MD5 = 47b1626b868405cb139b4e776afb257e

新しいファームウェアになっているか確認する。

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
7025432    ix2105-boot-18.2-gate-ms-10.1.14.rap R

[7073136 bytes used, 7073026 available, 14146162 total]
13824 Kbytes of processor board System flash (Read/Write)

新しいファームウェアで起動する。

Router(config)# exit
Router# reload

ファームのバージョンを確認してみる。

Router# sh ver
NEC Portable Internetwork Core Operating System Software
IX Series IX2105 (magellan-sec) Software, Version 10.1.14, RELEASE SOFTWARE
Compiled Mar 06-Wed-2019 14:03:05 JST #2 by sw-build, coregen-10.1(14)

ROM: System Bootstrap, Version 18.2
System Diagnostic, Version 18.2
Initialization Program, Version 18.2

System uptime is 41 minutes
System woke up by reload, caused by command execution
System started at Jun 23-Sun-2019 17:17:05 JST
System image file is "ix2105-ms-10.1.14.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)