2024年5月10日发(作者:奕奇志)
3560 IOS升级方法
私人资料,请勿商用
Power_foo@
Write by Powerfoo
2011/4/4
起因如下:
3560G-A(config)#router ospf 1
Protocol not in this image
3560G-A#showversion
Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 19-Jul-07 18:15 by nachen
Image text-base: 0x00003000, data-base: 0x01100000
ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEE4, RELEASE SOFTWARE (fc1)
3560G-A uptime is 1 day, 23 hours, 9 minutes
System returned to ROM by power-on
System image file is "flash:5/"
cisco WS-C3560G-24TS (PowerPC405) processor (revision F0) with 122880K/8184K bytes of memory.
Processor board ID FOC1443Y0SF
(输出略)
3560 IOS升级步骤:
1.准备工作
IOS、TFTP server、Console线缆、直通/交叉线缆。
注:低端交换机2950/3550/3560中,可供升级使用的IOS有两种,一种是后缀为.bin的,一种是为.tar的。
.bin为IOS文件,而.tar是一个归档(压缩)包,内含.bin的IOS和web管理使用的HTML静态页。如下图
2.文件备份
3560G-A#show flash:
Directory of flash:/
2 -rwx 616 Mar 1 1993 00:04:20 +00:00
3 -rwx 1609 Mar 1 1993 00:59:14 +00:00
4 -rwx 5 Mar 1 1993 00:59:14 +00:00
6 drwx 192 Mar 1 1993 00:08:47 +00:00 5
分区项目的第1 页
6 drwx 192 Mar 1 1993 00:08:47 +00:00 5
32514048 bytes total (23457792 bytes free) #flash下没有IOS,而是存在一个与IOS同名的目录#
3560G-A#dir flash:5
Directory of flash:/5/
7 -rwx 6875865 Mar 1 1993 00:07:58 +00:00
8 drwx 4160 Mar 1 1993 00:08:13 +00:00 html
463 -rwx 422 Mar 1 1993 00:08:47 +00:00 info
32514048 bytes total (23457792 bytes free)#查看这个目录,发现和上图中的归档内容格式相同,该格式是许
多cisco交换机默认的出厂格式,接下来我们将这些文件备份#
仅备份IOS:
3560G-A#copy flash:/5/ tftp:
备份某个特定的归档:
3560G-A#archive tar /createtftp://192.168.1.88/sh:/c3560-ipbase-
5 #注意先指定创建的文件目的地,后指定文件源#
备份所有归档:(可使用在含有多个IOS归档的环境中,较少使用):
3560G-A#archiveupload-sw tftp://192.168.1.88/
仅备份IOS:
Address or name of remote host []? 192.168.1.88
备份某个特定的归档:
archiving (6875865
bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6875865 bytes copied in 23.748 secs (289534 bytes/sec)
archiving html/ (7084 bytes)!
archiving html/ (23783 bytes)!!!!!
archiving html/ (20829 bytes)!!!!
……(部分输出略)
archiving html/images/nolink_ (325 bytes)
archiving html/images/ (1223 bytes)
archiving info (422 bytes)
3.上传文件
如果不需要web功能,仅上传.bin的IOS即可:
3560G-A#copy tftp: flash:
Address or name of remote host []? 192.168.1.88
Source filename []?
Destination filename []?
分区项目的第2 页
2024年5月10日发(作者:奕奇志)
3560 IOS升级方法
私人资料,请勿商用
Power_foo@
Write by Powerfoo
2011/4/4
起因如下:
3560G-A(config)#router ospf 1
Protocol not in this image
3560G-A#showversion
Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 19-Jul-07 18:15 by nachen
Image text-base: 0x00003000, data-base: 0x01100000
ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEE4, RELEASE SOFTWARE (fc1)
3560G-A uptime is 1 day, 23 hours, 9 minutes
System returned to ROM by power-on
System image file is "flash:5/"
cisco WS-C3560G-24TS (PowerPC405) processor (revision F0) with 122880K/8184K bytes of memory.
Processor board ID FOC1443Y0SF
(输出略)
3560 IOS升级步骤:
1.准备工作
IOS、TFTP server、Console线缆、直通/交叉线缆。
注:低端交换机2950/3550/3560中,可供升级使用的IOS有两种,一种是后缀为.bin的,一种是为.tar的。
.bin为IOS文件,而.tar是一个归档(压缩)包,内含.bin的IOS和web管理使用的HTML静态页。如下图
2.文件备份
3560G-A#show flash:
Directory of flash:/
2 -rwx 616 Mar 1 1993 00:04:20 +00:00
3 -rwx 1609 Mar 1 1993 00:59:14 +00:00
4 -rwx 5 Mar 1 1993 00:59:14 +00:00
6 drwx 192 Mar 1 1993 00:08:47 +00:00 5
分区项目的第1 页
6 drwx 192 Mar 1 1993 00:08:47 +00:00 5
32514048 bytes total (23457792 bytes free) #flash下没有IOS,而是存在一个与IOS同名的目录#
3560G-A#dir flash:5
Directory of flash:/5/
7 -rwx 6875865 Mar 1 1993 00:07:58 +00:00
8 drwx 4160 Mar 1 1993 00:08:13 +00:00 html
463 -rwx 422 Mar 1 1993 00:08:47 +00:00 info
32514048 bytes total (23457792 bytes free)#查看这个目录,发现和上图中的归档内容格式相同,该格式是许
多cisco交换机默认的出厂格式,接下来我们将这些文件备份#
仅备份IOS:
3560G-A#copy flash:/5/ tftp:
备份某个特定的归档:
3560G-A#archive tar /createtftp://192.168.1.88/sh:/c3560-ipbase-
5 #注意先指定创建的文件目的地,后指定文件源#
备份所有归档:(可使用在含有多个IOS归档的环境中,较少使用):
3560G-A#archiveupload-sw tftp://192.168.1.88/
仅备份IOS:
Address or name of remote host []? 192.168.1.88
备份某个特定的归档:
archiving (6875865
bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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748 secs (289534 bytes/sec)
archiving html/ (7084 bytes)!
archiving html/ (23783 bytes)!!!!!
archiving html/ (20829 bytes)!!!!
……(部分输出略)
archiving html/images/nolink_ (325 bytes)
archiving html/images/ (1223 bytes)
archiving info (422 bytes)
3.上传文件
如果不需要web功能,仅上传.bin的IOS即可:
3560G-A#copy tftp: flash:
Address or name of remote host []? 192.168.1.88
Source filename []?
Destination filename []?
分区项目的第2 页