cisco 3550的enable密码忘记恢复方法

本文详细介绍了如何通过Console接口进行交换机配置初始化、文件操作及密码恢复流程。包括加电模式操作、文件重命名、系统重启及密码恢复步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  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

  .拔掉交换机的电源线

  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

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值