Removing 'mac-address' and 'orig-mac-address' from exported .rsc file is not enough?I tried exporting the configuration, but that is the same - MAC addresses hard coded in.
/interface bridge add admin-mac=4C:5E:0C:XX:XX:XX auto-mac=no l2mtu=1598 name=bridge-local
You are right, these files are binary and non-editable.I have tried to edit the 'backup' file, but it's mainly binary.
/export verbose file=test
/ip firewall filter remove 0 remove 1 remove 2 remove 3 remove 4 remove 5 remove 6
/system reset-configuration skip-backup=yes run-after-reset=first.rsc
export verbose file=second.rsc /system reset-configuration skip-backup=yes no-defaults=yes run-after-reset=second.rsc
I think that is about 3 steps down the line. I need to get a working configuration first!Maybe this article will help you solve problem:
My advice is to divide this into two steps:Ok, so even this doesn't work...
export verbose file=second.rsc
/system reset-configuration skip-backup=yes no-defaults=yes run-after-reset=second.rsc
Again, no IP addresses after reboot. Only option is to factory reset.
This is exactly what we are doing now to configure. The 'import' works perfectly, but if you try to do it automatically during a 'reset configuration' it does not.My advice is to divide this into two steps:
1. Reset RB configuration (with 'no-defaults=yes')
2. After reboot invoke 'import' command from terminal
This will show you which line of script file contains error(s).
Don't forget to reset config before you start import again.
/system reset-configuration skip-backup=yes no-defaults=yes run-after-reset=second.rscwith option no-defaults=yes.
/system reset-configuration skip-backup=yes no-defaults=yesand check router after restart.
No, I never got it working. In the end we SSH'd into every router and ran /import <file>.rsc. This worked, whereas 'run after reboot' didn't.So did you ever get this working to mass configure all your routers?