update
system/device-mode/update
Type: Command
Starts a device-mode configuration change. The change activates after a button press or power cycle and reboots the device; if it is not confirmed within activation-timeout, it is canceled. A regular reboot also cancels it. Running update without parameters cancels a pending update; an update with parameters while another is pending cancels the pending one and is not applied itself. See the Device mode guide.
| Argument | Type | Description |
|---|---|---|
| mode | enum | Device mode to apply. Specifying
|
| flagged | bool | Set to no to clear the flagged state, after inspecting the configuration for unauthorized changes. Requires physical confirmation. |
| flagging-enabled | bool | Enable or disable the configuration analysis for signs of unauthorized access. Default: yes. |
| scheduler | bool | Allow or block /system/scheduler. |
| socks | bool | Allow or block /ip/socks. |
| fetch | bool | Allow or block /tool/fetch. |
| pptp | bool | Allow or block PPTP client and server interfaces. |
| l2tp | bool | Allow or block L2TP client and server interfaces. |
| bandwidth-test | bool | Allow or block /tool/bandwidth-test, /tool/bandwidth-server and /tool/speed-test. |
| traffic-gen | bool | Allow or block /tool/traffic-generator, /tool/flood-ping, and /tool/ping-speed. |
| sniffer | bool | Allow or block /tool/sniffer. |
| ipsec | bool | Allow or block /ip/ipsec. |
| romon | bool | Allow or block /tool/romon. |
| proxy | bool | Allow or block /ip/proxy. |
| hotspot | bool | Allow or block /ip/hotspot. |
| smb | bool | Allow or block /ip/smb. |
| bool | Allow or block /tool/e-mail. | |
| zerotier | bool | Allow or block /zerotier. |
| container | bool | Allow or block container functionality. |
| install-any-version | bool | Allow or block downgrading to RouterOS versions outside the allowed-versions list. |
| partitions | bool | Allow or block changing partition count. |
| routerboard | bool | Allow or block /system/routerboard/settings (except auto-upgrade) and SwOS/RouterOS transition on dual-boot devices. |
| activation-timeout | time | How long to wait for the physical confirmation (button press or power cycle) before the update is canceled. Also sets the length of the attempt-count reset window when an update is refused after three unsuccessful attempts. Range: 00:00:10 to 1d00:00:00. Default: 5m. |
| Read-only Argument | Type | Description |
|---|---|---|
| update | string | Status of a pending update with the time left to confirm it; empty when no update is pending. |