cisco路由器IOS升级Word文件下载.docx

上传人:b****5 文档编号:18324101 上传时间:2022-12-15 格式:DOCX 页数:13 大小:21.45KB
下载 相关 举报
cisco路由器IOS升级Word文件下载.docx_第1页
第1页 / 共13页
cisco路由器IOS升级Word文件下载.docx_第2页
第2页 / 共13页
cisco路由器IOS升级Word文件下载.docx_第3页
第3页 / 共13页
cisco路由器IOS升级Word文件下载.docx_第4页
第4页 / 共13页
cisco路由器IOS升级Word文件下载.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

cisco路由器IOS升级Word文件下载.docx

《cisco路由器IOS升级Word文件下载.docx》由会员分享,可在线阅读,更多相关《cisco路由器IOS升级Word文件下载.docx(13页珍藏版)》请在冰豆网上搜索。

cisco路由器IOS升级Word文件下载.docx

Router#dirflash:

 

(查看目前IOS映象文件名,也可用Router#Showversion)

Directoryofflash:

/

-rw- 

5998292 

C2600-I-MZ.122-11.BIN

8388608bytestotal(2390252bytesfree)

Router#copyflashtftp 

(备份IOS文件)

Sourcefilename[]?

c2600-i-mz.122-11.bin

Addressornameofremotehost[]?

10.32.10.1(TFTP服务器地址)

Destinationfilename[c2600-i-mz.122-11.bin]?

!

!

5998292bytescopiedin324.071secs(18509bytes/sec)

Router#

3、对路由器进行IOS升级;

Router#copytftpflash

10.32.10.1 

(TFTP服务器地址)

c2600-i-mz.122-11.bin 

(需升级的新IOS映象文件名)

Doyouwanttooverwrite?

[confirm]

Accessingtftp:

//10.32.10.1/c2600-i-mz.122-11.bin...

Eraseflash:

beforecopying?

Erasingtheflashfilesystemwillremoveallfiles!

Continue?

Erasingdevice...eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...erasedee

Eraseofflash:

complete

Loadingc2600-i-mz.122-11.binfrom10.32.10.1(viaEthernet0/0):

[OK-5998292bytes]

Verifyingchecksum... 

OK(0xA0C0)

5998292bytescopiedin318.282secs(18846bytes/sec)

IOS升级方法二

由于升级失败后或者路由器的config-register寄存器值为0x2101时,开启路由器时、或者在开启(某些型号)Cisco路由器的电源开关后30秒内按下Ctrl+break键,中断路由器的正常启动,路由器都会进入rom监视模式,即Router(boot)>

,在这种情形下,对路由器的IOS进行升级,也比较简单。

首先进入特权模式下,即

Router(boot)>

en

Router(boot)#

其他升级步骤同方法一,即:

执行copytftpflash命令,对IOS进行升级。

升级完成后,不要忘了修改config-register寄存器值为0x2102(恢复正常值)。

Router(boot)#t

Router(boot)(config)#config-register0x2102

Router(boot)(config)#exit

Router(boot)#wr

Router(boot)#reload 

重启即可。

IOS升级方法三

由于不小心使用了命令eraseflash或升级失败后或在开启(某些型号)Cisco路由器的电源开关后30秒内按下Ctrl+break键,中断路由器的正常启动,路由器都会进入rom监视模式,即rommon1>

,在这种情形下,对路由器的IOS进行升级,情况要稍微复杂一点。

在rommon1>

状态下,可键?

请求帮助。

(1为命令行序号,每执行1条命令自动加1)

rommon1>

?

alias 

setanddisplayaliasescommand

boot 

bootupanexternalprocess

break 

set/show/clearthebreakpoint

confreg 

configurationregisterutility

cont 

continueexecutingadownloadedimage

context 

displaythecontextofaloadedimage

cookie 

displaycontentsofcookiePROMinhex

dev 

listthedevicetable

dir 

listfilesinfilesystem

dis 

displayinstructionstream

dnld 

serialdownloadaprogrammodule

frame 

printoutaselectedstackframe

help 

monitorbuiltincommandhelp

history 

monitorcommandhistory

meminfo 

mainmemoryinformation

repeat 

repeatamonitorcommand

reset 

systemreset

set 

displaythemonitorvariables

stack 

produceastacktrace

sync 

writemonitorenvironmenttoNVRAM

sysret 

printoutinfofromlastsystemreturn

tftpdnld 

tftpimagedownload

unalias 

unsetanalias

unset 

unsetamonitorvariable

xmodem 

x/ymodemimagedownload

rommon2>

状态下有两种升级IOS方法。

(一)、通过Xmodem命令(注:

Xmodem与实际的modem没有任何联系只是一个传输协议数据是通过终端的串口和路由器的Console口灌进去的)升级IOS,具体步骤如下:

1、用Cisco原配的线缆连接路由器的console口与PC机的COM1,使用PC机的超级终端软件访问路由器,这时不需要对PC和路由器配置任何地址。

2、在这个模式下,输入Xmodem命令,即:

xmodem-cc2600-i-mz.122-11.bin

(-c是带校验,c2600-i-mz.122-11.bin为存放在PC机上的IOS映像文件)

WARNING:

Allexistingdatainbootflashwillbelost!

Invokethisapplicationonlyfordisasterrecovery.

Doyouwishtocontinue?

y/n 

[n]:

y

Readytoreceivefilec2600-i-mz.122-11.bin... 

(此时在超级终端的传送栏目=>

选择发送文件选项=>

再选择Xmodem并指明IOS映像文件所在的路径,按发送即开始上传IOS,等待时间很长,视IOS的大小和传输速度。

Erasingflashat0x607c0000

programflashlocation0x605b0000

DownloadComplete!

传完以后,对整个系统初始化显示如下:

programloadcomplete,entrypoint:

0x80008000,size:

0x5b85e0

Selfdecompressingtheimage:

#################################################

#################################################[OK]

SmartInitisdisabled.IOMEMsetto:

10

Usingiomempercentage:

RestrictedRightsLegend

Use,duplication,ordisclosurebytheGovernmentis

subjecttorestrictionsassetforthinsubparagraph

(c)oftheCommercialComputerSoftware-Restricted

RightsclauseatFARsec.52.227-19andsubparagraph

(c)

(1)(ii)oftheRightsinTechnicalDataandComputer

SoftwareclauseatDFARSsec.252.227-7013.

ciscoSystems,Inc.

170WestTasmanDrive

SanJose,California95134-1706

CiscoInternetworkOperatingSystemSoftware

IOS(tm)C2600Software(C2600-I-M),Version12.2(11)T9, 

RELEASESOFTWARE(fc1)

TACSupport:

Copyright(c)1986-2003byciscoSystems,Inc.

CompiledMon23-Jun-0315:

42bycmong

Imagetext-base:

0x8000809C,data-base:

0x80A68B48

cisco2610(MPC860)processor(revision0x203)with22528K/2048Kbytesofmemory

ProcessorboardIDJAD03483395(1128032249)

M860processor:

partnumber0,mask49

Bridgingsoftware.

X.25software,Version3.0.0.

1Ethernet/IEEE802.3interface(s)

2Serial(sync/async)networkinterface(s)

32Kbytesofnon-volatileconfigurationmemory.

8192KbytesofprocessorboardSystemflash(Read/Write)

PressRETURNtogetstarted!

*Mar 

100:

00:

05.652:

%PA-2-UNDEFPA:

UndefinedPortAdaptortype100inbay1

07.996:

%LINK-3-UPDOWN:

InterfaceEthernet0/0,changedstatetoup

InterfaceSerial0/0,changedstatetodown

InterfaceSerial0/1,changedstatetodown

09.142:

%LINEPROTO-5-UPDOWN:

LineprotocolonInterfaceEthernet0/0,changedstatetoup

LineprotocolonInterfaceSerial0/0,changedstatetodown

LineprotocolonInterfaceSerial0/1,changedstatetodown

09.458:

%SYS-5-CONFIG_I:

Configuredfrommemorybyconsole

11.245:

%LINK-5-CHANGED:

InterfaceSerial0/1,changedstatetoadministrativelydown

12.275:

%SYS-5-RESTART:

Systemrestarted--CiscoInternetworkOperatingSystemSoftware

Copyright(c)1986-2003byciscoSystems,Inc.

12.279:

%SNMP-5-COLDSTART:

SNMPagentonhostNE16isundergoingacoldstart

Router>

采用这种方法时,由于使用console口来传送,速率为9600bps,需要时间较长。

因此可修改console口速率利用xmodem命令实现快速升级IOS。

具体方法如下:

confreg回车

ConfigurationSummary

enabledare:

loadromafternetbootfails

consolebaud:

9600

boot:

imagespecifiedbythebootsystemcommands

ordefaultto:

cisco2-C2600

doyouwishtochangetheconfiguration?

y/n[n]:

y(选择yes)

enable"

diagnosticmode"

?

n(选择no)

usenetinIPbcastaddress"

disable"

loadromafternetbootfails"

useallzerobroadcast"

break/aborthaseffect"

ignoresystemconfiginfo"

changeconsolebaudrate?

enterrate:

0=9600,1=4800,2=1200,3=2400

4=19200,5=38400,6=57600,7=115200[0]:

7(选择7,用最大的11520

速率的xmodem传输)

changethebootcharacteristics?

115200

Youmustresetorpowercyclefornewconfigtotakeeffect

reset回车

注意:

在按reset键前,需要修改串口速度(我的电脑---端口属性----串口速度调为115200),然后再修改超级终端里设置速率为115200,记住,一定要这么做,否则会出现乱码!

然后关闭这个超级终端,重新建立一个超级终端连接,重新启动系统后,出现

rommon1>

提示符

然后,输入

rommon1>

xmodem-r

Donotstartthesendingprogramyet...

Invokethisapplic

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高中教育 > 高中教育

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1