mass rollout best practice?

We’d like to use some model-configs built for MikroTik CPEs.
At the moment a simple way to roll this out is backing up the whole config and restoring it into the new devices, downside is the MAC# are also copied.
Is there a sane way to roll out custom “default configs” or more ideally is there a best-practice for such roll-outs I missed somewhere in the wiki/forum?

thank you in advance,
hk

backups aren’t intended for configurations exports, they should be only used for a given device, with a given ROS version. That’s why you noticed macs are cloned. See Configuration Management.

To actually have a “neutral” configuration, export command from a New Terminal should be used; you’ll get an .rsc file with all the “static” CLI commmands needed to reach that same configuration on a blank router from scratch.

For mass configuration, you can either import that .rsc file, or create a script to add some logic if you need to set different parameters for each.

To see what the default configuration script is for a given device:

/system default-configuration print

Can prove useful to use as a starting point for you to add customizations.

To massively load (not default config changing) such script on blank devices, the tool you’re looking for is flashfig, included with netinstall.

To change the default config, the tool is netinstall, have a look at this presentation

Hi,

Is there any way to change the default login.html , alogin.html , etc via Flashfig?

Login page can be changed by branding maker. Ask your distributor because it is available only for them.

Thanks!