04-27-2017 07:05 PM - edited 03-08-2019 10:22 AM
I am attempting to upgrade the IOS image on a 3850 switch stack. I have uploaded the new IOS image to the switches in the stack. The documentation I have read states to use the "software install" option from Privileged Exec mode. This option is not available using the existing IOS image currently running on the switch stack. I set the "boot system" to load the new IOS image (cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin). Once this image loads the mode is BUNDLE and not INSTALL which I need to have this running in order to install the new packages.
I was hoping to install the IOS from a USB thumb drive using the "software install file usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin". But since the IOS is not running I cannot do so.
Any assistance would be greatly appreciated.
04-27-2017 08:17 PM
But since the IOS is not running I cannot do so.
Sez who?
Even if the switch/stack is running 3.3.X, for instance, one can invoke the "software install" script to initiate the install mode of a different IOS version.
05-08-2017 12:05 PM
Here is the info I get after entering "software" and "software install"
SW#software ?
% Unrecognized command
SW#software install ?
% Unrecognized command
Here is the output from the "dir flash"
SW#dir flash:
Directory of flash:/
143138 -rw- 2097152 Apr 27 2017 13:32:48 -07:00 nvram_config
143139 -rw- 15954556 Dec 16 2016 08:22:36 -08:00 cat3k_caa-guestshell.16.03.02.SPA.pkg
143140 -rw- 22173076 Dec 16 2016 08:22:34 -08:00 cat3k_caa-rpbase.16.03.02.SPA.pkg
143141 -rw- 266488436 Dec 16 2016 08:22:36 -08:00 cat3k_caa-rpcore.16.03.02.SPA.pkg
15905 -rw- 9087612 Dec 16 2016 08:22:35 -08:00 cat3k_caa-srdriver.16.03.02.SPA.pkg
15906 -rw- 178489968 Dec 16 2016 08:22:35 -08:00 cat3k_caa-wcm.16.03.02.SPA.pkg
31809 -rw- 13394552 Dec 16 2016 08:22:35 -08:00 cat3k_caa-webui.16.03.02.SPA.pkg
31810 -rw- 4741 Dec 16 2016 08:22:49 -08:00 packages.conf
31811 -rw- 333 Apr 27 2017 11:24:40 -07:00 bootloader_evt_handle.log
159041 drwx 4096 Dec 16 2016 08:47:30 -08:00 core
166993 drwx 4096 Dec 16 2016 08:54:05 -08:00 .prst_sync
182897 drwx 4096 Dec 16 2016 08:25:43 -08:00 .rollback_timer
190849 drwx 4096 Apr 27 2017 11:24:54 -07:00 dc_profile_dir
190851 drwx 4096 Dec 16 2016 08:25:49 -08:00 gs_script
31812 -rw- 65301 Apr 27 2017 11:25:08 -07:00 memleak.tcl
198801 drwx 4096 Dec 16 2016 08:26:02 -08:00 .installer
31813 -rw- 76 Apr 27 2017 11:24:55 -07:00 boothelper.log
31814 -rw- 35 Apr 27 2017 10:18:37 -07:00 pnp-tech-time
31815 -rw- 125164 Apr 27 2017 10:18:43 -07:00 pnp-tech-discovery-summary
31816 -rw- 976 Apr 27 2017 12:29:00 -07:00 vlan.dat
31817 -rw- 328618032 Apr 27 2017 10:22:59 -07:00 cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin
159043 drwx 4096 Apr 27 2017 10:46:09 -07:00 virtual-instance
166994 drwx 4096 Apr 27 2017 10:46:09 -07:00 vman_fdb
174946 drwx 4096 Apr 27 2017 10:48:51 -07:00 wnweb_store
23863 -rw- 82000420 Apr 27 2017 10:51:33 -07:00 cat3k_caa-base.SPA.03.07.05E.pkg
23864 -rw- 5663420 Apr 27 2017 10:51:33 -07:00 cat3k_caa-drivers.SPA.03.07.05E.pkg
23865 -rw- 36965384 Apr 27 2017 10:51:33 -07:00 cat3k_caa-infra.SPA.03.07.05E.pkg
23866 -rw- 46449984 Apr 27 2017 10:51:33 -07:00 cat3k_caa-iosd-universalk9.SPA.152-3.E5.pkg
23867 -rw- 28959628 Apr 27 2017 10:51:33 -07:00 cat3k_caa-platform.SPA.03.07.05E.pkg
23868 -rw- 128574272 Apr 27 2017 10:51:34 -07:00 cat3k_caa-wcm.SPA.10.3.150.0.pkg
23862 -rw- 1236 Apr 27 2017 10:51:52 -07:00 running-packages.conf
3458338816 bytes total (2109812736 bytes free)
SW#
Here is the running version of IOS on the switches
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 16 WS-C3850-12XS 16.3.2 CAT3K_CAA-UNIVERSALK9 INSTALL
2 16 WS-C3850-12XS 16.3.2 CAT3K_CAA-UNIVERSALK9 INSTALL
05-08-2017 03:08 PM
Here is the info I get after entering "software" and "software install"
The switch is behaving normally. Currently, the stack is running Denali 16.X, isn't it?
If someone (bothered to) read the Release Notes, Cisco has changed the command to upgrade the IOS from 16.X. Instead of the "software install" command it is now "request platform" command.
Hope this helps.
Please don't forget to rate our useful posts.
05-09-2017 05:49 AM
Hi
As Leo says... Please read the release notes for the software you are updating to. They say how to update and it is different for the different software trains. IOS XE/Denali/Everest
Regards
02-06-2018 12:23 AM - edited 02-06-2018 12:30 AM
hi leo,
pre, how do you "downgrade" 3850 IOS from Denali 16 to 3.6.4?
IOS-XE 3.6.4 is kinda the "standard" for our 3850 switches.
i got a switch: prompt (made me oops?!) after performing the request platform software package install command.
the switch is NOT in production yet. i'm just staging it at the moment.
Switch#show version
Cisco IOS Software [Denali], Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 16.3.5b, RELEASE SOFTWARE (fc1)
Switch# dir
Directory of flash:/
77602 -rw- 2097152 Feb 6 2018 07:33:18 +00:00 nvram_config
77603 -rw- 15954556 Jan 12 2018 22:34:53 +00:00 cat3k_caa-guestshell.16.03.05b.SPA.pkg
77604 -rw- 22301472 Jan 12 2018 22:34:51 +00:00 cat3k_caa-rpbase.16.03.05b.SPA.pkg
77605 -rw- 266035828 Jan 12 2018 22:34:53 +00:00 cat3k_caa-rpcore.16.03.05b.SPA.pkg
77606 -rw- 9089660 Jan 12 2018 22:34:52 +00:00 cat3k_caa-srdriver.16.03.05b.SPA.pkg
77607 -rw- 212812400 Jan 12 2018 22:34:52 +00:00 cat3k_caa-wcm.16.03.05b.SPA.pkg
77608 -rw- 13423224 Jan 12 2018 22:34:52 +00:00 cat3k_caa-webui.16.03.05b.SPA.pkg
77609 -rw- 4748 Jan 12 2018 22:35:17 +00:00 packages.conf
77610 -rw- 148 Feb 6 2018 07:29:20 +00:00 bootloader_evt_handle.log
77611 drwx 4096 Jan 12 2018 22:47:46 +00:00 core
15521 drwx 4096 Jan 12 2018 22:38:00 +00:00 .prst_sync
31042 drwx 4096 Jan 12 2018 22:38:02 +00:00 .rollback_timer
38801 drwx 4096 Feb 6 2018 07:29:34 +00:00 dc_profile_dir
38803 drwx 4096 Jan 12 2018 22:38:10 +00:00 gs_script
--More-- 77612 -rw- 65301 Feb 6 2018 07:29:52 +00:00 memleak.tcl
77613 drwx 4096 Jan 12 2018 22:38:39 +00:00 .installer
77615 -rw- 2097152 Feb 6 2018 07:33:18 +00:00 nvram_config_bkup
77616 -rw- 34 Feb 6 2018 07:35:27 +00:00 pnp-tech-time
77617 -rw- 45647 Feb 6 2018 07:35:29 +00:00 pnp-tech-discovery-summary
77618 -rw- 302988468 Feb 6 2018 07:42:19 +00:00 cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.bin
Switch#request platform software package install switch 1 file flash:cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.bin on-reboot retain-source-file verbose
--- Starting install local lock acquisition on switch 1 ---
Finished install local lock acquisition on switch 1
Expanding image file: flash:cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.bin
[1]: Expanding file
[1]: Finished expanding all-in-one software package in switch 1
SUCCESS: Finished expanding all-in-one software package.
... expand successful
[1]: Performing install
SUCCESS: install Finished
... Operation install completed. Checking for status
[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-base.SPA.03.06.04.E.pkg
Added cat3k_caa-drivers.SPA.03.06.04.E.pkg
Added cat3k_caa-infra.SPA.03.06.04.E.pkg
Added cat3k_caa-iosd-universalk9.SPA.152-2.E4.pkg
Added cat3k_caa-platform.SPA.03.06.04.E.pkg
Added cat3k_caa-wcm.SPA.10.2.140.0.pkg
Finished list of software package changes
SUCCESS: Software provisioned. New software will 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]
Ensuring that cached content is written to media
... cached content flushed to media
Switch#
Switch#
*Feb 6 08:02:28.194: %PLATFORM-4-ELEMENT_WARNING:Switch 1 R0/0: smand: 1/RP/0: limited space - copy files out of flash: directory. flash: value 76% (1207 MB) exceeds warning level 70% (1110 MB)
Switch#request platform software package clean switch 1 file flash:
Running command on switch 1
Cleaning up unnecessary package files
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
cat3k_caa-guestshell.16.03.05b.SPA.pkg
File is in use, will not delete.
cat3k_caa-rpbase.16.03.05b.SPA.pkg
File is in use, will not delete.
cat3k_caa-rpcore.16.03.05b.SPA.pkg
File is in use, will not delete.
cat3k_caa-srdriver.16.03.05b.SPA.pkg
File is in use, will not delete.
cat3k_caa-wcm.16.03.05b.SPA.pkg
File is in use, will not delete.
cat3k_caa-webui.16.03.05b.SPA.pkg
File is in use, will not delete.
packages.conf
File is in use, will not delete.
done.
The following files will be deleted:
[1]:
/flash/cat3k_caa-base.SPA.03.06.04.E.pkg
/flash/cat3k_caa-drivers.SPA.03.06.04.E.pkg
/flash/cat3k_caa-infra.SPA.03.06.04.E.pkg
/flash/cat3k_caa-iosd-universalk9.SPA.152-2.E4.pkg
/flash/cat3k_caa-platform.SPA.03.06.04.E.pkg
/flash/cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.bin
/flash/cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.conf
/flash/cat3k_caa-wcm.SPA.10.2.140.0.pkg
/flash/packages.conf.00-
Do you want to proceed? [y/n]y
[1]:
Deleting file flash:cat3k_caa-base.SPA.03.06.04.E.pkg ... done.
Deleting file flash:cat3k_caa-drivers.SPA.03.06.04.E.pkg ... done.
Deleting file flash:cat3k_caa-infra.SPA.03.06.04.E.pkg ... done.
Deleting file flash:cat3k_caa-iosd-universalk9.SPA.152-2.E4.pkg ... done.
Deleting file flash:cat3k_caa-platform.SPA.03.06.04.E.pkg ... done.
Deleting file flash:cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.bin ... done.
Deleting file flash:cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.conf ... done.
Deleting file flash:cat3k_caa-wcm.SPA.10.2.140.0.pkg ... done.
Deleting file flash:packages.conf.00- ... done.
SUCCESS: Files deleted.
Switch#
Switch#dir flash:/*.pkg
Directory of flash:/*.pkg
Directory of flash:/
77603 -rw- 15954556 Jan 12 2018 22:34:53 +00:00 cat3k_caa-guestshell.16.03.05b.SPA.pkg
77604 -rw- 22301472 Jan 12 2018 22:34:51 +00:00 cat3k_caa-rpbase.16.03.05b.SPA.pkg
77605 -rw- 266035828 Jan 12 2018 22:34:53 +00:00 cat3k_caa-rpcore.16.03.05b.SPA.pkg
77606 -rw- 9089660 Jan 12 2018 22:34:52 +00:00 cat3k_caa-srdriver.16.03.05b.SPA.pkg
77607 -rw- 212812400 Jan 12 2018 22:34:52 +00:00 cat3k_caa-wcm.16.03.05b.SPA.pkg
77608 -rw- 13423224 Jan 12 2018 22:34:52 +00:00 cat3k_caa-webui.16.03.05b.SPA.pkg
1624104960 bytes total (994193408 bytes free)
Switch#reload
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]
*Feb 6 08:04:55.360: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
Chassis 1 reloading, reason - Reload command
Feb 6 08:05:07.748 R0/0: %PMAN-5-EXITACTION: Process manager is exiting: reload fp action requested
Feb 6 08:05:14.159 R0/0: %PMAN-5-EXITACTION: Process manager is exiting: process exit with reload stack code
octeon_wdt: WDT device closed unexpectedly. WDT will not stop!
reboot: Restarting system
Booting...
Interface GE 0 link down***ERROR: PHY link is down
Getting rest of image
Reading full image into memory...flash:cat3k_caa-base.SPA.03.06.04.E.pkg: no such file or directory
loading flash:packages.conf
Reading full image into memory....done
Copying 'cat3k_caa-base.SPA.03.06.04.E.pkg' into the buffer
Failed to open file: no such file or directory
Getting rest of image
Reading full image into memory...flash:cat3k_caa-base.SPA.03.06.04.E.pkg: no such file or directory
loading flash:packages.conf
Reading full image into memory....done
Copying 'cat3k_caa-base.SPA.03.06.04.E.pkg' into the buffer
Failed to open file: no such file or directory
The system is unable to boot automatically. The
BOOT environment variable needs to be set to a
bootable image.
switch: boot usbflash0:/cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.bin
Reading full image into memory....................................................................................................................................................................................................................................................................................................done
Bundle Image
--------------------------------------
Kernel Address : 0x5342f294
Kernel Size : 0x418a9b/4295323
Initramfs Address : 0x53847d30
Initramfs Size : 0xe780c3/15171779
Compression Format: .mzip
Bootable image at @ ram:0x5342f294
Bootable image segment 0 address range [0x81100000, 0x82140000] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "usbflash0:/cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.bin" uncompressed and installed, entry point: 0x8166a600
Loading Linux kernel with entry point 0x8166a600 ...
Bootloader: Done loading app on core_mask: 0xf
### Launching Linux Kernel (flags = 0x5)
All packages are Digitally Signed
Starting System Services
FIPS(NGWC): Flash Key Check : Begin
FIPS(NGWC): Flash Key Check : End, Not Found, FIPS Mode Not Enabled
Front-end Microcode IMG MGR: found 4 microcode images for 1 device.
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_0
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_1
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_2
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_3
Front-end Microcode IMG MGR: Preparing to program device microcode...
Front-end Microcode IMG MGR: Preparing to program device[0]...594412 bytes.
Front-end Microcode IMG MGR: Programming device 0...rwRrrrrrrwssssssss
<SNIP>
Booting...
Interface GE 0 link down***ERROR: PHY link is down
Getting rest of image
Reading full image into memory...flash:cat3k_caa-base.SPA.03.06.04.E.pkg: no such file or directory
loading flash:packages.conf
Reading full image into memory....done
Copying 'cat3k_caa-base.SPA.03.06.04.E.pkg' into the buffer
Failed to open file: no such file or directory
Getting rest of image
Reading full image into memory...flash:cat3k_caa-base.SPA.03.06.04.E.pkg: no such file or directory
loading flash:packages.conf
Reading full image into memory....done
Copying 'cat3k_caa-base.SPA.03.06.04.E.pkg' into the buffer
Failed to open file: no such file or directory
The system is unable to boot automatically. The
BOOT environment variable needs to be set to a
bootable image.
switch: <<< LOOP BACK TO THIS PROMPT AGAIN. AM I SCREWED??
06-01-2018 07:19 AM
01-03-2019 08:15 PM
Is it OK to delete the bin file for the current version of IOS i'm running....let's say 3.6.4? I'm trying to make space to install 16.3.7 but there isn't enough space.
09-11-2024 02:49 AM
You can run this command before uploading new FW, or after upgrading finished.
request platform software package clean
05-09-2017 04:59 AM
Thanks for the 1-star rating, Bud.
08-16-2018 06:09 AM - edited 08-16-2018 06:12 AM
Below downgrade was working for me:
Cisco 3850 downgrade from IOS version 16.x to 03-07.x
First :
copy cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin to root of usb stick
copy cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin to flash:
place usbstick in front of the switch.
Second:
logon to switch:
switch#request platform software package install switch 1 file flash:cat3k_caa-
universalk9.SPA.03.07.05.E.152-3.E5.bin on-reboot retain-source-file verbose
!
switch#request platform software package clean switch 1 file flash:
!
switch#Do you want to proceed? [y/n] y
!
switch#reload
!
Proceed with reload? [confirm]
!
[reboot switch, wait]
!
switch: boot usbflash0:/cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin
!
Switch(config)# boot syst switch all flash:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin
!
Switch#sh ver
Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.07.05.E RELEASE SOFTWARE (fc1)
04-27-2017 09:03 PM
hi,
leo is right. you might had a typo error.
what do you get after you issue software install ? from privilege EXEC mode on the 3850?
could you also post dir or show flash?
04-28-2017 02:34 PM
I will post this information when I get back to the site in a week.
04-29-2017 06:43 AM
Hi,
Just load the new image to a USB and then copy it to the switch via the command
Switch#copy usbflash0:[image name] flash:
And repeat the same command for the second switch
Switch#copy usbflash0:[image name] flash2:
----
When you copy the .bin file to a single switch, the install process replicates the file to the other switches in the stack. Once the file is present, enter this command:
3850# software install file flash:{Image_name}.bin
----
If this command does not work then we can use below options:
Switch(config)# boot
Then finally reload....
Hope this helps....
Regards,
Deepak Kumar
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide