Hi all,
Is it possible to Change multiple router settings with script, My goal is to log in to few routers and execute the desired command, add/change (Usernames/password | add/delete users | config backup | changing wireless channels and so on…)?
Thanks in advice
Yes. Will you be using this script as a template to apply to the routers? If so, I would start by configuring one router manually the way you want it. Then export the configuration to file, edit as necessary with a text editor, and then import or copy/paste into the terminal of the other routers.
These might be helpful:
http://wiki.mikrotik.com/wiki/Manual:Configuration_Management
http://wiki.mikrotik.com/wiki/Console
Some examples:
/user add name=Joe password=Pass
/user set Joe password=newPass
/system backup save name=myBackup
/interface wireless set wlan1 frequency=2422