IX2105の初期設定(自己流)

HowTo

どうもおはこんばんにちは、yotakun4132です。

IX2105を設定してるとわけわからなくなって結構よく初期化することがあるんですが、その際にいつも見ているメモを皆さんに共有しようと思います。

スーパーリセット

初期設定する前に改めてスーパーリセット(初期化)しておくと安心です。

コンソールケーブルでIX2105に直接接続し、電源を切って入れます。
起動中、

Loading:#######

と表示されたタイミングでCtrl + Cを押します。
ccと入力してスーパーリセットします。

boot[0]> cc
Enter "Y" to clear startup configuration: Y
% Startup configuration is cleared.
NEC Bootstrap Software, Version 2.2
Copyright (c) NEC Corporation 2001-2011. All rights reserved.
boot[0]> b

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

すでに最新バージョンの方はこの手順は飛ばしても大丈夫です。

Router# show version
NEC Portable Internetwork Core Operating System Software
IX Series IX2105 (magellan-sec) Software, Version 8.6.22B, MAINTENANCE RELEASE SOFTWARE
Compiled Dec 17-Mon-2012 17:13:51 JST #1 by sw-build, coregen-8.6(22)

ROM: System Bootstrap, Version 2.2
System Diagnostic, Version 2.2
Initialization Program, Version 2.1

System uptime is 0 minute
System woke up by reload, caused by power-on
System started at Mar 07-Fri-2025 20:05:50 JST
System image file is "ix2105-ms-8.6.22.b.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.
Router#

現在のバージョンは8.6.22B
IX2105は公式からの最新のファームウェアの公開が終了してるのでInternet ArchiveからDLしておく

IX2105 : プログラムファイル・ダウンロード : UNIVERGE IXシリーズ | NEC
本ページでは、IX2105のプログラムファイル、リリースノート、イベントログリファレンスを掲載しております。

最新ファームウェアはTFTPでIX2105に転送するので、とりあえずIPアドレスを設定する
手っ取り早く設定するために、本来WebGUIを起動するための基本設定をアクティベートするコマンドがあるため、今回はこれを使用する

Router# default-console web
% You must RELOAD the router for this configuration to take effect
Router# reload
Notice: The router will be RELOADED instead of a RESTART on
this hardware platform.
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

再起動する

IPアドレスの確認をする

Router# enable
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# show ip address
Interface GigaEthernet1.0 is up, line protocol is up
Internet address is 192.168.1.254/24
Broadcast address is 255.255.255.255
Address determined by config
Interface Null0.0 is up, line protocol is up
Interface is unnumbered.
Router(config)#

IX2105のIPアドレスは192.168.1.254になってる

ここからはTFTPを使用してさっきDLしたファームウェアをアップロードする

BlackJamboDogをインストールする

窓の杜
「BlackJumboDog」Web、メール、プロキシー、FTPなどのサーバー機能を備えたソフト

BlackJumboDogでTFTPサーバーを立ち上げる

フォルダの中にさっきDLしたファームウェアを入れておく

IX2105 : プログラムファイル・ダウンロード : UNIVERGE IXシリーズ | NEC
本ページでは、IX2105のプログラムファイル、リリースノート、イベントログリファレンスを掲載しております。

PCのIPアドレスを調べる
コマンドプロンプトを開く
C:\Users\ユーザ名>ipconfig

192.168.1.16でした。

ルーターに戻る

PCで立てたTFTPとの疎通チェック

Router(config)# ping 192.168.1.16
PING 192.168.1.254 > 192.168.1.16 56 data bytes
64 bytes from 192.168.1.16: icmp_seq=0 ttl=128 time=0.410 ms
64 bytes from 192.168.1.16: icmp_seq=1 ttl=128 time=0.226 ms
64 bytes from 192.168.1.16: icmp_seq=2 ttl=128 time=0.221 ms
64 bytes from 192.168.1.16: icmp_seq=3 ttl=128 time=0.242 ms
64 bytes from 192.168.1.16: icmp_seq=4 ttl=128 time=0.251 ms

--- 192.168.1.16 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0.221/0.270/0.410

疎通できてます。

IX2105からPCのTFTPサーバーに接続する
ファームウェアのファイル名は適宜変更してクレメンス

Router(config)# software-update tftp://192.168.1.16/ix2105-boot-19.1-gate-ms-10.2.42.rap
% Downloading
TFTP error - Timeout
Router(config)#

タイムアウトしてしまった
多分PCのTFTPに使用する69ポートが開いてない

TFTPはUDP
ポート69を開ける

もう一度試す

Router(config)# software-update tftp://192.168.1.16/ix2105-boot-19.1-gate-ms-10.2.42.rap
% Downloading …………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………
TFTP transfer complete, 7564355 bytes, MD5 = 4e9d6e8b62bafcc5ed620691364a45ab
% Check …… done
% Update file name is ix2105-ms-10.2.42.ldc
% Writing ……………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………. done
% Software update completed.
Router(config)#

でけた
再起動する

Router(config)# exit
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-2019. All rights reserved.

%BOOT-INFO: Trying flash load, exec-image [ix2105-ms-10.2.42.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.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

WARNING! Administrative username is not configured!!
Action: Please configure administrative username.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

NEC Portable Internetwork Core Operating System Software
Copyright Notices:
Copyright (c) NEC Corporation 2001-2019. All rights reserved.
Copyright (c) 1985-1998 OpenROUTE Networks, Inc.
Copyright (c) 1984-1987, 1989 J. Noel Chiappa.
Router#

もうすでに
%BOOT-INFO: Trying flash load, exec-image [ix2105-ms-10.2.42.ldc].
と表示されているが一応バージョン確認

Router# show version
NEC Portable Internetwork Core Operating System Software
IX Series IX2105 (magellan-sec) Software, Version 10.2.42, RELEASE SOFTWARE
Compiled Sep 09-Fri-2022 13:40:53 JST #2 by sw-build, coregen-10.2(42)

ROM: System Bootstrap, Version 19.1
System Diagnostic, Version 19.1
Initialization Program, Version 2.1

System uptime is 1 minute
System woke up by reload, caused by command execution
System started at Mar 07-Fri-2025 20:51:20 JST
System image file is "ix2105-ms-10.2.42.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.
Router#

ちゃんとVersion 10.2.42になってる
flashの中も覗いてみる

Router# enable
Enter configuration commands, one per line. End with CNTL/Z.
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
3780377 ix2105-ms-8.6.22.b.ldc B
6545803 ix2105-ms-10.2.42.ldc MA

[10347736 bytes used, 3798426 available, 14146162 total]
13824 Kbytes of processor board System flash (Read/Write)
Router(config)#

10.2.42の方がMA、つまりメインでアクティブになってる
元々の8.6.22はバックアップ用に自動でなってるみたい

とりあえず再度スーパーリセット
起動

Router# enable
Router(config)# show running-config
! NEC Portable Internetwork Core Operating System Software
! IX Series IX2105 (magellan-sec) Software, Version 10.2.42, RELEASE SOFTWARE
! Compiled Sep 09-Fri-2022 13:40:53 JST #2
! Current time Mar 07-Fri-2025 22:07:08 JST
!
timezone +09 00
!
logging buffered 131072
logging subsystem all warn
logging timestamp datetime
!
!
ip ufs-cache enable
ip dhcp enable
ip access-list web-http-acl permit ip src any dest 192.168.1.254/32
!
!
!
!
!
!
!
!
!
http-server ip access-list web-http-acl
http-server ip enable
!
!
!
!
ip dhcp profile web-dhcp-gigaethernet1.0
dns-server 192.168.1.254
!
device GigaEthernet0
!
device GigaEthernet1
!
interface GigaEthernet0.0
no ip address
shutdown
!
interface GigaEthernet1.0
ip address 192.168.1.254/24
ip dhcp binding web-dhcp-gigaethernet1.0
no shutdown
!
interface Loopback0.0
no ip address
!
interface Null0.0
no ip address
!
web-console system information
o lan1 GigaEthernet1.0

何も設定されていない

初期設定

IPアドレスとかの設定

Router(config)# interface GigaEthernet1.0
Router(config-GigaEthernet1.0)# ip address [IX2105に設定したいIPアドレス]/[プレフィクス長]
Router(config-GigaEthernet1.0)# exit
Router(config)# ip dhcp profile web-dhcp-gigaethernet1.0
Router(config-dhcp-web-dhcp-gigaethernet1.0)# dns-server [dnsサーバーip(大体はルーターのip)]
Router(config-dhcp-web-dhcp-gigaethernet1.0)# assignable-range [dhcp割り当ての最初のip] [dhcp割り当ての最後のip]
Router(config-dhcp-web-dhcp-gigaethernet1.0)# exit
Router(config)#

ユーザー作成

Router(config)# username [ユーザー名] password plain [パスワード]
% User '[ユーザー名]' has been added.
Router(config)# service password-encryption
Router(config)#

WebGUIの設定

Router(config)# http-server ip enable
Router(config)# http-server username [ユーザー名]
Router(config)# ip access-list web-http-acl permit ip src any dest [IX2105のip]/[プレフィクス長]
Router(config)#

SSHの設定

Router(config)# ssh-server ip enable
Router(config)#

参考

NEC UNIVERGE IX(IX2105)のスーパーリセット(初期化)
https://zazameta.net/archives/4568

ix2105 ファームウェアアップデート
https://qiita.com/KimuraTomohiro/items/e53a7d7965da47688f78

IXルータのファームウェアバージョンアップ
https://qiita.com/rat-engineer755/items/697d7b9df25e101b251b

コメント

タイトルとURLをコピーしました