Speaking of Cisco's switch upgrades, most people think of the following steps:
(1) Upload the system. bin file to the switch via TFTP or FTP
(2) Delete the original. bin file, reboot (or manually set the boot order)
(3) upgrade completed after reboot.
Indeed, 2960, 3560, 3750 and so on switch upgrades can be done through the above points. However, Cisco's 3650 switch upgrade is somewhat different from what it used to be.
Before upgrading, take a look at the dir information in 3650
Switch#dir
Directory of flash:/
15490-rw-15954556 Feb 2018 00:53:01 +00:00 cat3k_caa-guestshell.16.03.05b.spa.pkg
15491-rw-22301472 Feb 2018 00:52:59 +00:00 cat3k_caa-rpbase.16.03.05b.spa.pkg
15492-rw-266035828 Feb 2018 00:53:01 +00:00 cat3k_caa-rpcore.16.03.05b.spa.pkg
15493-rw-9089660 Feb 2018 00:53:00 +00:00 cat3k_caa-srdriver.16.03.05b.spa.pkg
15494-rw-212812400 Feb 2018 00:53:00 +00:00 cat3k_caa-wcm.16.03.05b.spa.pkg
15495-rw-13423224 Feb 2018 00:53:00 +00:00 cat3k_caa-webui.16.03.05b.spa.pkg
15496-rw-4748 Feb 2018 00:53:24 +00:00 packages.conf
15497-rw-629 Jul 2018 02:09:08 +00:00 Bootloader_evt_handle.log
15498 drwx 4096 Feb 2018 00:59:14 +00:00 Core
54209 drwx 4096 2018 00:55:52 +00:00 Prst_sync
69697 drwx 4096 2018 00:55:53 +00:00 Rollback_timer
77441 drwx 4096 Jul 2018 02:09:22 +00:00 Dc_profile_dir
77443 drwx 4096 Feb 2018 00:56:02 +00:00 Gs_script
15499-rw-65301 Jul 2018 02:09:39 +00:00 MEMLEAK.TCL
15500 drwx 4096 2018 00:56:31 +00:00 Installer
15502-rw-2097152 Jul 2018 02:12:32 +00:00 Nvram_config
15503-rw-2097152 Jul 2018 02:12:32 +00:00 Nvram_config_bkup
15504-rw-35 Jul 2018 06:29:18 +00:00 Pnp-tech-time
15505-rw-54759 Jul 2018 06:29:21 +00:00 pnp-tech-discovery-summary
Here you will find that there is no. bin file.
However, upgrading here still requires the use of the. bin file, as the upgrade files you download from the Cisco Web site are. Bin. Let's take a look at the specific steps:
1, download the necessary upgrade files from the website, the file extension is. bin.
2. Upload to the switch via TFTP, as follows:
switch#copy tftp://10.0.0.2/cat3k_caa-universalk9.16.03.06.spa.bin Flash:
Destination filename [cat3k_caa-universalk9.16.03.06.spa.bin]?
Accessing Tftp://10.0.0.2/cat3k_caa-universalk9.16.03.06.spa.bin ...
Loading Cat3k_caa-universalk9.16.03.06.spa.bin from 10.0.0.2 (via GIGABITETHERNET1/0/2):!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK-537577577 bytes]
537577577 bytes copied in 211.316 secs (2543951 bytes/sec)
3, unlike the previous upgrade is here, execute the following command to install
switch#Request Platform software package Install switch all file Flash:cat3k_caa-universalk9.16.03.06.spa.bin
---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.06.spa.bin
[1]: Expanding file
[1]: Finished expanding All-in-one software package in switch 1
Success:finished expanding All-in-one software package.
[1]: Performing install
Success:install finished
[1]: Install package (s) on switch 1
---starting list of software package changes---
Old Files list:
Removed cat3k_caa-guestshell.16.03.05b.spa.pkg
Removed cat3k_caa-rpbase.16.03.05b.spa.pkg
Removed cat3k_caa-rpcore.16.03.05b.spa.pkg
Removed cat3k_caa-srdriver.16.03.05b.spa.pkg
Removed cat3k_caa-wcm.16.03.05b.spa.pkg
Removed cat3k_caa-webui.16.03.05b.spa.pkg
New Files list:
Added cat3k_caa-guestshell.16.03.06.spa.pkg
Added cat3k_caa-rpbase.16.03.06.spa.pkg
Added cat3k_caa-rpcore.16.03.06.spa.pkg
Added cat3k_caa-srdriver.16.03.06.spa.pkg
Added cat3k_caa-wcm.16.03.06.spa.pkg
Added cat3k_caa-webui.16.03.06.spa.pkg
Finished list of software package changes
Success:software provisioned. New software would load on reboot.
[1]: Finished install successful on switch 1
Checking Status of Install on [1]
[1]: Finished install in switch 1
Success:finished install:success on [1]
In fact, to upgrade here to complete the half, because the above hint:New software will load on reboot. This means that the restart is initiated with the new system.
We then use Dir to see:
Switch#dir
Directory of flash:/
15490-rw-15954556 Feb 2018 00:53:01 +00:00 cat3k_caa-guestshell.16.03.05b.spa.pkg
15491-rw-22301472 Feb 2018 00:52:59 +00:00 cat3k_caa-rpbase.16.03.05b.spa.pkg
15492-rw-266035828 Feb 2018 00:53:01 +00:00 cat3k_caa-rpcore.16.03.05b.spa.pkg
15493-rw-9089660 Feb 2018 00:53:00 +00:00 cat3k_caa-srdriver.16.03.05b.spa.pkg
15494-rw-212812400 Feb 2018 00:53:00 +00:00 cat3k_caa-wcm.16.03.05b.spa.pkg
15495-rw-13423224 Feb 2018 00:53:00 +00:00 cat3k_caa-webui.16.03.05b.spa.pkg
15509-rw-4737 Jul 2018 02:37:29 +00:00 packages.conf
15497-rw-666 Jul 2018 02:21:44 +00:00 Bootloader_evt_handle.log
15498 drwx 4096 Feb 2018 00:59:14 +00:00 Core
54209 drwx 4096 2018 00:55:52 +00:00 Prst_sync
69697 drwx 4096 2018 00:55:53 +00:00 Rollback_timer
77441 drwx 4096 Jul 2018 02:21:58 +00:00 Dc_profile_dir
77443 drwx 4096 Feb 2018 00:56:02 +00:00 Gs_script
15499-rw-65301 Jul 2018 02:22:15 +00:00 MEMLEAK.TCL
15500 drwx 4096 2018 00:56:31 +00:00 Installer
15502-rw-2097152 Jul 2018 02:25:06 +00:00 Nvram_config
15503-rw-2097152 Jul 2018 02:25:06 +00:00 Nvram_config_bkup
15504-rw-35 Jul 2018 06:29:18 +00:00 Pnp-tech-time
15505-rw-54759 Jul 2018 06:29:21 +00:00 pnp-tech-discovery-summary
15496-rw-0 Jul 2018 02:37:52 +00:00. onreboot
15511-rw-15950464 Jul 2018 02:36:20 +00:00 cat3k_caa-guestshell.16.03.06.spa.pkg
15516-rw-22302593 Jul 2018 02:36:25 +00:00 cat3k_caa-rpbase.16.03.06.spa.pkg
15512-rw-265124472 Jul 2018 02:36:21 +00:00 cat3k_caa-rpcore.16.03.06.spa.pkg
15514-rw-9095808 Jul 2018 02:36:23 +00:00 cat3k_caa-srdriver.16.03.06.spa.pkg
15510-rw-4737 Jul 2018 02:37:15 +00:00 cat3k_caa-universalk9.16.03.06.spa.conf
15515-rw-211675764 Jul 2018 02:36:25 +00:00 cat3k_caa-wcm.16.03.06.spa.pkg
15513-rw-13423228 Jul 2018 02:36:23 +00:00 cat3k_caa-webui.16.03.06.spa.pkg
15508-rw-4748 Jul 2018 02:37:29 +00:00 packages.conf.00-
1621966848 Bytes Total (453984256 bytes free)
The above shows you can see that the new version of the system is installed in Flash, but the old version of the system is still in. Then how to remove the old version of the system to release the system space it? Let's go down.
4. Restart the switch and the switch will start with a new version of the system after rebooting
Cisco IOS Software [Denali], Catalyst L3 Switch Software (cat3k_caa-universalk9-m), Version 16.3.6, RELEASE Software (FC3)
Technical Support:http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Wed 28-feb-18 15:23 by Mcpre
The above display has been started from 16.3.6, and then we can release the system space by the following command:
switch#Request Platform software package Clean switch all file Flash:
Running command on Switch 1
Cleaning up unnecessary package files
Scanning boot directory for packages ... done.
Preparing Packages list to delete ...
Packages.conf
File is on use, would not delete.
Cat3k_caa-guestshell.16.03.06.spa.pkg
File is on use, would not delete.
Cat3k_caa-rpbase.16.03.06.spa.pkg
File is on use, would not delete.
Cat3k_caa-rpcore.16.03.06.spa.pkg
File is on use, would not delete.
Cat3k_caa-srdriver.16.03.06.spa.pkg
File is on use, would not delete.
Cat3k_caa-wcm.16.03.06.spa.pkg
File is on use, would not delete.
Cat3k_caa-webui.16.03.06.spa.pkg
File is on use, would not delete.
Done.
The following files would be deleted:
[1]:
/flash/cat3k_caa-guestshell.16.03.05b.spa.pkg
/flash/cat3k_caa-rpbase.16.03.05b.spa.pkg
/flash/cat3k_caa-rpcore.16.03.05b.spa.pkg
/flash/cat3k_caa-srdriver.16.03.05b.spa.pkg
/flash/cat3k_caa-universalk9.16.03.06.spa.conf
/flash/cat3k_caa-wcm.16.03.05b.spa.pkg
/flash/cat3k_caa-webui.16.03.05b.spa.pkg
/flash/packages.conf.00-
Want to proceed? [Y/n]y
[1]:
Deleting file flash:cat3k_caa-guestshell.16.03.05b.spa.pkg ... done.
Deleting file flash:cat3k_caa-rpbase.16.03.05b.spa.pkg ... done.
Deleting file flash:cat3k_caa-rpcore.16.03.05b.spa.pkg ... done.
Deleting file flash:cat3k_caa-srdriver.16.03.05b.spa.pkg ... done.
Deleting file flash:cat3k_caa-universalk9.16.03.06.spa.conf ... done.
Deleting file flash:cat3k_caa-wcm.16.03.05b.spa.pkg ... done.
Deleting file flash:cat3k_caa-webui.16.03.05b.spa.pkg ... done.
Deleting file flash:packages.conf.00-... done.
Success:files deleted.
switch#
Then with the Dir view will find that the old version of the system has been deleted, then 3650 has been upgraded to complete.
Description: It's a good idea to check the official documentation before upgrading the system, but when I look at the official documentation for the 3650 upgrade, I found that the fourth step in the document was to release the system space before uploading the file, but if you did follow that, you would find that freeing up space would be impossible! Why not, leave you to think, but in fact the answer is in this article ...
Talk about the Cisco 3650 Switch system upgrade that thing!