def transfer_mac(mac):
    """Transfer MAC address format from xxxx.xxxx.xxxx to xx:xx:xx:xx:xx:xx"""
    mac = ''.join(mac.split('.'))
    rslt = ':'.join([mac[e:e + 2] for e in range(0, 11, 2)])
    return rslt