MAC (Media Access Control) address table access control method, as well as apparatus and network device for the same

A MAC address table and MAC address technology, applied in the field of network communication, can solve the problems of low packet forwarding speed and efficiency, affecting device performance, and small hardware MAC address table capacity.

Inactive Publication Date: 2015-01-21
RUIJIE NETWORKS CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The embodiment of the present invention provides a MAC address table access control method and device, which are used to solve the problem of the small capacity of the hardware MAC address table in the prior art, and the problem of message forwarding when the software MAC address table is used for address filtering. Issues with low speed and efficiency that affect device performance

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 (Media Access Control) address table access control method, as well as apparatus and network device for the same
  • MAC (Media Access Control) address table access control method, as well as apparatus and network device for the same
  • MAC (Media Access Control) address table access control method, as well as apparatus and network device for the same

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0102] This embodiment takes the configuration of the communication protocol as an example to illustrate the specific process of the MAC address table access control method, the specific steps are as follows: Image 6 Shown:

[0103] Step S501: Monitor the number of MAC addresses in the software MAC address table.

[0104] Step S502: Determine whether the number of MAC addresses in the software MAC address table is greater than the capacity of the hardware MAC address table, if yes, perform step S503; otherwise, perform step S501.

[0105] Step S503: Count the number of MAC addresses of each communication mode in the software MAC address table; set the communication mode with the largest number of MAC addresses as the selected communication mode.

[0106] When the communication mode with the largest number of MAC addresses is one, the selected communication mode is one; when the communication mode with the largest number of MAC addresses is two, the selected communication mode is two. ...

Embodiment 2

[0121] This embodiment takes the deletion of the communication protocol as an example to illustrate the specific process of the MAC address table access control method. The specific steps are as follows: Figure 7 Shown:

[0122] Step S601: Determine the communication protocol to be deleted.

[0123] Step S602: It is judged whether the communication protocol to be deleted is the communication protocol of the selected communication mode that has been opened, if yes, step S603 is executed; otherwise, step S604 is executed.

[0124] Step S603: Without performing the operation of deleting the MAC address in the MAC address table, perform step S609.

[0125] Step S604: Delete the MAC address of the communication protocol to be deleted configured in the MAC address table, and execute step S605.

[0126] Step S605: Monitor the number of MAC addresses in the software MAC address table.

[0127] Step S606: Determine whether the number of MAC addresses in the software MAC address table is less th...

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 (Media Access Control) address table access control method, as well as an apparatus and a network device for the same. The method comprises the following steps of: refusing to execute the operation of adding the MAC address of a configured communication protocol to an MAC address table while configuring the communication protocol which is opened already on a device port and has a selected communication mode, and running the communication protocol; and when some messages reach the port, receiving the messages while judging that the messages are opened already and have a selected communication mode. With the method, space in the MAC address table is saved, and the problem of smaller capacity of the MAC address table is solved; and memory occupation ratio is reduced, speed and efficiency of message forwarding are improved and performance of the device is improved.

Description

Technical field [0001] The invention relates to the technical field of network communication, in particular to a MAC address table access control method, device and network equipment. Background technique [0002] There are three existing network communication modes: unicast, broadcast, and multicast. The reason why the routing device can directly send messages to the nodes that receive the messages, instead of sending messages to all nodes in a broadcast mode like a hub, is that the routing device can identify the media access control of all nodes connected to the network. Access Control (MAC) addresses, and store them in a MAC address table. The MAC address is an identifier for identifying a local area network (LAN) node. The MAC address table is stored in the cache of the routing device. When a message needs to be sent to a node with a destination MAC address, the routing device searches the MAC address table for the node location of the destination MAC address, and then dire...

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): H04L29/12H04L12/741H04L45/74
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