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

Aging method and device for medium access control address

A medium access control and address technology, applied in the field of network communication, can solve the problems of inaccurate actual aging time of MAC address table entries, failure to delete/update MAC address table in time, failure to meet business flexibility requirements, etc., to improve aging accuracy , the effect of meeting the needs of flexibility

Active Publication Date: 2016-06-01
KYLAND TECH CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Under such an aging mechanism, when a MAC address entry is newly created or updated at a certain moment, the state of the MAC address entry will not be obtained immediately, but will be obtained when the counter counts to a preset value. The state of the table item, for example, when the preset value is 300s, each time the counter counts to 300s, the state of the table item is obtained once. The state of the entry is obtained only after 300s, and then the state of the entry is obtained again when the count value of the counter reaches 300s again. By comparing the state of the entry obtained twice, it is determined whether to age the entry. In this way, the actual state of the entry The aging time is 599s; when a table item is newly created or updated when the counter counts to 299s, it needs to wait until the counter counts to 300s to get the status of the table item, and then wait until the counter counts to 300s again to get the status of the table item again. Determine whether to age the entry by comparing the state of the entry obtained twice. In this way, the actual aging time of the entry is 301s. Under this aging mechanism, the actual aging time of the MAC address is not 300s, but between 301s- In the range of 599s, the actual aging time of the MAC address entry is very inaccurate, resulting in the inability to delete / update the MAC address table in time
In addition, under the existing aging mechanism, the aging time of all MAC address entries is the same, which cannot meet the flexibility requirements of the business and has certain limitations.

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
  • Aging method and device for medium access control address
  • Aging method and device for medium access control address
  • Aging method and device for medium access control address

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to improve the aging precision and meet the flexibility requirements of services, the present invention provides an aging method and device for media access control addresses.

[0041] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0042] figure 1 It is a flow chart of the MAC address aging method provided by the embodiment of the present invention. see figure 1 , the example includes:

[0043] 101. By parsing the received message, the switch acquires at least the MAC address information carried in the message.

[0044] Wherein, the MAC address information includes a source MAC address and a destination MAC address, which are used to identify the physical addresses of the source node and the destination node of the frame.

[0045] In the embodiment of the present invention, the switch receives the message from the port, and the structure of the message is shown in Table 1. By analyzing the message, t...

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 aging method and device for medium access control address. The method comprises following steps: obtaining medium access control (MAC) address information carried by a message through analyzing the received message; determining a MAC address table corresponding to the MAC address information from multiple MAC address tables according to the MAC address information and a corresponding relation between the multiple MAC address tables with different aging times and MAC address information , wherein each of the multiple MAC address tables is counted by one counter; creating or updating the MAC address information in the determined MAC address table and performing counting on the MAC address information by a count value obtained according to a preset time interval, wherein the preset time interval is no longer than the aging time corresponding to the determined MAC address table. By use of the method, multiple MAC address tables with different aging times are created to meet the requirement of flexibility for services; counting of the MAC address information is performed by the count value obtained according to a time interval so that the aging precision is increased, wherein the time interval is no longer than the aging time.

Description

technical field [0001] The present invention relates to the technical field of network communication, in particular to a method and device for aging media access control addresses. Background technique [0002] With the increasing popularity of network applications and the increasing scale of the network, the amount of information that needs to be transmitted on the Internet has greatly increased. For Ethernet switches, Layer 2 forwarding is based on the MAC (MediaAccessControl, Media Access Control) address, which is stored in the MAC address table. Through operations such as learning, updating, and aging deletion of MAC addresses, maintenance The correctness of the MAC address table, so as to realize the Layer 2 forwarding function of the Ethernet switch. Wherein, when aging the MAC address entries, a counter is configured for each MAC address entry in the MAC address table. When there are many MAC address entries, a large number of counters are needed, resulting in high ...

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/947
Inventor 路全
Owner KYLAND TECH CO LTD
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