01-03-2024 03:55 PM
I am trying to set the boot variable on my N9K to version nxos64-cs.10.3.2.F.bin. This version has been copied onto bootflash: but it won't let me set it.
# dir
4096 Jan 03 22:39:34 2024 .rpmstore/
4096 Jan 03 21:22:38 2024 .swtam/
1738 Aug 05 00:58:19 2023 20230805_005814_poap_3119_init.log
376715 Jan 03 20:40:18 2024 20240103_202215_poap_2867_init.log
57199 Jan 03 21:25:33 2024 20240103_212337_poap_19813_init.log
2450 Jan 03 21:39:57 2024 20240103_213835_poap_3646_init.log
2697 Jan 03 21:47:40 2024 20240103_214618_poap_20175_init.log
4096 Jan 03 21:22:39 2024 eem_snapshots/
4096 Jan 03 21:22:37 2024 evt_log_snapshot/
4096 Aug 05 00:52:09 2023 home/
4096 Jan 03 21:46:33 2024 intersight/
2173 Jan 03 21:45:18 2024 log_profile.yaml
4096 Jan 03 23:28:53 2024 lost+found/
1414403072 Aug 05 00:46:45 2023 nxos.9.3.2.bin
2297351168 Jan 03 21:15:20 2024 nxos64-cs.10.3.2.F.bin
0 Aug 05 00:43:04 2023 platform-sdk.cmd
3619 Jan 03 21:24:57 2024 poap_retry_debugs.log
4096 Jan 03 21:23:06 2024 scripts/
4096 Aug 05 00:41:52 2023 virt_strg_pool_bf_vdc_1/
4096 Aug 05 00:41:09 2023 virtual-instance/
59 Jan 03 21:45:34 2024 virtual-instance.conf
boot nxos bootflash:/nxos64-cs.10.3.2.F.bin
Image provided does not exist.
Failed to set the boot variable: image not found (0x40450008)
However, if I go to loader and boot this image, it will boot. But it won't stay after reboot since I can't set the boot variable.
Any ideas?
01-03-2024 04:21 PM
I figured it out. I had to be on the nxos64-cs.10.3.2.F.bin version in order for it to recognize this as a valid image. All is good!
show boot
Current Boot Variables:
sup-1
NXOS variable = bootflash:/nxos64-cs.10.3.2.F.bin
Boot POAP Disabled
Boot Variables on next reload:
sup-1
NXOS variable = bootflash:/nxos64-cs.10.3.2.F.bin
Boot POAP Disabled
06-04-2024 10:16 AM
Hi Blebarro,
I believe this is a well known bug in N9K series below is the article.
https://bst.cisco.com/quickview/bug/CSCvz51288
I used the below workaround, using an inter image to jump on
1- Switch model is : C93108TC-FX
2- Current running version was 9.3.2
3- Upgraded the switch to inter-version 9.3.13
4- Then upgrade the switch to version 10.3.4a
While upgrading the switch from version to version I recommend to use the command below
install all nxos bootflash:nxos.9.3.13.bin
install all nxos bootflash:nxos64-cs.10.3.4a.M.bin
SWITCH-1-N9K(config)# install all nxos bootflash:nxos64-cs.10.3.4a.M.bin
Installer will perform compatibility check first. Please wait.
Installer is forced disruptive
Verifying image bootflash:/nxos64-cs.10.3.4a.M.bin for boot variable "nxos".
[####################] 100% -- SUCCESS
Verifying image type.
[####################] 100% -- SUCCESS
Preparing "nxos" version info using image bootflash:/nxos64-cs.10.3.4a.M.bin.
[####################] 100% -- SUCCESS
Preparing "bios" version info using image bootflash:/nxos64-cs.10.3.4a.M.bin.
[####################] 100% -- SUCCESS
Performing module support checks.
[####################] 100% -- SUCCESS
Notifying services about system upgrade.
[####################] 100% -- SUCCESS
Compatibility check is done:
Module bootable Impact Install-type Reason
------ -------- -------------- ------------ ------
1 yes disruptive reset default upgrade is not hitless
Images will be upgraded according to following table:
Module Image Running-Version(pri:alt) New-Version Upg-Required
------ ---------- ---------------------------------------- -------------------- ------------
1 nxos 9.3(13) 10.3(4a) yes
1 bios v05.39(08/30/2019):v05.34(10/24/2018) v05.47(04/28/2022) yes
Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] y
Install is in progress, please wait.
Performing runtime checks.
[####################] 100% -- SUCCESS
Setting boot variables.
[####################] 100% -- SUCCESS
Performing configuration copy.
[####################] 100% -- SUCCESS
Module 1: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS
Finishing the upgrade, switch will reboot in 10 seconds.
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