Cisco 2500以及早期路由产品的密码恢复

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

本文具体描述了路由器2000/2500/3000/4000/AccessPro/7000 (RP)/AGS/IGS/STS-10x的密码恢复流程

一、将一台终端或装有超级终端软件的PC接到设备的console口上。终端参数设置如下:

速率:9600bps

检较位:无

数据位:8

停止位:1

流控:无

二、重启设备

三、在启动的60秒内按下中断键,使设备进入rommon状态,中断键在的定义请参见:中断键定义一文。

四、在Rommon中输入o命令:

o

Configuration register = 0x2102 at last boot

….. ………(略)

记下当前的当前的Configuration register值。

五、输入o/r 0x2142,如下:

o/r 0x142

六、输入i引导系统,假如设备在重启过程中要求进行初始化配置,一路回答no,如下所示:

i

………(略)

32K bytes of non-volatile configuration memory.

16384K bytes of processor board System flash (Read ONLY)

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]:

Press RETURN to get started!

七、输入回车,enable,再回车,进入enable状态,命令序列如下:

Routeren

Router#

八、输入config mem,调入原配置文件,并进入配置模式,注重:不要输入conf t。命令序列如下:

Router#conf mem

2501(config)#

九、确认当前配置。命令如下:

2501#sh run

十、配置新口令:

2501#conf t

2501(config)#no enable secret xxxxxxxxx(no后面的字句可以copy/paste)

2501(config)#enable secret ultra

十一、测试新口令

十二、在你需要使用的每个接口下使用no shut命令,使用show ip int brief,确认你需要使用的所有接口都处于up/up状态。

十三、修改config-register,命令如下:

2501(config)#config-register 0x2102

十四、保存配置

2501(config)#exit

2501#wr mem

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航