12-07-2015 01:15 AM - edited 03-08-2019 02:59 AM
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
Solved! Go to Solution.
12-08-2015 02:06 AM
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
12-09-2015 02:16 AM
/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
12-07-2015 01:53 AM
Command: archive download-sw /overwrite /destination 1 /destination 2 /destination 3 /destination 4 tftp://<TFTP IP address>/IOS_filename.tar
12-08-2015 01:06 AM
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?
12-08-2015 02:06 AM
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.
12-08-2015 07:24 AM
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
12-09-2015 02:16 AM
/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
12-09-2015 03:03 AM
thanks Leo it really helps!
Can I also leave the old image if I've enough space available?
12-09-2015 11:17 AM
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.
12-08-2015 02:06 AM
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
12-08-2015 02:19 AM
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
12-08-2015 02:23 AM
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.
12-08-2015 02:44 AM
Thanks Mark and Leo!!
Can I use the same command to upgrade through Telnet?
12-08-2015 02:59 AM
my opinion on that is always upgrade when consoled in , never upgrade remotely unless its impossible not too.Something goes wrong or the ssh keys etc need to be reset you could get kicked out and not get back in , or at least hjave someone consoled in locally and take over there pc
12-08-2015 03:16 AM
Okay I'll do it via console but what if I don't use USB below would be the command as Leo said: Right?
archive download-sw /overwrite /destination 1 /destination 2 /destination 3 /destination 4 tftp://<TFTP IP address>/IOS_filename.tar
Leo do I need to replace in above command: destination 1/destination 2/destination3 with flash1/flash2/flash3 or no need? and can I use .bin image instead of .tar?
12-08-2015 03:31 AM
if you have it on usb you wont need the tftp part and where flash is above you replace with usb
make sure to check when you connect it just do dir to see if its usb0 or usb1 can change depending on platform
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