VXLAN implementation method, network device, and communications system
AssigneeHuawei Technologies Co., Ltd.
InventorBin Yu
Life of this patent
Estimating the term…
Abstract
A Virtual eXtensible Local Area Network (VXLAN) method comprises obtaining, by a network device, a mapping from a virtual local area network identifier VLAN ID to a VXLAN network identifier VNI; receiving, by the network device through a port, an Ethernet frame forwarded by an access device, where a VLAN tag field in the Ethernet frame includes the VLAN ID; adding, by the network device, a VXLAN header to the Ethernet frame based on the VLAN ID and the mapping to obtain a VXLAN packet, where a VNI field in the VXLAN header includes the VNI; and sending, by the network device, the VXLAN packet.
Claims20
A method performed by a network device and comprising:
- serving as a Virtual eXtensible local area network (VXLAN) tunnel end point (VTEP) device;
- receiving, from an access device and through a first port, an adding instruction comprising a virtual local area network (VLAN) identifier (ID) identifying a VLAN;
- adding the first port to the VLAN;
- receiving, from the access device and through the first port, an Ethernet frame;
- adding a VXLAN header to the Ethernet frame to obtain a VXLAN packet, wherein the VXLAN header comprises a VXLAN network identifier (VNI) field, and wherein the VNI field comprises a VNI;
- and
- sending, through a second port, the VXLAN packet.
A network device comprising:
- a first port configured to:
- receive, from an access device, an adding instruction comprising a virtual local area network (VLAN) identifier (ID) identifying a VLAN;
- and
- receive, from the access device, an Ethernet frame;
- a processor coupled to the first port and configured to:
- add the first port to the VLAN identified;
- and
- add a Virtual eXtensible local area network (VXLAN) header to the Ethernet frame to obtain a VXLAN packet, wherein the VXLAN header comprises a VXLAN network identifier (VNI) field, and wherein the VNI field comprises a VNI;
- and
- a second port configured to send the VXLAN packet,
- wherein the network device is configured to serve as a VXLAN tunnel end point (VTEP) device.
A computer program product comprising instructions that are stored on a non-transitory computer-readable medium and that, when executed by a processor, cause a network device to:
- serve as a Virtual eXtensible local area network VXLAN tunnel end point (VTEP) device;
- receive, from an access device and through a first port, an adding instruction comprising a virtual local area network (VLAN) identifier (ID) identifying a VLAN;
- add the first port to the VLAN;
- receive, from the access device and through the first port, an Ethernet frame;
- add a VXLAN header to the Ethernet frame to obtain a VXLAN packet, wherein the VXLAN header comprises a VXLAN network identifier (VNI) field, and wherein the VNI field comprises a VNI;
- and
- send, through a second port, the VXLAN packet.
Dependencies are inferred from the claim text.