Hi , guys , I would like to know if is there a possiblity to apply configuration change and after applyed routerOS goes back if no confirmation is made in 5 mins for instance.
This behaviour , similar than junos is very usefull in case you need to change something and can loss connection and management of a remote system.
Thanks.
it is not what im looking for,
Thanks !
Nothing like this is available “natively”, but you can get close by doing a script that does a backup before applying the configuration, and then create a scheduler script that restores from this backup in say, 5 minutes. The “normal” script at the end should remove the scheduler script and backup, thus making the changes permanent.
I think Safe Mode is exactly that. Turn it on, make changes, if you lose connection, the changes are removed. The only difference from what you are asking for is the 5-minute timeout. Safe Mode’s timeout is… when you disconnect.
There’s a slight difference - safe mode cancels the one action that resulted in a disconnect, whereas this “commit” feature would restore MULTIPLE changes that TOGETHER result in a connection loss. An individual change is allowed to cause a disconnect, as long as by the end of the sequence, a connection is made possible again.
Further, a “commit but rollback if not reconnected in time” allows changes like IP address or management port - as long as you connect in time, the “new” way to connect becomes “the” way to connect.
I’m fairly sure that you are wrong about that. From the WiKi:
All configuration changes that are made > (also from other login sessions), while router is in safe mode, are automatically undone if safe mode session terminates abnormally.
OK, I’m wrong about the first part…
But I’m still right about the second - you can’t do a sequence that results in a disconnect during safe mode (e.g. changing the local IP address). A “commit and reconnect in time” approach allows that, while also keeping it safe from accidental lockout.