Embodiments of a device and method are disclosed. In an embodiment, a method of network diagnostic of a network deployed at a customer site involves at a cloud server connected to the network deployed at the customer site, collecting connectivity state information of the network deployed at the customer site and at the cloud server, performing a network diagnostic operation based on the connectivity state information.