Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

WS-C4510R+E

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

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

WS-C4510R+E

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.

5 REPLIES
Hall of Fame Super Gold

WS-C4510R+E

Have you tried to remove the old boot variable string first?

New Member

WS-C4510R+E

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

Hall of Fame Super Silver

WS-C4510R+E

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.

New Member

WS-C4510R+E

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!

Hall of Fame Super Silver

WS-C4510R+E

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.

209
Views
0
Helpful
5
Replies
CreatePlease to create content