The invention provides a segment routing policy intermediate node protection method, which is applied to a first node, and comprises the following steps: receiving a data message, an outer layer destination address of the data message being a segment identifier; querying a
forwarding information base, and obtaining a
routing table item corresponding to the segment identifier; querying a port state table according to the identification information of the physical port in the
routing table entry to obtain the real-time state of the physical port; wherein the port state table is used for associatively storing identification information and state information of the physical port, and the state information of the physical port is independently maintained and updated in real time by a
port management module of the first node based on a
physical layer event; in response to the fact that the real-time state of the physical port is unavailable and the second node corresponding to the segment identifier is an intermediate node, the data message is forwarded to the third node corresponding to the next segment identifier in the segment
route header of the data message, and a
route convergence process with long time consumption does not need to be waited. The data message can be forwarded to the third node by directly bypassing the second node, so that the forwarding efficiency is improved.