Community discussions

MUM Europe 2020
 
arpadffy
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 50
Joined: Mon Jan 17, 2011 1:52 am
Location: Stockholm, Sweden
Contact:

Move config from one RB to another

Sat Oct 08, 2011 5:59 pm

Hello,

I have a RB450G and a RB750.
Is there any easy way to move the configuration over from one RB to another.

For me just the copy paste worked... but I guess there must be some more sophisticated way to keep two RB on identical configuration.

Any help would be appreciated.

Thank you.

Regards,
Z
 
tjc
Member Candidate
Member Candidate
Posts: 279
Joined: Sun Jul 10, 2011 3:08 am

Re: Move config from one RB to another

Sat Oct 08, 2011 6:44 pm

A script is probably the best way. Start with an export file from the router you want to use as you master configuration. To simplify things you can trim out anything which you don't care about (for example is you're not using bgp or ospf you can leave those out) or anything you've left at the default settings. Next change adds to sets where you know default configuration already exists (I took an export of the default router configuration and use it as a basis of comparison) in some cases (like firewall rules or logging) you may need to do some removes first. This may sound complicated, but it's mostly just simple transformations given an export file, and once it's done you can reset the router to defaults and reconfigure it within a couple minutes if you ever get in trouble.

This posting discusses the types of transformations needed:
http://forum.mikrotik.com/viewtopic.php ... et#p281134

There are also a number of example setup scripts on the wiki which you can use for reference. This is just a sample:
http://wiki.mikrotik.com/wiki/A_script_ ... ou_started
http://wiki.mikrotik.com/wiki/How_to_Co ... _xDSL_Line
http://wiki.mikrotik.com/wiki/Hotspot_server_setup

Also see this utility: http://forum.mikrotik.com/viewtopic.php?f=2&t=40092
 
arpadffy
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 50
Joined: Mon Jan 17, 2011 1:52 am
Location: Stockholm, Sweden
Contact:

Re: Move config from one RB to another

Sun Oct 09, 2011 7:53 am

Thank you for the precise and correct answer.
Specially leading me to the named utility.

Regards,
Z

Who is online

Users browsing this forum: Google [Bot] and 24 guests