10-21-2022 12:32 PM - last edited on 03-09-2023 09:05 AM by Vásquez_Fer
How to Upgrade a Switch ICX-7150-C12P via TFTP
In the following example, we are going to upgrade a switch from a non-UFI version to 8095h UFI version.
You can use the next guide as reference
Software Mandatory Upgrade Steps from a Pre-08.0.90 Non-UFI Version to a 08.0.95 UFI Version
- Go to Ruckus support page to download the images
Link: https://support.ruckuswireless.com/software
-Look for the scroll bar, (Choose Product) and select ICX7150
-Then click downloads.
-we need to download two codes, the intermedia version 08080f and the final code 08095g UFI.
-Click on downloads
Important note: Read terms and conditions once this is done, proceed to download
- Now we are going to download two applications to gain access to the Switch, Putty and TFTP(Part 2)
Putty: https://putty.org/
TFTP 64: https://bitbucket.org/phjounin/tftpd64/downloads/
Second Link for TFTP 64: https://github.com/peacepenguin/tftpd64/releases
- Gaining Access to the Switch via Telnet or SSH, let's first find out the IP address of the switch.
B) Run the Following command: "arp -a", now you can see the IP or internet address of the switch, and the physical address, however you need to know the physical address can be located on a sticker in the Switch, so you can do the match with the information displayed in the CMD.
Also, you can use the next guide to find the IP address with an application:
How to find my Ruckus “Devices IP address” using free applications
C)Now you know the IP or internet address, let's gain access via putty:
SSH:
Telnet:
D)Access: whichever option you are using, if it asks for a password, enter the following, then “enable” command which will allows you to execute the upgrade.
User: “super”
Password: “sp-admin”
“enable”
- Set the TFTP To star the upgrade
A: Open the Application TFTD64 that we recently downloaded, by typing “tftpd64” from start button and open:
B: we are going to create a folder (I have named Upgrade) with the two codes we require, in our case will be for 08080f (boot and image file), and for the 08090g(just the Image)
Note: we need to unzip both codes first.
*Now we have unzipped the files, let’s copy and paste the files we require for the upgrade.
08080f files:
A: Open the folder unzipped folder named 08080f>ICX7150>boot>copied the file named mnz10114.bin and
paste it in the folder we created named Upgrade
B: Open the folder 08080f>ICX7150>image>copied the file named SPS08080f.bin and
paste it in the folder we created named Upgrade
08095h file:
A: Open the folder 08095h>ICX7150>image>copied the file named SPS08095hufi.bin and
paste it in the folder we created named Upgrade
Note: This time we require only the UFI image.
Note: As you can see my folder named Upgrade that I have located in the downloads, I have 3 files for the 08080f code I have the boot named mnz10114.bin with the image named SPS08080f.bin and for the code 08095h and I have only the UFI image named SPS08095hufi.bin (the UFI letter at the end means unified image, so we do not require the boot file.)
*Now come back to your TFTP Application and browse for the folder named Upgrade, so the TFTP will be ready with the path for the upgrade and hit ok.
* check your computer’s IP address from CMD application (we opened before) run the next command: ‘”ipconfig”)
Now you can see you current IP address, the adapter can change, if you are connected to the internet via wireless or wired, and this IP address is the one you will use in the TFTP application as server interfaces, because your computer will act as Server.
Come back to your Putty APP and start the upgrade by running the next command to upgrade the boot:
“copy tftp flash 10.45.19.152 spz10114.bin bootrom”
Note: as you see the IP address, I am using matches with my computer ‘IP, due that my computer is my server, finally press enter, also you can configure out the file name of the boot by opening the file which will display the name and is the name we are going to use in the command.
*Continue with the upgrade, this time with the image:
“copy tftp flash 10.176.220.51 SPS08080f.bin primary” (upgrade the image)
“Show flash” (check the primary flash has the new code)
“Write memory” (save the changes)
“boot system flash primary” (boot the Switch with the new code)
Note: as you see, the name of the file now belongs to the image, and we are choosing to upgrade the primary partition.
* We need to continue the upgrade but now from code 08080f to 08095h, this part is easier due that the code 08095g we are just going to upgrade only the UFI image named SPS08095hufi.bin, this file contains all and will require one step.
*Run the next commands:
“copy tftp flash 10.176.220.51 SPS08095hufi.bin primary” (upgrade the image)
“Show flash” (check the primary flash has the new code)
“Write memory” (save the changes)
“boot system flash primary” (boot the Switch with the new code)
Note: as you see, the name of the file now belongs to the image of 08095h, and we are inserting the file in the primary partition.
*After the Switch comes back, run the next final command to copy what its in the primary partition to the secondary because we need that both partitions match.
“copy flash flash secondary will copy what is in the primary”