08-04-2021 01:18 PM - edited 08-04-2021 02:15 PM
Hi, Why wlc c9800 is still using version 16.12 though it own version 17.5? Please see the below output.
Dont know why boot-start is not working. But another same model wlc is using 17.5 and not using boot-start
wlc2#sh run | i boot
boot-start-marker
boot-end-marker
wlc2(config)#do dir | i C9800
12 -rw- 958889562 Jan 17 2017 10:53:22 +00:00 C9800-L-universalk9_wlc.16.12.04a.SPA.bin
891187 -rw- 2077708 Jan 17 2017 11:21:36 +00:00 C9800-L-hw-programmables.16.12.04a.SPA.pkg
891188 -rw- 924664856 Jan 17 2017 11:21:37 +00:00 C9800-L-mono-universalk9_wlc.16.12.04a.SPA.pkg
891189 -rw- 32320074 Jan 17 2017 11:22:15 +00:00 C9800-L-rpboot.16.12.04a.SPA.pkg
18 -rw- 1110657159 Jul 19 2021 12:18:24 +00:00 C9800-L-universalk9_wlc.17.05.01.SPA.bin
08-04-2021 04:17 PM
1. Because there is no valid boot variable string. This means the system will boot the first valid BIN or package files. In this case it found the first package files meant for 16.12.4a.
2. Next, because no one bothered to read the Release Notes which would have provided detailed instructions on how to upgrade the WLC in Bundle Mode (recommended).
08-04-2021 06:14 PM - edited 08-04-2021 06:26 PM
Thank you Leo very much! Can you we change the booting list order of image without boot variable string?
08-04-2021 09:42 PM - edited 08-05-2021 01:22 AM
No.
Look, the syntax of the boot variable string is very simple: boot system flash bootflash:filename.ext
It does not require anyone with a Phd or a Nobel Peace Prize recipient.
08-05-2021 08:47 AM
Leo,
is there an easier way to remove the old files other than
del bootflash:xxxx
for each?
08-05-2021 03:46 PM - edited 08-05-2021 03:47 PM
Yes, there is.
The command to delete un-used package files can be found in the Release Notes.
IMPORTANT:
Please take the time to read the Release Notes. IOS-XE is a thousand times more complicated than ever before -- It is extremely maintenance-intensive. There is no such thing as a "one command": Each IOS-XE platform (3650/3850, 9200/9200L, 9300/9300L, 9400, 9500, 9600, 9800 and routers) have different commands to extract the package files and each platform also have different "behaviours" during the upgrade phase.
08-05-2021 04:20 PM
Ah, yes.. install remove inactive.. but from the b_wl_17_3_cg.pdf rather than the rn-17-3-9800.pdf
Thank You
08-05-2021 08:20 PM - edited 08-06-2021 12:47 AM
And I would also like to take this opportunity to share this important "feature": The command to extract the packages from the BIN file (each platform has a different command) is "blind" -- The command does not perform a software compatibility check.
It means the command will unpack, for example, an IOS-XE file (meant) for a 9300/9300L, 9400/9500/9600 into a 9200/9200L (or vice versa) and not throw any errors.
08-05-2021 08:42 AM
zshowip
this is what mine looks like..
looks like you need
boot system flash bootflash:C9800-L-universalk9_wlc.17.05.01.SPA.bin
boot-start-marker
boot system flash bootflash:packages.conf
boot-end-marker
filtered dir
27 -rw- 5578 May 12 2021 10:31:48 -07:00 packages.conf
712708 -rw- 33223943 May 12 2021 10:27:09 -07:00 C9800-rpboot.17.03.03.SPA.pkg
712706 -rw- 5615 May 12 2021 10:27:09 -07:00 C9800-40-universalk9_wlc.17.03.03.SPA.conf
712707 -rw- 1183396880 May 12 2021 10:26:41 -07:00 C9800-mono-universalk9_wlc.17.03.03.SPA.pkg
622597 -rw- 31711961 Jan 18 2021 15:51:35 -08:00 C9800-rpboot.16.12.04a.SPA.pkg
622594 -rw- 5599 Jan 18 2021 15:51:35 -08:00 C9800-40-universalk9_wlc.16.12.04a.SPA.conf
622596 -rw- 1002349584 Jan 18 2021 15:51:07 -08:00 C9800-mono-universalk9_wlc.16.12.04a.SPA.pkg
622595 -rw- 1377288 Jan 18 2021 15:51:07 -08:00 C9800-hw-programmables.16.12.04a.SPA.pkg
18 -rw- 1030467910 May 9 2020 17:27:29 -07:00 C9800-40-universalk9_wlc.16.12.02s.SPA.bin
540677 -rw- 31681850 May 9 2020 10:32:26 -07:00 C9800-rpboot.16.12.02s.SPA.pkg
540676 -rw- 997573648 May 9 2020 10:31:59 -07:00 C9800-mono-universalk9_wlc.16.12.02s.SPA.pkg
540675 -rw- 1377288 May 9 2020 10:31:58 -07:00 C9800-hw-programmables.16.12.02s.SPA.pkg
12 -rw- 721328833 Apr 27 2020 10:09:50 -07:00 C9800-40-universalk9_wlc.16.10.01e.SPA.bin
08-06-2021 09:49 AM
Hi David
Do you think there is difference between the below two commands?
boot system flash bootflash:C9800-L-universalk9_wlc.17.05.01.SPA.bin
boot-start-marker
boot system flash bootflash:packages.conf
boot-end-marker
08-06-2021 10:19 AM
yes, in that you don't have a packages.conf file to point to..
so your version would be:
boot system flash bootflash:C9800-L-universalk9_wlc.17.05.01.SPA.bin
the difference appears to be that you tftp'd the .bin file to flash via cli and I upgraded via gui.
08-06-2021 10:36 AM
I guess the file C9800-L-universalk9_wlc.17.05.01.SPA.bin is single file, so do not need boot-start-marker/boot-end-marker
08-06-2021 05:42 PM
lol, as long as that 16.12 remains in the bootflash.. it will be loaded first...So Yes you must state which file you wish to load
boot-start-marker
boot system flash bootflash:C9800-L-universalk9_wlc.17.05.01.SPA.bin
boot-end-marker
08-06-2021 06:38 PM - edited 08-06-2021 06:43 PM
For the "nth time", PLEASE <EXPLETIVE> READ THE <EXPLETIVE> RELEASE NOTES.
Nowhere in the Release Notes say Bundle Mode is the recommended/preferred method.
The WLC, when they come from the factory, are in Install Mode -- There is a reason for that.
Do not like to RTFM? Fine, look at the GUI. When upgrading the firmware using GUI, there is an option for Install Mode. And no, the option is not a "garnish".
08-09-2021 01:15 PM
lol
My gui software management screen says install...don't know about "zshowip" Suppose he could repeat the process from the GUI with appropriate due-dilligence.
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