cisco2950 密码恢复

来源:百度知道 编辑:UC知道 时间:2024/09/23 10:29:08
cisco2950 密码恢复

一、将一台终端或装有超级终端软件的PC接到设备的console口上。终端参数设置如下:
速率:9600bps
检较位:无
数据位:8
停止位:1
流控:无
二、如有可能,先通过show ver记下当前的config-register值。无法记下都认为是0x2102。重启设备
三、在启动后,当出现:
00:00:03: %OIR-6-CONSOLE: Changing console ownership to route processor
字样时按下中断键,使设备进入rommon状态,中断键在的定义请参见:中断键定义一文。
四、在Rommon中输入:confreg 0x2142,如下所示:
rommon 1>confreg 0x2142
五、输入reset,命令如下:
rommon 2>reset
六、等待系统重启,如果设备在重启过程中要求进行初始化配置,一路回答no,如下所示:
16384K bytes of Flash internal SIMM (Sector size 256K).

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: n
Press RETURN to get started!
七、输入回车,enable,再回车,进入enable状态,命令序列如下:
Router>en
Router#
八、输入config mem,调入原配置文件,并进入配置模式,注意:不要输入conf t。命令序列如下:
Router#conf mem
c6k(config)#
九、确认当前配置。命令如下:
c6k#sh run
十、配置新口令:
c6k#conf t
c6k(config)#no enable secret xxxxxxxxx(no后面的字句可以copy/paste)