Patent ID: 11936551
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC G  H

Claim 4:
5. The method according to claim 1, wherein the BGP route comprises a first Internet protocol (IP) prefix; and
wherein determining whether the BGP route is abnormal further comprises:
when the first AS number does not correspond to the origin autonomous system, a BGP session is established between a first neighbor autonomous system of the first autonomous system and the first autonomous system, a BGP session is established between a second neighbor autonomous system of the first autonomous system and the first autonomous system, and the network device has not received a route that comprises the first IP prefix and that is from the second neighbor autonomous system or the network device has not advertised a route comprising the first IP prefix to the first neighbor autonomous system, determining, by the network device, that the BGP route is abnormal, wherein the first neighbor autonomous system and the second neighbor autonomous system have respective AS numbers comprised in the one or more AS numbers.