天天看點

Cisco 2900xl/3500xl/2950/3550密碼恢複流程

簡介:本文較長的描述了對于 2900xl/3500xl/2950/3550系列交換機的enable密碼恢複流程

一、将一台終端或裝有超級終端軟體的PC接到交換機的 console口上。終端參數設定如下:

速率:9600bps

檢較位:無

資料位:8

停止位:1

流控:無

二、 撥掉電源

三、按住前面闆的mode鍵不放,插上電源,等3-5秒後松開mode鍵。你會看到如下提示:

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

四、 輸入flash_init

五、輸入load _helper

六、輸入dir flash:

注意,不要少了flash後面的冒号, 螢幕出現如下提示。

Directory of flash:

2 -rwx 843947 Mar 01 1993 00:02:18 C2900XL-c3h2s-mz-12.1-WC5.bin

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)

七、輸入 rename flash:config.text flash:config.old

八、輸入boot引導系統。

九、當出現如下提示 時,輸入N:

Continue with the configuration dialog? [yes/no] : N

十、用en進 入enable狀态,并将檔案config.old改回config.text,指令如下:

rename flash:config.old flash:config.text

十一、将原配置裝入記憶體,指令如下:

2900# copy flash:config.text system:running-config

十二、修改密碼:

2900xl#conf t

2900xl(config)#no enable secret

2900xl(config)#enable secret ultra

2900xl(config)#exit

十 三、telnet到交換機上,驗證密碼是否修改成功

十四、将配置寫入nvram

2900xl#wr mem

以上步驟中, 第十一、十二步需要特别注意,前者是為了保留配置,後者需要注意的是如果不使用no enable secret的話,新密碼将不起作用。

本文轉自 h2appy  51CTO部落格,原文連結:http://blog.51cto.com/h2appy/287451,如需轉載請自行聯系原作者

繼續閱讀