A storage unit, source switch, message forwarding method and mirroring system

A storage unit and switch technology, applied in the field of communication, can solve problems such as the inability to realize VXLAN tunnel cross-layer three network device mirroring, restrictions on the use of VXLAN technology, and inability to support VXLAN encapsulation headers, etc.

Active Publication Date: 2022-03-11
ZTE CORP
View PDF7 Cites 0 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
  • A storage unit, source switch, message forwarding method and mirroring system
  • A storage unit, source switch, message forwarding method and mirroring system
  • A storage unit, source switch, message forwarding method and mirroring 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 Field name Description 431:384 HEADER_DA DA field 383:336 HEADER_SA SA field 335:304 HEADE...

no. 2 example

[0069] like 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 combi...

no. 3 example

[0081] like 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 includes ...

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 mirroring system. The source switch includes a mirroring source port, an output port and a processing chip; the processing chip includes a first storage unit and a second storage unit; the first storage unit The VXLAN header information stored in the unit includes MAC header, IP header, UDP header and VXLAN header; the ERSPAN header information stored in the second storage unit includes MAC header, IP header and GRE header; the processing chip selects VXLAN header information or ERSPAN header Internal information, and packet encapsulation. In the present invention, by adding a storage unit in the chip, when configuring the VXLAN tunnel mirroring, the data replication of the mirroring source port on the switch is realized, and by adding a VXLAN encapsulation header to the layer-2 mirrored message, it is then transmitted to the Mirror the destination port; and then realize the mirroring of VXLAN tunnels across Layer 3 network devices.

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/46
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