Method and device for managing mac addresses in a distributed switch

A technology of MAC address and MAC address table, which is applied in the field of MAC address management in distributed switches, can solve the problem of low utilization rate of bandwidth resources and achieve the effects of avoiding message flooding, improving utilization rate and reducing quantity

Active Publication Date: 2017-12-26
RUIJIE NETWORKS CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to provide a MAC address management method and equipment in a distributed switch to overcome the problem of low bandwidth resource utilization in related technologies

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 managing mac addresses in a distributed switch
  • Method and device for managing mac addresses in a distributed switch
  • Method and device for managing mac addresses in a distributed switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] like image 3 As shown, it is an exemplary flowchart of a method for managing a MAC address in a distributed switch in an embodiment of the present invention, for a distributed switch, the method includes the following steps:

[0055] Step 301: After the distributed switch determines that its own MAC chip automatically ages the MAC address, it re-adds the MAC address to the MAC address table.

[0056] Step 302: Send a delete message requesting to delete the MAC address to the main control device.

[0057] Step 303: Delete the MAC address from the MAC address table when receiving the confirmation message returned by the master control device for determining to delete the MAC address.

[0058] In the embodiment of the present invention, after the MAC chip ages out the MAC address, the distributed switch re-adds the MAC address to the MAC address table, so as to ensure that the distributed switch will not delete the MAC address in advance. Temporary inconsistencies in gl...

Embodiment 2

[0077] like Figure 4 As shown, it is an exemplary flowchart of a MAC address management method in a distributed switch in an embodiment of the present invention, which is used for a master control device. The method includes the following steps:

[0078] Step 401: The main control device receives a deletion message requesting to delete the MAC address sent by the distributed switch. The deletion message is that the distributed switch re-adds the MAC address to the MAC address after determining that the MAC chip of the distributed switch automatically ages the MAC address. generated later in the MAC address table.

[0079] Step 402: After confirming that all the distributed switches in the downlink request to delete the MAC address, send a confirmation message confirming to delete the MAC address to all the distributed switches, and instruct all the distributed switches in the downlink to change the MAC address from the MAC address to the MAC address. delete from the table. ...

Embodiment 3

[0102] The network architecture remains as figure 2 As shown, it includes a master device and three distributed switches. Take the initial stage of learning the MAC address, that is, when the MAC address table of each distributed switch is empty, the master control device instructs each distributed switch to learn the MAC address through the chain to be synchronized as an example, for the MAC address in the distributed switch in the embodiment of the present invention Address management methods are described, such as Figure 5 Shown is an exemplary flowchart of a MAC address management method in an embodiment of the present invention, and the method includes the following steps:

[0103] Step 501: The distributed switch configures the extended field of the MAC address table, which is used to mark the learning source of the MAC address.

[0104] Wherein, 0 is used in the extension field to indicate that the learning source is itself, and 1 is used to indicate that the learni...

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 present invention relates to a MAC address management method and equipment in a distributed switch. The method includes: after the distributed switch determines that its own MAC chip automatically ages the MAC address, it adds the MAC address to the MAC address table again; and, Send a deletion message requesting to delete the MAC address to the main control device; when receiving a confirmation message confirming to delete the MAC address returned by the main control device, delete the MAC address from the MAC address table. The method provided by the invention can avoid message flooding caused by inconsistency of the global MAC addresses, and improve bandwidth resource utilization.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a MAC address management method and equipment in a distributed switch. Background technique [0002] Generally, the switch realizes the fast forwarding of the message through the MAC (Media Access Control, Media Access Control Layer) address table managed by itself. The MAC address table generally includes: MAC address information, virtual local area network (Virtual Local Area Network, VLAN) identification (ID) information of the port where the device to which the MAC address belongs belongs, and port number information of the port. Therefore, there is a correspondence between MAC addresses and ports in the MAC address table. [0003] An important function of managing the MAC address table is to maintain the consistency of the global MAC address table to reduce packet flooding and waste of bandwidth resources. For example, with figure 1 Take the network topology of the distr...

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/947H04L29/12
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