1. A switch, comprising:one or more ports;
processing circuitry configured to:
detect a failure which affects reachability between the switch and a second switch in a network of interconnected switches, wherein the network of interconnected switches is identified by an identifier;
in response to determining that the failure affects reachability to an end host, identify a port via which the end host is reachable; and
use the identified port as an egress port for a notification message including information regarding the failure,
wherein the notification message is destined to a hypervisor managing a virtual machine to allow the hypervisor to reconfigure the virtual machine.