設定が入っているスイッチのコンフィグを初期に戻したい場合のやり方
この記事ではCatalyst 3850のコンソール出力例を記載します。
動作確認済機器
- Catalyst 3850 (WS-C3850-24T-E)
初期化手順
Modeボタンを押しながら電源をさして起動する
switch: flash_init
Initializing Flash...
flashfs[7]: 0 files, 1 directories
flashfs[7]: 0 orphaned files, 0 orphaned directories
flashfs[7]: Total bytes: 6784000
flashfs[7]: Bytes used: 1024
flashfs[7]: Bytes available: 6782976
flashfs[7]: flashfs fsck took 2 seconds....done Initializing Flash.
switch: rename flash:nvram_config flash:nvram_config.old
rename: read only file system
switch: SWITCH_IGNORE_STARTUP_CFG=1
switch: boot
~~~起動中~~~
Switch> enable
Switch# write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#
*Jun 29 14:33:55.085: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Switch# delete flash:vlan.dat
Delete filename [vlan.dat]?
Delete flash:/vlan.dat? [confirm]
Switch#
コメント