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

这时,系统就恢复没有密码的状态了

 

【编辑推荐】

  1. 常用思科路由器密码恢复经典案例
  2. 思科路由器口令恢复办法全解
  3. 思科路由器安全性管理
  4. cisco路由器配置ACL详解
  5. cisco路由器启动进程

 

责任编辑:chenqingxiang 来源: IT实验室
相关推荐

2010-09-02 14:04:20

2009-12-23 15:59:37

2011-05-12 10:06:14

交换机Cisco

2009-06-17 12:57:00

Linux

2010-07-02 09:36:30

SQL Server

2010-08-20 13:51:44

路由器密码

2010-05-04 09:36:02

Unix文件

2010-08-06 11:38:26

思科路由器DHCP配置

2010-07-19 15:21:03

Win2000 Tel

2010-01-06 13:39:15

cisco交换机故障

2011-02-28 13:31:17

Oracle数据库

2010-04-20 16:46:41

Oracle数据库密码

2010-08-13 15:12:05

CISCO密码

2011-04-12 15:44:08

Oracle数据库

2021-10-20 14:38:27

物联网灾难恢复IOT

2010-10-19 14:19:07

SQL Server恢

2010-06-04 18:38:23

MySQL root密

2011-05-13 13:15:52

SYBASE ASA数

2009-02-24 09:36:00

路由器密码恢复CISCO 2600

2010-04-23 13:53:29

Oracle密码
点赞
收藏

51CTO技术栈公众号