×

EdgeSwitch XP - TFTP Recovery

Overview

In this article we will provide the necessary steps to recover the EdgeSwitch XP models. This process will completely restore the factory default settings and erases all custom configuration.

NOTES & REQUIREMENTS:
  • Applicable to the EdgeSwitch XP models (ES-5XP / ES-8XP / ES-16XP).
  • Using the TFTP recovery method is only recommended when the regular reset procedure does not work.
  • See the How to Reset to Factory Defaults help center article for more information on resetting the EdgeSwitch XP.
  • The latest EdgeSwitch XP firmware can be downloaded from the EdgeMAX Downloads page.

Table of Contents

  1. Introduction
  2. Recovery Using a TFTP Client
  3. Related Articles

Introduction

Back to Top

In rare cases when an EdgeSwitch XP becomes unresponsive, these instructions may be used to recover the device back to its default state. This is typically not the first step in troubleshooting issues, but rather a last resort recovery method.

The TFTP Recovery feature works by using the reset button and by using a TFTP client on a workstation. Pressing the reset button on the EdgeSwitch XP will enable the TFTP recovery mode by running a TFTP server on the switch. Afterwards, a firmware image can be uploaded from the TFTP client. A regular firmware image file is used for the TFTP recovery. The firmware can be downloaded from the EdgeMAX Downloads section.

NOTE:It is not necessary to use the same firmware image version as the one that is present on the device. It is possible to recover an EdgeSwitch XP running v2.0.0 using the v1.4.1 firmware image for example.

Recovery Using a TFTP Client

Back to Top

In this section, a TFTP client is set up on a workstation to allow the recovery image to be uploaded to the EdgeSwitch XP.

topology.png

Connecting an Ethernet cable from the management port on the EdgeSwitch XP to a Workstation.

Follow the steps below to initiate the TFTP recovery process:

1. Download the relevant EdgeSwitch XP firmware file from the EdgeMAX Downloads section.

2. Connect an Ethernet cable from the management (MGMT) port of the EdgeSwitch XP directly to your computer. 

3. Assign a static IP address to your computer's network interface, for example 192.168.1.10/24.

reset.gif

The TFTP recovery mode can be initiated by pressing the reset button while powering on the device by plugging in the power cable.

4. Press and hold the reset button.

5. Plug in the power cable.

6. The amber (right) LED of the MGMT port will be solid on. Release the reset button immediately after it turns off. This takes around ~8 seconds after plugging in the power.

7. The amber (right) LED of the MGMT port will start blinking continuously. This indicates that the TFTP recovery server is running.

ATTENTION: The TFTP recovery process is indicated by the continuous blinking of theamber (right) LED of the MGMT port.

8. Run a TFTP client application and upload (put) the recovery image to the device.

 Windows Client

In this example we are using Tftpd32 as the TFTP client using the following settings:

Host: 192.168.1.20
Port: 69
Local File: firmware.bin
Remote File: <blank>
Block Size: Default

applelogo.png  macOS Client

Open a new Terminal window and use the following TFTP client commands:

tftp
tftp> connect 192.168.1.20
tftp> binary
tftp> put firmware.bin

9. Wait for the recovery process to complete. The EdgeSwitch XP will automatically load the uploaded firmware file and reboot during the process.

10. Access the device by navigating to the https://192.168.1.20 address using a Web browser.

Related Articles

Back to Top

EdgeSwitch XP - How to Reset to Factory Defaults

EdgeSwitch XP - How to Upgrade the Firmware

EdgeSwitch XP - How to Upgrade the Firmware via the CLI

Was this article helpful?
1 out of 1 found this helpful
Can't find what you're looking for?
Visit our worldwide community of Ubiquiti experts for more answers
Visit the Ubiquiti Community