I know this must have been asked before but I cannot find the threads.
How do I script out the entire router configuration or just a section like the wifi setup?
I’m not talking about a backup (under Files). I want to script out the router’s configuration as an actual terminal command script so I can read and reference them as I make changes from a known working setup to some future state.
Maybe I’m not understanding well but, are you asking about “export” command?
Enviado desde mi Mi A2 mediante Tapatalk
Yes for templates I tend to set up a device how I like it and ‘/export’ the entire config then go through it separately and turn certain things into variables with a config section up the top - so its easier and quicker to edit for different routers.
I find you need to have a template version per device type (i.e. I have a CCR1036, RB1100AHx4, RB3011 scripts) and then with each new version of RouterOS do a test run to make sure its compatible before trying to use it on newer versions.
Try this command:
/interface wireless export
Awesome, export does exactly what I’m looking for. Thanks all!