Cisco堆叠交换机升级IOS

3750堆叠升级

主要命令

show switch
dir flash1:
dir flash2:
…
delete flash1:/xxx/old_ios.bin     ##如果flash空间不足,需先删除旧IOS文件
delete flash2:/xxx/old_ios.bin 
…
copy tftp: flash1:/xxx/new_ios.bin    ##导入新的IOS文件
copy tftp: flash2:/xxx/new_ios.bin
…
dir flash1:
dir flash2:
…

boot system switch all flash:/xxx/new_ios.bin    ##设置交换机boot启动项
show boot
write
reload

实例说明

1.检查交换机现有ios版本
C3750#show version
Cisco IOS Software, C3750 Software (C3750-IPBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 19-Jul-07 19:15 by nachen
Image text-base: 0x00003000, data-base: 0x01080000
 
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)
 
C3750 uptime is 6 years, 37 weeks, 3 days, 3 hours, 20 minutes
System returned to ROM by power-on
System restarted at 09:18:10 CN Mon Aug 4 2008
System image file is "flash:c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin"
 
cisco WS-C3750-24P (PowerPC405) processor (revision K0) with 118784K/12280K bytes of memory.
Processor board ID FDO1148Y0Z5
Last reset from power-on
3 Virtual Ethernet interfaces
120 FastEthernet interfaces
10 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
 
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:1E:7A:FE:7B:80
Motherboard assembly number     : 73-9672-09
Power supply part number        : 341-0029-05
Motherboard serial number       : FDO114800E3
Power supply serial number      : LIT114407XP
Model revision number           : K0
Motherboard revision number     : B0
Model number                    : WS-C3750-24PS-S
System serial number            : FDO1148Y0Z5
Top Assembly Part Number        : 800-25860-04
Top Assembly Revision Number    : D0
Version ID                      : V05
CLEI Code Number                : CNMV1K0CRD
Hardware Board Revision Number  : 0x01
 
 
Switch   Ports  Model              SW Version              SW Image           
------   -----  -----              ----------              ----------         
*    1   26     WS-C3750-24P       12.2(35)SE5             C3750-IPBASE-M     
     2   52     WS-C3750-48TS      12.2(35)SE5             C3750-IPBASE-M     
     3   52     WS-C3750-48TS      12.2(35)SE5             C3750-IPBASE-M     
 
 
Switch 02
---------
Switch Uptime                   : 6 years, 37 weeks, 3 days, 3 hours, 3 minutes
Base ethernet MAC Address       : 00:1E:14:CC:05:80
Motherboard assembly number     : 73-9680-10
Power supply part number        : 341-0028-02
Motherboard serial number       : FDO1142045Q
Power supply serial number      : LIT113608JR
Model revision number           : N0
Motherboard revision number     : B0
Model number                    : WS-C3750-48TS-S
System serial number            : FDO1142Y0VZ
SFP Module assembly part number : 73-7757-03
SFP Module revision number      : A0
SFP Module serial number        : FDO11410739
Top assembly part number        : 800-25854-02
Top assembly revision number    : F0
Version ID                      : V05
CLEI Code Number                : CNMV300CRE
 
Switch 03
---------
Switch Uptime                   : 6 years, 37 weeks, 3 days, 3 hours, 3 minutes
Base ethernet MAC Address       : 00:1B:90:A8:4B:80
Motherboard assembly number     : 73-9680-10
Power supply part number        : 341-0028-02
Motherboard serial number       : CAT111556CG
Power supply serial number      : LIT10420786
Model revision number           : N0
Motherboard revision number     : B0
Model number                    : WS-C3750-48TS-S
System serial number            : CAT1115RJ0N
SFP Module assembly part number : 73-7757-03
SFP Module revision number      : A0
SFP Module serial number        : CAT111558ST
Top assembly part number        : 800-25854-02
Top assembly revision number    : F0
Version ID                      : V05
CLEI Code Number                : CNMV300CRE
 
Configuration register is 0xF
2.检查交换机堆叠信息
C3750#show switch
Switch/Stack Mac Address : 001e.7afe.7b80
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master 001e.7afe.7b80     15     0       Ready              
2       Member 001e.14cc.0580     10     0       Ready              
3       Member 001b.90a8.4b80     5      0       Ready       
3.检查交换机剩余空间和ios文件路径
C3750#dir flash1:
Directory of flash:/

    2  -rwx        2596   Dec 9 2014 14:56:30 +08:00  vlan.dat
    3  -rwx       41133  Mar 27 2015 16:57:01 +08:00  config.text
    4  -rwx           5  Mar 27 2015 16:57:01 +08:00  private-config.text
    5  drwx         192   Mar 1 1993 08:06:45 +08:00  c3750-ipbase-mz.122-35.SE5

15998976 bytes total (6326272 bytes free)
C3750#dir flash1:/c3750-ipbase-mz.122-35.SE5
Directory of flash:/c3750-ipbase-mz.122-35.SE5/

    6  -rwx     7175078   Mar 1 1993 08:05:45 +08:00  c3750-ipbase-mz.122-35.SE5.bin
    7  drwx        4224   Mar 1 1993 08:06:08 +08:00  html
  508  -rwx         598   Mar 1 1993 08:06:45 +08:00  info

15998976 bytes total (6326272 bytes free)
C3750#dir flash2:/c3750-ipbase-mz.122-35.SE5
Directory of flash2:/c3750-ipbase-mz.122-35.SE5/

  6 -rwx   7175078  Mar 1 1993 08:05:39 +08:00 c3750-ipbase-mz.122-35.SE5.bin
  7 drwx    4224  Mar 1 1993 08:06:02 +08:00 html
 508 -rwx     598  Mar 1 1993 08:06:40 +08:00 info

15998976 bytes total (6326272 bytes free)

C3750#dir flash3:/c3750-ipbase-mz.122-35.SE5
Directory of flash3:/c3750-ipbase-mz.122-35.SE5/

  4 -rwx   7175078  Mar 1 1993 08:07:47 +08:00 c3750-ipbase-mz.122-35.SE5.bin
  5 drwx    4224  Mar 1 1993 08:08:23 +08:00 html
 506 -rwx     600  Mar 1 1993 08:08:57 +08:00 info

15998976 bytes total (6326272 bytes free)
4.删除旧ios、检查

注:如果交换机flash剩余空间充足,就不用删除旧ios。

C3750#delete flash1:/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin
Delete filename [/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin]?
Delete flash:/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin? [confirm]

C3750#dir flash1:/c3750-ipbase-mz.122-35.SE5
Directory of flash:/c3750-ipbase-mz.122-35.SE5/
    7  drwx        4224   Mar 1 1993 08:06:08 +08:00  html
  508  -rwx         598   Mar 1 1993 08:06:45 +08:00  info
同样方法删除flash2,flash3

C3750#dir flash2:/c3750-ipbase-mz.122-35.SE5
Directory of flash2:/c3750-ipbase-mz.122-35.SE5/

  7 drwx    4224  Mar 1 1993 08:06:02 +08:00 html
 508 -rwx     598  Mar 1 1993 08:06:40 +08:00 info

15998976 bytes total (13501440 bytes free)
C3750#dir flash3:/c3750-ipbase-mz.122-35.SE5
Directory of flash3:/c3750-ipbase-mz.122-35.SE5/

  5 drwx    4224  Mar 1 1993 08:08:23 +08:00 html
 506 -rwx     600  Mar 1 1993 08:08:57 +08:00 info

15998976 bytes total (13501440 bytes free)
可以看到三台交换机均已删除旧ios,剩余flash空间充足。
5.上传ios到交换机
C3750#copy tftp: flash1:
Address or name of remote host []? 192.168.196.188
Source filename []? c3750-ipbasek9-mz.122-55.SE8.bin
Destination filename [c3750-ipbasek9-mz.122-55.SE8.bin]?
Accessing tftp://192.168.196.188/c3750-ipbasek9-mz.122-55.SE8.bin...
Loading c3750-ipbasek9-mz.122-55.SE8.bin from 192.168.196.188 (via Vlan255): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 12103244 bytes]

12103244 bytes copied in 183.426 secs (65984 bytes/sec)
同样的方法上传新ios到flash2、flash3

C3750#copy tftp: flash2:     
C3750#copy tftp: flash3:
6.检查各个交换机的ios文件
C3750#dir flash1:
Directory of flash:/

    2  -rwx        2596   Dec 9 2014 14:56:30 +08:00  vlan.dat
    3  -rwx       41133  Mar 27 2015 16:57:01 +08:00  config.text
    4  -rwx           5  Mar 27 2015 16:57:01 +08:00  private-config.text
    5  drwx         128  Apr 22 2015 12:28:24 +08:00  c3750-ipbase-mz.122-35.SE5
    6  -rwx    12103244  Apr 22 2015 12:41:45 +08:00  c3750-ipbasek9-mz.122-55.SE8.bin

15998976 bytes total (1397760 bytes free)
C3750#dir flash2:
Directory of flash2:/

  2 -rwx    2596  Dec 9 2014 14:56:30 +08:00 vlan.dat
  3 -rwx    41133 Mar 27 2015 16:57:03 +08:00 config.text
  4 -rwx      5 Mar 27 2015 16:57:03 +08:00 private-config.text
  5 drwx     128 Apr 22 2015 12:32:01 +08:00 c3750-ipbase-mz.122-35.SE5
  6 -rwx  12103244 Apr 22 2015 12:46:17 +08:00 c3750-ipbasek9-mz.122-55.SE8.bin

15998976 bytes total (1397760 bytes free)
C3750#dir flash3:
Directory of flash3:/

  2 -rwx    2596  Dec 9 2014 14:56:30 +08:00 vlan.dat
  3 drwx     128 Apr 22 2015 12:32:17 +08:00 c3750-ipbase-mz.122-35.SE5
 507 -rwx      5 Mar 27 2015 16:57:03 +08:00 private-config.text
  4 -rwx  12103244 Apr 22 2015 12:50:08 +08:00 c3750-ipbasek9-mz.122-55.SE8.bin
 509 -rwx    41133 Mar 27 2015 16:57:03 +08:00 config.text

15998976 bytes total (1397760 bytes free)

7.更改交换机boot启动项并检查
C3750#configure terminal
C3750(config)#boot system switch all flash:c3750-ipbasek9-mz.122-55.SE8.bin

验证boot设置:

C3750#show boot
BOOT path-list   : flash:c3750-ipbasek9-mz.122-55.SE8.bin
Config file     : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break    : no
Manual Boot     : no
HELPER path-list  :
Auto upgrade    : yes
Auto upgrade path  :
——————-
Switch 2
——————-
BOOT path-list   : flash:c3750-ipbasek9-mz.122-55.SE8.bin
Config file     : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break    : no
Manual Boot     : no
HELPER path-list  :

Auto upgrade    : no
Auto upgrade path  :
——————-
Switch 3
——————-
BOOT path-list   : flash:c3750-ipbasek9-mz.122-55.SE8.bin
Config file     : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break    : no
Manual Boot     : no
HELPER path-list  :

Auto upgrade    : no
Auto upgrade path  :

可以看到三台交换机boot启动项均已配置成功,下次启动会从新ios载入

8.保存
C3750#write
Building configuration…
[OK]
9.重启
C3750**#reload**
Proceed with reload? [confirm]
User Access Verification

Username:

等待5-10分钟。。。

10.重新登录,查看ios版本
C3750**#show version**
Cisco IOS Software, C3750 Software (C3750-IPBASEK9-M), Version 12.2(55)SE8, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Wed 26-Jun-13 11:25 by prod_rel_team
Image text-base: 0x01000000, data-base: 0x02D00000

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)

C3750 uptime is 4 minutes
System returned to ROM by power-on
System restarted at 12:56:31 CN Thu Apr 23 2015
System image file is “flash:c3750-ipbasek9-mz.122-55.SE8.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 WS-C3750-24P (PowerPC405) processor (revision K0) with 131072K bytes of memory.
Processor board ID FDO1148Y0Z5
Last reset from power-on
3 Virtual Ethernet interfaces
120 FastEthernet interfaces
10 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address    : 00:1E:7A:FE:7B:80
Motherboard assembly number   : 73-9672-09
Power supply part number    : 341-0029-05
Motherboard serial number    : FDO114800E3
Power supply serial number   : LIT114407XP
Model revision number      : K0
Motherboard revision number   : B0
Model number          : WS-C3750-24PS-S
System serial number      : FDO1148Y0Z5
Top Assembly Part Number    : 800-25860-04
Top Assembly Revision Number  : D0
Version ID           : V05
CLEI Code Number        : CNMV1K0CRD
Hardware Board Revision Number : 0x01

Switch Ports Model       SW Version      SW Image        
—— —– —–       ———-      ———-       
*  1 26  WS-C3750-24P    12.2(55)SE8      C3750-IPBASEK9-M    
   2 52  WS-C3750-48TS   12.2(55)SE8      C3750-IPBASEK9-M    
   3 52  WS-C3750-48TS   12.2(55)SE8      C3750-IPBASEK9-M    

Switch 02
———
Switch Uptime          : 4 minutes
Base ethernet MAC Address    : 00:1E:14:CC:05:80
Motherboard assembly number   : 73-9680-10
Power supply part number    : 341-0028-02
Motherboard serial number    : FDO1142045Q
Power supply serial number   : LIT113608JR
Model revision number      : N0
Motherboard revision number   : B0
Model number          : WS-C3750-48TS-S
System serial number      : FDO1142Y0VZ
SFP Module assembly part number : 73-7757-03
SFP Module revision number   : A0
SFP Module serial number    : FDO11410739
Top assembly part number    : 800-25854-02
Top assembly revision number  : F0
Version ID           : V05
CLEI Code Number        : CNMV300CRE

Switch 03
———
Switch Uptime          : 4 minutes
Base ethernet MAC Address    : 00:1B:90:A8:4B:80
Motherboard assembly number   : 73-9680-10
Power supply part number    : 341-0028-02
Motherboard serial number    : CAT111556CG
Power supply serial number   : LIT10420786
Model revision number      : N0
Motherboard revision number   : B0
Model number          : WS-C3750-48TS-S
System serial number      : CAT1115RJ0N
SFP Module assembly part number : 73-7757-03
SFP Module revision number   : A0
SFP Module serial number    : CAT111558ST
Top assembly part number    : 800-25854-02
Top assembly revision number  : F0
Version ID           : V05
CLEI Code Number        : CNMV300CRE

Configuration register is 0xF

可以看到三台交换机的ios已经由原来的 12.2(35)SE5 成功升级为 12.2(55)SE8

11.最后检查

通过一些show命令和ping上联和下联设备等方式检查升级后的交换机是否正常工作。

至此,堆叠交换机的ios升级已全部成功完成。

思科3650/3850堆叠交换机升级IOS

思科3850堆叠交换机最近出现日志报警:%PLATFORM-4-ELEMENT_WARNING:Switch 1 R0/0: smand: 1/RP/0: Used Memory value 91% exceeds warning level 90%,经检查,系IOS的BUG,需要升级IOS解决。详情可参见另一篇文章:https://www.hello2099.com/1848.html

现整理了一下IOS升级步骤,思科3650/3850交换机通用,供以后参考。

3650/3850堆叠升级

1交换机现有软件版本
Switch Ports Model SW Version SW Image Mode  
 * 1 56 WS-C3850-48T 16.3.6 CAT3K_CAA-UNIVERSALK9 INSTALL
   2 32 WS-C3850-24T 16.3.6 CAT3K_CAA-UNIVERSALK9 INSTALL

2,从官网下载带星标的建议IOS版本
3,检查交换机剩余空间是否足够。

空间不够的话执行第8步,清理flash:

4,保证交换机和PC互通,PC开启TFTP或在FTP服务端软件。
5,将新IOS文件通过TFTP或FTP或USB上传到堆叠交换机的Master那一台。
Switch# copy tftp://192.168.1.4/cat3k_caa-universalk9.16.03.08.SPA.bin flash:cat3k_caa-universalk9.16.03.08.SPA.bin

Destination filename [cat3k_caa-universalk9.16.03.08.SPA.bin]? 

Accessing tftp://192.168.1.4/cat3k_caa-universalk9.16.03.08.SPA.bin…Loading cat3k_caa-universalk9.16.03.08.SPA.bin from 192.168.196.74 (via Vlan2): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK – 535578976 bytes]

535578976 bytes copied in 185.077 secs (2893817 bytes/sec)

耗时约3分钟。
6,升级IOS,系统会自动将Master的IOS复制到每一台slave交换机上以后,再进行升级。
Switch# request platform software package install switch all file flash:cat3k_caa-universalk9.16.03.08.SPA.bin auto-copy
— Starting install local lock acquisition on switch 1 —
Finished install local lock acquisition on switch 1
Expanding image file: flash:cat3k_caa-universalk9.16.03.08.SPA.bin
[1]: Copying flash:cat3k_caa-universalk9.16.03.08.SPA.bin from switch 1 to switch 2
[2]: Finished copying to switch 2
[1 2]: Expanding file
[1 2]: Finished expanding all-in-one software package in switch 1 2
SUCCESS: Finished expanding all-in-one software package.
[1 2]: Performing install
[1]: install package(s) on switch 1
……
Checking status of install on [1 2]
[1 2]: Finished install in switch 1 2
SUCCESS: Finished install: Success on [1 2]
可以看到,两台均已将新IOS文件安装完成,耗时约6分钟。

7,重启交换机,完成升级。
Switch# reload
重启耗时约8分钟,以上所有时间都是2台交换机的所需时间。
重启之后再次检查IOS版本,可以看到已经成功升级。
Switch Ports Model SW Version SW Image Mode
  * 1 56 WS-C3850-48T 16.3.8 CAT3K_CAA-UNIVERSALK9 INSTALL
   2 32 WS-C3850-24T 16.3.8 CAT3K_CAA-UNIVERSALK9 INSTALL
8,清理flash:中多余文件,系统会自动判断删除不再使用的文件,删除前系统会提示确认。
Switch# request platform software package clean switch all file flash:

以上是采用新的Install Mode升级IOS,还有一种是老的Bundle Mode,这里就不写了,官网都有。

  • 2
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值