Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message forwarding control method for communication network equipment, and communication network equipment

A communication network and message forwarding technology, applied in the field of MAC address learning, can solve the problems of switching chips to achieve intercommunication, etc.

Inactive Publication Date: 2017-12-12
ZTE CORP
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The message forwarding control method of the communication network equipment and the communication network equipment provided by the embodiment of the present invention mainly solve the technical problem that when the existing switching chip performs data forwarding, the intercommunication cannot be realized inside the switching chip due to the VLAN identification added to each port , resulting in the technical problem of message broadcast flooding on each port of the switch chip

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 control method for communication network equipment, and communication network equipment
  • Message forwarding control method for communication network equipment, and communication network equipment
  • Message forwarding control method for communication network equipment, and communication network equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0023] The switch chip receives the message information sent by the device, extracts the MAC address of the device sending the message information and the destination MAC address of the forwarded message information according to the message information, and the switch chip learns the extracted MAC address and adds In the MAC forwarding table, but, this existing learning method can only learn in the corresponding VLAN mark of port, can't know the MAC address of the equipment on the other ports of the switching chip outside this port, therefore, causes no The switch chip cannot find the port numbers corresponding to the MAC addresses of other ports when performing heat preservation and forwarding.

[0024] In order to solve the above-mentioned problem that each port of the switch chip cannot communicate with each other due to VLAN identification, the embodiment of the present invention provides a MAC address learning method. Through the implementation of this method, the MAC addr...

no. 2 example

[0047] figure 2 A schematic structural diagram of the communication network equipment provided in this embodiment, such as figure 2 As shown, the communication network device 2 provided in this embodiment includes: a processor 21 and a switching chip 22, wherein:

[0048] The processor 21 is used to pre-learn the MAC addresses of the devices attached to each port in advance, and obtain a MAC address forwarding table through learning, and store the MAC addresses of the devices attached to each port of the switching chip in the MAC address forwarding table As well as other information, optionally, the MAC address forwarding table at least includes information such as MAC addresses, port numbers, and virtual local area network identifiers corresponding to ports.

[0049] The switching chip 22 is used to obtain the MAC address forwarding table from the processor 21; and, receiving the message reported by the device, parsing the destination MAC address from the message, and quer...

no. 3 example

[0062] The present invention will be further explained in combination with specific application scenarios.

[0063] The technical problem to be solved in this embodiment is to uniformly learn the MAC address of each port device through the processor 21, and share the learned MAC address forwarding table with each port, thereby realizing the sharing of each port MAC address entry and avoiding When forwarding a message, the problem of performing a message broadcast query because the port number of another port cannot be found. The communication network device provided in this embodiment may be a router or a network switch. The following uses a network switch as an example to describe the present invention in detail.

[0064] Assume that each port in the switch chip 22 corresponds to each external eth port of the network switch, such as image 3 As shown, two PC devices are connected to the port of the switch chip 22, wherein, PC1 is connected to the eth2 port, and PC2 is connec...

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 embodiment of the invention provides a message forwarding control method for communication network equipment, and the communication network equipment. The method comprises the steps: learning the MAC address of equipment hung under each port in advance through a central processing unit; obtaining an MAC address forwarding table; enabling each port processing unit to obtain the MAC address forwarding table from the central processing unit; obtaining a target MAC address through the analysis of a message during the message forwarding, and querying and obtaining a corresponding port number according to the target MAC address and the VLAN identification of the ports; carrying out the message forwarding according to the port numbers. When the port processing units are used for the message forwarding, the method can achieve the querying of the corresponding port number through the extracted target MAC address and the corresponding VLAN identification, and achieves the unicast forwarding of a message according to the port number, thereby achieving the mutual updating and learning of the MAC addresses of the equipment of all ports, effectively avoiding the broadcast flooding, caused by the missing of the target MAC address, of the messages in a switch chip, and improving the data forwarding performance of equipment.

Description

technical field [0001] The invention relates to the field of MAC (Media Access Control, media access control address) address learning, in particular to a message forwarding control method of a communication network device and a communication network device. Background technique [0002] In current Ethernet switches or routers, switch chips are basically used to realize the function of fast data forwarding of CPU (Central Processing Unit, central processing unit) of the device. In the CPU of the device, in order to distinguish the different ports in the switch chip, the general method used is to add different VLAN (Virtual Local Area Network, virtual local area network) labels to the packet information that each port comes in on the switch chip, The identification method can distinguish different ports, but this method will cause isolation between ports in the switch chip, making it impossible to communicate and forward packets. [0003] In order to solve the above problems...

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 Applications(China)
IPC IPC(8): H04L12/741H04L45/74
CPCH04L45/745
Inventor 邵长春
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products