Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


from-lineStart executing the script from the specified line number
file-nameName of the script (.rsc) file to be executed.
verboseReads each line from the file and executes individually, allowing to debug syntax or other errors more easily.

Auto Import

It is also possible to automatically execute scripts after uploading to the router with FTP or SFTP. The script file must be named with extension *.auto.rsc. Once the commands in the file are executed, a new *.auto.log file is created which contains import success or failure information.


".auto.rsc" in the filename is mandatory for a file to be automatically executed.

Configuration Reset

RouterOS allows resetting configuration with /system reset-configuration command