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

Claim 12:
13. The switch according to claim 9, wherein the switch comprises a virtual switch and a physical switch, the virtual switch comprises a first processor in the at least one processor and a first memory in the at least one memory; the physical switch comprises a second processor in the at least one processor and a second memory in the at least one memory; the physical switch further comprises a plurality of ports, each port is connected to one of the at least two links;
the first memory is configured to store a third set of computer storage instructions that, when executed by the first processor, cause the first processor to:
obtain the first data packet sent by the virtual machine; identify the service type of the first data packet,
determine the routing information of the first data packet based on the service type of the first data packet, and
send the routing information and the first data packet to the second processor; and
the second memory is configured to store a fourth set of computer storage instructions that, when executed by the second processor, cause the second processor to:
receive the routing information and the first data packet, encapsulate the first data packet based on the routing information, determine a forwarding port of the encapsulated first data packet based on the routing information, and forward the encapsulated first data packet to the second site through the forwarding port.