cancel
Showing results for 
Search instead for 
Did you mean: 

We lost power and stack rebooted into Layer 3 mode. How to revert to layer 2 and retain configs?

bruce_mittleman
New Contributor
Good day,

We lost power to our switching rack several days ago and our UPS batteries also depleted, so all the switches rebooted when the power came back on.  To my surprise they came back up in layer 3 mode, and I can no longer access the GUI or CLI without using the console cable.  We are only using Layer 2 functionality.  The code on these switches is very different than what I'm used to!

A couple of questions:

1) Is it possible to reboot the stack back into Layer 2 mode, retaining all the configs, plus set the switches so that they come back in layer 2 mode if another power failure occurs?


2) If there is any danger in losing the configs with the above, how can I assign an IP to the switch just for management while it is in layer 3 mode?  I've tried several commands, but they don't seem to work or are not valid in this configuration.


Thank you.
3 REPLIES 3

andre_paiva
New Contributor III
Hi...
Possibly it restarted after a power failure with a wrong image (secondary or primary, depending on how it is)


If you still have the image on each partition (Router or Switch) you may be able to run it, just set "boot system flash secondary"

Can help these commands

Check:
ICX7150-C12 Switch# show flash
ICX7150-C12 Switch# show version
ICX7150-C12 Switch# show boot-preference

ICX7150-C12 Switch# boot system flash secondary yes

ICX7150-C12 Switch(config)# boot system flash secondary
ICX7150-C12 Switch(config)# write memory
ICX7150-C12 Switch# show flash
ICX7150-C12 Switch# copy flash flash secondary
ICX7150-C12 Switch# show flash

# Create interface IP (MODE FIRMWARE SWITCH - SPS08080b)
ICX7150-C12 Switch# ip address 192.168.1.27 255.255.255.0
ICX7150-C12 Switch# show ip

andre_paiva
New Contributor III
I forgot a part above:

# Create interface IP (MODE FIRMWARE SWITCH - SPS08080b)
ICX7150-C12 Switch# ip address 192.168.1.27 255.255.255.0
ICX7150-C12 Switch# show ip
ICX7150-C12 Switch# ip default-gateway 192.168.1.1

# Create interface vlan IP (MODE FIRMWARE ROUTER - SPR08061b)
ICX7150-C12 Switch(config)# vlan 1
ICX7150-C12 Router(config-vlan-1)# router-interface ve1
ICX7150-C12 Router(config-vlan-1)# exit
ICX7150-C12 Switch(config)# interface ve1
ICX7150-C12 Switch(config-vif-1)# ip address 192.168.1.1/24
ICX7150-C12 Switch(config-vif-1)# exit
ICX7150-C12 Switch(config)# ip route 0.0.0.0/0 192.168.10.254
ICX7150-C12 Switch(config)# show ip interface

jijo_panangat
RUCKUS Team Member
Hi Bruce,

Well, Its difficult to say what went wrong during the outage without looking into the switch, Pls open a tac case if you can to review the existing config and set the boot preferences accordingly.


Thanks
Jijo