11-17-2021 07:52 AM - edited 11-17-2021 11:01 AM
Hi,
I want to change from bundle mode to install
below is the list of dir flash:
61954 -rwx 2097152 Nov 17 2021 11:39:21 +03:00 nvram_config
61956 -rw- 305290172 Jul 20 2018 19:49:46 +03:00 cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin
61957 drwx 4096 Dec 30 2019 20:02:29 +03:00 dc_profile_dir
61963 -rw- 1248 Aug 3 2015 09:10:08 +03:00 packages.conf
12 drwx 4096 Aug 3 2015 09:10:37 +03:00 mnt
77446 -rw- 79122052 Aug 3 2015 09:10:04 +03:00 cat3k_caa-base.SPA.03.03.05SE.pkg
77447 -rw- 6521532 Aug 3 2015 09:10:04 +03:00 cat3k_caa-drivers.SPA.03.03.05SE.pkg
77448 -rw- 34530288 Aug 3 2015 09:10:04 +03:00 cat3k_caa-infra.SPA.03.03.05SE.pkg
77449 -rw- 34846028 Aug 3 2015 09:10:04 +03:00 cat3k_caa-iosd-universalk9.SPA.150-1.EZ5.pkg
77450 -rw- 25170832 Aug 3 2015 09:10:04 +03:00 cat3k_caa-platform.SPA.03.03.05SE.pkg
77451 -rw- 77456192 Aug 3 2015 09:10:05 +03:00 cat3k_caa-wcm.SPA.10.1.150.0.pkg
61959 -rwx 7276 Jul 17 2021 10:31:12 +03:00 vlan.dat
So I want to run the below command
software expand file flash:/cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin
before expanding, I want to clean up old files .How can I do that ?
Thanks
11-17-2021 11:18 AM
Hi,
Follow this link to convert from bundle to install mode.
https://www.reddit.com/r/Cisco/comments/7gg04m/cisco_3850_convert_from_bundle_to_install_mode/
HTH
11-17-2021 03:18 PM - edited 11-17-2021 03:19 PM
software install file flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin new force verb on-reboot
Use the command above to start the Install Mode process of unpacking/extracting the package files from the BIN file.
After the process completes, check to make sure the time & date stamp of packages.conf file. If the time and date is not the same as the time and dates of the new package files, check the content of the package file:
more flash:packages.conf | begin for NOVA
The package files inside the packages.conf file should point to the new version.
Next, use the "sh boot" command to make sure the boot variable string is pointing to the packages.conf file. In the "sh boot" output, make sure "Manual Boot" is "NO".
Reboot when everything looks good.
After the reboot, clean up the flash (or else the switch will nag).
NOTE: See attachment for better instructions (including pictures).
11-17-2021 09:02 PM - edited 11-17-2021 09:10 PM
Hi @Leo Laohoo and @Reza Sharifi
software install file flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin new force verb on-reboot
.
The switch was a stack member .I removed it from the stack.The plan is to create another stack
I tried the above and getting "I tried the below and getting "% Switch 5 must be running installed software to perform this operation"
And also how to remove the old " 1248 Aug 03 2015 06:10:08.0000000000 +00:00 packages.conf"
If I extract this will be over writen ?
Thanks
Thanks
11-17-2021 10:24 PM
Post the complete output to the following commands:
11-17-2021 10:50 PM - edited 11-17-2021 10:55 PM
Hi
Please see the below
Directory of flash:/
61954 -rwx 2097152 Nov 17 2021 11:39:21 +03:00 nvram_config
61956 -rw- 305290172 Jul 20 2018 19:49:46 +03:00 cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin
61957 drwx 4096 Dec 30 2019 20:02:29 +03:00 dc_profile_dir
61963 -rw- 1248 Aug 3 2015 09:10:08 +03:00 packages.conf
12 drwx 4096 Aug 3 2015 09:10:37 +03:00 mnt
77446 -rw- 79122052 Aug 3 2015 09:10:04 +03:00 cat3k_caa-base.SPA.03.03.05SE.pkg
77447 -rw- 6521532 Aug 3 2015 09:10:04 +03:00 cat3k_caa-drivers.SPA.03.03.05SE.pkg
77448 -rw- 34530288 Aug 3 2015 09:10:04 +03:00 cat3k_caa-infra.SPA.03.03.05SE.pkg
77449 -rw- 34846028 Aug 3 2015 09:10:04 +03:00 cat3k_caa-iosd-universalk9.SPA.150-1.EZ5.pkg
77450 -rw- 25170832 Aug 3 2015 09:10:04 +03:00 cat3k_caa-platform.SPA.03.03.05SE.pkg
77451 -rw- 77456192 Aug 3 2015 09:10:05 +03:00 cat3k_caa-wcm.SPA.10.1.150.0.pkg
61959 -rwx 7276 Jul 17 2021 10:31:12 +03:00 vlan.dat
sh boot
---------------------------
Switch 5
---------------------------
Current Boot Variables:
BOOT variable = flash:packages.conf; (This one I change but did not save )
Boot Variables on next reload:
BOOT variable = flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin;
Allow Dev Key = yes
Manual Boot = no
Enable Break = no
sh version
Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.08.E RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Mon 22-Jan-18 05:56 by prod_rel_team
Cisco IOS-XE software, Copyright (c) 2005-2015 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.
(http://www.gnu.org/licenses/gpl-2.0.html) For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.
ROM: IOS-XE ROMMON
BOOTLDR: CAT3K_CAA Boot Loader (CAT3K_CAA-HBOOT-M) Version 1.2, RELEASE SOFTWARE (P)
sw1 uptime is 22 hours, 5 minutes
Uptime for this control processor is 22 hours, 8 minutes
System returned to ROM by Power Failure at 20:13:27 UTC Mon Dec 30 2019
System image file is "flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin"
Last reload reason: Power Failure
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.
License Level: Ipbase
License Type: Permanent
Next reload license Level: Ipbase
cisco WS-C3850-48P (MIPS) processor with 4194304K bytes of physical memory.
Processor board ID FCY2011D0XL
3 Virtual Ethernet interfaces
312 Gigabit Ethernet interfaces
24 Ten Gigabit Ethernet interfaces
2048K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.
250456K bytes of Crash Files at crashinfo:.
1609272K bytes of Flash at flash:.
0K bytes of Dummy USB Flash at usbflash0:.
0K bytes of at webui:.
Base Ethernet MAC Address : 88:90:8d:19:36:00
Motherboard Assembly Number : 73-14442-10
Motherboard Serial Number : FCY2011D0XL
Model Revision Number : S0
Motherboard Revision Number : A0
Model Number : WS-C3850-48P
System Serial Number : FCY2011D0XL
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 5 56 WS-C3850-48P 03.06.08.E cat3k_caa-universalk9 BUNDLE
Configuration register is 0x102
Thanks
11-17-2021 11:30 PM - edited 11-17-2021 11:31 PM
So here is the steps:
1. software install file flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin new force verb on-reboot
2. Check the packages files are pointed to the correct version -- more flash:packages.conf | begin for NOVA
3. Remove the old boot variable statement and make sure the boot variable is pointed to "packages.conf".
conf t no boo system switch all boot system flash flash:packages.conf end wr
4. Save the config.
5. Reboot the switch.
Again, refer to my document -- Cisco 3850: IOS-XE/Firmware Upgrade
11-18-2021 12:21 AM
Hi @Leo Laohoo
As i said earlier in the post the following commands software install file flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin new force verb on-reboot giving the below "% Switch 5 must be running installed software to perform this operation""
and it is not proceeding the installation
Thanks
11-18-2021 01:01 AM
@bluesea2010 wrote:
Hi @Leo Laohoo
As i said earlier in the post the following commands software install file flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin new force verb on-reboot giving the below "% Switch 5 must be running installed software to perform this operation""
and it is not proceeding the installation
Is this switch in a stack?
11-18-2021 01:25 AM
hI @Leo Laohoo
Is this switch in a stack?
this switch was in a stack ,I removed from the stack .
It still holds the stack information
sh switch
Switch/Stack Mac Address : 8890.8d19.3600 - Local Mac Address
Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
------------------------------------------------------------
1 Member 0000.0000.0000 0 0 Provisioned
2 Member 0000.0000.0000 0 0 Provisioned
3 Member 0000.0000.0000 0 0 Provisioned
4 Member 0000.0000.0000 0 0 Provisioned
*5 Active 8890.8d19.3600 11 V04 Ready
6 Member 0000.0000.0000 0 0 Provisioned
Thanks
11-18-2021 01:42 AM
this switch was in a stack ,I removed from the stack .
% Switch 5 must be running installed software to perform this operation""
Since the switch was removed from the stack, you need to un-provision the switch first because right now the switch still thinks it is #5.
HTH
11-18-2021 02:05 AM
Reza is right. It must be some kind of a bug.
Do the following
no switch 1 provision no switch 2 provision no switch 3 provision no switch 4 provision no switch 6 provision switch 5 renumber 1
And then reboot the switch (it should boot up as switch #1).
And re-run the command again.
11-18-2021 03:00 AM
Hi,
Now getting the below
% Switch 1 must be running installed software to perform this operation
Thanks
11-18-2021 03:23 AM
Change the boot string to point to the packages.conf.
Boot that and re-run the command.
11-18-2021 03:33 AM - edited 11-18-2021 11:18 AM
Hi @Leo Laohoo and @Reza Sharifi
Thanks for your support always .
i exapnded the bin file
"software expand file flash:/cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin"
Preparing expand operation ...
[1]: Expanding bundle flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin
[1]: Copying package files
[1]: A different version of provisioning file packages.conf already exists in flash:.
The provisioning file from the expanded bundle will be saved as
flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.conf
[1]: Package files copied
[1]: Finished expanding bundle flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin
Directory of flash:/
61954 -rwx 2097152 Nov 18 2021 13:42:26 +03:00 nvram_config
61956 -rw- 305290172 Jul 20 2018 19:49:46 +03:00 cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin
61957 drwx 4096 Nov 18 2021 13:41:38 +03:00 dc_profile_dir
61964 -rw- 83298692 Nov 18 2021 13:53:13 +03:00 cat3k_caa-base.SPA.03.06.08E.pkg
61965 -rw- 3949504 Nov 18 2021 13:53:25 +03:00 cat3k_caa-drivers.SPA.03.06.08E.pkg
61966 -rw- 33811696 Nov 18 2021 13:53:15 +03:00 cat3k_caa-infra.SPA.03.06.08E.pkg
61963 -rw- 1248 Aug 3 2015 09:10:08 +03:00 packages.conf (this is still the old file )
12 drwx 4096 Aug 3 2015 09:10:37 +03:00 mnt
77446 -rw- 79122052 Aug 3 2015 09:10:04 +03:00 cat3k_caa-base.SPA.03.03.05SE.pkg
77447 -rw- 6521532 Aug 3 2015 09:10:04 +03:00 cat3k_caa-drivers.SPA.03.03.05SE.pkg
77448 -rw- 34530288 Aug 3 2015 09:10:04 +03:00 cat3k_caa-infra.SPA.03.03.05SE.pkg
77449 -rw- 34846028 Aug 3 2015 09:10:04 +03:00 cat3k_caa-iosd-universalk9.SPA.150-1.EZ5.pkg
77450 -rw- 25170832 Aug 3 2015 09:10:04 +03:00 cat3k_caa-platform.SPA.03.03.05SE.pkg
77451 -rw- 77456192 Aug 3 2015 09:10:05 +03:00 cat3k_caa-wcm.SPA.10.1.150.0.pkg
61959 -rwx 7276 Jul 17 2021 10:31:12 +03:00 vlan.dat
61967 -rw- 43109956 Nov 18 2021 13:53:19 +03:00 cat3k_caa-iosd-universalk9.SPA.152-2.E8.pkg
61968 -rw- 28447888 Nov 18 2021 13:53:17 +03:00 cat3k_caa-platform.SPA.03.06.08E.pkg
61962 -rw- 1251 Nov 18 2021 13:53:44 +03:00 cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.conf
61969 -rw- 112667612 Nov 18 2021 13:53:25 +03:00 cat3k_caa-wcm-ldpe.SPA.10.2.180.0.pkg
can I set the boot variable flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.conf
Please advise
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