MAC address management method and device, and electronic equipment

A MAC address and MAC address table technology, applied in the field of network equipment, can solve problems such as incorrect message forwarding behavior and MAC address aging time error, and achieve accurate message forwarding behavior, avoid forwarding errors, and reduce errors.

Active Publication Date: 2018-10-02
SHENZHEN FORWARD IND CO LTD
View PDF12 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because address learning and address aging are independent, there is an error in the aging time of the MAC address. The error time range is 1 to 2 times the set aging time. Therefore, the packet forwarding behavior is caused within the aging error time range. is also incorrect

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 management method and device, and electronic equipment
  • MAC address management method and device, and electronic equipment
  • MAC address management method and device, and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0053] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0054] It should be noted that like numeral...

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

An embodiment of the invention provides a MAC address management method, a MAC address management device, and electronic equipment. The MAC address management method comprises the steps of: updating aMAC address table according to message information carried in a received message, and using current time as a timestamp, and inserting the timestamp into an entry, corresponding to the message, in the MAC address table; performing primary aging processing on the MAC address table according to the timestamp stored in the entry for each entry in the MAC address table when an aging period comes; determining whether to perform secondary aging processing on the MAC address table according to the timestamp stored in the entry when forwarding the message; and if the secondary aging processing is needed, deleting the entry from the MAC address table so as to complete the secondary aging processing, and forwarding the message in a VLAN flooding manner. The problem of forwarding errors caused by not-timely aging processing due to the time interval problem of the aging period is avoided, the error of aging time is reduced, and thus the message forwarding behavior is more accurate.

Description

technical field [0001] The present invention relates to the technical field of network equipment, in particular to a MAC address management method, device and electronic equipment. Background technique [0002] The switch supports automatic MAC address learning for input packets, and maps the source MAC address and input port of the packet to the MAC address table as the basis for subsequent data forwarding. Due to the limited space in the MAC address table, the switch needs to perform MAC address aging operations periodically to delete inactive MAC address entries to ensure that there is enough space in the MAC address table to learn MAC addresses for subsequent packets. In the prior art, the aging of the MAC address entry is generally controlled through the hit bit in the MAC address entry, and the update of the hit is performed when the switch performs address learning. Because address learning and address aging are independent, there is an error in the aging time of the...

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): H04L29/12H04L12/46H04L12/721H04L12/741H04L45/74
CPCH04L12/4641H04L45/32H04L45/54H04L61/58H04L2101/622
Inventor 冯雪峰
Owner SHENZHEN FORWARD IND 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