A message forwarding method and device

A message forwarding and message technology, applied in the field of communication, can solve problems affecting network service transmission and achieve the effect of improving applicability

Active Publication Date: 2021-04-06
NEW H3C TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the embodiments of the present invention is to provide a message forwarding method and device to solve the problem that existing message forwarding methods affect network service transmission

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A message forwarding method and device
  • A message forwarding method and device
  • A message forwarding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063]Stillfigure 1 For example, the first virtual machine sends a first VLAN tag (for example, a VLAN TAG 10) that carries the first VTEP device to the first VTEP device.

[0064]After the first VTEP device receives the first message through the access mode for the AC1 port of the VLAN access mode, the VLAN tag that is carried in the first message is modified to the VSI identifier of the VSI to which the AC1 is located, due to the current modification There is only one layer of VLAN tag (ie, the VSI logo occupies a layer of VLAN label), which is smaller than the number of preset layers (two layers), so the first VTEP device continues to add a layer of VLAN tags in the modified packet; Thereafter, the first VTEP device forwards the VSI within the VSI to determine the interface in accordance with the MAC address and VSI identifier adding the VLAN tag.

[0065]When the interface is a VXLAN tunnel, the first VTEP device deletes all VLAN tags carried in the packet of the VLAN tag to get the s...

Embodiment 2

[0071]Such asFigure 4 As shown, the VXLAN architectural diagram provided in the embodiment of the present invention, the first virtual machine transmits only the first VLAN tag (for example, a VLAN TAG 10) of the first virtual machine to the first VTEP device.

[0072]After receiving the first message, the first VTEP device receives the first message by the access mode to the VLAN access mode, the VLAN label of the first virtual machine carried in the first message is modified to the VSI of the VSI to which the AC1 is located. Identification, obtain the second message (ie, the first to be forwarded); because there is only one layer of VLAN tag (ie, the VSI identifier occupies a layer of VLAN tag), less than the preset layer (two layers), A VTEP device continues to add a layer of VLAN tag in the second packet (for example, setting the value of the newly added VLAN TAG) to obtain a third message (ie, the second to be forwarded the message), then, The first VTEP device is forwarded within...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the present invention provide a message forwarding method and device. The method is applied to a VTEP device, and includes: obtaining the first message to be forwarded that is added with a VSI mark from the first AC port whose access mode is the VLAN access mode; if the VLAN in the first message to be forwarded The number of label layers is less than the preset number of layers, and the VLAN tag is added to the first message to be forwarded to obtain the second message to be forwarded; after determining that the outgoing interface of the second message to be forwarded is the access mode is the VLAN access mode Determine the attribute information of the outgoing interface during the second AC port; if the number of VLAN tag layers included in the attribute information is the preset layer number, the tag value corresponding to each layer of VLAN tags included in the attribute information is the second to be forwarded at the second AC port. The VLAN tag in the message is assigned a value to obtain a third message to be forwarded, and the third message to be forwarded is forwarded through the second AC port. The embodiment of the present invention can improve the applicability of network transmission.

Description

Technical field[0001]The present invention relates to the field of communication technologies, and in particular, a packet forwarding method and apparatus relate to a packet forwarding method.Background technique[0002]VXLAN (Virtual Extensible Local Area Network, Extended Virtual LAN) is based on IP (Internet Protocol, Internet Protocol) network, using "MAC (Media Access Control, Media Access Control) in UDP (User DataGram Protocol, User Data News Agreement) "Layer 2 VPN (VirtualPrivate Network, Virtual Private Network) technology in the package form. Vxlan can provide Layer 2 interconnection based on existing service providers or enterprise IP networks, providing Layer 2 interconnection for dispersed physical sites, and can provide business isolation for different tenants.[0003]VTEP (VXLAN Tunnel End Point, Extended Virtual Local Network Tunnel End Point) The device is the edge device of VXLAN, which can identify the VLAN to which the Ethernet data frame belongs, and the VXLAN is s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/723H04L12/46H04L45/50
CPCH04L12/4633H04L12/4641H04L45/50
Inventor 孙振兴左强强
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products