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

Mac address learning method, gateway device and storage medium

A MAC address and learning method technology, which is applied in the field of gateway equipment and storage media, and MAC address learning methods, can solve the problems of limited MAC learning ability switching chips, expensive switching chips, unfavorable switch research and development costs, etc.

Active Publication Date: 2021-04-06
南京易科腾信息技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The MAC learning ability of the device is usually limited by the MAC capacity of the switch chip, and the switch chip with a larger MAC capacity is also more expensive, which is not conducive to controlling the R&D cost of the switch

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 learning method, gateway device and storage medium
  • Mac address learning method, gateway device and storage medium
  • Mac address learning method, gateway device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0064] see figure 1 , figure 1 It is a schematic flow chart of the MAC address learning method provided in the embodiment of the present application. The MAC address learning method is applied to a gateway device, and the gateway device includes a central processing unit CPU. The MAC address learning method may include steps 101 to 105:

[0065] 101. The CPU determines the MAC learning quantity corresponding to the VLAN, the MAC learning quantity corresponding to the port, and the global MAC 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 application discloses a MAC address learning method, a gateway device and a storage medium. The method includes: the CPU determines the number of MAC learning according to the learning requirements; after receiving the first message, according to the preset MAC forwarding table, detecting whether the first source MAC address in the first message needs to be learned; if The first source MAC address needs to be learned, then detect whether the number of messages in the preset MAC learning message queue reaches the number of MAC learning; if it does not reach the number of MAC learning, generate a message containing the first source MAC The first MAC learning message of the address, and add in the described MAC learning message queue; Carry out source MAC address learning to the MAC learning message in the described MAC learning message queue, to utilize CPU to carry out MAC address learning, learning is more flexible, reliable Sex is higher.

Description

technical field [0001] The present application relates to the technical field of communication, and in particular to a method for learning a MAC address, a gateway device and a storage medium. Background technique [0002] With the rapid development of computers and their interconnection technologies, Ethernet has become the short-distance layer-2 computer network with the highest penetration rate so far. The core component of Ethernet is the Ethernet switch. Switches work on the second layer of the OSI reference model, the data link layer. When the switch receives a frame, it first checks whether there is a source MAC address in the frame in the MAC address table it maintains. If there is no source MAC address, put the source MAC address, VLAN, and port into this table; if there is a source MAC address, look up the destination MAC address in this table, and if there is a match, proceed according to the port number in the table entry Forward; if not, forward to all other ...

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/741H04L29/12H04L45/74
CPCH04L45/745H04L2101/622
Inventor 陈伟
Owner 南京易科腾信息技术有限公司
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