MAC address processing method and device

A technology of MAC address and MAC address table, which is applied in data exchange through path configuration, digital transmission system, data exchange network, etc., which can solve the problems of large ACL resource occupation and tight ACL space.

Active Publication Date: 2021-03-12
RUIJIE NETWORKS CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a MAC address processing method and device, which solves the problem in the prior art that the resources of ACL are occupied more and the space of ACL is relatively tight

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
  • MAC address processing method and device
  • MAC address processing method and device
  • MAC address processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0141] Step (a): If it is determined that the port type is a loopback resign, the second MAC address sub-table corresponding to the first interface port identification is found in the first correspondence;

[0142] Step (b): Find the destination MAC address of the forward packet in the second MAC address sub-table.

[0143] Step (C): If the object is found in the second MAC address sub-table, the third MAC address table item corresponding to the MAC address according to the second MAC address sub-table is forwarded. Take forward packets.

[0144] Step (d): If the MAC address is not found in the second MAC address sub-table, the second MAC address is found in the second correspondence of the back loopback back and the MAC address sub-table. The second redirection loopback gate corresponding to the sub-table; if it is found to the second redirection loopback back in the second correspondence, the to be forwarded is forwarded by the second redirective loopback. Wen; If the second red...

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 an MAC address processing method and device. The method comprises the steps of obtaining a source media access control MAC address and a first receiving port identifier of a to-be-forwarded message; determining a port type corresponding to the first receiving port identifier; if it is determined that the port type is a physical port, determining a first virtual local area network (VLAN) identifier to which the first receiving port identifier belongs, and searching for a first MAC address table entry corresponding to the source MAC address and the first VLAN identifier in an MAC address table; if the first MAC address table entry is not found, searching for a first MAC address sub-table corresponding to the first receiving port identifier in a first corresponding relation between the receiving port identifier and an MAC address sub-table, and establishing the first MAC address table entry in the first MAC address sub-table; and periodically polling whether the capacity of each hash chain table in the first MAC address sub-table exceeds a set threshold value or not.

Description

Technical field [0001] The present invention relates to the field of data communication, and more particularly to a method and apparatus for a MAC address. Background technique [0002] The switch is a very important device in the process of computer network transmission data. The switch completes the packet's forwarding based on the Media Access Control, Mac) address table. The switching chip of the switch often implements two-layer storage of the MAC address entry through a hash mapping. That is, the hash value of the MAC address map is stored by the preset hash algorithm as an index, which is mapped to the hash value MAC address table to store the stored space (Hash bucket) corresponding to the hash value. [0003] However, a hash conflict may have a hash conflict, that is, different MAC address forms will be mapped to the same hash barrel. However, each hash value has limited, if you don't alleviate the hash conflict, the Hashi bar is easy to overflow. In the current mode, in...

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/743H04L12/741H04L12/46H04L45/74
CPCH04L45/745H04L45/7453H04L45/74H04L12/4641
Inventor 黄涛
Owner RUIJIE NETWORKS 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