Cisco 2811 IOS 升级实战

准备环节:用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 reload? [confirm]

*Jan 10 05:13:03.579: %SYS-5-RELOAD: Reload requested  by console. Reload Reason
: Reload Command.

 

#升级后

SZNET001#show ver
Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9-M), Version 12.4(15)T
3, RELEASE SOFTWARE (fc1)
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, RELEASE SOFTWARE (fc1)

SZNET001 uptime is 5 minutes
System returned to ROM by reload at 05:13:03 UTC Tue Jan 10 2012
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 ID FHK1426F0PM
6 FastEthernet interfaces
1 Virtual Private Network (VPN) 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#



本文转自yangye1985 51CTO博客,原文链接:http://blog.51cto.com/yangye/761061,如需转载请自行联系原作者


  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值