Skip to main content
Version: current

local-update


system/package/local-update

Type: Directory

Instead of connecting directly to MikroTik servers, you can upload package files to one of your local RouterOS devices and use it as a local package server.

ArgumentTypeDescription
downloadboolWhether to download available packages from the local package server.
Read-only ArgumentTypeDescription
sourcealt { ip6Addr , ipAddr }IP address of the local package server.
namestringName of the package.
versionstringVersion of the package.
statusenum (installed | downloaded | downloading | scheduled | available)Current status of the package.
completednumDownload completion percentage.

system/package/local-update/download

Type: Command

Download specific compatible (matching device architecture) packages that are available on the local package server. Downloaded packages are saved in the root directory.

system/package/local-update/download-all

Type: Command

Download all compatible (matching device architecture) packages that are available on the local package server. Downloaded packages are saved in the root directory.

ArgumentTypeDescription
download-betaboolWhether to include beta packages when downloading all compatible packages.
reboot-after-downloadboolWhether to automatically reboot the device after all packages finish downloading.

system/package/local-update/mirror

Type: Settings Directory

You can mirror packages (for all architectures) from your main local package server by using this menu. Downloaded packages are saved into the packs folder in the root directory.

ArgumentTypeDescription
enabledboolWhether to enable periodic check and download of packages from the local package server.
primary-serveralt { ip6Addr , ipAddr }IP address of the primary local package server.
secondary-serveralt { ip6Addr , ipAddr }IP address of the secondary local package server.
check-intervaltimeTime interval at which the device checks the local package server for new package availability. If a new package is located, the package download begins. Only downloads the packages that are not already present on the device.
userstringUsername for accessing the local package server.
passwordstringPassword for accessing the local package server.
Read-only ArgumentTypeDescription
software-idstringSoftware ID of the device.
system/package/local-update/mirror/force-check

Type: Command

system/package/local-update/refresh

Type: Command

Refresh and check the list of available compatible (matching device architecture) packages on the local package server.

system/package/local-update/update-package-source

Type: Directory

The server from which to get the package is defined in this list.

ArgumentTypeDescription
address ( mandatory )alt { ip6Addr , ipAddr }IP address of the local package server.
user ( mandatory )stringUsername for accessing the local package server.
password ( mandatory )stringPassword for accessing the local package server.