By Mark | reCIPHER Group on February 1, 2026
Expert

INTERNET & VOICE CARRIER SERVICES related Help Articles and Blog Posts


SOURCE: https://wiki.splynx.com/networking/genieacs/files_upgrade/


Files and upgrade

Contents

  1. Overview
  2. STEP 1
  3. STEP 2
  4. STEP 3
  5. STEP 4


Overview

TR-069 is also used to manage the CPE’s firmware, allowing service providers to remotely upgrade their devices without the involvement of customer or extra engineer.

The Download RPC mechanism to directly upload files is shown below.

image GenieACS is required to be installed. The router should be configured and connected to Splynx. More information how to do this you can find in the next tutorials:

  1. ACS services and server configuration
  2. Device connection, types, groups and auto-provision flow

Let's consider the step-by-step instruction how to update RouterOS and tr069-client package on the Mikrotik device.

Before performing the update/upgrade in production, it's strongly recommended to try to update/upgrade your locally tested device and make sure that CWMP communication is resumed with a new version and required ROS functionality works. Then, repeat steps by updating groups of CPEs incrementally. Do not update all remote devices at once


STEP 1

Under Files you can upload some update files or configuration files for a devices.

Upload button on the Files page

To add a new file, click on Upload button:

Uploading a new file

The next fields are presented here:

  1. Type - FileType values of Remote procedure calls which are defined by CPE WAN Management Protocol (CWMP) standard and indicate the purpose of the file download;
  2. 1 Firmware Upgrade Image - used to update of firmware. MikroTik's update is package based, that's why it is required to use XML file to describe firmware upgrade/downgrade files. Such XML file supports providing multiple URLs of files, which will be downloaded and applied. CPE will download XML, parse/validate its contents, download files from provided URLs and try to upgrade;
  3. 2 Web Content - is intended to be used for downloading files that contain only web content for a CPE’s web-based user interface;
  4. 3 Vendor Configuration File - used to perform complete configuration overwrite (as intended by standard) or configuration alteration (when URL's filename extension is ".alter");
  5. 4 Tone File - the tone data object used to voice service function of a CPE specified in TR-104. It defines the contents of the tones and announcements generated locally by the VoIP device;
  6. 5 Ringer File - the ringer data object used to voice service function of a CPE specified in TR-104. It defines the ring sequences generated by the VoIP device;
  7. X Mikrotik Factory Configuration File - used to change of the RouterOS default configuration script that is executed when /system reset-configuration command is executed (or the other means when router configuration is being reset);
  8. OUI (Vendor) - an organizationally unique identifier of the device manufacturer;
  9. Product Class - identifier of the class of product for which the serial number applies. That is, for a given manufacturer, this parameter is used to identify the product or class of product over which the SerialNumber parameter is unique;
  10. File - used to choose the file, e.g. routeros-x86-6.48.4.npk to upload;
  11. File name - name of the file as it is written to the CPE’s memory, it will be extracted from the downloaded file itself;
  12. Version - used to indicate the version of the uploaded file.

We are going to update Mikrotik CHR RouterOS and tr069-client package from v6.48 to v6.48.4, so the files routeros-x86-6.48.4.npk and tr069-client-6.48.4.npk were downloaded from https://mikrotik.com/download site on our local computer.


STEP 2

It is recommended to use HTTPS in production for firmware management. HTTP should only be used when testing initial setup in the secured/private network because Man-in-the-middle attacker could read/change configuration parameters.

It's required to create XML file with this content:

<upgrade version="1" type="links">
  <config/>
  <links>
      <link>
         <url>https://splynx_domain:7567/routeros-x86-6.48.4.npk</url>
      </link>
      <link>
         <url>https://splynx_domain:7567/tr069-client-6.48.4.npk</url>
      </link>
  </links>
</upgrade>


After that upload 3 files using Upload button in Networking → TR-069 (ACS) → Files menu of Splynx.

List of files


STEP 3

Once files have been uploaded, you can use them to update/upgrade a device in Networking → TR-069 (ACS) → Upgrades menu. The next step is to add ACS upgrade batch item.

Adding an ACS upgrade batch item

The next fields are available here:

  1. Group - the ACS group created in Config → Networking → TR-069 (ACS) → Groups (section);
  2. Original version - the current version of package (-s) on the device (-s);
  3. File - the file that will be uploaded to the device. The files are filtered by the selected group. The option Upload new helps to upload new file to Networking → TR-069 (ACS) → Files in case it wasn't done on the previous step;
  4. New version - the version to which device will be updated/upgraded;
  5. Days - the days where update/upgrade will be performed;
  6. Hours - the hours where update/upgrade will be performed;
  7. Event - on which event (Boot or Inform) the update/upgrade has to be triggered;
  8. Max number of attempts - number of attempts to update the device;
  9. Max devices per day - defines how many devices can be updated on the same day. By default: 0 value = unlimited.

Select previously uploaded upgrade_6.48.4.xml file in the File field and other parameters as shown on the screenshot above. Double check the Devices for upgrade list.

After ACS upgrade batch is added, we can view its info, edit the parameters or remove it. Below we can see devices which are due to be updated/upgraded or have already been updated/upgraded. The devices are detected by selected group and version.

View device

ACS upgrade batch settings with actions

The other options available here:

  1. Find new devices - helps to find new devices which are not listed but match the current batch parameters and add such devices to the update/upgrade queue;
  2. Force upgrade (now) - the forced run of update/upgrade on specific device;
  3. Discard upgrade - to remove device from update/upgrade queue.

Moreover, you can use Upgrade action from mass Actions drop-down list in Networking → TR-069 (ACS) → Devices to upload selected files on particular devices.

Upgrade option in the mass actions menu under Devices


STEP 4

Finally, reboot the necessary device using Winbox or directly via GenieACS interface. After that, wait 1 minute and reconnect to device, double check its RouterOS/package version.

The device status can be monitored in Networking → TR-069 (ACS) → Upgrade → View ACS upgrade batch as well. After 30 minutes Splynx checks if the version on the device is up to date and only then the status will be changed to Ready or to Error in case the version has not been changed.

Device for upgrade

Terminal

If something doesn't work, you can try to find the solution in Troubleshooting section or contact our support team via ticket.


More articles on CARRIER



More articles on CARRIER
Comments

No comments yet.

Add a comment
Ctrl+Enter to add comment