/system/device-mode/update

当前显示英文原文,切换到「中文」可查看译文。

update

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...


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.

ArgumentTypeDescription
modeenumDevice mode to apply. Specifying mode replaces the entire device-mode configuration except the other parameters given in the same command; omitted features get the new mode's defaults. - advanced - Previously called enterprise. - basic - For most other devices. - home - For home routers. - rose - For RDS and similar devices with wide disk use.
flaggedboolSet to no to clear the flagged state, after inspecting the configuration for unauthorized changes. Requires physical confirmation.
flagging-enabledboolEnable or disable the configuration analysis for signs of unauthorized access. Default: yes.
schedulerboolAllow or block /system/scheduler.
socksboolAllow or block /ip/socks.
fetchboolAllow or block /tool/fetch.
pptpboolAllow or block PPTP client and server interfaces.
l2tpboolAllow or block L2TP client and server interfaces.
bandwidth-testboolAllow or block /tool/bandwidth-test, /tool/bandwidth-server and /tool/speed-test.
traffic-genboolAllow or block /tool/traffic-generator, /tool/flood-ping, and /tool/ping-speed.
snifferboolAllow or block /tool/sniffer.
ipsecboolAllow or block /ip/ipsec.
romonboolAllow or block /tool/romon.
proxyboolAllow or block /ip/proxy.
hotspotboolAllow or block /ip/hotspot.
smbboolAllow or block /ip/smb.
emailboolAllow or block /tool/e-mail.
zerotierboolAllow or block /zerotier.
containerboolAllow or block container functionality.
install-any-versionboolAllow or block downgrading to RouterOS versions outside the allowed-versions list.
partitionsboolAllow or block changing partition count.
routerboardboolAllow or block /system/routerboard/settings (except auto-upgrade) and SwOS/RouterOS transition on dual-boot devices.
activation-timeouttimeHow 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 ArgumentTypeDescription
updatestringStatus of a pending update with the time left to confirm it; empty when no update is pending.