Any specific commands to switch to switch code from router code on 8070d?

  • 1
  • Question
  • Updated 5 months ago
  • Answered
Any specific commands to switch to switch code from router code on 8070d? I somehow ended up with SPR code on primary and secondary



Stack unit 1:

  NAND Type: Micron NAND 2GiB (x 1)

  Compressed Pri Code size = 29451996, Version:08.0.70dT213 (SPR08070d.bin)

  Compressed Sec Code size = 29451996, Version:08.0.70dT213 (SPR08070d.bin)

  Compressed Boot-Monitor Image size = 786944, Version:10.1.14T225

  Code Flash Free Space = 1319104512
Photo of Sal Buscemi

Sal Buscemi

  • 12 Posts
  • 2 Reply Likes

Posted 5 months ago

  • 1
Photo of Hashim Bharoocha

Hashim Bharoocha, Employee

  • 59 Posts
  • 35 Reply Likes
Hey Sal,

Show version will show the version.
You have router code:
SPR08070d.bin

Sample snippet:

ICX7450-48P Router#sh ver
  Copyright (c) 1996-2016 Brocade Communications Systems, Inc. All rights reserved.
    UNIT 1: compiled on Feb 13 2019 at 18:02:28 labeled as SPR08030t
      (31768772 bytes) from Primary SPR08030t.bin
        SW: Version 08.0.30tT213
      Compressed Boot-Monitor Image size = 786944, Version:10.1.14T215 (spz10115)
  HW: Stackable ICX7450-48-HPOE
  Internal USB: Serial #: 9900615043000082
      Vendor: ATP Electronics, Total size = 1919 MB

 SPR08030t  where the third letter will say S or R.  S is for Switched and R is for Router code.
Hope this helps.
Thanks
Hashim
(Edited)
Photo of Sal Buscemi

Sal Buscemi

  • 12 Posts
  • 2 Reply Likes
How do I change back to SPS - switch code?
Photo of Abi

Abi

  • 86 Posts
  • 44 Reply Likes
Hi Sal, 

You have to upgrade the switch with switch code.

Regards,
Abilash PR.
Photo of Hashim Bharoocha

Hashim Bharoocha, Employee

  • 59 Posts
  • 35 Reply Likes
Hi Sal,
Here is the link to both the codes you need a credential to access it:
https://support.ruckuswireless.com/software/1913-ruckus-icx-fastiron-08-0-70d-software-release-zip
Unzip them with directory structure use tftp server make sure you have connectivity and  run Commands:
copy tftp flash 10.176.4.25 /pub/sre/Released/ironware/FastIron/08070/08070a/ICX7150/Images/SPS08070a.bin pri

write mem
reload.
10.176.4.25  is example use your own IP address.
When you go to Switched code all your Routing Interfaces will be gone so please be aware and your Management VLAN will have to be configured with an IP address for connectivity.

Hope this helps.

Thanks
Hashim
(Edited)
Photo of Jijo Panangat

Jijo Panangat, Employee

  • 42 Posts
  • 14 Reply Likes
Hey Sal,
There is no cmd to change to switching code when your primary and secondary flash runs routing code.

Compressed Pri Code size = 29451996, Version:08.0.70dT213 (SPR08070d.bin) >> Routing 

  Compressed Sec Code size = 29451996, Version:08.0.70dT213 (SPR08070d.bin) >> Routing

If one of it had a switching code, you can do a 'boot system  flash primary/secondary' to load the image. In this case, you need to load the switching code first and use the above to boot from the partition.



Thanks
Jijo 
Photo of NETWizz

NETWizz

  • 182 Posts
  • 58 Reply Likes
Good Day:

Your command on that platform is:
copy tftp system-manifest 10.1.2.3 FI08080e_Manifest.txt primary switch-image



Download and extract 08080e, but do not worry about all the different platforms it supports... You want all 664 MB of it in a folder.  In my case it is c:\TFTP-Root\08080e

Under there are folders like c:\TFTP-Root\08080e\ICX7150, ICX7250, ICX7450, etc.

I personally use Tftpd64 by Ph. Jounin, but there are many great TFTP programs available such as the one from Solar Winds.  In my case, I point the "Current Directory" to c:\TFTP-Root\08080e\ in my TFTP program.

On the switch, set an IP on an interface or VE on the same subnet you are on.  If you do it correctly, you should be able to ping your computer "ping 10.1.2.3" for example.

This command below assumes your computer is 10.1.2.3

Send the Switching "SPS" Firmware:
copy tftp system-manifest 10.1.2.3 FI08080e_Manifest.txt primary switch-image

By historical convention, we send the switching firmware to the primary and routing firmware to the secondary on all Fast-Iron type devices.  Before upgrading one switching firmware version to another, I would backup "copy" the primary => secondary.

Likewise, if I were running routing firmware, I would boot the secondary.  If I were going to upgrade, I would backup secondary => primary

Here is the command to upgrade the Routing firmware (for reference):
copy tftp system-manifest 10.1.2.3 FI08080e_Manifest.txt secondary router-image

***

When done the "show flash" will show:

Stack unit 1:

  NAND Type: Micron NAND 2GiB (x 1)

  Compressed Pri Code size = 25973456, Version:08.0.80eT211 (SPS08080e.bin)

  Compressed Sec Code size = 29451996, Version:08.0.70dT213 (SPR08070d.bin)

  Compressed Boot-Monitor Image size = 786944, Version:10.1.14T225

  Code Flash Free Space = 1319104512

You probably want to verify the checksum:

Switch#verif md5 pri.......................................................Done
Size = 25973456, MD5 03420970e5d4bb0cd48f5bc6485541a8


Also the boot preference:

Switch#sh boot-pr
Boot system preference(Configured):
        Use Default

Boot system preference(Default):
        Boot system flash primary
        Boot system flash secondary

(Edited)