cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4423
Views
0
Helpful
19
Replies

Cisco 3750X in service IOS upgrade on stacks

umer zubairi
Level 1
Level 1

Dear All,

We have to upgrade the IOS on more than 35 stacks of 3750X series switches in a live environment. Kindly share the step by step procedure to upgrade IOS without losing any configuration on the stacks so I can save time from reading lengthy online guides showing different methods of IOS upgrade.

 

We've two images now in the switch memory:

 

(1) Running IOS (2) ISO switch was shipped with Now please also share the commands of deleting the first IOS that was shipped with the switch without losing any configuration on the stacks. Thanks!

 

BR,

Umer

2 Accepted Solutions

Accepted Solutions

Hi its safe to upload by USB if you want

by destination Leo means the flash location for the image in each switch in the stack

so the command tells each flash to overwrite the current image with the new inage to each flash destination

example depending how many switches in the stack

archive download-sw /overwrite flash1:c2960s-universalk9-mz.122-55.SE8.bin flash2:c2960s-universalk9-mz.122-55.SE8.bin

View solution in original post

/flash1 /flash 2 /flash 3 /flash 4

Huh?  This is incorrect.  The correct option switch is "/destination 1 /destination 2 /destination 3 /destination 4". 

tftp://10.10.10.1/c3750e-ipbasek9-mz.150-2.SE8.bin

The filename is incorrect.  The command I've posted specifically states the IOS filename with the extension of TAR.  

Please DO NOT re-invent the wheel.  I've already provided the correct syntax and what is only required for you to do is to substitute the filename.  It shouldn't be that hard.

Command:  archive download-sw /overwrite /destination 1 /destination 2 /destination 3 /destination 4 tftp://<TFTP IP address>/IOS_filename.tar

View solution in original post

19 Replies 19

Leo Laohoo
Hall of Fame
Hall of Fame

Command:  archive download-sw /overwrite /destination 1 /destination 2 /destination 3 /destination 4 tftp://<TFTP IP address>/IOS_filename.tar

Is it a safe method doing it with a USB? I mean I don't want to lose any of my running configs. 

Here by dest1, 2, 3 and 4 means four switches in the stack Right?

Here by dest1, 2, 3 and 4 means four switches in the stack Right?

Correct.  The options "/destination <NUMBER>" means stack number. 

Is it a safe method doing it with a USB? I mean I don't want to lose any of my running configs. 

I can't force you what to do.  Upgrading the IOS via the USB port works for me many times. 

It's your call.

Okay Leo please check below is the right syntax to upgrade via console as you're fimiliar with 3750X series:

archive download-sw /overwrite /flash1 /flash 2 /flash 3 /flash 4 tftp://10.10.10.1/c3750e-ipbasek9-mz.150-2.SE8.bin - and then reload the master member.

BR,

Umer

/flash1 /flash 2 /flash 3 /flash 4

Huh?  This is incorrect.  The correct option switch is "/destination 1 /destination 2 /destination 3 /destination 4". 

tftp://10.10.10.1/c3750e-ipbasek9-mz.150-2.SE8.bin

The filename is incorrect.  The command I've posted specifically states the IOS filename with the extension of TAR.  

Please DO NOT re-invent the wheel.  I've already provided the correct syntax and what is only required for you to do is to substitute the filename.  It shouldn't be that hard.

Command:  archive download-sw /overwrite /destination 1 /destination 2 /destination 3 /destination 4 tftp://<TFTP IP address>/IOS_filename.tar

thanks Leo it really helps!

Can I also leave the old image if I've enough space available?

Can I also leave the old image if I've enough space available?

Yes you can.  If this is the intention then REMOVE the "/overwrite" option switch. 

Can I use the same command to upgrade through Telnet?

I always use Telnet/SSH to upgrade the IOS.  I upgrade about >300 stacks (excluding routers, WLC, etc.) yearly and use exclusively remote connection.  I rarely upgrade IOS on console.  

Hi its safe to upload by USB if you want

by destination Leo means the flash location for the image in each switch in the stack

so the command tells each flash to overwrite the current image with the new inage to each flash destination

example depending how many switches in the stack

archive download-sw /overwrite flash1:c2960s-universalk9-mz.122-55.SE8.bin flash2:c2960s-universalk9-mz.122-55.SE8.bin

Hello Mark,

If I've 3 swithces and I want new IOS that is 'c3750e-ipbasek9-mz.150-2.SE8.bin' to be installed on all the slaves as well as on the master. the command would be like this:

archive download-sw /overwrite flash1:c3750e-ipbasek9-mz.150-2.SE8.bin flash2:c3750e-ipbasek9-mz.150-2.SE8.bin flash3: c3750e-ipbasek9-mz.150-2.SE8.bin

After finishing it I need to reload the master.

Correct me if I'm wrong here as I don't want to lose my configs 

BR,

Umer

Yes that looks good before you do it save your config after its uploaded just type reload to reload the whole stack , you wont loose the configs even if something goes wrong , the config is stored in flash too so it can still be extracted and manually uploaded if for some reson it didnt take like a corrupt image.