Reply to Message

Reply to Message

View discussion in a popup

Replying to:
Moderator
Moderator

RE: Inadvertently reformatted N2048P

Within the Uboot window we have some commands available to us. Using these commands along with the boot menu we can transfer the bootcode to the switch. Both of these options can take some time to finish transferring, but the first option will be quicker than using the console method. Some of these steps can change slightly based on the software you are using.

Process for transferring the bootcode using the OOB interface:
 

  1. Configure a tftp server and connect it to the OOB interface
  2. Download the firmware to be used on the switch and extract the stk file from the zip file to the root/home directory of the tftp server
  3. Statically assign an IP address to the network interface of the device that will be used to transfer firmware to the switch
  4. Connect to the switch via the console interface and enter the following commands to transfer the firmware:
    1. u-boot> setenv ipaddr 192.168.1.2                    //IP address that will be set to the OOB interface
    2. u-boot> setenv netmask 255.255.255.0
    3. u-boot> setenv serverip 192.168.1.1                 // IP address of the tftp server IP address
    4. u-boot> tftpboot N3000_N2000v6.2.7.2.stk         //Use the filename of the firmware downloaded
    5. u-boot> saveenv
    6. u-boot> reset
  5. When the Boot Menu loads, choose option 4 (Load New Operational Code).
    • Boot Main Menu
    • ==============
    • 1- Start Operational Code
    • 2- Select Baud Rate
    • 3- Retrieve Logs
    • 4- Load New Operational Code
    • 5- Display Operational Code Details
    • 9- Reboot
    • 10- Restore Configuration to Factory Defaults
    • 11- Activate Backup Image
    • 12- Start Password Recovery
    • Enter Choice# 4
  6. Connect to the switch via the console interface and enter the following commands to transfer the firmware:
    1. Creating tmpfs filesystem on /mnt/download for download...done. Current Active Image: image1
    2. Which Image to Update Active (image1) OR Back-Up (image2)? Select (A/B): A
      You selected to update Back-Up Image image1...
    3. Select Mode of Transfer (Press T/X/Y/Z for TFTP/XMODEM/YMODEM/ZMODEM) []:t
    4. Please ensure TFTP server is running to begin Transfer...
    5. Enter Server IP []:                     //IP address of the tftp server IP address
    6. Enter Host IP []:                       //IP address that will be set to the OOB
    7. Enter Host Subnet Mask [255.255.255.0]:            //As applicable
    8. Enter Gateway IP []:                 //Unnecessary within the same network
    9. Enter Filename []:                     //This will be the file that ends in stk
    10. Do you want to continue? Press(Y/N):Y
  7. When the transfer is completed, the switch will restart.  At this point, allow the switch to complete the reload.  The firmware should now be loaded into flash and normal switch configuration can occur.  To verify the loaded switch version:
    1. console>enable
    2. console#show version


Process for transferring the bootcode using the console interface:

  1. Download or configure a terminal emulator that supports the Y-Modem transfer protocol.  ExtraPutty and Tera Term are readily available freeware, but the use of 3rd party software is solely the responsibility of the end user.  Prior to installing 3rd party software, explicit permission must be obtained from the end user.
  2. Connect to the switch via terminal emulator and change the baud rate to 115200:
    u-boot> setenv baudrate 115200
  3. Change the baud rate within the terminal emulator to 115200.
  4. Set the switch to receive the firmware file:
    u-boot> loady
  5. Send the firmware file via the terminal emulator via YMODEM.  When this is completed, the switch will need to be manually restarted.
  6. u-boot> saveenv
  7. u-boot> reset
  8. When the Boot Menu loads, choose option 4 (Load New Operational Code).
    • Boot Main Menu
    • ==============
    • 1- Start Operational Code
    • 2- Select Baud Rate
    • 3- Retrieve Logs
    • 4- Load New Operational Code
    • 5- Display Operational Code Details
    • 9- Reboot
    • 10- Restore Configuration to Factory Defaults
    • 11- Activate Backup Image
    • 12- Start Password Recovery
    • Enter Choice# 4
  9. Set the switch to receive the firmware file:
    1. Creating tmpfs filesystem on /mnt/download for download...done.
      Current Active Image: image2
    2. Which Image to Update Active (image2) OR Back-Up (image1)? Select (A/B): A
      You selected to update Active Image image2...
    3. Select Mode of Transfer (Press T/X/Y/Z for TFTP/XMODEM/YMODEM/ZMODEM) :Y
    4. Do you want to continue? Press(Y/N): Y
    5. Send the firmware file via the terminal emulator via YMODEM.  At this step, X/Y/Z modem could be used, but for consistency YMODEM is selected in part c.  When this is completed, the switch will need to be started manually by selecting option 1.  At this point, allow the switch to complete the reload.  The firmware should now be loaded into flash and normal switch configuration can occur.  To verify the loaded switch version:
      1. console>enable
      2. console#show version

Daniel Covey
Dell EMC| Enterprise Support Services
Get support on Twitter:@DellCaresPRO
Download our QRL app:iOS, Android, Windows
Dell Networking Resources