Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
8
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

Organization

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

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

対象のルーター

  • 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

参考

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
8
Help us understand the problem. What are the problem?