Recovering Software Image
Introduction
This section explains how to recover ICX devices from image installation failure or deleted or corrupted flash images.
Method
IMPORTANT
Text marked in Red is a variable command and may differ from your configuration.
-
Connect a console cable from the ICX switches console port to your PC/laptop.
-
Connect an Ethernet cable from the management port (the port located under the console port on the ICX switch) to the PC/laptop which will need to host a TFTP server.
boot up your ICX switch while continuing to press 'B'. The device will be in boot mode for recovery. -
Set the TFTP server IP address that hosts a valid ICX software image using the setenv serverip command.
ICX 7450-48> setenv serverip 192.168.88.1
-
Set the IP address, gateway IP address, and netmask for the ICX switch (management port), and save the configuration using the setenv ipaddr, setenv gatewayip, setenv netmask, and saveenv commands.
ICX 7450-48> setenv ipaddr 192.168.88.2
ICX 7450-48> setenv gatewayip 192.168.88.254
ICX 7450-48> setenv netmask 255.255.255.0
ICX 7450-48> saveenv
Note: The IP address and the gateway IP address set for the device management port should be for the same subnet as the TFTP server NIC. -
Enter the printenv command to verify the IP addresses that you configured for the device and the TFTP server.
ICX 7450-48> printenv
baudrate=9600
ipaddr=192.168.88.2
gatewayip=192.168.88.254
netmask=255.255.255.0
serverip=192.168.88.1
uboot=brocade/ICX7450/bootcode/spz10115
Version:10.1.06T215 (May 15 2015 - 11:28:23) -
Test the connectivity to the TFTP server from the device using the ping command to ensure a working connection.
ICX 7450-48> ping 192.168.88.1
ethPortNo = 0
Using egiga0 device
host 192.168.88.1 is alive -
Provide the file name of the image that you want to copy from the TFTP server using the setenv image_name command.
ICX 7450-48> setenv image_name SPR08090.bin
-
Update the flash using the update_primary or update_secondary command as appropriate.
ICX 7450-48> update_primary
-
Set the file name of the boot image which was copied from the tftp server.
> setenv uboot SPR08090.bin
-
Update the uboot file.
ICX 7450-48> update_uboot
-
Load the image from the primary or secondary flash using the boot_primary or boot_secondary command as appropriate.
ICX 7450-48> boot_primary
- Optional/Recommended: Providing the switch boots correctly you may now want to ensure both primary and secondary banks are hosting valid and working software images. To do this you can use the method above (steps 8-11 on the opposite bank that you previously flashed) or refer to the following article(s):
- Upgrading ICX Firmware via USB
- Upgrading ICX Firmware via TFTP
No Comments