Patent ID: 8665718

Claim:
A method for implementing a virtual switch (V-Switch) data transmission, comprising: receiving, by a data retransmission entity (DRE), a data frame via a first port for transmission via a second port, wherein the data frame is encapsulated with at least one first port virtual local area network (VLAN) tag; converting the data frame so that it is encapsulated with at least two second port VLAN tags according to a V-Switch correlation between the at least one first port VLAN tag and the at least two second port VLAN tags set forth in a VLAN switching table; wherein the at least two second port VLAN tags comprise an outer VLAN tag and an inner VLAN tag, and the inner VLAN tag comprises at least one layer of VLAN tag; and transmitting, by the DRE, the converted data frame via the second port; wherein the data frame received via the first port is a VLAN protocol encapsulated Ethernet frame, and wherein converting the data frame so that it is encapsulated with at least two second port VLAN tags comprises: performing, by the DRE, a VLAN stack (QinQ) encapsulation on the VLAN protocol encapsulated Ethernet frame according to the V-Switch correlation between the at least one first port VLAN tag and the second port inner and outer VLAN tags set forth in the VLAN switching table.