shimayuma 備忘録

オシゴトやジタクでの遊びや発見を綴ってます

Catalyst 9200Lがswitch:と表示され、configも取得できない

障害発生時の状態

コンソールケーブルを接続すると、下記のような状態に。

switch:
switch:
switch: dir flash:
Unable to read ExtX super block
Error[1]: Failed to list directory!
switch: dir usbflash0:
Error[22]: Failed to open directory!
switch: dir usbflash1:
Error[22]: Failed to open directory!

 

確認してみると、

どうやらブートローダープロンプトモードなるモードで起動しているようだが、

これも正常な状態ではなく、flash等も正常に読めない状態になっている。

 

対応

電源ケーブル抜いて電源を切断し、
全面のmodeスイッチを押しながら起動することで、正常な状態でブートローダープロンプトモードで起動させられた。

正常にブートローダープロンプトモードで起動すると、flashや挿したUSBの中身が確認できる。

 

switch: dir usbflash0:

Attributes        Size         Name
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
D-HS-              0   System Volume Information
----A      485395621   cat9k_lite_iosxe.17.03.06.SPA.bin
----A              0   text.txt
switch:

switch:  dir flash:

Attributes        Size         Name
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-rwxrwxrwx   345568633   cat9k_lite_iosxe.16.09.04.SPA.bin

drwxr-xr-x        4096   .installer

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

switch:

 

この状態でIOSをブートさせ、今回は無事に復旧。

switch:  boot
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf