(but before do that, check your skill and software to see if you are able to use winbox with MAC address instead of the IP, or you are cut off after a full reset)
Wouldn't copying over config with same MAC addresses potentially result in the same lockout ? Just wondering.
What I do for config copy:
- export config as recommended before and put it on your PC
- check the export so you're sure everything is in !
- open config in a text editor
- strip out all MAC addresses (using CTRL-F in most editors will help immensely) - they will get configured again with "default" values when setting things up.
- get in new device using Winbox - MAC
- set new user and passwd
- log out Winbox
- log in again with new user
- DELETE admin user
- on the new device: open terminal
- open exported config in text editor (if it isn't already open from before)
- play the copy-pasta game
![Laughing :lol:](./images/smilies/icon_lol.gif)
(no, that wasn't a typo) in terminal, block by block (caveat: sometimes the sequence of the export is not 100% correct for setting up, so you may have to do some parts before pasting others. Error messages will tell you where it went wrong).
Advantage of this approach: you will SEE what gets configured and where it goes wrong.
Just running the script might make you miss some things.
It sounds complicated but it shouldn't take more then 10 minutes.