US 12,316,526 B2
BGP route identification method, apparatus, and device
Shunwan Zhuang, Beijing (CN); Haibo Wang, Beijing (CN); Yunan Gu, Beijing (CN); Gang Yan, Beijing (CN); and Zhenbin Li, Beijing (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Feb. 8, 2024, as Appl. No. 18/436,540.
Application 18/436,540 is a continuation of application No. 17/471,571, filed on Sep. 10, 2021, granted, now 11,936,551.
Application 17/471,571 is a continuation of application No. PCT/CN2019/128537, filed on Dec. 26, 2019.
Claims priority of application No. 201910181646.7 (CN), filed on Mar. 11, 2019.
Prior Publication US 2024/0179087 A1, May 30, 2024
Int. Cl. H04L 45/02 (2022.01); H04L 45/00 (2022.01); H04L 45/021 (2022.01); H04L 45/18 (2022.01)
CPC H04L 45/04 (2013.01) [H04L 45/021 (2013.01); H04L 45/18 (2013.01); H04L 45/22 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
obtaining, by a network device, a border gateway protocol (BGP) route, wherein the BGP route comprises an autonomous system path attribute (AS_PATH attribute) and a first Internet protocol (IP) prefix, the AS_PATH attribute comprises one or more autonomous system (AS) numbers corresponding to one or more autonomous systems, and wherein the network device is located in or manages a first autonomous system corresponding to a second AS number;
determining, by the network device, whether the one or more AS numbers comprised in the AS_PATH attribute comprises a first AS number that is equal to the second AS number;
in response to determining that the one or more AS numbers comprised in the AS_PATH attribute comprise the first AS number that is equal to the second AS number, determining whether the network device has previously originated or forwarded the BGP route comprising the first IP prefix;
and
in response to determining that the network device has not previously originated or forwarded the BGP route comprising the first IP prefix, and determining the network device has not previously received the BGP route comprising the first IP prefix, determining the BGP route comprising the first IP prefix is a hijacking route.