Skip to main content
Version: 7.26

reset-configuration


system/reset-configuration​

Type: Command

Removes the configuration, reboots the router and applies the default configuration (or the custom default configuration script, if one is installed). In an interactive session the command asks Dangerous! Reset anyway? [y/N]: first. Users are removed and admin gets its default password back; files are kept. See Configuration Management.

ArgumentTypeDescription
keep-usersboolKeeps the users and their passwords.
keep-appsbool
no-defaultsboolDoes not apply the default configuration after the reset.
caps-modeboolRuns the CAPs mode script (/system/default-configuration/caps-mode-script) after the reset.
wps-sync-mode (syscap=wpssync)bool
skip-backupboolSaves no backup before the reset. Without it, the router saves the configuration to auto-before-reset.backup.
force-v6-to-v7-configuration-upgradebool
shutdownboolPowers the router off after the reset instead of rebooting. The router starts with the reset configuration when it is powered on.
run-after-resetfileScript file (.rsc) that runs after the reset instead of the default configuration. A script that runs longer than two minutes is stopped. Errors are logged as error while running run-after-reset script: followed by the error, for example runtime limit exceeded.