EdgeSwitch & EdgeSwitch X - How to Upgrade the Firmware


Overview


Readers will learn how to upgrade the firmware on an EdgeSwitch or EdgeSwitch X. The latest firmware versions can be downloaded from the EdgeMAX Download section.

NOTES & REQUIREMENTS: 
Applicable to the latest firmware on all EdgeSwitch and EdgeSwitch X models. Please see the Related Articles below for more information.
 
Devices used in this article:

Table of Contents


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

Upgrading via UNMS


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

unms.png
GUI: Access the UNMS Controller Web Portal.

1. Navigate to the connection Firmware Manager  firmwaremanager.png  to verify the available firmware releases.

2. Navigate to the Devices  devices.png  to upgrade the relevant switches.

Actions > Change firmware version

3. Select the EdgeSwitch device(s) and schedule the firmware upgrade.

4. The EdgeSwitch will automatically reboot once the firmware upgrade is complete.


Upgrading via the Web UI


Back to Top

GUI: Access the EdgeSwitch Web UI.

1. Download the EdgeSwitch or EdgeSwitch X firmware from the EdgeMAX Download section.

2. Navigate to the Settings  settings.png  to upgrade the device firmware.

Settings > System actions > Upgrade firmware

3. Select Upgrade  upgrade.png  and browse your filesystem for the EdgeSwitch firmware release you wish to upload.

4. Wait for the firmware upgrade to complete. 

NOTE: The firmware upgrade process is indicated with the  process.png  loading icon.

5. Reboot the device when prompted using the Reboot  reboot.png  button.


Upgrading via the Command Line


Back to Top

ATTENTION: The steps below only apply to the EdgeSwitch (ES) models and not EdgeSwitch X (ES-X).

You will need a way to transfer files to and from the EdgeSwitch, such as a TFTP or FTP server.

CLI: Access the EdgeSwitch Command Line Interface.

1. Enter privileged mode.

enable

2. Show the currently active and backup firmware.

show bootvar
-------  --------------------  ----------------------------------------
Image    Version               Descriptions
-------  --------------------  ----------------------------------------
active  *1.8.0.5106045
backup   1.7.4.5075842

Current Active : 1.8.0.5106045
Next Active    : 1.8.0.5106045

3. Show the current network management settings.

show network
Interface Status............................... Up
IP Address..................................... 192.168.1.2
Subnet Mask.................................... 255.255.255.0
Default Gateway................................ 0.0.0.0
Management VLAN ID............................. 1

4.  Upload the new firmware to the switch.

copy tftp://<ip-address>/<filename> backup
copy ftp://<user>@<ip-address>/<filename> backup

copy tftp://192.168.1.10/ES-eswh.v1.8.1.5145168.stk backup

Mode........................................... TFTP
Set Server IP.................................. 192.168.1.10
Path........................................... ./
Filename....................................... ES-eswh.v1.8.1.5145168.stk
Data Type...................................... Code            
Destination Filename........................... backup

Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y
TFTP Code transfer starting...
File contents are valid. Copying file to flash…

File transfer operation completed successfully.
NOTE: This transfer could take some time to complete.

5.Select the newly uploaded firmware to be the next active firmware.

boot system backup

6. Verify the active and backup firmware. 

show bootvar
-------  --------------------  ----------------------------------------
Image    Version               Descriptions
-------  --------------------  ----------------------------------------
active   1.8.0.5106045
backup  *1.8.1.5145168

Current Active : 1.8.0.5106045
Next Active    : 1.8.1.5145168
NOTE: The * indicates the firmware that will boot (active firmware) after the next switch restart.

7. Restart the Switch. 

reload

8. Verify the active and backup firmware.

show bootvar
------- -------------------- ----------------------------------------
Image Version Descriptions
------- -------------------- ----------------------------------------
active *1.8.1.5145168
backup 1.8.0.5106045

Current Active : 1.8.1.5145168
Next Active : 1.8.1.5145168

Related Articles


Back to Top

EdgeSwitch - How to Update Bootloader

EdgeSwitch - Backup and Restore Configuration

EdgeSwitch - Management Access Methods

EdgeSwitch - Command Line Interface (CLI) and Admin Guides


We're sorry to hear that!