| CPC H04L 45/02 (2013.01) [H04L 12/4633 (2013.01); H04L 12/4641 (2013.01); H04L 45/76 (2022.05)] | 20 Claims |

|
1. A routing information transmission method, comprising:
receiving, by a first data center interconnection (DCI) device in a first data center, a first packet from a border gateway protocol Ethernet virtual private network (BGP EVPN) neighbor that is of the first DCI device and that is in the first data center, wherein the first packet comprises routing information of a first forwarding instance of an access device in the first data center and an export route target of the first forwarding instance;
obtaining, by the first DCI device, a second forwarding instance that corresponds to the first packet and that is in the first DCI device, wherein an import route target of the second forwarding instance matches the export route target of the first forwarding instance;
generating, by the first DCI device, a second packet based on the first packet, wherein the second packet comprises routing information of the second forwarding instance and an export route target of the second forwarding instance, and wherein the export route target of the second forwarding instance comprises a local interworking route target;
determining a second DCI device is a second BGP EVPN neighbor of the first DCI device based on a DCI attribute that is configured at a DCI BGP EVPN of the first DCI device;
deleting the local interworking route target from the second packet; and
sending, by the first DCI device, the second packet to the second DCI device in a second data center when the export route target of the second forwarding instance comprises a DCI interworking route target, wherein the DCI interworking route target is for performing interworking between the first data center and the second data center.
|