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

Method and device for processing mac address

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

Active Publication Date: 2022-05-20
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
  • Method and device for processing mac address
  • Method and device for processing mac address
  • Method and device for processing mac address

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0141] Step (a): If it is determined that the port type is a loopback port, then look up the first interface port identification corresponding to the second MAC address subtable in the first correspondence;

[0142] Step (b): Look up the destination MAC address of the message to be forwarded in the second MAC address subtable.

[0143]Step (c): If the destination MAC address is found in the second MAC address subtable, the third MAC address table entry corresponding to the destination MAC address in the second MAC address subtable forwards the message to be forwarded.

[0144] Step (d): If the destination MAC address is not found in the second MAC address subtable, the second redirection loopback port corresponding to the second REDIRECT cirroport corresponding to the MAC address subtable is found in the second correspondence of the redirect loopback port and the MAC address subtable; if the second redirect loopback port is found in the second correspondence, the second redirect l...

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 MAC address processing method and device, wherein the method comprises: obtaining a source medium access control MAC address and a first receiving port identifier of a message to be forwarded; determining the port type corresponding to the first receiving port identifier; If it is determined that the port type is a physical port, then determine the first virtual local area network VLAN ID to which the first receiving port ID belongs, and search the MAC address table for the first corresponding first VLAN ID of the source MAC address and the first VLAN ID. MAC address entry; if not found, the first MAC address entry, then search the first MAC address corresponding to the first receiving port identifier in the first correspondence relationship between the receiving port identifier and the MAC address subtable A sub-table, establishing the first MAC address entry in the first MAC address sub-table; regularly polling whether the capacity of each hash linked list in the first MAC address sub-table exceeds a set threshold.

Description

Technical field [0001] The present invention relates to the field of data communication technology, in particular to a MAC address processing method and apparatus. Background [0002] During the process of transmitting data over a computer network, the switch is a very important device. The switch forwards packets based on the Media Access Control (MAC) address table. The switching chip of the switch often implements the layer-2 storage of the MAC address table entry by means of hash mapping. That is, the mac address table entry mapped to the hash value is stored under the storage space (hash bucket) corresponding to the hash value by using the preset hashing algorithm to index the MAC address table value. [0003] However, hash collisions may occur using the hash algorithm, i.e. different MAC address table entries are mapped to the same hash bucket. But the hash bucket for each hash value is limited, and if the hash conflict is not mitigated, the hash bucket is prone to overflow...

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): H04L45/745H04L45/7453H04L45/74H04L12/46
CPCH04L45/745H04L45/7453H04L45/74H04L12/4641
Inventor 黄涛
Owner RUIJIE NETWORKS CO LTD