CPC H04L 45/28 (2013.01) [H04L 45/122 (2013.01); H04L 45/22 (2013.01)] | 19 Claims |
1. A method, comprising:
receiving, by a first network device, second link state information from a second network device, wherein the second link state information carries a segment identifier of a third network device;
in response to receiving the second link state information, recording, by the first network device, a forwarding entry associated with the third network device in a forwarding table;
receiving, by the first network device, third link state information from the second network device, wherein the third link state information carries information for computing a route to the third network device;
in response to receiving the third link state information, recording, by the first network device, the route to the third network device in a routing table;
receiving, by the first network device, first link state information sent by the second network device, wherein the first link state information is link state information of the third network device;
in response to receiving the first link state information, deleting, by the first network device, the second link state information, wherein the forwarding entry associated with the third network device is deleted from the forwarding table when the second link state information is deleted; and
deleting, by the first network device based on the first link state information, the third link state information, wherein the route to the third network device is deleted from the routing table when the first link state information is deleted.
|