cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1655
Views
1
Helpful
10
Replies

catalyst 9800 boot old version after upgrade

mfradin
Level 1
Level 1

hello

i tried to upgrade in "INSTALL" mode from 17.03.07 to 17.09.05
(I have no HA)

all seems to be ok during upgrade (see attached) , bootvar seems ok :
BOOT variable = bootflash:packages.conf,12;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x10

but 9800 reboots on old version

is it strange that the packages.conf is not changed during upgrade ?

thanks, Marc

 

10 Replies 10

marce1000
Hall of Fame
Hall of Fame

 

        According to the setting of the boot variable you seem to have multiple versions of packages.conf
      this one end on ,12  ; could  you have dir bootflash:  check if there is a more recent  and or last version
      if so , set the boot variable accordingly and reload the controller again , 
               (the reply has been corrected , for the time being take attention to above part only)

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

balaji.bandi
Hall of Fame
Hall of Fame

As suggested check the config register first.

also i would like to see dir bootflash: or dir flash: all the files.

Also check the content of packages.conf

more bootflash:packages.conf  - this should be pointing to new IOS XE packages.

have you looked at the upgrade steps :

https://www.cisco.com/c/en/us/td/docs/wireless/controller/9800/17-9/config-guide/b_wl_17_9_cg/m_upgrade_9800cl.html

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Leo Laohoo
Hall of Fame
Hall of Fame

Post the complete output to the following command: 

 

dir bootflash:*.conf
more flash:packages.conf | begin rp_boot

I think I know what this bug is and I know the workaround. 

 

mfradin
Level 1
Level 1

Hello,
thanks for your replies

I  changed the register and reload but the problem is the same

BOOT variable = bootflash:packages.conf,12;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102

c9800#sh version | in 17
Cisco IOS XE Software, Version 17.03.07
Cisco IOS Software [Amsterdam], C9800-CL Software (C9800-CL-K9_IOSXE), Version 17.3.7, RELEASE SOFTWARE (fc3)

c9800#dir bootflash:*.conf      
Directory of bootflash:/*.conf

Directory of bootflash:/

   32  -rw-        2090   Jul 6 2023 12:45:12 +02:00  packages.conf
212162  -rw-        5580  Sep 21 2024 18:10:36 +02:00  C9800-L-universalk9_wlc.17.09.05.SPA.conf

c9800#more flash:packages.conf | in  rp_boot  
boot  rp 0 0   rp_boot       C9800-CL-rpboot.17.03.07.SPA.pkg

 

c9800#dir
Directory of bootflash:/

171361  drwx            65536  Sep 22 2024 10:35:17 +02:00  tracelogs
465121  drwx             4096  Sep 22 2024 10:18:01 +02:00  .installer
163201  drwx             4096  Sep 22 2024 10:16:19 +02:00  license_evlog
22      -rw-             1096  Sep 22 2024 10:16:17 +02:00  vlan.dat
19      -rw-              157  Sep 22 2024 10:16:17 +02:00  csrlxc-cfg.log
18      -rw-                0  Sep 22 2024 10:16:00 +02:00  cvac.log
17      -rw-               30  Sep 22 2024 10:16:00 +02:00  throughput_monitor_params
16      -rw-           134458  Sep 22 2024 10:15:09 +02:00  memleak.tcl
546721  drwx             4096  Sep 22 2024 10:14:53 +02:00  dc_profile_dir
628321  drwx             4096  Sep 21 2024 18:15:34 +02:00  .rollback_timer
212162  -rw-             5580  Sep 21 2024 18:10:36 +02:00  C9800-L-universalk9_wlc.17.09.05.SPA.conf
212164  -rw-         37647049  Sep 21 2024 18:10:36 +02:00  C9800-L-rpboot.17.09.05.SPA.pkg
212163  -rw-       1315144724  Sep 21 2024 18:09:38 +02:00  C9800-L-mono-universalk9_wlc.17.09.05.SPA.pkg
12      -rw-       1352554265  Sep 18 2024 17:44:25 +02:00  C9800-L-universalk9_wlc.17.09.05.SPA.bin
375361  drwx             4096  Jun 21 2024 11:40:25 +02:00  webui_helper
32      -rw-             2090   Jul 6 2023 12:45:12 +02:00  packages.conf
758884  -rw-         47096498   Jul 6 2023 12:40:50 +02:00  C9800-CL-rpboot.17.03.07.SPA.pkg
758883  -rw-       1095140380   Jul 6 2023 12:39:40 +02:00  C9800-CL-mono-universalk9.17.03.07.SPA.pkg
244801  drwx             4096   Jul 6 2023 11:56:28 +02:00  .prst_sync
114241  drwx             4096  Sep 12 2022 15:58:05 +02:00  .dbpersist
873121  drwx             4096   Jun 4 2021 03:21:38 +02:00  core
20      -rw-            96734  Mar 16 2021 15:49:29 +01:00  pnp-tech-discovery-summary
15      -rw-               35  Mar 16 2021 15:49:18 +01:00  pnp-tech-time
228481  drwx             4096  Mar 10 2021 11:39:44 +01:00  guest-share
595681  drwx             4096  Mar 10 2021 11:39:36 +01:00  onep
889441  drwx             4096  Mar 10 2021 11:38:41 +01:00  virtual-instance
73441   drwx             4096  Mar 10 2021 11:38:31 +01:00  bootlog_history
359041  drwx             4096  Mar 10 2021 11:38:28 +01:00  iox
11      drwx            16384  Mar 10 2021 11:33:58 +01:00  lost+found

14822125568 bytes total (9197740032 bytes free)

regards

Marc

 

      >...c9800#more flash:packages.conf | in  rp_boot  
    Considering the settings of the BOOT variable , please instead provide the output from
                      more flash:packages.conf,12 | in  rp_boot  

  M.
                      



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Thanks for the output.  This is an easy fix. 

rename bootfash:packages.conf bootflash:packages.conf.bak
copy bootflash:C9800-L-universalk9_wlc.17.09.05.SPA.conf bootfash:packages.conf

And then reboot the WLC.

 

  @Leo Laohoo            I sustain your remarks, but I also see :
                           BOOT variable = bootflash:packages.conf,12;
               Then the boot variable should be set too simple bootflash:packages.conf too (without any version extension)

    I also see in a bin file there in there too ; it's flash is a bit messed up , possibly resulting from
    conversion between modes (install vs bundle)

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

If I remembered correctly, "12" translate to "attempt to boot 12 times before going to ROMMON". 

Looks like Upgrade broken some where, below conf should be packages.conf

212162 -rw- 5580 Sep 21 2024 18:10:36 +02:00 C9800-L-universalk9_wlc.17.09.05.SPA.conf

take the backup packages.conf or move to different name,

copy  C9800-L-universalk9_wlc.17.09.05.SPA.conf packages.conf ( and reload and test it)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help


@balaji.bandi wrote:
Looks like Upgrade broken some where

This is a very well-known bug that has been in existence since IOS-XE version 16.X.X.

I've documented this behaviour (including the "fix" or workaround) in the Gotcha section.  

Cisco 3850: IOS-XE/Firmware Upgrade

This is also the bug I avoid hitting if my One-Hit-Wonder (NSFW) process is used.  

Review Cisco Networking for a $25 gift card