NetScreenの設定を初期化




NetScreenを構築し直したりする際に設定を初期化したいことがある
そのような時は以下の手順で設定を初期化できる

1.シリアル番号を控える
機器に張ってあるシールに書いてあるシリアル番号を控える
もしくは、次のコマンドで確認する
-> get system
 ・・・
Serial Number: xxxxxxxxxxxxxxxx
 ・・・
テキストファイルに保存しおくと便利

2.シリアル番号でログインする
ID、パスワード共にシリアル番号を入力してNetScreenにログインする
ログインすると初期化のプロセスが走り出す
login: xxxxxxxxxxxxxxxx
password: xxxxxxxxxxxxxxxx
!!! Lost Password Reset !!! You have initiated a command to reset the device to factory defaults,
 clearing all current configuration and settings. Would you like to continue?  y/[n] y

!! Reconfirm Lost Password Reset !! If you continue, the entire configuration of the device will be erased. 
In addition, a permanent counter will be incremented to signify that this device has been reset. 
This is your last chance to cancel this command. If you proceed, the device will return to factory default configuration, 
which is: System IP: 192.168.1.1; username: netscreen, password: netscreen. Would you like to continue?  y/[n] y

In reset ...


NetScreen NS-5GT Boot Loader Version 2.1.0 (Checksum: 61D07DA5)
Copyright (c) 1997-2003 NetScreen Technologies, Inc.

Total physical memory: 128MB
    Test - Pass
    Initialization.... Done

Hit any key to run loader
Hit any key to run loader
Hit any key to run loader
Hit any key to run loader

Loading default system image from on-board flash disk...
Done! (size = 5,423,104 bytes)
Ignore image authentication!

Start loading...
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.........
Done.



Juniper Networks, Inc
NS-5GT System Software
Copyright, 1997-2004

Version 5.0.0r10b.1
Load Manufacture Information ... init manufacture info Done
Load NVRAM Information ... (5.0)Done
Install module init vectors
allocating 33558528 bytes for memory disk
Formatting RAM disk...

Initialize FBTL.... Done
Initial port mode trust-untrust(1)
Install modules (007e74f8,00ccf728) ... load dns table : dns table file do not exist.

Initializing DI 1.1.0-ns
b3711c07110010cc
*********************************************************
System time: 19 July 2006 20:45:20
If this is the initial device startup,
use the "set clock" command to set the system clock.
*********************************************************
system init done..
login: 
これで設定は初期化されている