A method and device for managing link state in an MRP
ring network, the method comprising: in an open loop state, in response to receiving a first MRP
link state packet from any one of two ring ports of an MRM, starting a time window with the time of the receiving as the starting point; within the time window, in response to receiving a first MRP
link state packet from the other of the two ring ports, and the link states indicated by the first MRP link state packets received by each of the two ring ports being different, determining the ring port receiving the first MRP
link state packet first as a priority port, and determining the ring port receiving the first MRP link state packet later as a sub-priority port; before determining that the forwarding path is in a
stable state,
processing each MRP link state packet received from the priority port in turn, and not
processing each MRP link state packet received from the sub-priority port, effectively suppressing the occurrence of
ring network oscillation.