# Restore MAC-Address to Default Interface - MikroTik Script RouterOS

    How To Restore MAC-Address to Default Interfaces?

    Recently, we had to copy the settings from one MikroTik router to another and after we saved the settings file and filled it in a second, we said that the mac address was also copied.

    Because of that, we had to reread it to the standard. this script How To Restore MAC-Address to Default Interfaces.

    foreach i in=([/interface ethernet find]) do={
    local cmd ("interface ethernet reset-mac-address " . $i)
    :execute $cmd
    }
    Credit: http://www.o-om.com