Method for running a computer network, the computer network comprising a plurality of devices (4a-d), the devices (4a-d) being arranged in a daisy chained loop, wherein each device (4a-d) comprises a bridge (6a-d), the bridge (6a-d) having at least three ports (8a-c), each device (4a-d) being adapted to store, during running of the network, state information (D,L,F,O,S) comprising for each port (8a-c) a logical port state (D,L,F,O), the method being characterised in that it comprises: the devices (4a-d) running a spanning tree algorithm, whereby running a spanning tree algorithm comprises each device (4a-d) handling a state machine, whereby the logical port states (D,L,F,O) of the ports (8a-c) are defined by the state machines, in that the method further comprises, for at least one device (4a-d) of the plurality of devices, at least once before a reboot of the device (4a-d) storing in the state information (D,L,F,O,S) of the device a copy state being a copy of the logical port states (D,L,F,O) of the ports (8a-c), and in that the method further comprises, in a case of resetting the device (4a-d), rebooting the device (4a-d), said rebooting comprising one or both of alternatives 1 or 2, with alternative 1 being: determining that the copy state is valid in a case of determining that the reset was a soft reset instead of a hard reset, and alternative 2 being: determining that the copy state is valid in a case of determining that for each port (8a-c), either the state of the port (8a-c)in the copy state is open and a physical state of the port (8a-c) is open, or the state of the port (8a-c) in the copy state is closed and a physical state of the port (8a-c) is closed, and in that said rebooting comprises, in a case where it is determined that the copy state is valid, copying the copy state to the logical port states (D,L,F,O) of the ports (8a-c) of the device (4a-d). the devices (4a-d) running a spanning tree algorithm, whereby running a spanning tree algorithm comprises each device (4a-d) handling a state machine, whereby the logical port states (D,L,F,O) of the ports (8a-c) are defined by the state machines, in that the method further comprises, for at least one device (4a-d) of the plurality of devices, at least once before a reboot of the device (4a-d) storing in the state information (D,L,F,O,S) of the device a copy state being a copy of the logical port states (D,L,F,O) of the ports (8a-c), and in that the method further comprises, in a case of resetting the device (4a-d), rebooting the device (4a-d), said rebooting comprising one or both of alternatives 1 or 2, with alternative 1 being: determining that the copy state is valid in a case of determining that the reset was a soft reset instead of a hard reset, and alternative 2 being: determining that the copy state is valid in a case of determining that for each port (8a-c), either the state of the port (8a-c)in the copy state is open and a physical state of the port (8a-c) is open, or the state of the port (8a-c) in the copy state is closed and a physical state of the port (8a-c) is closed, and in that said rebooting comprises, in a case where it is determined that the copy state is valid, copying the copy state to the logical port states (D,L,F,O) of the ports (8a-c) of the device (4a-d). determining that the copy state is valid in a case of determining that the reset was a soft reset instead of a hard reset, and alternative 2 being: determining that the copy state is valid in a case of determining that for each port (8a-c), either the state of the port (8a-c)in the copy state is open and a physical state of the port (8a-c) is open, or the state of the port (8a-c) in the copy state is closed and a physical state of the port (8a-c) is closed, and in that said rebooting comprises, in a case where it is determined that the copy state is valid, copying the copy state to the logical port states (D,L,F,O) of the ports (8a-c) of the device (4a-d). determining that the copy state is valid in a case of determining that for each port (8a-c), either the state of the port (8a-c)in the copy state is open and a physical state of the port (8a-c) is open, or the state of the port (8a-c) in the copy state is closed and a physical state of the port (8a-c) is closed, and in that said rebooting comprises, in a case where it is determined that the copy state is valid, copying the copy state to the logical port states (D,L,F,O) of the ports (8a-c) of the device (4a-d).