cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2358
Views
5
Helpful
3
Replies

How to upgrade switch WS-C4500X-16 ?

TOR PRETORIUS
Level 1
Level 1

I have installed the new software version in bootflash
the switch will not boot with the new file ?

Directory of bootflash:/
15842  -rwx   125276868   Apr 1 2014 03:30:19 +00:00  cat4500e-universalk9.SPA.03.04.02.SG.151-2.SG2.bin
15843  -rw-   171853028  Apr 28 2014 02:06:49 +00:00  cat4500e-universalk9.SPA.03.05.02.E.152-1.E2.bin

I can see that new file dont have execute rights  ??
I'm try to dowload to bootflash with ftp and tftp, no differences

I'm trying to set, in switch config
boot system flash bootflash:/cat4500e-universalk9.SPA.03.05.02.E.152-1.E2.bin


Any idea how to solve this problem?

 

3 Replies 3

acampbell
VIP Alumni
VIP Alumni

Tor,

 

I cannot find any command that will allow you to change a file's rights after it has been dowloaded.

Try changing the rights on your FTP/TFTP server and pull the file down again.

E.g. in unix chmod 777 cat4500e-universalk9.SPA.03.05.02.E.152-1.E2.bin

 

Hope this helps

Regards

Alex

Regards, Alex. Please rate useful posts.

nkarthikeyan
Level 7
Level 7

Hi Pretorious.

 

http://www.mycertstudies.com/ios-xe-and-rommon-upgrade.html

 

You have the remove the boot system command line pointed to old IOS code and update the new IOS boot system.

 

And if needed keep the old IOS is lower priority.

 

Set conf reg to 0x2102

 

It will take the priority IOS code.

 

in dir only the priority 1 IOS will have the rwx option. For that you need to set the priority.

 

Sh bootvar will answer you for verifying the priority.

 

Hope this helps

 

Regards

Karthik

Leo Laohoo
Hall of Fame
Hall of Fame

Check the configuration register of your switch.  Configuration Register value of 0x2101 is, by default, the setting when the appliance or supervisor is shipped out.  The last octet of "1" basically tells the appliance to IGNORE the boot variable string and boot the first valid IOS (from top to bottom) found in the bootflash.  

 

Now, if you do not want to change the config-registry value to 0x2102, this means that you would like config-registry value of 0x2101, there's another option around this.  

1.  Copy the IOS from the TFTP server to the unit using the command "copy tftp://<TFTP IP address>/IOS_filename.bin bootflash:";

2.  RENAME the old IOS:  rename bootflash:OLD_IOS_filename.bin bootflash:OLD_IOS_filename.bin.BAK

3.  Save the config.

4.  Reboot.

 

So with the above process, when a 4500/6500 boots up with a config registry of 0x2101 it will boot the first image found in the bootflash.  The first image is read from a list from top-to-bottom order.  Now if you have TWO IOS and the old one is on top then, logic dictates, that the old IOS will be booted (what you are most likely seeing).  The only way around this (without changing the config registry) is to rename the filename of the old IOS so that the switch won't read it.  

 

boot system flash bootflash:/cat4500e-universalk9.SPA.03.05.02.E.152-1.E2.bin

Your boot variable string is incorrect.  It should be:   boot system flash bootflash:cat4500e-universalk9.SPA.03.05.02.E.152-1.E2.bin

 

No "/". 

 

Hope this helps.

Review Cisco Networking for a $25 gift card