A switch includes a reference log storage table for storing a plurality of
reference logs for performing normal connection processing between
network nodes, a connection candidate log search program for searching
for a connection candidate log from among a plurality of reference logs
based on a failure log acquired when a connection failure occurs between
network nodes; and a re-connection program for re-connecting the network
nodes by using the connection candidate log.