Community discussions

MikroTik App
 
KBoris
just joined
Topic Author
Posts: 21
Joined: Sun Sep 30, 2012 10:06 pm

Export ENTIRE configuration

Fri Apr 10, 2015 11:25 pm

Hi guys. I have 40 pcs AP lite routers. I made configuration on one of this and now I would like to distribute this configuration to other 39 router. I try with backup, but this is not OK, becouse I take MAC address from configured router, also after backup restore SSID on is set to default, DHCP not working.... I try also with export but when I import to next router have the previous symptoms....incorrect SSID, no passwords for users, router is set to CPE....... I read this manuals http://www.mikrotik.com/testdocs/ros/2. ... gement.php but unfortuantely nothing works as I expect !!!!

Any idea how to solve my problem?
 
troffasky
Member
Member
Posts: 436
Joined: Wed Mar 26, 2014 4:37 pm

Re: Export ENTIRE configuration

Sat Apr 11, 2015 1:07 pm

You need to export your source configuration and use that as a basis for writing a script that recreates the configuration you want on the target unit. If you've got 39 units to configure then it's worth spending time to get it right. As you've discovered, you probably want to omit the parts of the configuration that might rewrite the MAC address. Your script will need to include commands that remove the default bits of config that you don't want and create the users [ie set admin password]. This guy explains it in more detail: http://blather.michaelwlucas.com/archives/982 . You might like to compare the output of '/export' and '/export compact'.

Once you have you configuration then you can bulk-apply it with http://wiki.mikrotik.com/wiki/Manual:Flashfig

There's also this method described by Normis: http://forum.mikrotik.com/viewtopic.php?t=66697#p345807

Another useful tool for config editing: http://wiki.mikrotik.com/wiki/Milliscript [although not sure how well it works with recent additions to routeros].

Also, are you aware that you can use the hAP lite with CAPsMAN?
 
KBoris
just joined
Topic Author
Posts: 21
Joined: Sun Sep 30, 2012 10:06 pm

Re: Export ENTIRE configuration

Mon Apr 13, 2015 4:57 pm

@troffasky, thank you for your explanation. I will try sugested and will report.

Best regards
 
KBoris
just joined
Topic Author
Posts: 21
Joined: Sun Sep 30, 2012 10:06 pm

Re: Export ENTIRE configuration SOLVED

Mon Apr 13, 2015 6:05 pm

Yes, this is solution. Many, many THANKS :wink:

1. connect to the default 192.168.88.1 with FTP and upload your RSC text file
2. run command "/system reset no-defaults=yes run-after-reset=filename.rsc

Who is online

Users browsing this forum: kirasakuya and 28 guests