雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 3862|回复: 8

[讨论/求助] 用xmodem重新快速安装IOS

[复制链接]
发表于 2005-6-21 11:50:18 | 显示全部楼层 |阅读模式
<P>先打开超级终端,进入rommon 模式(Ctrl+Break组合键),键入confreg, 如下: <BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <BR>rommon 1 &gt; confreg 回车 </P><P>Configuration Summary <BR>enabled are: <BR>load rom after netboot fails <BR>console baud: 9600 <BR>boot: image specified by the boot system commands <BR>or default to: cisco2-C2600 </P><P>do you wish to change the configuration? y/n [n]: y (选择 yes) <BR>enable "diagnostic mode"? y/n [n]: n (选择 no) <BR>enable "use net in IP bcast address"? y/n [n]: n (选择 no) <BR>disable "load rom after netboot fails"? y/n [n]: n (选择 no) <BR>enable "use all zero broadcast"? y/n [n]: n (选择 no) <BR>enable "break/abort has effect"? y/n [n]: n (选择 no) <BR>enable "ignore system config info"? y/n [n]: n (选择 no) <BR>change console baud rate? y/n [n]: y (选择 yes) <BR>enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400 <BR>4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7 (选择 7,用最大的115200速率的xmodem传输) <BR>change the boot characteristics? y/n [n]: n (选择 no) </P><P><BR>Configuration Summary <BR>enabled are: <BR>load rom after netboot fails <BR>console baud: 115200 <BR>boot: image specified by the boot system commands <BR>or default to: cisco2-C2600 </P><P>do you wish to change the configuration? y/n [n]: n (选择 no) <BR>You must reset or power cycle for new config to take effect </P><P>rommon 2 &gt; reset 回车 <BR>注意:在此时键入 reset键之前,开始定义串口速度(我的电脑---端口属性----串口速度调为115200),然后再修改超级终端里设置速率为115200,记住,一定这么做!否则出现乱码! 然后关闭这个超级终端,重新建立一个超级终端连接,(期间系统重新启动)启动后,出现 </P><P>rommon 1&gt; 提示符 <BR>然后,输入 <BR>rommon 1&gt; xmodem -r <BR>Do not start the sending program yet... </P><P>Invoke this application only for disaster recovery. <BR>Do you wish to continue? y/n [n]: y (选择 yes) <BR>Ready to receive file ... </P><P>此时,在超级终端的菜单上的“传送”---“发送文件”----选择IOS镜像文件所在地以及选择使用“xmodem”协议,点击“发送”即可 </P><P>然后等待10-20分钟左右就把3-6M的IOS灌进去了! </P><P>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <BR>(修改回计算机串口与超级终端、路由器confreg下的xmodem等9600的传输速率) </P><P>(videre注:实际用的时候,我发现这个命令总是改不成功,后来发现在line con 0下面有了一个speed 115200,所以即使改register成功,启动以后router又执行speed 115200,还是不行,所以如果有这个问题,记得把这个语句no掉) </P><P><BR>Router&gt;en 进入新IOS的特权模式 </P><P>Router#reload 重启系统 </P><P>Proceed with reload? [confirm] 回车 </P><P>00:01:04: %SYS-5-RELOAD: Reload requested <BR>System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) <BR>Copyright (c) 1999 by cisco Systems, Inc. <BR>TAC:Home:SW:IOS:Specials for info <BR>PC = 0xfff0a530, Vector = 0x500, SP = 0x680127b0 <BR>C2600 platform with 24576 Kbytes of main memory </P><P>PC = 0xfff0a530, Vector = 0x500, SP = 0x80004684 </P><P>monitor: command "boot" aborted due to user interrupt </P><P>rommon 1 &gt; confreg ( 输入“confreg”命令) <BR>Configuration Summary <BR>enabled are: <BR>load rom after netboot fails <BR>console baud: 115200 <BR>boot: image specified by the boot system commands <BR>or default to: cisco2-C2600 </P><P>do you wish to change the configuration? y/n [n]: y (选择 yes) <BR>enable "diagnostic mode"? y/n [n]: n (选择 no) <BR>enable "use net in IP bcast address"? y/n [n]: n (选择 no) <BR>disable "load rom after netboot fails"? y/n [n]: n (选择 no) <BR>enable "use all zero broadcast"? y/n [n]: n (选择 no) <BR>enable "break/abort has effect"? y/n [n]: n (选择 no) <BR>enable "ignore system config info"? y/n [n]: n (选择 no) <BR>change console baud rate? y/n [n]: y (选择 yes) <BR>enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400 <BR>4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [7]: 0 (选择 0,改回用标准速率速率9600的xmodem传输) <BR>change the boot characteristics? y/n [n]: n (选择 no) <BR><BR><BR>Configuration Summary <BR>enabled are: <BR>load rom after netboot fails <BR>console baud: 9600 <BR>boot: image specified by the boot system commands <BR>or default to: cisco2-C2600 </P><P>do you wish to change the configuration? y/n [n]: n </P><P>You must reset or power cycle for new config to take effect <BR>rommon 2 &gt; </P><P>此时手工改回计算机串口与超级终端2者传输速率为9600 </P><P>然后敲入 <BR>rommon 2 &gt;reset <BR>( 最好关电源) </P>
 楼主| 发表于 2005-6-21 11:51:57 | 显示全部楼层
<P>这个方法倒没用过</P><P>上次试过给2900灌IOS。。。没设置用了40分钟</P><P>下次试试这个方法</P><P>&nbsp; <IMG src="http://www.spoto.net/bbs/images/Emotions/8.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/8.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/8.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/8.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/8.gif">可怜的2900又要当实验品了(同情ING)</P>
发表于 2005-6-22 11:22:49 | 显示全部楼层
<P>很有意思呀。</P><P>陈杰的资料很有价值,大家可以看看。</P><P>继续努力。。。不过要保证机器的安全<IMG src="http://www.spoto.net/bbs/images/Emotions/2.gif"></P>
 楼主| 发表于 2005-6-23 00:15:33 | 显示全部楼层
<P>呵呵~~谢谢</P><P>一定会在保证机子的安全之下实行的</P>
 楼主| 发表于 2005-6-23 12:55:37 | 显示全部楼层
<BLOCKQUOTE><STRONG>引用</STRONG>:<HR>原文由 <B>rainypan</B> 发表于 <I>2005-6-23 1:48:47</I> :<BR><P>呵呵,大家可别觉的没事干的时候就来个ERASE&nbsp;&nbsp; FLASH哦。</P><HR></BLOCKQUOTE><IMG src="http://www.spoto.net/bbs/images/Emotions/21.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/21.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/21.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/21.gif">我们都“深受其害”
发表于 2005-6-26 22:52:27 | 显示全部楼层
可以多给你们些机会嘛,说不定还能发现什么新大陆哦,呵呵<IMG src="http://www.spoto.net/bbs/images/Emotions/12.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/12.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/12.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/12.gif">
发表于 2005-6-29 21:16:42 | 显示全部楼层
呵呵
 楼主| 发表于 2005-6-29 23:10:20 | 显示全部楼层
<BLOCKQUOTE><STRONG>引用</STRONG>:<HR>原文由 <B>may</B> 发表于 <I>2005-6-26 22:52:27</I> :<BR>可以多给你们些机会嘛,说不定还能发现什么新大陆哦,呵呵<IMG src="http://www.spoto.net/bbs/images/Emotions/12.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/12.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/12.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/12.gif"> <HR></BLOCKQUOTE><IMG src="http://www.spoto.net/bbs/images/Emotions/65.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/65.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/65.gif"><IMG src="http://www.spoto.net/bbs/images/Emotions/65.gif">好象又有点道理
发表于 2008-2-24 06:08:01 | 显示全部楼层
写的很详细,支持了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-4-27 09:07 , Processed in 0.080447 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表