cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
606
Views
0
Helpful
9
Replies

Upgrade of WS-C4507R+E

Anuj Singhi
Level 1
Level 1

I am trying to upgrade WS-C4507R+E with a new image cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin but every time I reboot the switch it still comes up with the old image cat4500e-universal.SPA.03.03.00.SG.151-1.SG.bin

switch1#sh bootflash:

-#- --length-- ---------date/time--------- path

  1  112337548 May 14 2013 23:48:51 +00:00 cat4500e-universal.SPA.03.03.00.SG.151-1.SG.bin

  2  115624136 Oct 30 2013 13:13:25 +00:00 cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

PLease let me know if I am missing anything in configuring the correct image in the switch

I have put the below commands

boot-start-marker

boot system flash bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

boot system flash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin

boot-end-marker

!

9 Replies 9

Anuj Singhi
Level 1
Level 1

This is the bootvar setup

switch1#sh bootvar

BOOT variable = bootflash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin,1;flash:cat4500e-universalk9.SPA.03.03.00.SG.151-1.SG.bin,12;

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

Configuration register is 0x2101

You need to change your configuration register ie.

0x2101 says to boot the first image found

0X2102 says to boot the image found in the boot variable

Jon

Do I have to change anything that is coming in the output of Show bootvar?

No, i think the issue is purely with your configuration register setting.

Jon

Thanks a lot, it worked but I want to know like in every 4506 R+E do we have to use conf-register as 0x2012 always`? Can you throw some more light in it.

It's up to you really.

Note that if you had actually erased the current image and just added the new one to flash then you would not need to have changed the configuration register as that would have been the only image and so it would have booted that one.

However most people, including me, don't do that just in case there is a problem with the new image. If you have multiple images in flash and you want to choose one that is not first in the list then you need to modify the configuration register and the boot variable to tell it to use that one.

When i was doing a lot of 6500 upgrades i would simply change the boot variable to include both images but make sure the image i wanted to boot was the first in the boot variable string. Also worth bearing in mind that sometimes you have an image in onboard flash and one on a compact flash card so again if you wanted to boot the compact flash image you would need to modify the boot variable.

It really comes down to what you want to do ie. now you have booted the correct image and verfied that it is working you could if you needed the space remove the old one and reset the configuration register back to what it was.

The advantage of using 0x2101 is that as long as there is an image in flash it will always be able to boot.

The advantage of using 0x2102 is you can have multiple images and choose which one you want to boot at anyone time, including when the image may be on a flash card.

Usually i used the boot variable to decide which image to boot and did not rely on the order in flash.

Jon

Anuj Singhi
Level 1
Level 1

Thanks a lot for the detailed explanation. It really helped me a lot and now I can upgrade all the 24 4500 switches

No problem, glad to have helped.

Good luck with the upgrades

Jon

I also tried with deleting the old IOS image and keeping the config register as same and it worked too.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card