清除2960交换机的配置

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

你可能感兴趣的:(职场,配置,清除,休闲,2960)