Catalyst2960のパスワード初期化手順
1.MODEボタンを押しながら電源投入
2.SYST LEDがオレンジ点滅後、グリーン点灯に変わったら、MODEボタンを放す
Base ethernet MAC Address: **:**:**:**:**:** Xmodem file system is available. The password-recovery mechanism is enabled. The system has been interrupted prior to initializing the flash filesystem. The following commands will initialize the flash filesystem, and finish loading the operating system software: flash_init load_helper boot switch:
3.後は画面に表示されいるコマンド叩きこんでいくだけ
switch: flash_init Initializing Flash... flashfs[0]: 601 files, 19 directories flashfs[0]: 0 orphaned files, 0 orphaned directories flashfs[0]: Total bytes: 32514048 flashfs[0]: Bytes used: 8320512 flashfs[0]: Bytes available: 24193536 flashfs[0]: flashfs fsck took 10 seconds. ...done Initializing Flash. Boot Sector Filesystem (bs) installed, fsid: 3 Setting console baud rate to 9600... switch:
4.ヘルパーファイルのロード(実際には無いっぽい)
switch: load_helper switch:
5.ファイルの確認
switch: dir flash: Directory of flash:/ 2 drwx 64 <date> dc_profile_dir 5 -rwx 1048 <date> multiple-fs 4 drwx 256 <date> c2960-lanbasek9-mz.150-2.SE6 16462336 bytes available (16051712 bytes used) switch:
6.configファイルがあるようであれば起動時に読み込まれないようにリネーム
switch: rename flash:config.text flash:config.old
7.bootコマンドでシステム起動
switch: boot
8.対話式に設定を実行しないので、 [n]
Would you like to enter the initial configuration dialog? [yes/no]:n Switch>
9.configファイルを元に戻す
Switch>enable Switch#rename flash:config.text.old flash:config.text
10.フラッシュにあるconfigを、NVRAMにコピー
Switch#copy flash:config.text system:running-config
後は普通に設定やらなんやら実行して、設定保存して再起動すればOK