How to Upgrade Firmware on an EdgeRouter using UNMS, Web UI Or Command Line

Overview


Readers will learn from this explained article that how to upgrade EdgeRouter EdgeOS Firmware.

NOTES & REQUIREMENTS:

  • This form of processing is applicable to the latest EdgeOS firmware on all EdgeRouter models.
  • You can download the latest EdgeOS firmware from the EdgeRouter Downloads pages.


Table of Contents

  1. Upgrading via UNMS
  2. Upgrading via Web UI
  3. Upgrading via the Command Line

 

Upgrading via Web UI

Upgrading via the Web UI

 

You need to follow the below steps to upgrade the EdgeRouter using the Web UI:

GUI:
First access the EdgeRouter Web UI.

  1. Open any Web Browser and enter this URL https://192.168.1.1 in the address bar.
  2. By using the default credentials, log into the router.
    Username: ubnt
    Password: ubnt

NOTE: You can always check and learn about the Beginners Guide to EdgeRouter article if you are experiencing any issues via connecting to the EdgeRouter Web UI.

  1. Now download the EdgeOS firmware from the EdgeRouter Download page to a workstation.
  2. You have to now navigate to the System settings at the bottom left corner of the Web UI
    System > Upgrade System Image > Upload a file…
  3. Now select Uploaded file and browse and get ready your file system for the EdgeOS firmware release you want to upload.
  4. And wait for the firmware upgrade to get complete.

    NOTE: The firmware upgrade process is indicated with this specific loading icon.

  5. Reboot the device whenever prompted.

    ATTENTION: There are chances that if the firmware fails to install it is likely because the EdgeRouter’s storage is full.
    If you want to verify any storage issues, log in to the command line.

    CLI: Access the Command Line Interface or by using a program such as PuTTY, you can do this using the CLI button in the GUI.

 

  1. Verify the current file system and how much is the space taken by 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 (By negating currently running firmware).

    delete system image


  3. Retry the Web UI upgrade steps above.

 

Upgrading via UNMS

The Ubiquiti Network Management System (UNMS) allows easily for the remote device management and mass firmware upgrades for the adopted devices. UNMS will periodically and automatically download and store the latest firmware releases, which can then be transferred to the EdgeRouter.


Follow the below steps to upgrade the EdgeRouter Firmware using UNMS:


GUI: Access UNMS Controller Web Portal.

  1. Navigate for the connection Firmware Manager firmwaremanager.png to verify the available firmware releases.
  2. Select the Upgrade devices option on the EdgeRouter that you want to upgrade.
  3. Choose either schedule update or directly upgrade the firmwar (select ▼).

    Upgrade the EdgeOS Firmware

  4. The EdgeRouter will instantly and auto reboot once the firmware upgrade is complete.

    Upgrading via Command Line

    By using the CLI, the firmware can be upgraded by using three different separate methods:

    • By upgrading the firmware using the local image that was earliar uploaded using FTP, TFTP, or SCP.
    • Downloading the image directly from Ubiquiti website using HTTPS.
    • Downloading image from the remote server using FTP, TFTP or SCP.

    Steps to upgrade the EdgeRouter firmware using CLI:

    CLI: Access Command Line Interface. You can do this using the CLI button in the GUI or by using this specific program called as PuTTY.

    Now verify current 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

    Now delete the backup system image if additional storage space is required.
    delete system image
    Verify if the new firmware is all 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


NOTE: You can enter set system image default-boot command to swap the boot images when required.

  1. In the end reboot the device to activate the new firmware image.

Leave a Comment