Method for communicating by using remote network element port, and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsDayong WANG, Xi LIU, Bo LIANG
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a method for communicating by using a remote network element port, and an apparatus, and the method is applied to a virtual network element. The virtual network element includes a master node and an egress AP, and the master node adds a first layer VLAN tag to a virtualization packet according to a virtual port corresponding to the virtualization packet to allow the egress AP to distinguish between the virtualization packet and a non-virtualization packet according to the first layer VLAN tag, and, based on the distinguishing, the virtualization packet is correctly processed.
Claims20
A method for communicating by using a remote network element port, wherein the method is applied to a virtual network element, wherein the virtual network element comprises a master node and an egress access point (AP), wherein the egress AP is a remote network element of the master node, and the method comprises:
- determining, by the master node, a virtual port corresponding to a virtualization packet;
- adding, by the master node, a first layer virtual local area network (VLAN) tag to the virtualization packet according to the determined virtual port corresponding to the virtualization packet;
- sending, by the master node, the virtualization packet to the egress AP according to the first layer VLAN tag;
- determining, by the egress AP, a remote network element port corresponding to the virtualization packet according to the first layer VLAN tag;
- removing, by the egress AP, the first layer VLAN tag from the virtualization packet;
- and
- sending, by the egress AP after the removing, the virtualization packet to a network device other than the virtual network element by using the remote network element port corresponding to the virtualization packet.
A virtual network element, wherein the virtual network element comprises a master node and an egress access point (AP), wherein the egress AP is a remote network element of the master node, and wherein:
- the master node is configured to:
- determine a virtual port corresponding to a virtualization packet;
- add a first layer virtual local area network (VLAN) tag to the virtualization packet according to the determined virtual port corresponding to the virtualization packet;
- and
- send the virtualization packet to the egress AP according to the first layer VLAN tag;
- the egress AP is configured to:
- determine a remote network element port corresponding to the virtualization packet according to the first layer VLAN tag;
- remove the first layer VLAN tag from the virtualization packet;
- and
- send, after removing the first layer VLAN tag from the virtualization packet, the virtualization packet to a network device other than the virtual network element by using the remote network element port corresponding to the virtualization packet.
A virtual network element, wherein the virtual network element comprises a master node and an ingress access point (AP), and wherein the ingress AP is a remote network element of the master node, and wherein:
- the ingress AP is configured to:
- receive a packet sent by a network device other than the virtual network element;
- in response to a determination that the packet sent by the network device is a virtualization packet, add a first layer virtual local area network (VLAN) tag to the virtualization packet according to a corresponding remote network element port that receives the virtualization packet, wherein the ingress AP comprises at least one remote network element port, and wherein one remote network element port of the ingress AP corresponds to one first layer VLAN tag;
- and
- forward the virtualization packet to the master node according to the first layer VLAN tag;
- the master node is configured to:
- determine a virtual port corresponding to the virtualization packet according to the first layer VLAN tag, wherein the master node has multiple virtual ports, and wherein one virtual port of the master node corresponds to one first layer VLAN tag;
- remove the first layer VLAN tag from the virtualization packet;
- and
- after removing the first layer VLAN tag from the virtualization packet, forward the virtualization packet according to the virtual port corresponding to the virtualization packet.
Dependencies are inferred from the claim text.