Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

9495

March 13th, 2017 07:00

Inadvertently reformatted N2048P

I was trying to reset an N2048P to factory defaults and inadvertently selected the option to reformat the filesystem instead.

Now the switch boots only to a u-boot menu. I tried to reload the firmware via TFTP, but I get an Error: Ethernet external port not connected.

How can I recover this switch?

5 Practitioner

 • 

274.2K Posts

March 13th, 2017 13:00

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

2 Posts

March 14th, 2017 08:00

Thank you so much for your help, the console interface instructions worked fine and I now have an operational switch again!

5 Practitioner

 • 

274.2K Posts

March 14th, 2017 08:00

Excellent! Glad to hear that worked.

3 Posts

March 14th, 2017 16:00

hi , i have a same problem... one question... the file .stk used for fix the boot its a same file for image file?.. i have a file named "N3000_N2000x6.3.2.3.stk " thank you for you answer

3 Posts

March 14th, 2017 16:00


Perform the whole procedure but does not start the normal switch ... only the menu appears "image file not present" 

5 Practitioner

 • 

274.2K Posts

March 15th, 2017 11:00

The switch has two images, these are the locations where the firmware is installed. One image is active at a time, with the other image being a backup image. The stk file is what is copied to these images. When you performed these steps did you run across any error messages? did the file transfer complete successfully?

5 Practitioner

 • 

274.2K Posts

March 15th, 2017 12:00

That is great news! Thanks for the update.

3 Posts

March 15th, 2017 12:00

Hello, I did the procedure again and the second attempt worked and I was able to access the switch., .. thank you very much for your help .. greetings

May 24th, 2018 17:00

hi accidentally i´m Reformat and restore file system , i try the follow steeps ( https://www.dell.com/community/Networking-General/Inadvertently-reformatted-N2048P/m-p/5125145#M30453 ) but the swicth isn´t boot

and display the follow mesage

Creating 1 MTD partitions on "nand0":
0x000000200000-0x00000f000000 : "mtd=4"
/image2 not found!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload [bytes]
    - load file 'filename' to address 'addr'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x160000 -- 100% complete.
Writing to Nand... done
/image1 not found!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload [bytes]
    - load file 'filename' to address 'addr'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
u-boot>

 

can you send me the correct proces an images file.

May 24th, 2018 17:00

hi accidentally i´m Reformat and restore file system , i try the follow steeps ( https://www.dell.com/community/Networking-General/Inadvertently-reformatted-N2048P/m-p/5125145#M30453 ) but the swicth isn´t boot

and display the follow mesage

Creating 1 MTD partitions on "nand0":
0x000000200000-0x00000f000000 : "mtd=4"
/image2 not found!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload [bytes]
    - load file 'filename' to address 'addr'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x160000 -- 100% complete.
Writing to Nand... done
/image1 not found!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload [bytes]
    - load file 'filename' to address 'addr'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
u-boot>

 

can you send me the correct proces an images file.

hi accidentally i´m Reformat and restore file system , i try the follow steeps ( https://www.dell.com/community/Networking-General/Inadvertently-reformatted-N2048P/m-p/5125145#M30453 ) but the swicth isn´t boot

and display the follow mesage

Creating 1 MTD partitions on "nand0":
0x000000200000-0x00000f000000 : "mtd=4"
/image2 not found!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload [bytes]
    - load file 'filename' to address 'addr'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x160000 -- 100% complete.
Writing to Nand... done
/image1 not found!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload [bytes]
    - load file 'filename' to address 'addr'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
u-boot>

 

can you send me the correct proces an images file.

5 Practitioner

 • 

274.2K Posts

May 26th, 2018 14:00

benimde var böyle bir sorun fakat yazılmla düzeldi

June 15th, 2018 15:00

June 15th, 2018 15:00

follow the follow steeps

use putty and extraputty.

and at the steep 5 use xmoden to transfer the firmware to the switch.

at the steep 9. e. upload again the firmware to it using ymoden. and thats it

( https://www.dell.com/community/Networking-General/Inadvertently-reformatted-N2048P/m-p/5125145#M3045... )

No Events found!

Top