I am doing a bunch of things to create Certificates for OpenVPN and then transfer them to another server and make Mikrotik an OpenVPN client to the OpenVPN server…
I know how to do all this on GUI. Is there anyway that I can see an exact command line of what I did on GUI so I can make a script on it for a future router that I want to setup the same way?
How about other tasks? I do a bunch of tasks and I want to see only those tasks in commands style without having to sift through the whole configuration export. Possible?
Out-of-the-box ROS doesn’t have any kind of command history. So no, you can’t get CLI version of what you did in GUI in arbitrary past time interval. Nor can you get CLI version of what you did in CLI for that matter.
You need to export the file and do a “DIF” between the original file and the new config with a good text editor
(I use ATOM for example).
You will see easily what you changed.
Its not the fastest way, but it works…