Unlock instant, AI-driven research and patent intelligence for your innovation.

Message forwarding method and network device

A network device and message forwarding technology, applied in the field of communication, can solve problems affecting CPU performance, increasing design complexity and equipment cost, affecting message forwarding, etc.

Active Publication Date: 2022-02-22
MAIPU COMM TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, if using CPU resources, it will affect the performance of the CPU and affect the forwarding of messages; if using FPGA, it will increase the design complexity and equipment cost

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
  • Message forwarding method and network device
  • Message forwarding method and network device
  • Message forwarding method and network device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0044] In this implementation mode, for the data exchange card 110, the message obtained from the non-designated port is forwarded according to the normal processing flow, and the message obtained from the designated port needs to be processed according to the embodiment of this application. The provided packet forwarding process is forwarded.

[0045] In addition, in the embodiment of the present application, the data exchange card 110 is issued an access control list in advance, and each service card 120 is issued a virtual local area network forwarding table and an access control list in advance. Wherein, the access control list includes multiple ACL entries, and the virtual local area network forwarding table includes multiple VLAN translation entries.

[0046] Among them, the VLAN conversion table item is a table item that matches the message by matching the VLAN Tag of the message, including the specified VLAN Tag field and the action field, and can perform editing corre...

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 present invention relates to a message forwarding method and a network device. A service card inquires the corresponding VLAN conversion entry according to the two outermost layers of VLAN Tags of the message to be forwarded and executes the editing action in the VLAN conversion entry: the outermost two The layer VLAN Tag is stripped, and the VFI ID is specified for the stripped message; the service card queries the corresponding ACL entry on the service card according to the VFI ID and performs the ACL entry binding action: redirects the stripped message to the data exchange card; The switching card queries the corresponding ACL entry on the data switching card according to the VFI ID and the quintuple information of the stripped packet, so as to restore the stripped packet to a packet to be forwarded and then redirect it to the multicast group specified by the ACL entry. Through the above method, the packets with VLAN Tag layers exceeding 2 layers can be parsed without increasing the hardware cost of the network device and without affecting the CPU performance, so as to avoid packet forwarding errors.

Description

technical field [0001] The application belongs to the communication field, and specifically relates to a message forwarding method and network equipment. Background technique [0002] In the network, network devices generally use ACL (Access Control Lists) to match some fields included in the message, such as the five-tuple information of the message, the VLAN Tag (virtual local area network label) of the message, and then According to the action bound to the matched ACL, the packet is redirected to a certain multicast group and forwarded. [0003] Wherein, the number of layers of the VLAN Tag carried by the packets in the network is not fixed. Normally, there are packets without VLAN Tag, packets with Layer 1 VLAN Tag, and packets with Layer 2 VLAN Tag. With the continuous updating of services and the increase of service complexity, more VLANs are needed to identify packets. Therefore, packets in the network may carry 3, 4, or even more layers of VLAN Tags. [0004] Howe...

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/46H04L9/40H04L69/22
CPCH04L12/4641H04L12/4608H04L63/101H04L69/22
Inventor 孙文婷蔡义君
Owner MAIPU COMM TECH CO LTD