standart command: /ip address getall
API command: /ip/address/getall
Is there an easy way? Here are some my ideas:
option 1(best way): open terminal with API and send all commands unchanged (is it possible?)
option 2(worse way): edit standart commands to API commands in my program (lot of work for me)
option 3(worst way): user of program edited standart commands itself
It is not possible to send CLI commands with API.
API was not meant to import exported user configuration. For that you have to upload config file via FTP and then import it.
That’s too bad. If user needs in example change user password on hundred routers, he must: loged in, do command in terminal (or export/import) and exit on every router. It’s a lot of hard work
Thank you for interesting posts, but I think it don’t resolved ISP’s problem to quickly change routers configuration in network. If I understand Flashfig and Configuration Management right, it is best for factory management, because reasons:
Connect RouterBOARD and Flashfig computer to the same Local Area Network.
Stay import/export solution
My vision was something like this:
Program where user stored IP adresses of devices
User select IP’s where command will be used
User wrote terminal CLI command(or export them from some router) and send it to devices throw API