Storage unit, source switch, message forwarding method and mirror system

A technology of storage unit and switch, which is applied in the field of communication, can solve problems such as restrictions on the use of VXLAN technology, the inability to support VXLAN encapsulation of packet headers, and the inability to realize the mirroring of VXLAN tunnels across three-layer network devices.

Active Publication Date: 2019-01-01
ZTE CORP
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventor found the following problems in the prior art: because the VXLAN encapsulation header is too long, the existing three-layer network device mirroring technology does not support the VXLAN encapsulation header, and cannot implement VXLAN The mirroring of the tunnel across the three-layer network equipment has caused restrictions on the use of VXLAN technology

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
  • Storage unit, source switch, message forwarding method and mirror system
  • Storage unit, source switch, message forwarding method and mirror system
  • Storage unit, source switch, message forwarding method and mirror system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0063] Based on the above-mentioned inability to realize the mirroring of VXLAN tunnels across the three-layer network equipment, resulting in restrictions on use, the first embodiment of the present invention provides a storage unit configured for VXLAN tunnel mirroring, the The VXLAN header information stored in the storage unit includes an outer MAC header, an outer IP header, an outer UDP header, and a VXLAN header.

[0064] In this embodiment, the outer MAC header (Outer MAC Header) occupies 14 or 18 bytes, the outer layer IP header (OuterIP Header) 20 bytes, the outer UDP header (Outer UDP Header) 8 bytes, and the VXLAN header ( VXLAN Header) 8 bytes.

[0065] In this embodiment, the outer MAC header (Outer MAC Header) occupies 18 bytes, including 4 bytes of VLANTAG. The specific filling fields can be shown in the following table:

[0066] Bits

[0067] A kind of storage unit of the embodiment of the present invention, when configuring VXLAN tunnel mirroring,...

no. 2 example

[0069] Such as image 3 As shown, the second embodiment of the present invention provides a source switch, and the source switch includes a mirrored source port 21, an output port 23, and a processing chip 22;

[0070] The processing chip 22 includes a first storage unit 251 and a second storage unit 252; the first storage unit 251 is configured for VXLAN tunnel mirroring, and the stored VXLAN header information includes an outer MAC header, an outer IP header , an outer UDP header and a VXLAN header; the second storage unit 252 is configured for ERSPAN mirroring, and the stored ERSPAN header information includes a MAC header, an IP header, and a GRE header;

[0071] The mirroring source port 21 is used to receive preset messages sent by the source device;

[0072] The processing chip 22 is configured to determine the port mirroring type; if the port mirroring type is VXLAN tunnel mirroring, then obtain the VXLAN header information stored in the first storage unit 251, and co...

no. 3 example

[0081] Such as Figure 4 As shown, the third embodiment of the present invention provides a message forwarding method, which is applied to the source switch, and the method includes steps:

[0082] 31. Receive the preset message sent by the source device;

[0083] 32. Determine the port mirroring type;

[0084] 33. If the port mirroring type is VXLAN tunnel mirroring, then obtain the stored VXLAN header information, encapsulate the VXLAN header information and the preset message; and forward the encapsulated preset message through the VXLAN tunnel; wherein The stored VXLAN header information includes an outer MAC header, an outer IP header, an outer UDP header and a VXLAN header;

[0085]34. If the port mirroring type is ERSPAN mirroring, then obtain the stored ERSPAN header information, encapsulate the ERSPAN header information and the preset message; and forward the encapsulated preset message through the GRE tunnel; wherein the The stored ERSPAN header information includ...

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

The invention discloses a storage unit, a source switch, a message forwarding method and a mirror system. The source switch includes a mirror source port, an output port and a processing chip. The processing chip includes a first storage unit and a second storage unit. The VXLAN header information stored in the first storage unit includes an MAC header, an IP header, a UDP header and a VXLAN header. The ERSPAN header information stored in the second storage unit includes an MAC header, an IP header and a GRE header. The processing chip chooses the VXLAN header information or the ERSPAN headerinformation for message packaging. By adding one storage unit in the chip, the replication of the data of the mirror source port on the switch is realized in the configuration of a VXLAN tunnel image.The data is transmitted to a mirror destination port through an IP network by adding a VXLAN packaging message header to the message of a two-layer mirror image. Therefore, mirroring across three layers of network devices is realized for a VXLAN tunnel.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a storage unit, a source switch, a message forwarding method and a mirroring system. Background technique [0002] VXLAN (virtual extensible local area network, virtual extensible local area network) technology is based on IP (internet protocol, Internet Protocol) network, using MAC (medium access control, media access control) in UDP (user datagram protocol, user datagram protocol) Layer 2 VPN (virtual private network, virtual private network) technology in (MAC in UDP) encapsulation form. [0003] In the process of realizing the present invention, the inventor found the following problems in the prior art: because the VXLAN encapsulation header is too long, the existing three-layer network device mirroring technology does not support the VXLAN encapsulation header, and cannot implement VXLAN The mirroring of tunnels across Layer 3 network devices has limited the use of V...

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
IPC IPC(8): H04L12/46H04L29/06H04L29/08
CPCH04L12/4633H04L12/4641H04L67/1095H04L69/22
Inventor 姚秀琴
Owner ZTE CORP
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