EdgeRouter - How to Upgrade the EdgeOS Firmware
Overview
Readers will learn how to upgrade the firmware on an EdgeRouter using UISP, the Web UI, or the Command Line.
- Applicable to the latest EdgeOS firmware on all EdgeRouter models.
- The latest EdgeOS firmware can be downloaded from the EdgeRouter Downloads page.
Table of Contents
Upgrading via the Web UI
Firmware upgrade process when using HTTPS to upload the firmware image from a local workstation.
Follow the steps below to upgrade the EdgeRouter using the Web UI:
1. Open a Web Browser and enter https://192.168.1.1 in the address bar.
2. Log into the router using the default credentials.
Username: ubnt
Password: ubnt
3. Download the EdgeOS firmware from the EdgeRouter Downloads page to a workstation.
4. Navigate to the System settings in the bottom left corner of the Web UI.
System > Upgrade System Image > Upload a file...
5. Select Upload a file and browse your filesystem for the EdgeOS firmware release you wish to upload.
6. Wait for the firmware upgrade to complete.
7. Reboot the device when prompted.
To verify any storage issues, log in to the command line.
1. Verify the current filesystem and how much space is taken by the old firmware images.
show system storage
Filesystem Size Used Available Use% Mounted on
/dev/root 3.3G 169.0M 2.9G 5% /root.dev
show system image storage
Image name Read-Only Read-Write Total
------------------------------ ------------ ------------ ------------
v2.0.0.5155284.190104.0701 81684 1796 83480
v1.10.10.5210357.190714.1229 82328 348 82676
2. If additional storage space is needed, you can safely delete the backup system image (not the currently running firmware).
delete system image
3. Retry the Web UI upgrade steps above.
Upgrading via UISP
UISP allows for easy remote device management and mass firmware upgrades for adopted devices. UISP will automatically and periodically download and store the latest firmware releases, which can then be transferred to the EdgeRouter.
Follow the steps below to upgrade the EdgeRouter firmware using UISP:
1. Navigate to the connection Firmware Manager to verify the available firmware releases.
2. Select the Upgrade devices option on the EdgeRouter that you wish to upgrade.
3. Choose to either schedule the update or upgrade the firmware directly (select ▼).
4. The EdgeRouter will automatically reboot once the firmware upgrade is complete.
Upgrading via the Command Line
Using the CLI, the firmware can be upgraded using three different methods:
- Upgrading the firmware using a local image that was previously uploaded using TFTP, FTP or SCP.
- Downloading the image directly from the Ubiquiti website using HTTPS.
- Downloading the image from a remote server using TFTP, FTP or SCP.
Follow the steps below to upgrade the EdgeRouter firmware using the CLI:
1. Verify the currently installed firmware and storage space.
show version
Version: v1.10.10
HW model: EdgeRouter 6P
show system storage
Filesystem Size Used Available Use% Mounted on
/dev/root 3.3G 169.0M 2.9G 5% /root.dev
show system image storage
Image name Read-Only Read-Write Total
------------------------------ ------------ ------------ ------------
v2.0.0.5155284.190104.0701 81684 1796 83480
v1.10.10.5210357.190714.1229 82328 348 82676
2. Delete the backup system image if additional storage space is needed.
delete system image
3. Upgrade the EdgeRouter firmware using one of the three methods described below:
Upgrading the firmware using a local image that was previously uploaded using TFTP, FTP or SCP. 1. Download the EdgeOS firmware to a workstation.
2. Upload the image to the device using TFTP, FTP or SCP. 3. Upgrade the firmware using the previously uploaded image. add system image /tmp/firmware.tar |
Downloading the image directly from the Ubiquiti website using HTTPS. 1. Visit the EdgeMAX Download page and copy the firmware URL to your clipboard.
2. Add the image to the EdgeRouter directly using the previously copied URL. add system image https://dl.ui.com/.../firmware.tar |
Downloading the image from a remote server using TFTP, FTP or SCP. 1. Download the EdgeOS firmware to a workstation.
2. Upload the image to the device using TFTP, FTP or SCP. add system image tftp://ip-address/firmware.tar |
4. Verify that the new firmware is set to be the default boot image.
show system image The system currently has the following image(s) installed: v2.0.6.5208554.190708.0611 (default boot) v1.10.10.5210357.190714.1229 (running image) A reboot is needed to boot default image
5. Reboot the device to activate the new firmware image.
reboot
Related Articles
EdgeRouter - Beginners Guide to EdgeRouter
EdgeRouter - How to Access the EdgeRouter
Intro to Networking - How to Establish a Connection Using SSH