US 12,407,602 B2
Forwarding entry generation method, packet sending method, network device, and system
Jun Qiu, Shenzhen (CN); Zhibo Hu, Beijing (CN); and Chuang Chen, Beijing (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Aug. 18, 2022, as Appl. No. 17/890,651.
Application 17/890,651 is a continuation of application No. PCT/CN2020/118633, filed on Sep. 29, 2020.
Claims priority of application No. 202010106211.9 (CN), filed on Feb. 21, 2020; application No. 202010295809.7 (CN), filed on Apr. 15, 2020; application No. 202010478986.9 (CN), filed on May 29, 2020; and application No. 202010711897.4 (CN), filed on Jul. 22, 2020.
Prior Publication US 2022/0407801 A1, Dec. 22, 2022
Int. Cl. H04L 45/00 (2022.01); H04L 45/02 (2022.01); H04L 45/12 (2022.01); H04L 45/247 (2022.01); H04L 45/28 (2022.01); H04L 45/74 (2022.01); H04L 45/741 (2022.01)
CPC H04L 45/22 (2013.01) [H04L 45/02 (2013.01); H04L 45/12 (2013.01); H04L 45/247 (2022.05); H04L 45/26 (2013.01); H04L 45/28 (2013.01); H04L 45/74 (2013.01); H04L 45/741 (2013.01)] 29 Claims
OG exemplary drawing
 
1. A method for generating forwarding entries, comprising:
obtaining, by a first network device, routing information advertised by a second network device;
determining, by the first network device, that the routing information matches a summary route stored in the first network device, wherein the summary route includes a summary that summarizes at least one route corresponding to a destination address; and
generating, based on a segment identifier of the second network device, a forwarding entry corresponding to the summary route, wherein the forwarding entry comprises the segment identifier of the second network device and a forwarding path corresponding to the forwarding entry passes through the second network device,
wherein the forwarding entry is a backup forwarding entry corresponding to the summary route, a primary forwarding entry corresponding to the summary route does not pass through the second network device, and the method further comprises:
setting, by the first network device, the primary forwarding entry to an unavailable state.