cisco 3550的enable密碼忘記恢復(fù)方法
本文用具體的步驟向大家詳細(xì)的講述了如何進(jìn)行路由器密碼的恢復(fù),同時(shí)給出了具體的操作步驟。相信看完這篇文章你會(huì)受益匪淺。
1、 接上Console線,重新加電,加電后按住mode鍵,STAT燈亮起后松開(kāi);
2、 機(jī)器上會(huì)提示flash_init,load_helper,switchboot;
3、 依次輸入flash_init,load_helper;
4、 進(jìn)入特權(quán)模式,dir flash:,有一個(gè)config.text,就是這個(gè)文件保存3550的配置信息;
5、 Rename flash:config.text flash:config.old;
6、 Reboot;
7、 啟動(dòng)以后,會(huì)提示是否進(jìn)入setup,輸入no;
8、 進(jìn)入特權(quán)模式,rename flash:config.old flash:config.text;
9、 再運(yùn)行copy flash:config.text system:running-config,完了后進(jìn)入config mode,no enable password,保存即可。
------------------------------------------------------------------------------
那你還有enable嗎?能登陸進(jìn)去的話只接該部就可以了嗎?如果enable密碼都丟失了那么可以用下面的方法恢復(fù)。然后進(jìn)去在該 line cons lin vty
1。拔掉交換機(jī)的電源線
2。用超級(jí)終端和控制線連到交換機(jī),超級(jí)終端的設(shè)置是:
9600 baud rate
No parity
8 data bits
1 stop bit
No flow control
3。按住交換機(jī)前面板的“mode”按鈕,插上電源線,當(dāng)端口1上面的燈不亮后,放松“mode”按鈕;
4。這時(shí)超級(jí)終端上應(yīng)該顯示:
The system has been interrupted prior to initializing the flash file system.
The following commands will initialize the flash file system, and finish loading
the operating system software:
flash_init
load_helper
boot
5。輸入flash_init
6。輸入load_helper
7. 輸入dir flash:
這時(shí)顯示:
Directory of flash:
2 -rwx 843947 Mar 01 1993 00:02:18 C2900XL-h-mz-112.8-SA
4 drwx 3776 Mar 01 1993 01:23:24 html
66 -rwx 130 Jan 01 1970 00:01:19 env_vars
68 -rwx 1296 Mar 01 1993 06:55:51 config.text
1728000 bytes total (456704 bytes free)
8。輸入rename flash:config.text flash:config.old
9.輸入boot,重新啟動(dòng)系統(tǒng)
10。系統(tǒng)啟動(dòng)完后顯示:Continue with the configuration dialog? [yes/no] :
輸入N
11.輸入enable
12.進(jìn)入enable模式后,輸入rename flash:config.old flash:config.text
13。接著按以下步驟操作:
Switch# copy flash:config.text system:running-config
Source filename [config.text]? (press Return)
Destination filename [running-config]? (press Return)
14 。接著按以下步驟操作:
switch#configure terminal
switch(config)#no enable secret
switch(config)#no enable password
switch(config)#exit
switch#write memory
這時(shí),系統(tǒng)就恢復(fù)沒(méi)有密碼的狀態(tài)了
【編輯推薦】