cisco 3550的enable密碼忘記恢復方法
本文用具體的步驟向大家詳細的講述了如何進行路由器密碼的恢復,同時給出了具體的操作步驟。相信看完這篇文章你會受益匪淺。
1、 接上Console線,重新加電,加電后按住mode鍵,STAT燈亮起后松開;
2、 機器上會提示flash_init,load_helper,switchboot;
3、 依次輸入flash_init,load_helper;
4、 進入特權模式,dir flash:,有一個config.text,就是這個文件保存3550的配置信息;
5、 Rename flash:config.text flash:config.old;
6、 Reboot;
7、 啟動以后,會提示是否進入setup,輸入no;
8、 進入特權模式,rename flash:config.old flash:config.text;
9、 再運行copy flash:config.text system:running-config,完了后進入config mode,no enable password,保存即可。
------------------------------------------------------------------------------
那你還有enable嗎?能登陸進去的話只接該部就可以了嗎?如果enable密碼都丟失了那么可以用下面的方法恢復。然后進去在該 line cons lin vty
1。拔掉交換機的電源線
2。用超級終端和控制線連到交換機,超級終端的設置是:
9600 baud rate
No parity
8 data bits
1 stop bit
No flow control
3。按住交換機前面板的“mode”按鈕,插上電源線,當端口1上面的燈不亮后,放松“mode”按鈕;
4。這時超級終端上應該顯示:
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:
這時顯示:
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,重新啟動系統
10。系統啟動完后顯示:Continue with the configuration dialog? [yes/no] :
輸入N
11.輸入enable
12.進入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
這時,系統就恢復沒有密碼的狀態了
【編輯推薦】