MikroTik RouterOS Commands
Complete MikroTik RouterOS commands reference — 20 commands across 4 categories. Quick reference cheat sheet for RouterOS.
Configuration Export (6)
| Shortcut | Action |
| compact | Outputs only the modified configuration. Starting from v6rc1, "export compact" became |
| file | Export configuration to a specified file. When the file is not specified export output will be |
| path | Parameter allows to include or exclude specific configuration menu from router entire |
| show-sensitive | Show sensitive information, like passwords, keys, etc. By default, sensitive information |
| terse | With this parameter, the export command will output the configuration as full commands |
| verbose | With this parameter, the export command will output whole configuration parameters and items |
Configuration Import (3)
| Shortcut | Action |
| from-line | Start executing the script from the specified line number. This option is only available |
| file-name | Name of the script (.rsc) file to be executed |
| dry-run | Simulates the import without making any configuration changes. This helps in catching syntax |
Startup delay (5)
| Shortcut | Action |
| keep-users | Do not remove existing users from the configuration |
| no-defaults | Do not load the default configuration, just clear the configuration |
| skip-backup | Skip automatic backup file generation before reset |
| run-after-reset | Run specified .rsc file after reset. That way you can load your custom configuration. If |
| caps-mode | Run caps-mode script after configuration reset |
Additional Commands (6)
| Shortcut | Action |
| /interface print | List interfaces |
| /ip address print | IP addresses |
| /ip firewall filter print | Firewall rules |
| /ip route print | Routing |
| /system resource print | Resources |
| /export | Export config |
📜 Every shortcut on this page is taken from the official MikroTik RouterOS documentation —
help.mikrotik.com
🤖 Ask AI about MikroTik RouterOS shortcuts
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"
🔧 Spotted an error or a missing shortcut?
Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.