路由器或交换机IOS升级

在路由器操作系统可用的情况下:
上次给一个客户升级7206路由器的ios,这里的把大致的步骤写一下,供朋友们参考
 
  1.当然要先确定升级后ios版本了,没有目标怎么升级呢?如果你的客户都明确告诉你ios版本了,那你就太幸运了,省了好多事。但是,大部分时候客户都是很糊涂的,当然要你自己搞定,所以要上cco去查了。我的碰到情况是:原来的版本太低了,不支持8口的CE1的卡,上cco查了一下,确定了新的版本。cco网址看这里www.cisco/kobayashi/sw-center/sw-ios.shtml
 
  2。其实这一步和上一步是紧密结合的呀,每一个ios的版本都需要一定的硬件支持。这里的硬件主要是flash和内存(DRAM)的容量大小了,Cisco的网站都有具体的说明。然后,看一下要升级的路由器的硬件配置:flash和内存(DRAM)的容量大小,用命令:show ver 就行了。如果现有的flash和内存(DRAM)的容量大于要求的容量,就可以进入下一步了。否则,要么换一个版本,要么升级的要升级的路由器的硬件了。:(
 
  3下载新的ios版本,这里需要cco帐号了。PR的帐号权限还不够,要Cisco金、银牌代理商的cco帐号就行了。
 
  4。把你的计算机连到路由器的fastethernet口上,设计算机的IP路由器连的接口在同一个子网,在计算机上运行tftp软件。开始备份现有的iosNvram里的配置,在7206上执行命令:copy flash tftpcopy run tftp
  就OK了。COPY完了之后,为了保险,你在计算机上看看路由器的文件是不是COPY过来呢。
 
  5。然后,就是很关键的一步了,把7206升级到新的IOS。在计算机上运行tftp软件,把新的IOS放在tftp软件按装目录的根目录下,执行命令:copy tftp flash
  。如果一切顺利,那就差不多了。你可以在终端仿真软件(大肠杆菌培养我用的是CRT,很好用的,本站就有下载)看到一路的!!!!!符号。就OK了!
 
  6。先别急着重新启动,一般7206Flash卡最少也有16M,足够存2IOS。现在你的72
06上还有2IOS,所以你配置7206用重新哪个IOS启动呀。执行命令:boot system flash slot0:c7200-is-mz.121-6.bin.
  当然,后面的文件名就是升级后的新的ios版本的文件名了,根据情况各不相同。
 
  7OK,保存配置:copy run start
 
  8。用“reload”命令重起7206路由器,进去后:用show ver看一下版本,应该是升级的ios版本了,还可以用show flash看一下。
 
  9。如果你很不幸,升级没成功的话,只能用备份的IOS一般工业固废焚烧炉nvram的配置文件恢复到原来升级前的状态,只能重新查升级不成功的原因了。。。
 
  顺利的话,半个小时就查不多了,其实Cisco别的型号的路由器升级也和7206差不多,大家可以参考一下。如果有错误,请指出:-
在操作系统不可用的情况下:
日盲紫外探测器
转载:cisco升级IOS的方法
20080405 星期六 15:14
通过Xmodem升级2610IOS实例
  如果你不小心使用了命令erase flash 那么发生什么就可想而知了。因此,建议在你拿到路由器网络设备时 最好先将它的IOS等操作系统备份出来,以备万一!
  本篇主要介绍通过Xmodem上传IOS的过程(以2610为例,不过这个方法用在其他设备上没什么太大区别)
  准备工作,只要有Cisco原配的线缆就可以(注:Xmodem与实际的modem没有任何联系 只是一个传输协议 数据是通过终端的串口和路由器的Console口灌进去的)
  在没有IOS的情况下 系统只能进入Rommon状态,在这个状态下只能见到如下命令:
rommon 8 > ?
alias set and display aliases command
boot boot up an external process
热冲击break set/show/clear the breakpoint
confreg configuration register utility
cont continue executing a downloaded image
context display the context of a loaded image
cookie display contents of cookie PROM in hex
dev list the device table
dir list files in file system
dis display instruction stream
dnld serial download a program module
frame print out a selected stack frame
help monitor builtin command help
history monitor command history
meminfo main memory information
repeat repeat a monitor command
reset system reset
set display the monitor variables
stack produce a stack trace
sync write monitor environment to NVRAM
sysret print out info from last system return
tftpdnld tftp image download
unalias unset an alias
电容笔制作unset unset a monitor variable
xmodem x/ymodem image download
  在这个模式下,输入Xmodem
rommon 9 > xmodem -r
会提示如下警告:
WARNING: All existing data in bootflash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n [n]: y
Ready to receive file ? ...
  然后在超级终端的传送栏目=> 选择发送选项 => 再选择转向轴Xmodem 并指明IOS所在的路径即开始上传IOS,等待时间很长,视IOS的大小和传输速度。对于初次做IOS上传,建议不要去修改什么传输速率。传完以后对整个系统初始化 界面如下:
Erasing flash at 0x603c0000
program flash location 0x602f0000
Download Complete!
program load complete, entry point: 0x80008000, size: 0x2f0074
Self decompressing the image : >>>>>>>>>####
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>> [OK]
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 11.3(6)T, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1998 by cisco Systems, Inc.
Compiled Tue 06-Oct-98 18:42 by ccai
Image text-base: 0x80008084, data-base: 0x80554578
cisco 2610 (MPC860) processor (revision 0x202) with 12288K/4096K bytes of memory
.
Processor board ID JAB0233005Z (3677578902)
M860 processor: part number 0, mask 32
Bridging software.
X.25 software, Version 3.0.0.
1 Ethernet/IEEE 802.3 interface(s)
1 Serial network interface(s)
32K bytes of non-volatile configuration memory.
4096K bytes of processor board System flash (Read/Write)
Press RETURN to get started!
00:00:06: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
00:00:06: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
00:00:06: %SYS-5-CONFIG_I: Configured from memory by console
00:00:06: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 11.3(6)T, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1998 by cisco Systems, Inc.
Compiled Tue 06-Oct-98 18:42 by ccai
00:00:07: %LINEPROTO-5-UPDOWN: Line protocol on
WL_bank_2610_2>Interface Ethernet0/0, changed state to up
00:00:07: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed sta
te to up
00:00:07: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed sta
te to up
2610_2>

本文发布于:2024-09-22 02:07:11,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/2/249851.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:升级   计算机   版本   只能   情况
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议