A method for generating a forwarding path, comprising: obtaining topology information of first network nodes supporting a target path calculation algorithm; performing, using the target path calculation algorithm, path calculation based on the topology information of the first network nodes to generate a first forwarding path, wherein the first forwarding path is a forwarding path from a designated source node to a designated tail node in the first network nodes; the method being characterized in comprising: obtaining a second forwarding path from the source node to the tail node when there is a path interruption in the first forwarding path, wherein the second forwarding path is a forwarding path determined based on topology information of all the first network nodes and topology information of second network nodes, and the second network nodes do not support the target path calculation algorithm; determining, from the second forwarding path, first network nodes communicated with second network nodes to obtain node pairs, wherein each network node is checked hop-by-hop in a direction from the source node to the tail node, a first network node directly connected to a second network node is determined as a first node of a sub-path, a next first network node directly connected to the second network node is determined as a second node of the sub-path, and the first node and the second node form a node pair; and updating a next hop device of a first node in each node pair on the second forwarding path as a second node in the node pair to obtain a forwarding path communicated from the source node to the tail node, the second node is located behind the first node in each node pair in a direction of the second forwarding path. obtaining topology information of first network nodes supporting a target path calculation algorithm; performing, using the target path calculation algorithm, path calculation based on the topology information of the first network nodes to generate a first forwarding path, wherein the first forwarding path is a forwarding path from a designated source node to a designated tail node in the first network nodes; the method being characterized in comprising: obtaining a second forwarding path from the source node to the tail node when there is a path interruption in the first forwarding path, wherein the second forwarding path is a forwarding path determined based on topology information of all the first network nodes and topology information of second network nodes, and the second network nodes do not support the target path calculation algorithm; determining, from the second forwarding path, first network nodes communicated with second network nodes to obtain node pairs, wherein each network node is checked hop-by-hop in a direction from the source node to the tail node, a first network node directly connected to a second network node is determined as a first node of a sub-path, a next first network node directly connected to the second network node is determined as a second node of the sub-path, and the first node and the second node form a node pair; and updating a next hop device of a first node in each node pair on the second forwarding path as a second node in the node pair to obtain a forwarding path communicated from the source node to the tail node, the second node is located behind the first node in each node pair in a direction of the second forwarding path. obtaining a second forwarding path from the source node to the tail node when there is a path interruption in the first forwarding path, wherein the second forwarding path is a forwarding path determined based on topology information of all the first network nodes and topology information of second network nodes, and the second network nodes do not support the target path calculation algorithm; determining, from the second forwarding path, first network nodes communicated with second network nodes to obtain node pairs, wherein each network node is checked hop-by-hop in a direction from the source node to the tail node, a first network node directly connected to a second network node is determined as a first node of a sub-path, a next first network node directly connected to the second network node is determined as a second node of the sub-path, and the first node and the second node form a node pair; and updating a next hop device of a first node in each node pair on the second forwarding path as a second node in the node pair to obtain a forwarding path communicated from the source node to the tail node, the second node is located behind the first node in each node pair in a direction of the second forwarding path.