11-12-2015
12:24 PM
- last edited on
11-08-2022
02:09 AM
by
Translator
I'm having trouble finding any decent guides to upgrading a 2960X stack with the .BIN file. The official Cisco guide goes over the process with the .TAR file, but it's not the same. Wondering if anyone has had any experience with the .BIN upgrade process? Based off of bits and pieces of articles that I found on Google, here's how I see the process going for our 4-switch stack....
1. Copy the .BIN file to the "flash" directory of EACH switch in the stack.
- copy ftp: flash1:
- copy ftp: flash2:
- copy ftp: flash3:
- copy ftp: flash4:
2. Upgrade the Master (switch #1) switch first. Save and reload the device.
- boot system switch all
flash:/bin-file-name.bin
3. Upgrade the other switches one at a time.
- archive copy-sw /force-reload /overwrite /dest 2 1
- archive copy-sw /force-reload /overwrite /dest 3 1
- archive copy-sw /force-reload /overwrite /dest 4 1
4. Verify all switches upgraded post their reboots.
Seems time intensive, but I don't see any other way to do the upgrade. Anyone else?
Thank you,
LK
Solved! Go to Solution.
11-12-2015
12:54 PM
- last edited on
11-08-2022
02:17 AM
by
Translator
As I understand it, the best way would be to use the TAR file. But if not, unfortunately you have to copy the BIN file to each switch in the stack. Once the file is copied, just type the
reload
command and you should see the new image being installed on all switches in the stack. Reference http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/64898-upgrade-3750-stack.html#cfbin1
B
11-12-2015
01:30 PM
- last edited on
11-08-2022
02:21 AM
by
Translator
Hello,
Actually, using bin file is quite easy. As you mentioned, you need to copy bin file to the flash. Then use
show flash
to make sure file exists. Then
conf t
boot system Flash:IOSname.bin
WR
reload the master and slaves after.
Just make sure you have the latest back-up of the configuration and also one copy of current working IOS just in case.
Masoud
11-12-2015
12:54 PM
- last edited on
11-08-2022
02:17 AM
by
Translator
As I understand it, the best way would be to use the TAR file. But if not, unfortunately you have to copy the BIN file to each switch in the stack. Once the file is copied, just type the
reload
command and you should see the new image being installed on all switches in the stack. Reference http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/64898-upgrade-3750-stack.html#cfbin1
B
11-12-2015 02:04 PM
11-12-2015
01:30 PM
- last edited on
11-08-2022
02:21 AM
by
Translator
Hello,
Actually, using bin file is quite easy. As you mentioned, you need to copy bin file to the flash. Then use
show flash
to make sure file exists. Then
conf t
boot system Flash:IOSname.bin
WR
reload the master and slaves after.
Just make sure you have the latest back-up of the configuration and also one copy of current working IOS just in case.
Masoud
11-12-2015 02:04 PM
Thanks, that seems straightforward and wasn't sure why it was all so confusing in the beginning
11-12-2015 02:08 PM
You are welcome.
It looks confusing because there are several switches involved, but it is pretty easy.
Masoud
11-19-2015
03:53 AM
- last edited on
11-08-2022
02:24 AM
by
Translator
This should be enough (see below).
Just make sure you use the "boot system switch all". This is critical. It changes the boot variable on all switches (see show boot). Without "switch all" only the master boot variable is changed if you reload then, only the master will run the new version and all the other will have a "version mismatch" status in the stack.
1. Copy the .BIN file to the "flash" directory of EACH switch in the stack.
- copy ftp: flash1:
- copy ftp: flash2:
- copy ftp: flash3:
- copy ftp: flash4:
2. This command on the master
- boot system switch all flash:/bin-file-name.bin
3.
reload
11-19-2015 06:03 AM
Thanks gnijs. Did this exact method yesterday during our upgrades and worked like a charm.
03-27-2018
01:23 PM
- last edited on
11-08-2022
02:29 AM
by
Translator
Actually, if you need to save on bandwidth, you can just copy it once to the flash: and then you copy it internally from flash: to each stack member's flash:
If the stack is set up in correct order, the master will be switch 1.
simply copy therefore from flash: to flash2:, flash3:, and so on.
By the way, a super easy way to copy directly onto your cisco device without messing around with TFTP infrastructure is the use of SCP.
1. Download PSCP ( a small stand-alone .exe file like calc.exe) and your IOS into the same folder on your computer.
2. On your switches, enable the following command and save:
conf t
ip scp server enable
3. Run a command
shell (cmd)
on your computer, go to your folder where IOS and PSCP are located.
4. Copy with the following syntax to your device:
pscp -scp <ios file name> <user>@<device name or ip>:<ios file name>
5. When prompted, enter your password and the copy process starts
6. Relax, enjoy a coffee.
You can copy like this on a stack and it will be automatically placed onto flash:. Distributed then from there internally to all stack members.
Oh, and if you need to update lots of machines like i do, simply run 30 or 40 cmd shells in parallel.
06-29-2018
12:31 PM
- last edited on
11-08-2022
02:32 AM
by
Translator
We have another process so I thought I would share it. Download the bin file to all of the switches and verify the hash is correct. Remove the old bin file. Do no use a
boot
command, and make sure the
boot
command is blank. reload the switches.
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