Community discussions

MikroTik App
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Clone Configuration

Wed Oct 04, 2006 3:34 pm

How can I do to copy identical configuration from one router to another with different hardware ?.

Thanks
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Oct 04, 2006 4:27 pm

'/Export' command exports router entire configuration, you have to change appropriate interface settings (MAC-address), in order to import successfully configuration to another machine.
As well you can export specific configuration section ('ip firewall filter', etc.), but matchers name should exists (e.g. in-interface name, ip firewall address-list name, etc.).
 
GotNet
Member
Member
Posts: 434
Joined: Fri May 28, 2004 7:52 pm
Location: Florida

Wed Oct 04, 2006 6:12 pm

/export file="filename" does give a very good image of your system. But you'll need to edit the file to create a master since the order of commands is all wrong.

Mike
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Thu Oct 05, 2006 3:00 pm

Ok, I understand, I need make an export and then change the ethernet mac address ?, only that ?, another change ?. The "backup" have the same number of ethernet cards.

Thanks !
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Thu Oct 05, 2006 3:03 pm

You have to do more.
The commands the "export" produces are usually in the wrong order. I.e. commands to add a port to a bridge could occur before the command to create this bridge etc.

Best regards,
Christian Meis
 
Hellbound
Long time Member
Long time Member
Posts: 508
Joined: Tue Oct 26, 2004 11:21 am

Thu Oct 05, 2006 3:32 pm

that is exactly what I wish to have in version 3.0...

a backup cloned router that will synchronize all setting from A to Z with the master and upon its failure it will take the position
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Thu Oct 05, 2006 4:10 pm

What do you recommend me ?
 
Hellbound
Long time Member
Long time Member
Posts: 508
Joined: Tue Oct 26, 2004 11:21 am

Thu Oct 05, 2006 4:19 pm

What do you recommend me ?
you don't have any other choice except COPY/PASTE the export at this point of time...
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Thu Oct 05, 2006 5:53 pm

Understood, thanks !
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Tue Oct 17, 2006 2:56 pm

Hi, I make the backup but when I replace for the original doesn't work, 2 of my 6 BGP sessions they are in ACTIVE state.
I make a copy line by line and don't forget nothing, what it can be happening ??

Thanks a lot.