The invention relates to the technical field of communication, and provides a
mode switching method,
electronic equipment and a computer readable storage medium, and the method comprises the steps: determining whether a first
forwarding equivalence class carries a
label mapping identifier or not after a
mode switching instruction is received; the
mode switching instruction is an instruction for switching the independent mode to the ordered mode or an instruction for switching the ordered mode to the independent mode. And if the first
forwarding equivalence class carries the
label mapping identifier, the
current mode is an independent mode, and the mode switching instruction is an instruction of switching the independent mode into an ordered mode, sending a
label withdrawing message to the upstream label distribution device. And if the first
forwarding equivalence class carries a label mapping identifier, the
current mode is an ordered mode, and the mode switching instruction is an instruction of switching the ordered mode into an independent mode, sending a label mapping message to the upstream label distribution device. The
modes can be smoothly switched, large-scale oscillation of the whole network is avoided, and the reliability of the network is improved.