Today I was working on a Mikrotik Router (RB951g) over the internet and I did something that i shouldnt have done and lost connection to it, now I have to go there to restore it…
That got me thinking…, how can I make sensitive changes to reverse when this happens?
I think Juniper, Cisco and Ubiquiti have this functionality…
You can use the ‘Safe mode’ button in winbox.
This will reverse any changes if you disconnect from the session unless you click it again to apply them permanently.
The ‘Ctrl+X’ keyboard combination can be used to achieve the same in terminal.