设为首页 收藏本站
查看: 1239|回复: 0

[经验分享] Cisco 2811 IOS 升级实战

[复制链接]

尚未签到

发表于 2018-7-10 09:30:14 | 显示全部楼层 |阅读模式
  准备环节:用console线连接好路由器,准备好cisco tftp服务器
  一、备份原始IOS
  SZNET001#show flash
  -#- --length-- -----date/time------ path
  1     25591404 Jun 22 2010 01:48:26 +00:00 c2800nm-ipbase-mz.124-15.T13.bin
  2         2900 Jun 22 2010 01:56:24 +00:00 cpconfig-2811.cfg
  3      2938880 Jun 22 2010 01:56:42 +00:00 cpexpress.tar
  4         1038 Jun 22 2010 01:56:50 +00:00 home.shtml
  5       122880 Jun 22 2010 01:57:00 +00:00 home.tar
  6       527849 Jun 22 2010 01:57:10 +00:00 128MB.sdf
  7      1697952 Jun 22 2010 01:57:28 +00:00 securedesktop-ios-3.1.1.45-k9.pkg
  8       415956 Jun 22 2010 01:57:42 +00:00 sslclient-win-1.1.4.176.pkg
  9       189843 Nov 24 2010 01:12:44 +00:00 crashinfo_20101124-011245
  10         780 Dec 29 2011 04:31:16 +00:00 vlan.dat
  97230848 bytes available (31506432 bytes used)
  SZNET001#copy flash tftp
  Source filename [?]? c2800nm-ipbase-mz.124-15.T13.bin
  Address or name of remote host []? 192.168.100.31
  Destination filename [c2800nm-ipbase-mz.124-15.T13.bin]?
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  !!!!!!!!!!!!!!!!!!!!!
  25591404 bytes copied in 131.136 secs (195152 bytes/sec)
  二、从tftp升级
  SZNET001#copy tftp flash
  Address or name of remote host []? 192.168.100.31
  Source filename []? c2800nm-adventerprisek9-mz.124-15.T3.bin
  Destination filename [c2800nm-adventerprisek9-mz.124-15.T3.bin]?
  ?Bad filename
  %Error parsing filename (Bad file number)
  SZNET001#copy tftp flash
  Address or name of remote host [192.168.100.31]?
  Source filename [c2800nm-adventerprisek9-mz.124-15.T3.bin]?
  Destination filename [c2800nm-adventerprisek9-mz.124-15.T3.bin]?
  Accessing tftp://192.168.100.31/c2800nm-adventerprisek9-mz.124-15.T3.bin...
  Loading c2800nm-adventerprisek9-mz.124-15.T3.bin from 192.168.100.31 (via FastEt
  hernet0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  [OK - 52784760 bytes]
  52784760 bytes copied in 324.588 secs (162621 bytes/sec)
  SZNET001#dir
  Directory of flash:/
  1  -rw-    25591404  Jun 22 2010 01:48:26 +00:00  c2800nm-ipbase-mz.124-15.T
  13.bin
  2  -rw-        2900  Jun 22 2010 01:56:24 +00:00  cpconfig-2811.cfg
  3  -rw-     2938880  Jun 22 2010 01:56:42 +00:00  cpexpress.tar
  4  -rw-        1038  Jun 22 2010 01:56:50 +00:00  home.shtml
  5  -rw-      122880  Jun 22 2010 01:57:00 +00:00  home.tar
  6  -rw-      527849  Jun 22 2010 01:57:10 +00:00  128MB.sdf
  7  -rw-     1697952  Jun 22 2010 01:57:28 +00:00  securedesktop-ios-3.1.1.45
  -k9.pkg
  8  -rw-      415956  Jun 22 2010 01:57:42 +00:00  sslclient-win-1.1.4.176.pk
  g
  9  -rw-      189843  Nov 24 2010 01:12:44 +00:00  crashinfo_20101124-011245
  10  -rw-         780  Dec 29 2011 04:31:16 +00:00  vlan.dat
  11  -rw-    52784760  Jan 10 2012 05:04:54 +00:00  c2800nm-adventerprisek9-mz
  .124-15.T3.bin
  128737280 bytes total (44445696 bytes free)
  三、删除原始的IOS
  SZNET001#delete c2800nm-ipbase-mz.124-15.T13.bin
  Delete filename [c2800nm-ipbase-mz.124-15.T13.bin]?
  Delete flash:c2800nm-ipbase-mz.124-15.T13.bin? [confirm]
  SZNET001#dir
  Directory of flash:/
  1  -rw-        2900  Jun 22 2010 01:56:24 +00:00  cpconfig-2811.cfg
  2  -rw-     2938880  Jun 22 2010 01:56:42 +00:00  cpexpress.tar
  3  -rw-        1038  Jun 22 2010 01:56:50 +00:00  home.shtml
  4  -rw-      122880  Jun 22 2010 01:57:00 +00:00  home.tar
  5  -rw-      527849  Jun 22 2010 01:57:10 +00:00  128MB.sdf
  6  -rw-     1697952  Jun 22 2010 01:57:28 +00:00  securedesktop-ios-3.1.1.45
  -k9.pkg
  7  -rw-      415956  Jun 22 2010 01:57:42 +00:00  sslclient-win-1.1.4.176.pk
  g
  8  -rw-      189843  Nov 24 2010 01:12:44 +00:00  crashinfo_20101124-011245
  9  -rw-         780  Dec 29 2011 04:31:16 +00:00  vlan.dat
  10  -rw-    52784760  Jan 10 2012 05:04:54 +00:00  c2800nm-adventerprisek9-mz
  .124-15.T3.bin
  128737280 bytes total (70037504 bytes free)
  四、指定从新的IOS启动系统
  SZNET001#config t
  Enter configuration commands, one per line.  End with CNTL/Z.
  SZNET001(config)#boot system flash c2800nm-adventerprisek9-mz.124-15.T3.bin
  SZNET001(config)#end
  SZNET001#copy run sta
  Destination filename [startup-config]?
  Building configuration...
  [OK]
  SZNET001#reload

  Proceed with>
  *Jan 10 05:13:03.579: %SYS-5-RELOAD:>
  :>  #升级后
  SZNET001#show ver
  Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9-M), Version 12.4(15)T

  3,>  Technical Support: http://www.cisco.com/techsupport
  Copyright (c) 1986-2008 by Cisco Systems, Inc.
  Compiled Thu 24-Jan-08 15:25 by prod_rel_team

  ROM: System Bootstrap, Version 12.4(13r)T11,>  SZNET001 uptime is 5 minutes

  System returned to ROM by>  System image file is "flash:c2800nm-adventerprisek9-mz.124-15.T3.bin"
  This product contains cryptographic features and is subject to United
  States and local country laws governing import, export, transfer and
  use. Delivery of Cisco cryptographic products does not imply
  third-party authority to import, export, distribute or use encryption.
  Importers, exporters, distributors and users are responsible for
  compliance with U.S. and local country laws. By using this product you
  agree to comply with applicable laws and regulations. If you are unable
  to comply with U.S. and local laws, return this product immediately.
  A summary of U.S. laws governing Cisco cryptographic products may be found at:
  http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
  If you require further assistance please contact us by sending email to
  export@cisco.com.
  Cisco 2811 (revision 53.51) with 509952K/14336K bytes of memory.

  Processor board>  6 FastEthernet interfaces
  1 Virtual Private Network (***) Module
  DRAM configuration is 64 bits wide with parity enabled.
  239K bytes of non-volatile configuration memory.
  126000K bytes of ATA CompactFlash (Read/Write)
  Configuration register is 0x2102
  SZNET001#

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-535752-1-1.html 上篇帖子: 关于Cisco 6509/7609 交换机Netflow的配置 下篇帖子: Cisco 3750 IOS恢復
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

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