3500系列交換機密碼恢復
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,重新啟動系統(tǒng)
10.系統(tǒng)啟動完后顯示: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
這時,系統(tǒng)就恢復沒有密碼的狀態(tài)了
文章錄入:csh 責任編輯:csh