1、連接交換機的console口到終端或PC超級終端
2、先按住交換機上mode鍵,然後打開電源
3、初始化Flash
Switch:Flash_init
4、改名含有Password的配置文件
Switch:renameFlash:config.text Flash:config.old
5、重啟交換機
Switch:boot
6、進入特權模式
Switch:enable
7、此時開機時已忽略Password
Switch:rename Flash:config.old Flash:config.text
8、copy配置文件到當前系統中
Switch:copyFlash:config.textsystem:running-config
9、修改口令
Switch:enable secretcisco
10、保存配置
Switch:copy running-config startup-config
這時可以將flash里的配置文件和vlan.dat上傳到TFTP里..