重启交换机,摁MODE键
switch:flash_initswitch:dir flash:switch:rename flash:config.text flash:config.oldswitch:bootWould you like to enter the initial configuration dialog? [yes/no]: nSwitch>enSwitch>enable Switch#dirDirectory of flash:/ 2 -rwx 1915 Mar 1 1993 00:07:55 +00:00 private-config.text 3 -rwx 804 Mar 1 1993 01:55:43 +00:00 vlan.dat 4 -rwx 2344 Mar 1 1993 00:07:55 +00:00 config.old 5 -rwx 3096 Mar 1 1993 00:07:55 +00:00 multiple-fs 6 drwx 192 Mar 1 1993 00:07:12 +00:00 c2960-lanbasek9-mz.122-44.SE6Switch#rename flash:config.old flash:config.textDestination filename [config.text]? Switch#copy flash:config.text system:running-configDestination filename [running-config]? sw1#sh runsw1(config)#no enable secret sw1(config)#no enable passwordsw1#write Building configuration...[OK] sw1#reloadLoading "flash:c2960-lanbasek9-mz.122-44.SE6/c2960-lanbasek9-mz.122-44.SE6.bin@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ion saved to NVRAMsw1>