def mac_str_2_int(mac):
    """Convert colon separated hex string MAC address to integer.

    Args:
        mac (str): A colon separated hex string MAC address.

    Returns:
        MAC address as integer.

    """
    return int(mac.replace(":", ""), 16)