Community discussions

MikroTik App
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

how to move setting from one Mirotik router to another one

Mon Oct 03, 2011 5:27 pm

I have a Mikrotik router that has certain setting and I want to move all the setting of this router to another one.

Before I used the backup file but in this method I have to check all the setting that involve Ethernet interfaces because the each router interfaces has different mac addresses so it doesn't recognize any interface and set it as unknown.

what should I do?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: how to move setting from one Mirotik router to another o

Mon Oct 03, 2011 5:29 pm

http://wiki.mikrotik.com/wiki/Manual:Co ... Management

Use "/export" and then edit out all unique settings, such as MAC addresses.
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: how to move setting from one Mirotik router to another o

Mon Oct 03, 2011 5:37 pm

what about if I change the mac address of two router so they become mached, and then backup the first router and use the backup file in the second router?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: how to move setting from one Mirotik router to another o

Mon Oct 03, 2011 8:37 pm

From the very link I posted:
The configuration backup can be used for backing up MikroTik RouterOS configuration to a binary file, which can be stored on the router or downloaded from it using FTP for future use. The configuration restore can be used for restoring the router's configuration, exactly as it was at the backup creation moment, from a backup file. The restoration procedure assumes the cofiguration is restored on the same router, where the backup file was originally created, so it will create partially broken configuration if the hardware has been changed.
So no, using a backup file on anything that isn't the router the backup was created on is not officially supported.
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: how to move setting from one Mirotik router to another o

Thu Oct 06, 2011 4:57 pm

From the very link I posted:
The configuration backup can be used for backing up MikroTik RouterOS configuration to a binary file, which can be stored on the router or downloaded from it using FTP for future use. The configuration restore can be used for restoring the router's configuration, exactly as it was at the backup creation moment, from a backup file. The restoration procedure assumes the cofiguration is restored on the same router, where the backup file was originally created, so it will create partially broken configuration if the hardware has been changed.
So no, using a backup file on anything that isn't the router the backup was created on is not officially supported.
It would be easier to change the mac address in the new router, then use the export file. How can I change the mac address of certain Ethernet port?
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: how to move setting from one Mirotik router to another o

Thu Oct 06, 2011 6:49 pm

You have to modify it from the CLI.

/interface ethernet set ehter1 mac-address=XX:XX:XX:XX:XX:XX

But if you set it then overwrite it with the export you are back to square one.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: how to move setting from one Mirotik router to another o

Thu Oct 06, 2011 6:54 pm

Don't import binary backups on other devices than the one it was taken on. The manual specifically says not to. How does "it's easier" overrule "don't do it, the manual says so"? Being lazy warrants knowingly breaking stuff?
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: how to move setting from one Mirotik router to another o

Thu Oct 06, 2011 7:02 pm

How does "it's easier" overrule "don't do it, the manual says so"? Being lazy warrants knowingly breaking stuff?
He's right and he already told you how to do it. Export the config and then remove the mac address from the export.

It is not that hard and only takes a minute to do.
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: how to move setting from one Mirotik router to another o

Sat Oct 15, 2011 12:28 am

I see.
So it is the best that do export to file and and change all to the mac address to the one in the new device.
Last edited by namo on Sat Oct 15, 2011 12:35 am, edited 1 time in total.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: how to move setting from one Mirotik router to another o

Sat Oct 15, 2011 2:11 am

No. Just delete all references to MAC addresses, so that the default stays: what the MAC of the current router is. Much easier, and less error prone.

Who is online

Users browsing this forum: anav, frank333, sonyisda1 and 34 guests