スイッチパスワード回復
Catalyst パスワード回復
Catalyst2950,3550におけるパスワード回復手順
- 電源プラグを抜く
- 電源プラグを差し込み、起動している間にパネル左側にある『mode』ボタンを押し続ける
- ポート1xのLEDが消えてから1,2秒後にボタンを離す
- 以下のような表示が出る
The system has been interrupted prior
to initializing the flash file system.
The following commands will initialize
the flash file system, and finish
loading the operating system software:
flash_init
load_helper
boot
※「load_helper」は表示されないものもある
- flash_init と入力
>flash_init
- load_helper と入力
>load_helper
- dir flash: と入力
>dir flash:
※flashの後の「:」は忘れずに;
- コンフィグレーションファイル(パスワードの定義等を含む)をリネームする
>rename flash:config.text flash:config.old
- 再起動する
>boot
- Setupプログラムの起動(Nを入力)
>Continue with the configuration dialog?[Yes/No]:N
- enableモードにする
>en
- コンフィグレーションファイルの名前を元に戻す
#rename flash:config.old flash:config.text
- メモリにコンフィグレーションファイルをコピーする
#copy flash:config.text system:running-config
Source filename[config.text]?(press return)
Destination filename[running-config]?(press return)
- パスワードを変更する
#configure terminal
(config)#no enable secret
(config)#enable secret new_PassWord
- 設定を保存する
#write memory
最終更新:2008年01月25日 13:26