Help us understand the problem. What is going on with this article?

ルーターの初期化のしかた

More than 1 year has passed since last update.

わりと高い頻度でルーターの初期化をするのですが、毎回調べていて面倒になってきたので、備忘録です。

対象のルーター

  • Yamaha RTXシリーズ
  • NEC IXシリーズ

ログインできる場合

administratorenable-configになれる場合です

Yamaha

> administrator
Password:
# cold start
Password:

NEC

Router# enable-config
Router(config)# erase startup-config
Are you sure you want to erase the startup-configuration? (Yes or [No]): y
Router(config)# exit
Router# default-console command-line
Router# reload
% Warning: current running-configuration is not saved yet.
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]): y 

ログインできない場合

ログインのパスワード忘れちゃった場合です

Yamaha

security classのforgetがon(初期値)の場合

Password: w,lXlma
# cold start
Password: w,lXlma

security classのforgetがoffの場合

型番 やり方
RTX1100 initボタンを押しながら起動
RTX1200 microSD,USB,DOWNLOAD の3つのボタンを押しながら起動

NEC

起動中にLoading: ##が出力されている途中で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: #########

ブートモニタモードになる

NEC Bootstrap Software, Version 6.0
Copyright (c) NEC Corporation 2001-2014. All rights reserved.
boot[0]>

ccコマンドを実行し、スタートアップコンフィグを削除

boot[0]> cc
Enter "Y" to clear startup configuration: y
% Startup configuration is cleared.

bコマンドを実行し、プログラムファイルをロード

boot[0]> b
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: ##################################### [OK]

蛇足

UbuntuなPCでUSB→RS232Cケーブルで繋いだ時に使うコマンド

$ sudo screen /dev/ttyUSB0 9600

参考

kaminchu
water-cell
地球人口100億の時代への農業革命をWebテクノロジで支える
https://water-cell.jp
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした