2900和3500系列交换机口令恢复

本文档介绍Cisco Catalyst 2900系列和3500系列交换机的口令恢复流程。通过特定步骤,包括重启设备、修改配置文件名称、更新并保存配置等,帮助管理员在忘记口令的情况下重置。

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

 

2900和3500系列交换机口令恢复!!!

 

说明

这个文档描述了Cisco Catalyst 2900系列和3500系列交换机的口令恢复过程。

步骤

连接一个终端或带终端仿真程序的PC到交换机的CON口。使用如下的终端设置:

9600 baud rate

No parity

8 data bits

No stop bit

拔掉电源线。

按住mode键直到重新接上交换机的电源。当1X口的指示灯不再闪烁之后一两秒就可以放开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:

交换机文件系统显示:

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)

键入 rename flash:config.text flash:config.old 来修改配置文件的名字。

这个文件中含有口令的定义。

键入 boot 重新启动系统。

当提示开始设置程序时键入 N ,

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

在交换机提示符下键入 en 来进入 enable 配置模式 。

键入 rename flash:config.old flash:config.text 来修改配置文件名为原来的名字。

拷贝配置文件到内存。

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

Source filename [config.text]? (按回车)

Destination filename [running-config]? (按回车)     

The configuration file is now reloaded.

修改口令。

switch#config terminal

switch(config)#enable password Cisco

保存正运行的配置到配置文件

switch#write mem

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值