10-30-2013 02:02 PM - edited 03-07-2019 04:20 PM
Hello, I am attempting an IOS upgrade on my Cat4k's. I've got two 4510R+E switches. I'm upgrading from 3.2.1.SG to 3.4.2.SG. As you can see below I've got 3.4.2 downloaded and stored in flash. The next step is to set the boot variable and reload. The issue is I cannot get the boot variable set to reflect the new 3.4.2 code. I have entered in the "boot system flash bootflash:file_name" command, which IOS takes, but then a "show bootvar" reflects the old image still as the variable. I've also tried the "no boot system" commands as well, with no luck. Below is the output of "show bootflash" and "show bootvar". Can someone help me with what I'm missing??
Thanks in advance-
Brian
CORP-4510-1#show bootflash:
-#- --length-- ---------date/time--------- path
1 89765939 Aug 25 2011 19:34:26 +00:00 cat4500e-universalk9.SPA.03.02.00.SG.150-2.SG.bin
2 89707356 Oct 25 2011 06:51:15 +00:00 cat4500e-universalk9.SPA.03.02.01.SG.150-2.SG1.bin
3 125276868 Oct 30 2013 15:27:08 +00:00 cat4500e-universalk9.SPA.03.04.02.SG.151-2.SG2.bin
484110336 bytes available (305188864 bytes used)
********************************************************************************************************
CORP-4510-1(config)#boot system flash bootflash:cat4500e-universalk9.SPA.03.04.02.SG.151-2.SG2.bin
********************************************************************************************************
CORP-4510-1#show bootvar
BOOT variable = bootflash:cat4500e-universalk9.SPA.03.02.01.SG.150-2.SG1.bin,1;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x2102
Standby BOOT variable = bootflash:cat4500e-universalk9.SPA.03.02.01.SG.150-2.SG1.bin,1;
Standby CONFIG_FILE variable does not exist
Standby BOOTLDR variable does not exist
Standby Configuration register is 0x2102
Solved! Go to Solution.
10-30-2013 02:51 PM
Is it correct to assume the omission of ".bin" at the end of the command you reported having tried without success was just in your posting and not in the command you actually executed?
Also, you have to save the configuration after changing the bootvar since "show bootvar" reads the value from startup-config, not running-config.
10-30-2013 02:19 PM
Have you tried to remove the old boot variable string first?
10-30-2013 02:27 PM
Hey Leo-
I have yes, with "no boot system flash bootflash:cat4500e-universalk9.SPA.03.02.01.SG.150-2.SG1
The command takes, but doesn't change the output of the "show bootvar", still displays 3.2.1
10-30-2013 02:51 PM
Is it correct to assume the omission of ".bin" at the end of the command you reported having tried without success was just in your posting and not in the command you actually executed?
Also, you have to save the configuration after changing the bootvar since "show bootvar" reads the value from startup-config, not running-config.
10-31-2013 06:44 AM
Marvin-
You got it. Once I saved the running config the correct boot variable is shown. I don't recall having to write the config on older platforms, the value would update immediately?
Thank you Sir!
10-31-2013 06:49 AM
You're welcome, I figured that out while replying to the thread myself.
It makes sense when you think about it - if you don't save the config, the switch will revert to using whatever bootvar is in startup-config so that's actually a more accurate report of the expected behavior upon reload.
Thanks for the rating.
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