01-31-2019 12:14 AM - edited 03-08-2019 05:12 PM
Hello everyone,
I try to upgrade the IOS from 16.03.06 to 16.03.07
I was successful upgrade to 16.03.07,but in bundle mode
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 16 WS-C3850-12XS 16.3.7 CAT3K_CAA-UNIVERSALK9 BUNDLE
So , I wanted to move to install mode
!
request platform software package expand file flash:cat3k_caa-universalk9.16.03.07.SPA.bin
boot system switch all flash:packages.conf
!
C3850#dir
Directory of flash:/
96194 -rw- 2097152 Jan 31 2019 07:38:27 +00:00 nvram_config
104213 -rw- 15938176 Jan 31 2019 07:43:11 +00:00 cat3k_caa-guestshell.16.03.07.SPA.pkg
104218 -rw- 22304945 Jan 31 2019 07:43:31 +00:00 cat3k_caa-rpbase.16.03.07.SPA.pkg
104214 -rw- 264458872 Jan 31 2019 07:43:18 +00:00 cat3k_caa-rpcore.16.03.07.SPA.pkg
104216 -rw- 9669248 Jan 31 2019 07:43:19 +00:00 cat3k_caa-srdriver.16.03.07.SPA.pkg
96201 -rw- 4737 Aug 9 2018 22:24:09 +00:00 packages.conf
96202 -rw- 444 Jan 31 2019 07:36:19 +00:00 bootloader_evt_handle.log
96203 drwx 4096 Aug 9 2018 22:41:50 +00:00 core
136273 drwx 4096 Aug 9 2018 22:25:42 +00:00 .prst_sync
152305 drwx 4096 Aug 9 2018 22:25:43 +00:00 .rollback_timer
160321 drwx 4096 Jan 31 2019 07:36:29 +00:00 dc_profile_dir
160323 drwx 4096 Aug 9 2018 22:25:48 +00:00 gs_script
96204 -rw- 65568 Jan 31 2019 07:36:42 +00:00 memleak.tcl
96205 drwx 4096 Aug 9 2018 22:26:06 +00:00 .installer
96207 -rw- 2097152 Jan 31 2019 07:38:27 +00:00 nvram_config_bkup
96208 -rw- 34 Jan 7 2019 07:07:30 +00:00 pnp-tech-time
96209 -rw- 47625 Jan 7 2019 07:07:33 +00:00 pnp-tech-discovery-summary
96210 -rw- 556 Jan 31 2019 06:38:20 +00:00 vlan.dat
104212 -rw- 4737 Jan 31 2019 07:43:48 +00:00 cat3k_caa-universalk9.16.03.07.SPA.conf
104217 -rw- 211694196 Jan 31 2019 07:43:29 +00:00 cat3k_caa-wcm.16.03.07.SPA.pkg
104215 -rw- 13419132 Jan 31 2019 07:43:19 +00:00 cat3k_caa-webui.16.03.07.SPA.pkg
then I reloaded...
switch: boot flash:/packages.conf
Getting rest of image
Reading full image into memory...flash:/cat3k_caa-rpbase.16.03.06.SPA.pkg: no such file or directory
loading flash:/packages.conf
Reading full image into memory....done
Copying 'cat3k_caa-rpbase.16.03.06.SPA.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-rpbase.16.03.06.SPA.pkg: no such file or directory
loading flash:/packages.conf
Reading full image into memory....done
Copying 'cat3k_caa-rpbase.16.03.06.SPA.pkg' into the buffer
Failed to open file: no such file or directory
But the switch still boot 16.03.06 ....
how can I fix it............................
switch: ?
? -- Present list of available commands
arp -- Show arp table or arp-resolve an address
boot -- Load and boot an executable image
cat -- Concatenate (type) file(s)
copy -- Copy a file
delete -- Delete file(s)
dir -- List files in directories
emergency-install -- Initiate Disaster Recovery
flash_init -- Initialize filesystem(s)
format -- Format a filesystem
fsck -- Check filesystem consistency
help -- Present list of available commands
mgmt_init -- initialize management port
mkdir -- Create dir(s)
more -- Concatenate (display) file(s)
ping -- Send ICMP ECHO_REQUEST packets to a network host
readrtc -- Read RTC
rename -- Rename a file
reset -- Reset the system
rmdir -- Delete empty dir(s)
set -- Set or display environment variables
set_bs -- Set attributes on a boot sector filesystem
set_param -- Set system parameters in flash
type -- Concatenate (type) file(s)
unset -- Unset one or more environment variables
version -- Display boot loader version
writertc -- Write RTC
Thanks,
Solved! Go to Solution.
01-31-2019 12:28 AM
Hello,
It looks like 16.03.07 was expanded not to flash:packages.conf, but to flash:cat3k_caa-universalk9.16.03.07.SPA.conf
If switch still in rommon, you can try to boot from this file:
switch: boot flash:cat3k_caa-universalk9.16.03.07.SPA.conf
If switch is up and running IOS, you can check content by commands:
more flash:packages.com
more flash:cat3k_caa-universalk9.16.03.07.SPA.conf
If flash:cat3k_caa-universalk9.16.03.07.SPA.conf contains .pkg files from 16.03.07 image, you can change boot variable and try to reload:
conf t
no boot system switch all flash:packages.conf
boot system switch all flash:cat3k_caa-universalk9.16.03.07.SPA.conf
end
wr
reload
01-31-2019 12:28 AM
Hello,
It looks like 16.03.07 was expanded not to flash:packages.conf, but to flash:cat3k_caa-universalk9.16.03.07.SPA.conf
If switch still in rommon, you can try to boot from this file:
switch: boot flash:cat3k_caa-universalk9.16.03.07.SPA.conf
If switch is up and running IOS, you can check content by commands:
more flash:packages.com
more flash:cat3k_caa-universalk9.16.03.07.SPA.conf
If flash:cat3k_caa-universalk9.16.03.07.SPA.conf contains .pkg files from 16.03.07 image, you can change boot variable and try to reload:
conf t
no boot system switch all flash:packages.conf
boot system switch all flash:cat3k_caa-universalk9.16.03.07.SPA.conf
end
wr
reload
01-31-2019 12:45 AM
01-31-2019 12:52 AM
Great, I'm glad that it works.
Actually, there is no difference between packages.conf and cat3k_caa-universalk9.16.03.07.SPA.conf, except the file name itself. From operational point of view they are equal. So, you can leave it as it is, just make sure, that boot variable is set to
flash:cat3k_caa-universalk9.16.03.07.SPA.conf
But if you want to have boot file as packages.conf, you can simply delete existing packages.conf and rename cat3k_caa-universalk9.16.03.07.SPA.conf to packages.conf.
delete flash:packages.conf
rename flash:cat3k_caa-universalk9.16.03.07.SPA.conf flash:packages.conf
After that you can have boot variable set to flash:packages.conf
01-31-2019 12:31 AM
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