# US 2024/0179087 A1 · Bgp route identification method, apparatus, and device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0179087 A1
- Document ID: US20240179087A1
- Status: Published application
- Kind: A1
- Application number: 18/436,540
- Filed: 2024-02-08
- Published: 2024-05-30
- Earliest claimed: 2019-03-11
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Shunwan Zhuang; Haibo Wang; Yunan Gu; Gang Yan; Zhenbin Li
- Web page: https://patentgrep.com/patent/US20240179087A1

## CPC

- H04L 45/04: {Interdomain routing, e.g. hierarchical routing}
- H04L 45/021: Ensuring consistency of routing table updates, e.g. by using epoch numbers
- H04L 45/18: Loop-free operations
- H04L 45/22: {Alternate routing}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/1466: {Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A BGP route identification method and apparatus are provided. A network device obtains a BGP route. The BGP route includes an autonomous system path attribute AS_PATH attribute, the AS_PATH attribute includes a first autonomous system number AS number, an AS number corresponding to an autonomous system that the network device is located in or manages is a second AS number, and the first AS number is equal to the second AS number. The network device determines, based on the first AS number and the second AS number, whether the BGP route is abnormal.

## Claims

### Claim 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 one or more AS numbers comprise a first AS number, the network device is located in or manages a first autonomous system corresponding to a second AS number, and the first AS number is equal to the second AS number;
determining, by the network device, that the network device has not advertised or forwarded the BGP route comprising the first IP prefix, and
in response to determining that the network device has not advertised or forwarded the BGP route, determining, the BGP route is a hijacking route.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first AS number corresponds to an origin autonomous system originating the BGP route.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the network device has advertised a route comprising a second IP prefix, and the first IP prefix is a subprefix of the second IP prefix.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the network device is a controller.

### Claim 5 (depends on 1)

The method according to claim 1, wherein no BGP session is established between the first autonomous system and a second autonomous system corresponding to a fourth AS number in the one or more AS numbers, and the fourth AS number corresponds to a neighbor autonomous system of the first autonomous system.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the AS_PATH attribute is forged.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the first AS number identifies a transit AS in an AS path.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the first AS number identifies an origin AS in an AS path.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the network device is a BGP Monitoring Protocol (BMP) server.

### Claim 10

An apparatus comprising:
at least one processor; and
one or more memories coupled to the at least one processor and storing instructions for execution by the at least one processor, wherein the instructions, when executed by the at least one processor, cause the apparatus to:
obtain 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 one or more AS numbers comprise a first AS number, the apparatus is applied to a network device that is located in or manages a first autonomous system corresponding to a second AS number, and the first AS number is equal to the second AS number;
determine the network device has not advertised or forwarded the BGP route comprising the first IP prefix, and
in response to determining that the network device has not advertised or forwarded the BGP route, determine the BGP route is a hijacking route.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the first AS number corresponds to an origin autonomous system originating the BGP route.

### Claim 12 (depends on 10)

The apparatus according to claim 10, wherein the network device has advertised a route comprising a second IP prefix, wherein the first IP prefix is a subprefix of the second IP prefix.

### Claim 13 (depends on 10)

The apparatus according to claim 10, wherein the network device is a controller.

### Claim 14 (depends on 10)

The apparatus according to claim 10, wherein no BGP session is established between the first autonomous system and a second autonomous system corresponding to a fourth AS number in the one or more AS numbers, wherein the fourth AS number corresponds to a neighbor autonomous system of the first autonomous system.

### Claim 15 (depends on 10)

The apparatus according to claim 10, wherein the AS_PATH attribute is forged.

### Claim 16 (depends on 10)

The apparatus according to claim 10, wherein the first AS number identifies a transit AS in an AS path.

### Claim 17 (depends on 10)

The apparatus according to claim 10, wherein the first AS number identifies an origin AS in an AS path.

### Claim 18 (depends on 10)

The apparatus according to claim 10, wherein the apparatus is a BGP Monitoring Protocol (BMP) server.
