| CPC H04L 45/28 (2013.01) [H04L 45/02 (2013.01)] | 20 Claims |

|
1. A method, comprising:
obtaining, by a first network device, first information, wherein the first information indicates that a first link is faulty, and the first link is a link between network devices in a network system to which the first network device belongs;
sending, by the first network device, the first information to a second network device, wherein the second network device is a first neighbor device of the first network device; and
after sending the first information to the second network device, determining, by the first network device, an unreachable route in a routing table of the first network device based on the first information and a topology of the network system, wherein a path corresponding to the unreachable route comprises the first link, and determining, by the first network device, the unreachable route in the routing table of the first network device based on the first information and the topology of the network system comprises:
when the first network device is not an end device of the first link, determining, by the first network device based on the first information, information about a second neighbor device of the first network device that sends the first information, and the topology of the network system, an unreachable network device of the second neighbor device that sends the first information, and determining that a route that is generated by the unreachable network device and received by the first neighbor device is the unreachable route.
|