Catalyst2960の設定初期化手順

1.特権モードに移行し、設定消去

cat2960>enable
cat2960#
cat2960#write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]y[OK]
Erase of nvram: complete
cat2960#
00:19:55: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
cat2960#



2.VLAN設定を消去 (vlan.dat が無ければ、VLAN設定は無いので不要)

cat2960#
cat2960#dir flash:
Directory of flash:/

    2  drwx          64   Mar 1 1993 00:17:44 +00:00  dc_profile_dir
    4  drwx         256   Mar 1 1993 00:15:25 +00:00  c2960-lanbasek9-mz.150-2.SE6
    5  -rwx         616   Mar 1 1993 00:01:06 +00:00  vlan.dat

32514048 bytes total (13425664 bytes free)
cat2960#
cat2960#delete flash:/vlan.dat
Delete filename [vlan.dat]?
Delete flash:/vlan.dat? [confirm]
cat2960#
cat2960#dir flash:
Directory of flash:/

    2  drwx          64   Mar 1 1993 00:17:44 +00:00  dc_profile_dir
    4  drwx         256   Mar 1 1993 00:15:25 +00:00  c2960-lanbasek9-mz.150-2.SE6

32514048 bytes total (13426688 bytes free)
cat2960#

3.reload(再起動)コマンド実行すると、現在のconfigを保存するか聞かれるので [n]

cat2960#reload

System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm]y
00:23:33: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.



4.対話形式モードでのセットアップなんぞしないので、nで抜ける

Would you like to terminate autoinstall? [yes]:


         --- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: no
Switch>