一、将一台终端或装有超级终端
软件的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状态,命令序列如下:
Router>en
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
简介:本文描述了在不同终端系统下的中断键定义
需要注意的事项
!aux口在启动过程中并没有激活,所以一定要将终端连接到console口上。
!某些winnt平台带的超级终端软件的中断序列不标准,请到
http://www.hilgraeve.com/htpe/index.html下载一个新版的超级终端软件如何模拟一个中断:
将终端的参数设置为如下所示
速率:1200bps
检较位:无
数据位:8
停止位:1
流控:无
将设备冷启动,按住空格10-15秒。
拨掉console电缆,然后再将速率改为9600bps,再接上去,就会处于rommon状态了。
各种平台下的终端的中断键定义如下表所示: 软件 平台 操作系统 中断键定义
超级终端 x86 pc机 win 2000 ctrl-break
超级终端(595160版) x86 pc机 win95 ctrl-f6-break
kermit sun工作站 sunos/solaris ctrl-\l或ctrl-\b
minicom x86 pc机 linux ctrl-a f
procomm x86 pc机 dos or win alt-b
telix x86 pc机 dos ctrl-end
telnet to cisco x86 pc机 n/a ctrl-]
vt 100 data general n/a f16
windows nt x86 pc机 windows break-f5 shift-f5 shift-6 shift-4 shift-b
z-terminal mac mac os comman-b