Reset Unifi Switch – the correct way

Most of the time the Unifi gear is really easy to manage or adopt it in your network. But sometimes it just won’t work. I also had an Unifi Switch which I just couldn’t get adopted in the controller. A factory reset is then the best option, but how do you reset an Unifi Switch?

Just pressing the reset button doesn’t always work, especially with switches that have PoE ports, for example, the US-8-60W. Below you will find the correct way to reset an Unifi Switch and also a couple of tips for when the adoption won’t succeed.

Resetting an Unifi Switch

Each Unifi Switch will have a reset button on the back. With a small paperclip, you will need to press to the button for 5 seconds to factory reset the switch. But there is more to it:

  1. Power off the device

    Just unplug the power cable

  2. Forget the device in the controller

    Open your controller, select the device, click settings and scroll down to forget

    reset unifi switch

  3. Unplug all network cables

    A PoE enabled switch won’t factory reset when it’s providing PoE to connected devices

  4. Plug power back in

    Plug the power back in and let the device boot, don’t press the reset button yet!

  5. Wait until the led turns dark blue

    Wait for the device to fully boot, the led will turn dark blue (or stay white if it wasn’t adopted before, approximately 5 minutes max)

  6. Press the reset button for 5 seconds

    Use a paperclip to press the button for 5 seconds to initiate the factory reset

  7. Adopt the device in the controller

    When the reboot is completed the led will turn pale blue. You can now adopt the switch in the controller

Other tips for solving Unifi Device Adoption Issues

I have been working a lot with Unifi devices and sometimes you just got one of those devices that just won’t adopt. You may get an error that a firmware update is required or you can’t simply find the device in the controller.

There are a couple of things you can try:

Firmware update required

So when you get an error that a firmware update is required you can try two things. Manually install the firmware on the device or cache it in the controller. Sometimes the downloading of the firmware is what causing the problems.

To cache the firmware in your controller you open your controller and go to the settings (lower left gear icon). Search for Firmware and select Device Firmware Cache (or select Updates > Firmware in the settings menu)

Cache the firmware for the device you are trying to adopt. When the firmware is downloaded, initiate the adoption again.

Installing Firmware Manually on Unifi Device

If you keep having problems with the installation of the firmware you can also try to install it your self directly on the device. To do this we are going to access the device using SSH.

  1. Open Putty
  2. Enter the IP Address of the device (you might find it in the Unifi Controller under devices)
  3. Leave the port on 22 and click on open (you can ignore the warning)
  4. If the device is factory reset, then the login is ubnt / ubnt
  5. Find the latest Firmware on the Download page at ui.com
  6. Click on Download, accept the terms and you will get a direct download url
  7. Now use the following command in Putty to upgrade the firmware

    upgrade https://dl.ui.com/path/to/upgrade-vX.Y.Z.bin

The device will download and install the firmware and reboot once it’s complete. You can now try to factory reset the device (the new firmware won’t be lost 😉 ) and adopt it again. Just follow the sets above.

Set the inform URL

If you don’t see the device in the Unifi Controller you can also double-check the inform URL. Follow the steps above to login with SSH.

Type the following command to set the inform URL to the IP Address of your Unifi Controller. Change 192.168.1.100 to the correct Ip of you controller of course 😉

set-inform http://192.168.1.100:8080/inform

Conclusion

I hope you got your Unifi Switch up and running with these tips. If you have any questions or suggestions, just drop a comment below! If you want to receive Unifi tips in your mailbox, make sure you subscribe to the newsletter below.

You may also like:

Get more stuff like this

IT, Office365, Smart Home, PowerShell and Blogging Tips

I hate spam to, so you can unsubscribe at any time.

6 thoughts on “Reset Unifi Switch – the correct way”

  1. Hi Rudy,

    Appreciate your website and guidance. I have followed it with setting up my home network.

    I have an EdgeRouter X SFP 192.168.1.1

    Connected to the router I have:

    -UAP-AC-LR 192.168.1.100

    -US-8-60W 192.168.1.103 (CK-Gen2 (controller) and UAP-AC-LR 192.168.1.102 connected to it)

    I am trying to add a second US-8-60W (it will be connected to another UAP-AC-LR and my apple tv/sonos) to my EdgeRouter X SFP. When I try to adopt it using my controller on iOS, I get adoption failure. I have tried resetting it multiple times as per above and firmware is up to date. The IP address for the US-8-60W switch im trying to add is 192.168.1.20.

    Any suggestions? Thanks in advance.

    • So you see the US-8-60W in the controller? If not, then set the inform address.

      And what is the firmware version of the other switch? Make sure that both have the same firmware version.

  2. Thank you – this has been very helpful and works, like Keith said I have not seen, anywhere on the internet, that if you have POE devices connected, the reset will not work, and it worked for me. Great Thank you again.

    • Step 6 ;). But yes, normally the reset button will work most of the time. But if you have a PoE device connected to an Unifi Switch, it won’t factory reset. And in some other cases, the Unifi Switch just won’t reset the factory mode with the button alone.

      Following these steps will help to fix those issues 🙂

  3. Thanks. This was very helpful. No where else did I find that the switch won’t factory reset while powering APs….

Leave a Comment

2 Shares
Tweet
Pin
Share2
Share