路由器IOS升级方法总结(4)

上一篇 / 下一篇  2008-04-29 14:13:26

采用这种方法时,由于使用console口来传送,速率为9600bps,需要时间较长。因此可修改console口速率利用xmodem命令实现快速升级IOS。具体方法如下:
C;W&t Mu~7m1l%}Y0
:m$? |?7YTOA0
QUOTE:
     rommon 1 > confreg 回车
t0Jp9e,[0
{bo i8X4xj0~0     Configuration Summary ITPUB个人空间qpL l `
ITPUB个人空间/T9Zx]-T!e jG
     enabled are: ITPUB个人空间4Ap/ZN@)i'F z2~

]%VvJP^0     load rom after netboot fails ITPUB个人空间L7VL*PO2P&JGK5M%M

9v7\ ] ~a&z$|5R_0     console baud: 9600 ITPUB个人空间 ~;A8Ye6]
ITPUB个人空间{ C I,^gj|~#e]p
     boot: image specified by the boot system commands
b k(Jxv.sP1eC0
]4o8c{5BnQ$_PQ0     or default to: cisco2-C2600
9J5Jh b$u0ITPUB个人空间 qX |2w;Up/w
     do you wish to change the configuration? y/n [n]: y (选择 yes)
G6?8^,nw0ITPUB个人空间)b,H.tX&jd%O v ~u#p
     enable "diagnostic mode"? y/n [n]: n (选择 no) ITPUB个人空间*{:?%['JF;E#b

{)P,p-y4S B0     enable "use net in IP bcast address"? y/n [n]: n (选择 no)
(Z5D K?5d q` L0
n]#f)KkN`0     disable "load rom after netboot fails"? y/n [n]: n (选择 no)
neA#{&o ^"U0
2k*|t ~2m s0}.Z&N p0     enable "use all zero broadcast"? y/n [n]: n (选择 no) ITPUB个人空间"q&CU,}JS'Uc,v
ITPUB个人空间Rw4bq c
     enable "break/abort has effect"? y/n [n]: n (选择 no) ITPUB个人空间;@/^~Y m

cX tL&Wr?,S9x;w0     enable "ignore system config info"? y/n [n]: n (选择 no)
9Yh4WjCQ0
3QV2^)IRE*ttl0     change console baud rate? y/n [n]: y (选择 yes)
rn;@u cT*r0
3~ ?/^M(kEJPJ0     enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400
!tr$Q U'G} ]7b0ITPUB个人空间 M [:a W1Y*j#MM\t
     4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7 (选择 7,用最大的11520ITPUB个人空间 A7?i%E{ NQpR8cA
ITPUB个人空间QK%F8A|ljW
     速率的xmodem传输)
[AL~ TA Ey0ITPUB个人空间Q2]N2O{K z1[
     change the boot characteristics? y/n [n]: n (选择 no)
,PYV D8s)K3\0
(vpR~@+p0     Configuration Summary
3f~Q I:PZr0ITPUB个人空间M i,|!M"o%r_$HA
     enabled are: ITPUB个人空间3xL_Dpq q
ITPUB个人空间0@}2v(g{B%F!C
     load rom after netboot fails ITPUB个人空间'F;C~O @K])oi
ITPUB个人空间"]:GkwX.V'zJ
     console baud: 115200 ITPUB个人空间(AG$}l;j [iKI

%lJ#xk V&\0W#g0     boot: image specified by the boot system commands ITPUB个人空间;h3D1EbG
ITPUB个人空间2^.OVWqr2U%h:Ll0g
     or default to: cisco2-C2600
+N hN*yA0ITPUB个人空间6l |;]#@ zC
     do you wish to change the configuration? y/n [n]: n (选择 no)
tD[ SW`)X0ITPUB个人空间m\ v9e3Rn
     You must reset or power cycle for new config to take effect ITPUB个人空间3r#fL*mJt%V:l
ITPUB个人空间 J3Ox6}1U$`f
     rommon 2 > reset 回车
注意:在按reset键前,需要修改串口速度(我的电脑---端口属性----串口速度调为115200),然后再修改超级终端里设置速率为115200,记住,一定要这么做,否则会出现乱码! 然后关闭这个超级终端,重新建立一个超级终端连接,重新启动系统后,出现ITPUB个人空间F7XRS0X\-^-r

3la$_cB'S7?-_&IA Hd$d0
QUOTE:
     rommon 1> 提示符
然后,输入
[0cQN$J*JA0
+T8JRZ sa0
QUOTE:
     rommon 1> xmodem -r
2^ID{ a4L]3?W/~0ITPUB个人空间 NZZFPdJKz
     Do not start the sending program yet...
p/NE)AyE7}.A0
mT"v5Q T [-jW0     Invoke this application only for disaster recovery. ITPUB个人空间t u gFXx ?

g^Y'@Mov0     Do you wish to continue? y/n [n]: y (选择 yes) ITPUB个人空间oa+~2Oj!M
ITPUB个人空间&m%V+~D@^|B.S1g0w
     Ready to receive file ...
此时,在超级终端的菜单上的“传送”---“发送文件”----选择IOS映像文件所在地以及选择使用“xmodem”协议,点击“发送”即可。等待10-20分钟左右就可升级完3-6M的IOS文件!待升级完成后,请记住修改回计算机串口与超级终端、路由器confreg下的xmodem等传输速率为9600bps。 ITPUB个人空间4i6s#g,?\

P],KHh0方法如下:ITPUB个人空间w:[#k"`Y8^ nrL

WFDJ,w6aI$qf0
QUOTE:
     Router>en 进入新IOS的特权模式 ITPUB个人空间!O[q3iGT!Z0N

aO t1K(lIjo"JB0     Router#reload 重启系统
B1kY#I \$L0
]4~+s}rh!|n`*Ud0     Proceed with reload? [confirm] 回车
d2o J6L*I V^/wU0ITPUB个人空间H6m`8D,S6i%m
     00:01:04: %SYS-5-RELOAD: Reload requested ITPUB个人空间(M8Bwz?&xsFR'S&s

4b F2H GJ%@,f l0     System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) ITPUB个人空间)ir)dFE_6T,_C

^#x0IT+x6y0     Copyright (c) 1999 by cisco Systems, Inc. ITPUB个人空间bnKh M5\+N

G3B"|"F\w*U-sQ^"d0     TAC:Home:SW:IOS:Specials for info ITPUB个人空间S ]Y,s;K$T

L/}Y*h/N D0     PC = 0xfff0a530, Vector = 0x500, SP = 0x680127b0 ITPUB个人空间s ]x i\$B C
ITPUB个人空间%zif-iS7F3kO6T]tJ
     C2600 platform. with 24576 Kbytes of main memory ITPUB个人空间Blzd{ i

L^V$s,u!cx!p0     PC = 0xfff0a530, Vector = 0x500, SP = 0x80004684            ITPUB个人空间7W|-W,A {anQm,X
ITPUB个人空间!cqw(M$\zmS
     monitor: command "boot" aborted due to user interrupt      
GL| ?1@/pe G0ITPUB个人空间&q(Z!HF+Y\1\
     30秒内按ctrl+break键ITPUB个人空间'F4E4U(["t q2m+o

1tb eQUx^0     rommon 1 > confreg ( 输入“confreg”命令)
2x)|.ibgu,q0
%IdO+z4Hq&DcLC u1a0     Configuration Summary ITPUB个人空间I!n*M;@"z*G x;~!za

F({v_,h;`0     enabled are:
3V$F+DY%W0
aX |/s(u~~0     load rom after netboot fails ITPUB个人空间m+}#WDo%T%n

/b*uB)p[#kU(}$X$O-K0     console baud: 115200 ITPUB个人空间_ w'B2`4Z W4F4i"\&U
ITPUB个人空间 lsj,aG9u7L"N
     boot: image specified by the boot system commands ITPUB个人空间b?\?s+P

T8f8LQ.P6G0     or default to: cisco2-C2600
X7ro4rMNH*W_+l0
3](H/xNB&L i0     do you wish to change the configuration? y/n [n]: y (选择 yes) ITPUB个人空间E9Gt}bG4u
ITPUB个人空间Y^7tsD0H
     enable "diagnostic mode"? y/n [n]: n (选择 no)
aV'k;b1M \Kt0ITPUB个人空间 a"WC&`*h X6qn
     enable "use nn IP bcast address"? y/n [n]: n (选择 no)
.iUNg2rH*FtL0ITPUB个人空间p3ho;jJ_
     disable "load rom after netboot fails"? y/n [n]: n (选择 no)
0ez*NdBp?0{.M0ITPUB个人空间;j] ]/zAe/Y P
     enable "use all zero broadcast"? y/n [n]: n (选择 no) ITPUB个人空间`e l0H]y%t
ITPUB个人空间M3H S&P,q1~Y-y R
     enable "break/abort has effect"? y/n [n]: n (选择 no) ITPUB个人空间 c1ooPRQ.I
ITPUB个人空间4q.}%T:mc WO
     enable "ignore system config info"? y/n [n]: n (选择 no)
TIdQb0ITPUB个人空间V1E,_#CA1TMXd/K$g-z
     change console baud rate? y/n [n]: y (选择 yes) ITPUB个人空间Ce{gc#Y7]
ITPUB个人空间*e SC)e[1V4U k L-RZ
     enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400
)d/E+EH+A D2A0ITPUB个人空间 dI:a*rj
     4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [7]: 0 (选择 0,改回用标准速率速率9600的xmodem传输) ITPUB个人空间|*K-W)_c
ITPUB个人空间r6n-X yt3x{
     change the boot characteristics? y/n [n]: n (选择 no)
x b _p@_)F]%x0ITPUB个人空间 opn1f0cSj
     Configuration Summary
K0Au$l4E;W6rl%M0ITPUB个人空间q#|q8Om m
     enabled are:
`Dj G.n:Y0
:o{ r.Thi*~0     load rom after netboot fails
5^ b-B!d@}m QM0ITPUB个人空间Bz&YA.Q_;e G
     console baud: 9600
d [&D'Lhm{0
"M/g i s6v6z*O0     boot: image specified by the boot system commands
Q8S1`3CU0ITPUB个人空间+A4n0W7_-[V
     or default to: cisco2-C2600 ITPUB个人空间nt6E+?L6Vb

#[$[B S b)@kXz0F0     do you wish to change the configuration? y/n [n]: n You must reset or power cycle for new config to take effect
/dh h%s x:K j0
$Z4Z5G+C@)_0Tp }0     rommon 2 >
此时手工改回计算机串口与超级终端2者传输速率为9600 ITPUB个人空间u@0_3A0xhb"~_ w

*~lW+h[NX|J0然后敲入ITPUB个人空间9H J4N|yj$^
ITPUB个人空间-{0I&A+sceX*qh
QUOTE:
     rommon 2 >reset
最好关掉电源后,重新启动。利用xmodem命令实现路由器IOS升级速度较慢,往往等上很长时间,为了快速升级,可以采用下列方法。

TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

我的栏目

日历

« 2008-12-03  
 123456
78910111213
14151617181920
21222324252627
28293031   

数据统计

  • 访问量: 37268
  • 日志数: 2725
  • 图片数: 1
  • 建立时间: 2008-03-20
  • 更新时间: 2008-09-02

RSS订阅

Open Toolbar