The embodiment of the invention provides an automatic
recovery method and device for network equipment, equipment and a medium, which are used for solving the problems that in the prior art, when double mirror images are damaged at the same time, the network equipment cannot be ensured to be recovered to be normal, a
client needs to manually set a
backup strategy and set up a
backup server for setup of
server backup, and additional backup is generated. The method comprises the following steps: if it is detected that a
software mirror image stored in a flash of search equipment fails to be loaded, searching
target response equipment of which the equipment type is the same as that of the search equipment and which stores the
software mirror image in a network; according to the method and the device, the downloading request is sent to the
target response device, the downloading reply message carrying the target
software mirror image and returned by the
target response device is received, and the target software mirror image is stored and loaded, so that the
correctness of the obtained target software mirror image is ensured, and the search device returns to normal; double mirror image backup is not needed, extra cost is not generated, a backup strategy does not need to be manually set in advance, a backup
server does not need to be set up, and extra
backup software is not generated.