1. 刪除交換機配置
Switch#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue?
[confirm]
[OK]
Erase of nvram: complete
2. 刪除交換機的 VLAN 信息
通過show flash 命令可以看到vlan.dat文件,然後刪除該文件,reload交換機
Switch#show flash:
Directory of flash:/
1 -rw- 4414921 <no date> c2960-lanbase-mz.122-25.FX.bin
2 -rw- 616 <no date> vlan.dat
64016384 bytes total (59600847 bytes free)
Switch#delete vlan.dat
Delete filename [vlan.dat]?
Delete flash:/vlan.dat? [confirm]
Switch#reload