# Firmware Update

### 1. Function Overview

This product offers the following two firmware update functions, in order to correct problems in the program and to add new functionality.

1. Firmware updates can be transmitted and applied to this product from a remote terminal such as a computer.

2. This product’s built-in HTTP client can access an HTTP server, to download and apply the latest firmware.

These update functions can be used to upgrade or downgrade the version of firmware used on this product.
Note that a firmware version downgrade from Rev.1.03.13 or later version to Rev.1.03.12 or earlier version is not possible due to compatibility with new parts.

When successfully finished writing the updated firmware, the system is automatically rebooted in order to apply the new firmware.

### 2. Definition of Terms Used

None

### 3. Function Details

#### 3.1. Update by transmitting the firmware update

This function transmits firmware updates to this product from a remote terminal, such as a computer, and applies it as boot firmware.
The update process is executed using a TFTP client or the Web GUI.

##### 3.1.1. Using a TFTP client to update the firmware

Firmware can be updated by using a TFTP client installed on a computer or other remote terminal to transmit the updated firmware to this device.
In order to operate this product’s TFTP server, use the steps shown below to set up a network environment that allows remote access.

1. Set the IPv4/IPv6 address on a desired VLAN.

2. Enable the TFTP server. Enable the server using the tftp-server enable command.

3. If necessary, hosts able to access the TFTP server can be specified using the tftp-server access command.

Follow the rules below when sending the firmware update using the TFTP client.

- Set the transmission mode to “binary mode”.

- As shown in the table below, specify the remote path to which the firmware update is sent.

- If an administrative password has been specified for this product, use the form “/PASSWORD” to specify the administrative password following the remote path.

When updating firmware that uses TFTP clients, the following two types of updates are possible.

- Updated firmware

  Type | Remote path
  --- | ---
  Internal firmware | exec
  Boot loader | boot

If there is no problem with the firmware update that was sent, the firmware update will be saved.

##### 3.1.2. Updating the firmware by specifying a local file in the Web GUI

Specify the firmware update located on the terminal accessing the Web GUI, and apply it to this product.
This function does not do a version comparison with the existing firmware, and will overwrite the specified firmware regardless of version.

To update firmware by specifying a local file, click [Maintenance] - [Firmware update] in the Web GUI on the computer. (Refer to the part shown in a red frame on the screenshot below.)
Refer to the help contents within the GUI for the specific operation method.

- Initial screen on the Web GUI for updating firmware using a computer

#### 3.2. Using an HTTP client to update the firmware

This method of firmware update uses an HTTP client to obtain the firmware update from a specified URL, and then apply it to this product.
This function assumes that the firmware version will be upgraded. Downgrading to a previous version will only be permitted only if the downward revision permission is given.
The firmware cannot be rewritten with the same version of firmware.
An HTTP client can be used to update the firmware using the methods below.

- Use the firmware-update command in the CLI (command-line interface).

- Execute update firmware via network in the Web GUI.

Updating the firmware with an HTTP client is done by using the settings value shown in the table below.

Setting parameter | Explanation
--- | ---
Download source URL | Sets the source URL from which the firmware is downloaded. A URL of up to 255 characters in length can be set. The initial value is set as follows for each model. SWX2210P-10G: http://www.rtpro.yamaha.co.jp/firmware/revision-up/swx2210p-10g.bin SWX2210P-18G: http://www.rtpro.yamaha.co.jp/firmware/revision-up/swx2210p-18g.bin SWX2210P-28G: http://www.rtpro.yamaha.co.jp/firmware/revision-up/swx2210p-28g.bin
HTTP proxy server | Specifies the proxy server to use for updating firmware. Specify it either as an IPv4/IPv6 address or FQDN. FQDNs can be up to 255 characters long. No proxy server is specified in default settings.
HTTPS proxy server
Permit downward revision | Sets whether the current version of firmware can be downgraded to a previous version. The default value is “Don’t allow”. Overwriting the firmware with the same version of firmware is not permitted.
Timeout | Specifies the timer for monitoring the completion of the processes shown below. * Version check of old and new firmware * The download monitoring timer from the specified URL can be specified from 100 seconds to 86,400 seconds, and the initial setting is set to 300 seconds.

For instructions on using the firmware-update command, refer to “Examples of Command Execution” or the “Command Reference”.
To update firmware over the network using the Web GUI, execute [Maintenance] - [Firmware update] on the Web GUI. (Refer to the part shown in a red frame on the screenshot below.)
Refer to the help contents within the GUI for the specific operation method.

- Initial Web GUI Screen for Updating Firmware via the Network

#### 3.3. Reboot after writing

When successfully finished writing the firmware update, the system is automatically rebooted.

### 4. Related Commands

Related commands are indicated below.
For details, refer to the Command Reference.

Operations | Operating commands
--- | ---
Set firmware update site | firmware-update url
Specify HTTP proxy server to use for updating firmware | firmware-update http-proxy
Specify HTTPS proxy server to use for updating firmware | firmware-update https-proxy
Execute firmware update | firmware-update execute
Set firmware download timeout duration | firmware-update timeout
Permit downward revision | firmware-update revision-down
Show firmware update function settings | show firmware-update

### 5. Examples of Command Execution

#### 5.1. Using an HTTP client to update the firmware

In this example, the firmware update is stored on the local HTTP server, and this product is set to manage the firmware in order to perform the update.

- Change the download URL to http://192.168.100.1/swx2210p-10g.bin.

- The downward revision setting is left disabled.

- The timeout value is left at 300 sec.

  1. The download URL is changed, and the firmware update settings are confirmed.

             Yamaha(config)#firmware-update url http://192.168.100.1/swx2210p-10g.bin (1)
             Yamaha(config)#exit
             Yamaha#show firmware-update (2)
             url:http://192.168.100.1/swx2210p-10g.bin
             timeout:300 (seconds)
             revision-down:disable

     1 | Set download source URL
     2 | Show firmware update function settings

  2. The firmware update is executed.

             Yamaha#firmware-update execute (1)
             Found the new revision firmware
             Current Revision: Rev.1.03.01
             New Revision:     Rev.1.03.02
             Update to this firmware? (Y/N)y (2)
             Download...
             %% Completed the firmware download
             %% Updating...

             (3)

     1 | Execute firmware update
     2 | Enter y
     3 | The system automatically reboots

  3. Pressing “CTRL+C” during the firmware update process will interrupt the update.

             Yamaha#firmware-update execute
             Found the new revision firmware
             Current Revision: Rev.1.03.01
             New Revision:     Rev.1.03.02
             Update to this firmware? (Y/N)y
             Download... (1)
             %% Canceled the firmware download

     1 | Press the Ctrl and C keys

### 6. Points of Caution

Note that a firmware version downgrade from Rev.1.03.13 or later version to Rev.1.03.12 or earlier version is not possible due to compatibility with new parts.

### 7. Related Documentation

- LED Indicator Control

Search result
No more search results.
There are no topics that match your search query.