Page 1 of 1

copy and edit settings to import in other device

Posted: Thu Apr 03, 2014 10:53 am
by 49er
Hi,
I want to use the configuration of a RB951G2HnD and do some little changes like IP and VLAN and than import it to an new RB951G2HnD.
Is this possibile?
I was thinking to do it like this:
on the working device I do:
/export name=Original
Than copy this file to my conputer.
Edit it wit an editor (changed the IP and what I want to change).
Then copy it with winbox to thenew device (the rcs file).
Then on the new device:
/import file-name=Original.rsc

Is this correct?
Does this overrite the configuration or does it add?
Do I have to reset the new device with no configiruation or can I do the import without clearing the default settings?

Re: copy and edit settings to import in other device

Posted: Thu Apr 03, 2014 11:04 am
by rextended
First, on system / packages check if on both boards are present same vesion and same packages active or not.

After you have modified original.rsc and save with name newconfig.rsc ,
drag the file newconfig.rsc (called with this name) on the new machine and paste this command on terminal:

WARINING: ALL PREVIOUS CONTENT ON NEW MACHINE ARE DELETED!!!
/system reset-configuration skip-backup=yes keep-user=no no-default=yes run-after-reset=newconfig.rsc

Re: copy and edit settings to import in other device

Posted: Thu Apr 03, 2014 11:11 am
by 49er
Thanks a lot.
I will try it.
Sounds good.
I let you know

Re: copy and edit settings to import in other device

Posted: Fri Apr 04, 2014 9:41 am
by 49er
Hi,
I have done some tests.
It is not working well.
I see there are some MAC addresses in the export.
I have created Virtual AP's and than it bind to the existing WLAN interface and adds the MAC addres.
I have allso problems with the bride ports.
There the script stops so everyting what is else in the script is not imported. SO I get a none complete configuration.

Re: copy and edit settings to import in other device

Posted: Fri Apr 04, 2014 10:26 am
by nerdtron
/export
Then copy and paste to notepad.
Remove info such as MAC addresses as they will be automatically added.
Paste again on next router.
Done.

Re: copy and edit settings to import in other device

Posted: Fri Apr 04, 2014 11:06 am
by 49er
Works! Thanks