Cisco 2900xl/3500xl/2950/3550密码恢复流程



简介:本文详细描述了对于2900xl/3500xl/2950/3550系列交换机的enable密码恢复流程
1、将一台终端或装有超级终端软件的PC接到交换机的console口上。终端参数设置以下:
速率:9600bps
检较位:无
数据位:8
中止位:1
流控:无
2、拨掉电源
3、按住前面板的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
4、输入flash_init
5、输入load _helper
6、输入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)
7、输入rename flash:config.text flash:config.old
8、输入boot引导系统。
9、当出现以下提示时,输入N:
Continue with the configuration dialog? [yes/no] : N
10、用en进入enable状态,并将文件config.old改回config.text,命令以下:
rename flash:config.old flash:config.text
11、将原配置装入内存,命令以下:
2900# copy flash:config.text system:running-config
12、修改密码:
2900xl#conf t
2900xl(config)#no enable secret
2900xl(config)#enable secret ultra
2900xl(config)#exit
十3、telnet到交换机上,验证密码是否修改为功
十4、将配置写入nvram
2900xl#wr mem

以上步骤中,第11、十二步须要特别注意,前者是为了保留配置,后者须要注意的是若是不使用no enable secret的话,新密码将不起做用。
相关文章
相关标签/搜索