Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6918247
  • 博文数量: 637
  • 博客积分: 10265
  • 博客等级: 上将
  • 技术积分: 6165
  • 用 户 组: 普通用户
  • 注册时间: 2004-12-12 22:00
文章分类

全部博文(637)

文章存档

2011年(1)

2010年(1)

2009年(3)

2008年(12)

2007年(44)

2006年(156)

2005年(419)

2004年(1)

分类: 系统运维

2006-06-07 09:43:30

XX交通局客户cisco3745 IOS丢失,只能进入ROMMON模式。解决过程:
1。连接console线缆。
2。加电进入ROMMON模式
System received a Software forced crash ***

signal= 0x17, code= 0x5, context= 0x80020ae0

PC = 0x800080d4, Cause = 0x20, Status Reg = 0x3041a803

c3745 processor with 131072 Kbytes of main memory

Main memory is configured to 64 bit mode with parity disabled

Readonly ROMMON initialized

Compact Flash:External not present

c3745 processor with 131072 Kbytes of main memory

Main memory is configured to 64 bit mode with parity disabled
Rommon 1 >
3。输入dir 显示如下。
rommon 2> dir flash:
1 -rw- 21342280 ?
rommon 1 >
IOS文件名处显示为?,怀疑IOS文件有误,决定重传。
4。输入confreg修改console baud rate为最高值115200,重启路由器。
rommon 3 >confreg
Configuration Summary
enabled are:
break/abort has effect
console baud: 9600
boot: the ROM Monitor

do you wish to change the configuration? y/n [n]: y
enable "diagnostic mode"? y/n [n]:
enable "use net in IP bcast address"? y/n [n]:
enable "load rom after netboot fails"? y/n [n]:
enable "use all zero broadcast"? y/n [n]:
disable "break/abort has effect"? y/n [n]:
enable "ignore system config info"? y/n [n]:
change console baud rate? y/n [n]: y
enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400
4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7
change the boot characteristics? y/n [n]:

Configuration Summary
enabled are:
break/abort has effect
console baud: 115200
boot: the ROM Monitor

do you wish to change the configuration? y/n [n]:

You must reset or power cycle for new config to take effect.

rommon 4 >reset

5。修改终端的baud rate为115200,与路由器匹配,以免产生乱码。
6。输入xmodem -r 命令,建议用最小的IOS,这样恢复时间可缩短。该文件为14M左右,上传用了55分钟。
rommon 1>xmodem -r c3745-ipbase-mz[1].124-2.T.bin
7。传输完成后,路由器会自动重启,进入正常模式。此时输入dir 显示结果如下。文件名处仍为?且 说明FLASH内无映象。
Router# dir
Directory of flash:/

1 -rw- 21342280 ?

32112636 bytes total (10770292 bytes free)
8。使用copy tftp flash命令。将IOS文件拷入FLASH内。就可完在恢复。
route#copy tftp flash:
此次升级过程中未发现3745的ROMMON模式下有TFTPDNLD命令,可用于IOS的恢复,而该命令在26系列的有的。
阅读(5387) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~