It's been a while since I cleared config via UI ... but I have something lurking in the memory that winbox allows to do that (something like: reset configuration and don't check to use factory defaults).
But: as I said, you can probably go from current config, just post it here. In terminal window execute command "/export file=anynameyouwish", fetch file off device, open it with text editor, remove serial number and any password shown, then copy-paste it inside [code] [/code] block (the [] butzon above post editing region).
I use reset button and it sounds good, your command can be applied without error message.
Does all command is recorded directly ? there is no need to use command to save configuration ? it doesn't seems but i prefer to ask in doubt.
Other questions, about ether1 interface (that equal to management port), i notice that if i assign VLAN on it, i was no more able to connect to RouterOS, is it normal ?
When i try to connect, about Quick set, what mode does i need to choose, Router or Bridge ?
I will be interesting to have same script with VLAN ip subnet assigned, can you write it for me please?
Many thanks for your help, i win a lots of time