US 12,470,484 B2
Traffic control method and related device
Ziqing Cao, Beijing (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Sep. 18, 2023, as Appl. No. 18/468,897.
Application 18/468,897 is a continuation of application No. PCT/CN2022/076565, filed on Feb. 17, 2022.
Claims priority of application No. 202110305257.8 (CN), filed on Mar. 19, 2021; and application No. 202110475646.5 (CN), filed on Apr. 29, 2021.
Prior Publication US 2024/0007400 A1, Jan. 4, 2024
Int. Cl. H04L 45/74 (2022.01); H04L 45/02 (2022.01)
CPC H04L 45/74 (2013.01) [H04L 45/02 (2013.01)] 19 Claims
OG exemplary drawing
 
19. A communication apparatus, comprising:
one or more processors; and
a non-transitory computer-readable storage medium storing a program to be executed by the one or more processors, the program including instructions to:
receive a first border gateway protocol (BGP) route advertisement message sent by a control management device, wherein the first BGP route advertisement message advertises a first virtual private network (VPN) route based on a virtual private network version 4 (VPNv4) address family, a virtual private network version 6 (VPNv6) address family, or a Layer 3 Ethernet virtual private network (L3EVPN) address family, wherein the first VPN route comprises indication information that instructs the communication apparatus to redirect a VPN route to iterate to a first next hop of a private network, an IP address prefix of a destination host, wherein the first next hop of the private network is a next hop towards reaching the IP address prefix of the destination host, and a network address of the first next hop towards reaching the IP address prefix, and wherein the network address of the first next hop is a private IP address of the private network;
generate a first virtual routing and forwarding (VRF) entry based on the indication information, wherein the first VRF entry comprises the IP address prefix and first outbound interface information, and wherein the first outbound interface information identifies a first outbound interface that is of the communication apparatus and that is connected to the first next hop of the private network, wherein to generate the first VRF entry based on the indication information, the program includes instructions to:
determine, in a local VRF table based on the indication information and the network address of the first next hop of the private network, the first outbound interface information corresponding to the first next hop; and
generate the first VRF entry based on the IP address prefix and the first outbound interface information; and
control network traffic based on the first VRF entry.