MikroTik: Get Default Configuration

There can be many reasons why you need to get the default configuration of your MikroTik router.

One of them is to compare the current settings with the default ones, while troubleshooting some issues.

This short post shows how to print the default MikroTik configuration.

Default MikroTik Configuration

To show the default MikroTik configuration, execute:

[admin@MikroTik] > /system default-configuration print
- sample output -
script: #| Welcome to RouterOS!
        #|    1) Set a strong router password in the System > Users menu
        #|    2) Upgrade the software in the System > Packages menu
        #|    3) Enable firewall on untrusted networks
        #|    4) Set your country name to observe wireless regulations
        #| -----------------------------------------------------------
...

The command above returns the exact commands that were executed to perform the default MikroTik configuration.

If you want to export the default MikroTik settings, you can do it using the following command:

[admin@MikroTik] > /system default-configuration print file=defConf.txt

Then you can copy the exported file from the MikroTik router to your computer:

C:\> sftp admin@192.168.88.1:defConf.txt

Alternatively, you can download it from a “Files” menu through a WinBox/WebFig interface.

Was it useful? Share this post with the world!

Leave a Reply