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
[email protected].

Cisco 2811 (revision 53.51) with 509952K/14336K bytes of memory.
Processor board ID FHK1426F0PM
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#

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章