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

Claim 4:
5. The data transmission method according to claim 1, wherein the switch comprises a virtual switch and a physical switch that are at the first site, the physical switch comprises a plurality of ports, each port is connected to one of the at least two links, and the method further comprises:
obtaining, by the virtual switch, the first data packet sent by the virtual machine;
identifying, by the virtual switch, the service type of the first data packet;
determining, by the virtual switch, the routing information of the first data packet based on the service type of the first data packet;
sending, by the virtual switch, the routing information and the first data packet to the physical switch; and
encapsulating, by the physical switch, the first data packet based on the routing information, determining a forwarding port of the encapsulated first data packet based on the routing information, and forwarding the encapsulated first data packet through the forwarding port.