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-18-2021 01:38 PM
@bluesea2010 wrote:
[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
Read the document I created Cisco 3850: IOS-XE/Firmware Upgrade. This error message is covered in the Gotcha section.
It is very easy to fix.
rename flash:packages.conf flash:packages.conf.00- rename flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.conf flash:packages.conf
Make sure the boot variable string points to "packages.conf" file.
Save the config and reboot.
11-18-2021 09:51 PM
hI @Leo Laohoo
If I extract the bin file and point to boot variable to packages.conf , still I need to install using the below command
software install file flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin new force verb on-reboot
2 )
The below video shows how to convert from bundle mode to install mode.
Extract the .bin file and points the boot variable to packages.conf to convert from bundle to install mode.
Is it correct?
Thanks a million for your valuable time
11-18-2021 10:12 PM
@bluesea2010 wrote:
If I extract the bin file and point to boot variable to packages.conf , still I need to install using the below command
The command I have provided will extract the package files. You can check by using this simple command: dir flash:*03.06.08*
The previous output to the command "dir" already shows it.
The next thing to do, because of the warning message about the packages.conf file not being re-created, is to manually create one. Again, I have provided the commands to do so.
Next is to make sure the boot variable string is pointing to the packages.conf file.
Finally, if everything is fine, reboot the switch.
11-19-2021 08:26 AM
Hi,
The command I have provided will extract the package files. You can check by using this simple command: dir flash:*03.06.08*
means the below 1 and 2 do the same ?
1) "software install file flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin new force verb on-reboot"
2 ) software expand file flash:/cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin
Thanks
11-19-2021 03:44 PM - edited 11-19-2021 03:46 PM
I have never used the 2nd command.
11-21-2021 09:27 PM
Hi @Leo Laohoo
Thanks it worked .
sh switch
Switch/Stack Mac Address : 204c.9efc.4f80 - Local Mac Address
Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
------------------------------------------------------------
*1 Active 204c.9efc.4f80 13 V05 Ready
2 Standby 8890.8d19.3600 11 V04 Ready
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 56 WS-C3850-48P 03.06.08E cat3k_caa-universalk9 INSTALL
2 56 WS-C3850-48P 03.06.08E cat3k_caa-universalk9 INSTALL
1) "software install file flash:cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin new force verb on-reboot"
2 ) software expand file flash:/cat3k_caa-universalk9ldpe.SPA.03.06.08.E.152-2.E8.bin
I did the second command. Do i need to run the first command again ?
more flash: packages.conf | begin for NOVA returned nothing.
The first switch has all the configurations like SNMP spanning tree , vlan ,
I had erased the previous configuration from the second switch except VLAN .dat
Thanks
11-22-2021 02:48 AM
@bluesea2010 wrote:
more flash: packages.conf | begin for NOVA returned nothing.
Oh yes it did. It will say the syntax is incorrect. There is a "space" between the ":" and the word "packages".
11-22-2021 04:13 AM
Hi,
The syntax is correct
more flash:packages.conf | begin for NOVA
But returned nothing
Thanks
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