路由器IOS升级方法总结(4)
采用这种方法时,由于使用console口来传送,速率为9600bps,需要时间较长。因此可修改console口速率利用xmodem命令实现快速升级IOS。具体方法如下:
C;W&t Mu~7m1l%}Y0
:m$?|?7YTOA0
3la$_cB'S7?-_&IAHd$d0
[0cQN$J*JA0
+T8JRZ sa0
C;W&t Mu~7m1l%}Y0
:m$?|?7YTOA0
QUOTE:
rommon 1 > confreg 回车
t0Jp9e,[0
{b o i8X4xj0~0 Configuration Summary ITPUB个人空间qpLl `
ITPUB个人空间/T9Zx]-T!e jG
enabled are: ITPUB个人空间4Ap/ZN@)i'Fz2~
]%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-y4SB0 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)
9Yh4W jCQ0
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{Kz1[
change the boot characteristics? y/n [n]: n (选择 no)
,PYVD8s)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
+NhN*yA0ITPUB个人空间6l |;]#@zC
do you wish to change the configuration? y/n [n]: n (选择 no)
tD[SW`)X0ITPUB个人空间m\v9e3R n
You must reset or power cycle for new config to take effect ITPUB个人空间3r#fL*mJ t%V:l
ITPUB个人空间J3Ox6}1U$`f
rommon 2 > reset 回车
注意:在按reset键前,需要修改串口速度(我的电脑---端口属性----串口速度调为115200),然后再修改超级终端里设置速率为115200,记住,一定要这么做,否则会出现乱码! 然后关闭这个超级终端,重新建立一个超级终端连接,重新启动系统后,出现ITPUB个人空间F7XRS0X\-^-rt0Jp9e,[0
{b o i8X4xj0~0 Configuration Summary ITPUB个人空间qpLl `
ITPUB个人空间/T9Zx]-T!e jG
enabled are: ITPUB个人空间4Ap/ZN@)i'Fz2~
]%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-y4SB0 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)
9Yh4W jCQ0
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{Kz1[
change the boot characteristics? y/n [n]: n (选择 no)
,PYVD8s)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
+NhN*yA0ITPUB个人空间6l |;]#@zC
do you wish to change the configuration? y/n [n]: n (选择 no)
tD[SW`)X0ITPUB个人空间m\v9e3R n
You must reset or power cycle for new config to take effect ITPUB个人空间3r#fL*mJ t%V:l
ITPUB个人空间J3Ox6}1U$`f
rommon 2 > reset 回车
3la$_cB'S7?-_&IAHd$d0
QUOTE:
rommon 1> 提示符
然后,输入[0cQN$J*JA0
+T8JRZ sa0
QUOTE:
rommon 1> xmodem -r
2^ID{a4L]3?W/~0ITPUB个人空间 N ZZFPdJKz
Do not start the sending program yet...
2^ID{a4L]3?W/~0ITPUB个人空间 N ZZFPdJKz
Do not start the sending program yet...