CN101232444A - Hash conflict resolution method, device and switching equipment with the device - Google Patents
Hash conflict resolution method, device and switching equipment with the device Download PDFInfo
- Publication number
- CN101232444A CN101232444A CNA2008100043497A CN200810004349A CN101232444A CN 101232444 A CN101232444 A CN 101232444A CN A2008100043497 A CNA2008100043497 A CN A2008100043497A CN 200810004349 A CN200810004349 A CN 200810004349A CN 101232444 A CN101232444 A CN 101232444A
- Authority
- CN
- China
- Prior art keywords
- mac address
- hash
- conflict
- module
- address table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
本发明公开了一种哈希冲突解决方法,在MAC地址的学习过程中检测MAC地址的哈希冲突,在地址表模块之外的冲突表模块中的冲突MAC地址表保存冲突MAC地址;对目的地址为冲突MAC地址的报文按所述冲突MAC地址表进行单播线速转发。本发明还公开了一种哈希冲突解决装置及一种具有该装置的交换设备。本发明的哈希冲突解决方法,目的地址为冲突MAC地址的报文得以单播线速转发,提高了端口带宽的利用率。
The invention discloses a hash conflict resolution method, which detects the hash conflict of the MAC address during the learning process of the MAC address, and saves the conflict MAC address in the conflict MAC address table in the conflict table module outside the address table module; for the purpose The message whose address is a conflicting MAC address is forwarded at a unicast wire speed according to the conflicting MAC address table. The invention also discloses a hash conflict resolution device and a switching device with the device. With the hash conflict resolution method of the present invention, the message whose destination address is a conflicting MAC address can be forwarded at a unicast wire speed, thereby improving the utilization rate of port bandwidth.
Description
技术领域technical field
本发明涉及一种通信技术,尤其与一种MAC(media Access Control,介质访问控制)地址哈希(HASH)冲突解决方法、装置及具有该装置的交换设备有关。The invention relates to a communication technology, in particular to a MAC (media access control, media access control) address hash (HASH) conflict resolution method, device and switching equipment with the device.
背景技术Background technique
交换机通过对报文的源MAC地址学习,建立一张包含SA(SourceAddress,源MAC地址)、VLAN(Virtual Local Area Network,虚拟局域网)ID、Port(端口)的转发表,并根据该表实现报文的单播转发。MAC地址表最初采用顺序表的结构存储MAC地址,如表1所示,这样在MAC地址表发生变化,即添加或删除MAC地址时,因为要保持MAC地址表的有序性,MAC地址表会出现表项的移动。当MAC地址表容量较大时,由于表项移动与查找的复杂性,效率比较低。The switch learns the source MAC address of the message, establishes a forwarding table including SA (SourceAddress, source MAC address), VLAN (Virtual Local Area Network, virtual local area network) ID, and Port (port), and realizes the report according to the table. Unicast forwarding of text. The MAC address table initially stores MAC addresses in the structure of a sequential table, as shown in Table 1. In this way, when the MAC address table changes, that is, when adding or deleting MAC addresses, because the order of the MAC address table must be maintained, the MAC address table will A movement of table entries occurs. When the capacity of the MAC address table is large, the efficiency is relatively low due to the complexity of table entry movement and search.
表1Table 1
后来的交换芯片,MAC地址表采用哈希表结构进行存储。首先,确定哈希桶的深度,再用整个MAC地址表的容量除以哈希桶的深度,得到了需要的哈希桶的个数。每个哈希桶有自己唯一的编号,在哈希桶的内部仍然采用顺序的方式存储。当进行MAC地址学习时,会根据SA和VLAN ID使用一定的算法,得到哈希桶的编号,并把MAC地址存储在该桶中。这样可以大大提高MAC地址添加、删除和查找的效率,但是也同时产生了一个哈希冲突的问题。如表2所示,Bucket-1已经满了,那么其他映射到这个桶的MAC地址,如MAC1-5就不能进行存储,虽然此时其他的哈希桶中仍有空闲空间。In later switch chips, the MAC address table is stored in a hash table structure. First, determine the depth of the hash bucket, and then divide the capacity of the entire MAC address table by the depth of the hash bucket to obtain the number of required hash buckets. Each hash bucket has its own unique number, which is still stored sequentially inside the hash bucket. When learning the MAC address, a certain algorithm will be used according to the SA and VLAN ID to obtain the number of the hash bucket, and the MAC address will be stored in the bucket. This can greatly improve the efficiency of MAC address addition, deletion and search, but it also creates a problem of hash collision. As shown in Table 2, Bucket-1 is full, then other MAC addresses mapped to this bucket, such as MAC1-5, cannot be stored, although there is still free space in other hash buckets at this time.
表2Table 2
如图1所示,在现有技术中,通过MAC地址学习进行报文转发的流程,以从端口1接收SA为MAC-A的报文为例,包括依次进行如下步骤:As shown in Figure 1, in the prior art, the process of packet forwarding through MAC address learning, taking the packet receiving SA as MAC-A from
步骤S10:从端口1接收报文;Step S10: receiving a message from
步骤S20:首先解析出报文的源地址MAC-A;Step S20: first parse out the source address MAC-A of the message;
步骤S30:进行基于SA的MAC地址学习;Step S30: performing SA-based MAC address learning;
步骤S40:对MAC-A进行哈希计算或对MAC-A与其相关信息(如VLANID)的组合进行哈希计算;Step S40: Perform hash calculation on MAC-A or perform hash calculation on a combination of MAC-A and its related information (such as VLANID);
步骤S50:判断是否发生哈希冲突;如发生哈希冲突则进行步骤S70;如没有发生哈希冲突,则进行步骤S80;Step S50: Determine whether a hash conflict occurs; if a hash conflict occurs, proceed to step S70; if no hash conflict occurs, proceed to step S80;
步骤S70:因为发生哈希冲突,所以不能把MAC-A添加于MAC地址表,因此,报文以广播方式转发到VLAN内的所有端口;通过MAC地址学习进行报文转发的流程结束。Step S70: MAC-A cannot be added to the MAC address table because of a hash collision, therefore, the message is forwarded to all ports in the VLAN in a broadcast manner; the process of message forwarding through MAC address learning ends.
步骤S80:把MAC-A添加于MAC地址表;Step S80: Add MAC-A to the MAC address table;
步骤S90:目的地址为MAC-A以单播方式转发到端口1;通过MAC地址学习进行报文转发的流程结束;Step S90: The destination address is MAC-A and is forwarded to
由上述流程可以看出,当进行MAC地址学习,如果发现该MAC地址映射到的哈希桶已经满了,那么虽然MAC地址表中仍然有空闲空间,但是该MAC地址还是不能进行存储,导致以该MAC地址为DA的报文在VLAN内进行广播,占用其他端口的有效带宽。在最坏情况下,网络中所有的MAC地址映射到同一个哈希桶中,会在网络中出现大量的未知单播报文引起的VLAN内广播,造成网络带宽的极大浪费。It can be seen from the above process that when learning a MAC address, if the hash bucket to which the MAC address is mapped is found to be full, then although there is still free space in the MAC address table, the MAC address cannot be stored, resulting in the following The packet whose MAC address is DA is broadcast in the VLAN, occupying the effective bandwidth of other ports. In the worst case, all MAC addresses in the network are mapped to the same hash bucket, and a large number of unknown unicast packets will be broadcast in the VLAN on the network, resulting in a great waste of network bandwidth.
发明内容Contents of the invention
针对现有技术中存在的出现MAC地址哈希冲突时,目的地址为冲突MAC地址的单播报文不能进行单播转发的问题,本发明的目的在于提供一种哈希冲突解决方法,不需要交换芯片硬件的额外支持,实现对以冲突MAC地址为目的地址的报文的单播线速转发。Aiming at the problem in the prior art that when a MAC address hash conflict occurs, the unicast message whose destination address is the conflicting MAC address cannot be unicast forwarded, the purpose of the present invention is to provide a hash conflict resolution method without switching The additional support of the chip hardware realizes the unicast wire-speed forwarding of the message with the conflicting MAC address as the destination address.
本发明的另一目的在于提供一种实现本发明MAC地址哈希冲突解决方法的哈希冲突解决装置。Another object of the present invention is to provide a hash conflict resolution device for implementing the MAC address hash conflict resolution method of the present invention.
本发明的再一个目的在于提供一种具有本发明哈希冲突解决装置的交换设备。Another object of the present invention is to provide a switching device with the hash conflict resolution device of the present invention.
为实现上述目的,本发明的技术方案如下:To achieve the above object, the technical scheme of the present invention is as follows:
一种哈希冲突解决方法,包括以下步骤:A hash conflict resolution method, comprising the following steps:
步骤S100:在MAC地址学习的过程中对学习到的MAC地址进行MAC地址哈希冲突的检测;Step S100: performing MAC address hash collision detection on the learned MAC address during the MAC address learning process;
步骤S200:当检测到哈希冲突时,将发生哈希冲突的冲突MAC地址保存于地址表模块以外的冲突表模块中的冲突MAC地址表;Step S200: When a hash conflict is detected, save the conflicting MAC address in which the hash conflict occurs in a conflicting MAC address table in a conflict table module other than the address table module;
步骤S300:在接收到以冲突MAC为目的地址的报文时,按照冲突MAC地址表,对报文进行单播线速转发。Step S300: When receiving a message with the conflicting MAC address as the destination address, perform unicast wire-speed forwarding on the message according to the conflicting MAC address table.
本发明的哈希冲突解决方法,其中,在步骤S100之前,还包括在冲突表模块中建立冲突MAC地址表的步骤,冲突MAC地址表用于保存冲突MAC地址的源端口信息和VLAN信息。The hash conflict resolution method of the present invention, wherein, before step S100, further includes the step of establishing a conflict MAC address table in the conflict table module, and the conflict MAC address table is used to store source port information and VLAN information of the conflict MAC address.
本发明的哈希冲突解决方法,其中,在步骤S100中,通过接收交换芯片发出的发生哈希冲突的中断通知来检测所述哈希冲突。In the hash conflict resolution method of the present invention, in step S100, the hash conflict is detected by receiving an interrupt notification of hash conflict from the switch chip.
本发明的哈希冲突解决方法,其中,在步骤S300中,按照所述冲突MAC地址表配置ACL规则,通过向各端口下发重定向ACL规则的方式,实现报文的单播线速转发。In the hash conflict resolution method of the present invention, in step S300, ACL rules are configured according to the conflicting MAC address table, and the unicast wire-speed forwarding of messages is realized by sending redirection ACL rules to each port.
本发明的哈希冲突解决方法,其中,步骤S200还包括,未检测到哈希冲突的MAC地址保存于MAC地址模块的MAC地址表;In the method for resolving hash conflicts of the present invention, step S200 further includes storing the MAC addresses for which hash conflicts have not been detected in the MAC address table of the MAC address module;
步骤S300还包括,在接收到以MAC地址表中的MAC地址为目的地址的报文时,按照MAC地址表,对报文进行单播线速转发。Step S300 also includes, when receiving a message with the MAC address in the MAC address table as the destination address, performing unicast wire-speed forwarding on the message according to the MAC address table.
一种实现本发明的哈希冲突解决方法的哈希冲突解决装置,包括控制模块、用于MAC地址哈希冲突检测的冲突检测模块、创建和维护冲突MAC地址表的冲突表模块和用于收发报文的收发模块;A hash conflict resolution device for implementing the hash conflict resolution method of the present invention, comprising a control module, a conflict detection module for MAC address hash conflict detection, a conflict table module for creating and maintaining a conflict MAC address table, and a conflict table module for sending and receiving Message transceiver module;
所述控制模块,将MAC地址学习过程中学习到的MAC地址传送于所述哈希冲突检测模块进行MAC地址哈希冲突的检测;并将哈希冲突检测模块报告发生哈希冲突的MAC地址传送于冲突表模块存储;并控制所述收发模块按照所述冲突MAC地址表对以冲突MAC为目的地址的报文单播线速转发。The control module transmits the MAC address learned in the MAC address learning process to the hash conflict detection module to detect the MAC address hash conflict; and transmits the MAC address of the hash conflict detection module to report the hash conflict Stored in the conflict table module; and control the transceiver module to forward the message with the conflict MAC as the destination address at a unicast wire speed according to the conflict MAC address table.
本发明的哈希冲突解决装置,其中,所述哈希冲突检测模块还包括中断响应单元,所述中断响应单元用于接收并识别交换芯片发出的发生哈希冲突的中断通知,所述冲突检测模块接收到所述中断通知后,向所述控制模块报告发生哈希冲突。In the hash conflict resolution device of the present invention, wherein the hash conflict detection module further includes an interrupt response unit, the interrupt response unit is used to receive and identify the interrupt notification of the occurrence of a hash conflict sent by the switch chip, and the conflict detection After receiving the interrupt notification, the module reports the hash collision to the control module.
本发明的哈希冲突解决装置,其中,所述控制模块还包括转发控制单元,所述转发控制单元按照所述冲突MAC地址表配置所述收发模块的ACL规则,所述收发模块按照所述ACL规则单播转发报文。In the hash conflict resolution device of the present invention, the control module further includes a forwarding control unit, the forwarding control unit configures the ACL rule of the transceiver module according to the conflicting MAC address table, and the transceiver module configures the ACL rule according to the ACL Rules for unicast forwarding packets.
本发明的哈希冲突解决装置,其中,所述哈希冲突解决装置还包括地址表模块,其维护的MAC地址表用于保存未检测到哈希冲突的MAC地址;The hash conflict resolution device of the present invention, wherein the hash conflict resolution device further includes an address table module, and the MAC address table maintained by it is used to store MAC addresses that have not detected hash conflicts;
所述控制模块控制所述收发模块在接收到以MAC地址表中的MAC地址为目的地址的报文时,按照MAC地址表对报文进行单播线速转发。The control module controls the transceiver module to perform unicast wire-speed forwarding of the message according to the MAC address table when receiving the message whose destination address is the MAC address in the MAC address table.
本发明的交换设备,具有本发明的哈希冲突解决装置。The switching device of the present invention has the hash conflict resolution device of the present invention.
由上述技术方案可知,本发明具有以下有益效果:本发明通过检测和保存发生哈希冲突的MAC地址,并实现对目的地址为冲突MAC地址的报文的单播线速转发,而不需要交换芯片硬件的额外支持。本发明还提高了端口带宽的利用率,避免由于哈希冲突MAC地址学习失败导致的未知单播流量占用网络有效带宽。It can be seen from the above-mentioned technical scheme that the present invention has the following beneficial effects: the present invention detects and saves the MAC address of the hash conflict, and realizes the unicast wire-speed forwarding of the message whose destination address is the conflicting MAC address, without switching Additional support for chip hardware. The invention also improves the utilization rate of the port bandwidth, and avoids the effective bandwidth of the network being occupied by the unknown unicast flow caused by the hash collision MAC address learning failure.
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.
附图说明Description of drawings
图1为现有技术MAC地址学习和报文转发流程图;FIG. 1 is a flow chart of MAC address learning and message forwarding in the prior art;
图2为本发明实施例的MAC地址哈希冲突解决方法的流程图;Fig. 2 is the flowchart of the MAC address hash conflict resolution method of the embodiment of the present invention;
图3为本发明实施例的MAC地址哈希冲突解决方法中报文转发的流程图;Fig. 3 is the flowchart of message forwarding in the MAC address hash conflict resolution method of the embodiment of the present invention;
图4为本发明第一实施例的MAC地址哈希冲突解决装置模块结构图;FIG. 4 is a block diagram of a device for resolving MAC address hash conflicts according to the first embodiment of the present invention;
图5为本发明第二实施例的MAC地址哈希冲突解决装置模块结构图。FIG. 5 is a block diagram of a device for resolving MAC address hash conflicts according to the second embodiment of the present invention.
具体实施方式Detailed ways
下面将结合附图及具体实施例对本发明作进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
本发明可以检测到MAC地址哈希冲突,并在地址表模块以外的冲突表模块中建立冲突MAC地址表来保存冲突MAC地址,同时能够对DA为冲突MAC的报文进行单播线速转发。The invention can detect MAC address hash conflicts, and establish a conflicting MAC address table in a conflicting table module other than the address table module to store the conflicting MAC addresses, and simultaneously can perform unicast line-speed forwarding on messages whose DA is a conflicting MAC.
本发明的哈希冲突解决方法,包括以下步骤:The hash conflict resolution method of the present invention comprises the following steps:
步骤S100:在MAC地址学习的过程中对学习到的MAC地址进行MAC地址哈希冲突的检测;Step S100: performing MAC address hash collision detection on the learned MAC address during the MAC address learning process;
步骤S200:当检测到哈希冲突时,将发生哈希冲突的冲突MAC地址保存于地址表模块以外的冲突表模块中的冲突MAC地址表;Step S200: When a hash conflict is detected, save the conflicting MAC address in which the hash conflict occurs in a conflicting MAC address table in a conflict table module other than the address table module;
步骤S300:在接收到以冲突MAC为目的地址的报文时,按照冲突MAC地址表,对报文进行单播线速转发。Step S300: When receiving a message with the conflicting MAC address as the destination address, perform unicast wire-speed forwarding on the message according to the conflicting MAC address table.
在现有技术中,MAC地址学习通常由硬件完成,不需要软件参与。因此,在产生哈希冲突的时候,无法对哈希冲突的MAC地址进行特殊的处理。本发明的哈希冲突解决方法,在MAC地址的学习的过程中对学习到的MAC地址进行MAC地址哈希冲突的检测,可以由本发明的哈希冲突解决方法检测到哈希冲突,具体可以通过以下两个实施例的两种方法实现:In the prior art, MAC address learning is usually done by hardware without software participation. Therefore, when a hash collision occurs, special processing cannot be performed on the MAC address of the hash collision. The hash conflict resolution method of the present invention detects the MAC address hash conflict for the learned MAC address during the learning process of the MAC address, and the hash conflict can be detected by the hash conflict resolution method of the present invention, specifically through Two methods of the following two embodiments are realized:
本发明第一实施例的哈希冲突解决方法,使用软件方式进行MAC地址学习,在将学习到的MAC地址向MAC地址表添加的过程中,检测MAC地址的哈希冲突。例如调用交换芯片对MAC地址表存储是否已满的函数,来检测哈希冲突。如果某一学习到的MAC地址,在往地址表的某一哈希桶添加的过程中,函数返回值表明该哈希桶已满,则说明该MAC地址为冲突MAC地址,从而使CPU在哈希冲突发生的时候可以及时检测到哈希冲突,并建立冲突MAC地址表,对冲突MAC地址进行存储。The hash conflict resolution method of the first embodiment of the present invention uses software to learn MAC addresses, and detects hash conflicts of MAC addresses during the process of adding the learned MAC addresses to the MAC address table. For example, call the switch chip to check whether the MAC address table storage is full, to detect the hash collision. If a learned MAC address is added to a certain hash bucket of the address table, and the return value of the function indicates that the hash bucket is full, it means that the MAC address is a conflicting MAC address, so that the CPU is in the hash bucket. When a hash conflict occurs, the hash conflict can be detected in time, and a conflict MAC address table is established to store the conflict MAC address.
本发明的哈希冲突解决方法,在MAC地址学习的过程中,未检测到哈希冲突的MAC地址保存于MAC地址模块的MAC地址表;在接收到以MAC地址表中的MAC地址为目的地址的报文时,按照MAC地址表,对报文进行单播线速转发。当检测到发生哈希冲突的冲突MAC地址,将冲突MAC地址保存在MAC地址表模块以外的冲突表模块中的冲突MAC地址表,冲突MAC地址表模拟MAC地址表;在根据MAC地址进行报文转发时,查询MAC地址表以及冲突MAC地址表进行报文转发。冲突MAC地址表不占用MAC地址表的资源。冲突MAC地址表的表长可以根据实际情况确定。本发明第一实施例的哈希冲突解决方法,在步骤S100之前还包括在冲突表模块中进行冲突MAC地址表的创建的步骤。以保证有足够而且稳定的空间以保证冲突MAC地址的存储。In the hash conflict resolution method of the present invention, in the process of MAC address learning, the MAC addresses that do not detect hash conflicts are stored in the MAC address table of the MAC address module; when receiving the MAC address in the MAC address table as the destination address When receiving packets, the packets are forwarded at unicast wire speed according to the MAC address table. When a conflicting MAC address with a hash conflict is detected, the conflicting MAC address is stored in the conflicting MAC address table in the conflicting table module other than the MAC address table module, and the conflicting MAC address table simulates the MAC address table; When forwarding, query the MAC address table and the conflicting MAC address table to forward the message. The conflicting MAC address table does not occupy resources of the MAC address table. The table length of the conflicting MAC address table may be determined according to actual conditions. The hash conflict resolution method of the first embodiment of the present invention further includes the step of creating a conflict MAC address table in the conflict table module before step S100. To ensure that there is enough and stable space to ensure the storage of conflicting MAC addresses.
本发明第二实施例的哈希冲突解决方法,在步骤S100中,通过接收交换芯片发出的发生哈希冲突的中断通知来检测所述哈希冲突。在交换芯片进行地址学习的过程中,在产生哈希冲突时,由交换芯片通过中断服务程序,产生表示已发生哈希冲突的中断,通过接收并识别表示已发生哈希冲突的中断,来进行哈希冲突的检测。本发明第二实施例的哈希冲突解决方法,要求交换芯片在发生哈希冲突时产生中断,需要依赖交换芯片对发生哈希冲突时通过中断的方式发出通知来实现。In the hash conflict resolution method according to the second embodiment of the present invention, in step S100, the hash conflict is detected by receiving an interrupt notification of hash conflict from the switch chip. During the address learning process of the switch chip, when a hash conflict occurs, the switch chip generates an interrupt indicating that a hash conflict has occurred through the interrupt service program, and performs the process by receiving and identifying the interrupt indicating that a hash conflict has occurred. Detection of hash collisions. The hash conflict resolution method of the second embodiment of the present invention requires the switch chip to generate an interrupt when a hash conflict occurs, and it needs to rely on the switch chip to send a notification through an interrupt when a hash conflict occurs.
检测到哈希冲突发生后,由已建立的冲突MAC地址表保存哈希冲突的MAC地址。当检测到哈希冲突后,使用表3形式的MAC地址表保存哈希冲突的MAC地址。在该表中至少需要记录SA为冲突MAC地址的报文的源端口信息和VLAN信息,作为转发的依据。在冲突MAC地址表中,还可以保存关于该MAC地址的其他转发属性或该MAC地址的维护信息。冲突MAC地址表和MAC地址表可以采用相同的结构,其可以按照MAC地址为序进行存储,也可按照冲突MAC地址的添加顺序进行存储。After a hash collision is detected, the MAC address of the hash collision is stored in the established conflict MAC address table. When a hash collision is detected, use the MAC address table in the form of Table 3 to save the MAC address of the hash collision. In this table, at least source port information and VLAN information of packets whose SA is a conflicting MAC address need to be recorded as a basis for forwarding. In the conflicting MAC address table, other forwarding attributes about the MAC address or maintenance information about the MAC address may also be stored. The conflicting MAC address table and the MAC address table can have the same structure, and they can be stored in the order of MAC addresses, or in the order in which the conflicting MAC addresses are added.
本发明实施例的哈希冲突解决方法,如表3所述,根据冲突MAC地址表保存的哈希冲突MAC地址信息,实现对目的地址为冲突MAC地址的报文进行单播线速转发。本发明的哈希冲突解决方法,其冲突表模块实际上是一种硬件模块,例如ACL模块,当其为ACL模块时,是通过下发重定向ACL规则的方式实现对目的MAC地址为冲突MAC地址的报文进行单播线速转发。The hash conflict resolution method of the embodiment of the present invention, as described in Table 3, implements unicast wire-speed forwarding of messages whose destination addresses are conflict MAC addresses according to the hash conflict MAC address information stored in the conflict MAC address table. In the hash conflict resolution method of the present invention, its conflict table module is actually a hardware module, such as an ACL module. When it is an ACL module, it realizes that the destination MAC address is a conflict MAC Addressed packets are forwarded at unicast wire speed.
本发明实施例的哈希冲突解决方法中,通过下发重定向ACL(AccessControl list,访问控制列表)规则的方式实现上述的单播线速转发。具体来讲,按照冲突MAC地址表配置交换芯片的ACL规则,向除源端口外的其他所有端口下发所述ACL规则,交换设备各端口对于目的MAC地址和VLAN ID信息可以在冲突MAC地址表查到的报文,直接线速转发到表项对应的端口,实现对报文的单播线速转发。本发明的哈希冲突解决方法,也可以使用其他方式实现对目的地址为冲突MAC地址的报文的单播线速转发。In the hash conflict resolution method of the embodiment of the present invention, the above-mentioned unicast wire-speed forwarding is realized by issuing redirection ACL (Access Control list, access control list) rules. Specifically, configure the ACL rules of the switching chip according to the conflicting MAC address table, and issue the ACL rules to all ports except the source port. The detected packets are directly forwarded to the port corresponding to the table entry at wire speed, realizing unicast wire speed forwarding of the packets. The hash conflict resolution method of the present invention can also use other methods to realize the unicast wire-speed forwarding of the message whose destination address is the conflicting MAC address.
对于下发重定向ACL规则,ACL模块可以根据报文特征来决定如何处理报文,它和MAC地址表同属于硬件资源,但分属不同的硬件模块。For the redirection ACL rule, the ACL module can decide how to process the packet according to the characteristics of the packet. It belongs to the same hardware resource as the MAC address table, but it belongs to different hardware modules.
对以冲突MAC为DA的报文进行转发时,可以增加重定向ACL规则,对于目的MAC和VLAN ID二者组合可以在HASH冲突表中查找到的报文,转发到指定的端口。When forwarding packets with conflicting MAC as DA, you can add redirection ACL rules, and forward packets whose combination of destination MAC and VLAN ID can be found in the HASH conflict table to the specified port.
表3table 3
以表3第一个表项为例,对于这个HASH冲突表项,会下发一条ACL规则:把所有DA=00:e0:fc:00:00:01,并且VLAN ID=1的报文转发到端口14。Take the first entry in Table 3 as an example. For this HASH conflict entry, an ACL rule will be issued: forward all packets with DA=00:e0:fc:00:00:01 and VLAN ID=1 to port 14.
报文进入交换机等交换设备后,会经历多个硬件模块的处理。一般而言,会先进入MAC地址表的模块,再进入ACL模块。这样对于以普通MAC(无HASH冲突)为DA的报文,在MAC地址表中可以找到相应表项,并根据MAC地址表的表项中端口信息进行转发;对于以HASH冲突MAC为DA的报文,会在MAC地址表查找失败,进而继续进入ACL模块,找到匹配的ACL规则(重定向ACL),并根据规则转发到指定的端口,转发的性能与MAC模块一样,都是硬件转发。After a message enters a switching device such as a switch, it will be processed by multiple hardware modules. Generally speaking, it will enter the module of the MAC address table first, and then enter the ACL module. In this way, for a message with a common MAC (no HASH conflict) as DA, you can find the corresponding entry in the MAC address table, and forward it according to the port information in the entry in the MAC address table; for a message with a HASH conflict MAC as DA text, it will fail to search in the MAC address table, and then continue to enter the ACL module, find the matching ACL rule (redirection ACL), and forward it to the specified port according to the rule. The forwarding performance is the same as that of the MAC module, which is hardware forwarding.
综上,使用上述方案对于以所有类型(冲突和非冲突)的MAC地址为DA的报文都能够实现硬件线速转发。To sum up, using the above solution, hardware line-speed forwarding can be realized for messages with all types (conflicting and non-conflicting) MAC addresses as DAs.
如图2所示,本发明的哈希冲突检测方法,可以将步骤S100细化为步骤S100-S140,步骤S200包括分别执行的步骤S210和步骤S220,步骤S300包括步骤S310和步骤S320,以从端口1接收SA为MAC-A的报文为例,本发明第一实施例和第二实施例的哈希冲突解决方法,均包括依次进行如下步骤:As shown in Figure 2, the hash collision detection method of the present invention can refine step S100 into steps S100-S140, step S200 includes step S210 and step S220 executed respectively, step S300 includes step S310 and step S320, to obtain from
步骤S110:从端口1接收报文;Step S110: receiving a message from
步骤S120:解析出报文的源地址MAC-A;Step S120: Parsing out the source address MAC-A of the message;
步骤S130:进行MAC地址学习;Step S130: learning the MAC address;
步骤S140:对学习到的MAC地址进行MAC地址哈希冲突检测;如该MAC地址发生哈希冲突则进行步骤S210;如没有发生哈希冲突,则进行步骤S220;Step S140: Perform MAC address hash conflict detection on the learned MAC address; if the MAC address has a hash conflict, proceed to step S210; if no hash conflict occurs, proceed to step S220;
步骤S210:把MAC-A添加于冲突MAC地址表;转入步骤S310;Step S210: Add MAC-A to the conflicting MAC address table; go to step S310;
步骤S220:把MAC-A添加于MAC地址表;转入步骤S320;Step S220: Add MAC-A to the MAC address table; go to step S320;
步骤S310:配置并下发重定向ACL规则,把目的地址为MAC-A的报文重定向到端口1;转入步骤S320;Step S310: Configure and issue a redirection ACL rule to redirect the packet whose destination address is MAC-A to
步骤S320:目的地址为MAC-A的报文以单播方式转发到端口1;通过MAC地址学习进行报文转发的流程结束;Step S320: The message whose destination address is MAC-A is forwarded to
如图3所示,步骤S320可以进一步细化为步骤S321-S327,即本发明实施例的MAC地址哈希冲突解决方法中报文转发的流程包括如下步骤:As shown in Figure 3, step S320 can be further refined into steps S321-S327, that is, the process of message forwarding in the MAC address hash conflict resolution method of the embodiment of the present invention includes the following steps:
步骤S321:接收待转发报文;Step S321: receiving the message to be forwarded;
步骤S322:提取待转发报文的目的地址和VLAN ID;Step S322: Extracting the destination address and VLAN ID of the message to be forwarded;
步骤S323:匹配MAC地址表。即查找MAC地址表中有无该目的地址和VLAN ID二者组合的表项;如果匹配成功,执行步骤S324;如果匹配不成功,执行步骤S325;Step S323: Match the MAC address table. Promptly search the MAC address table to have the table item of this destination address and VLAN ID both combination; If match successfully, execute step S324; If match unsuccessfully, execute step S325;
步骤S324:按MAC地址表将该报文单播转发;报文转发流程结束;Step S324: Unicast forwarding the message according to the MAC address table; the message forwarding process ends;
步骤S325:进入ACL模块;Step S325: enter the ACL module;
步骤S326:查找该目的地址相应的ACL规则;Step S326: Find the ACL rule corresponding to the destination address;
步骤S327:根据查找到的ACL规则,将该报文单播线速转发到规则中指定的端口;报文转发流程结束。Step S327: According to the found ACL rule, forward the packet to the port specified in the rule in unicast wire-speed; the packet forwarding process ends.
由上述流程可以看出,本发明的哈希冲突解决方法,不会导致以冲突MAC地址为目的MAC地址的报文在VLAN内进行广播,进而不会占用其他端口的有效带宽。极大的减少了在网络中出现大量的未知单播报文引起的VLAN内广播,避免了网络带宽的浪费。It can be seen from the above process that the hash conflict resolution method of the present invention will not cause the message with the conflicting MAC address as the destination MAC address to be broadcast in the VLAN, and will not occupy the effective bandwidth of other ports. It greatly reduces the intra-VLAN broadcast caused by a large number of unknown unicast packets in the network, and avoids the waste of network bandwidth.
实现本发明哈希冲突解决方法的本发明的哈希冲突解决装置,包括控制模块、用于MAC地址哈希冲突检测的冲突检测模块、创建和维护冲突MAC地址表的冲突表模块和用于收发报文的收发模块;The hash conflict resolution device of the present invention that implements the hash conflict resolution method of the present invention includes a control module, a conflict detection module for MAC address hash conflict detection, a conflict table module for creating and maintaining a conflict MAC address table, and a conflict table module for sending and receiving Message transceiver module;
所述控制模块,将MAC地址学习过程中学习到的MAC地址传送于所述哈希冲突检测模块进行MAC地址哈希冲突的检测;并将哈希冲突检测模块报告发生哈希冲突的MAC地址传送于冲突表模块存储;并控制所述收发模块按照所述冲突MAC地址表对以冲突MAC为目的地址的报文单播线速转发。The control module transmits the MAC address learned in the MAC address learning process to the hash conflict detection module to detect the MAC address hash conflict; and transmits the MAC address of the hash conflict detection module to report the hash conflict Stored in the conflict table module; and control the transceiver module to forward the message with the conflict MAC as the destination address at a unicast wire speed according to the conflict MAC address table.
如图4所示,本发明第一实施例的哈希冲突解决装置,包括控制模块、冲突检测模块、冲突表模块和创建和维护MAC地址表的地址表模块;As shown in Figure 4, the hash conflict resolution device of the first embodiment of the present invention includes a control module, a conflict detection module, a conflict table module and an address table module for creating and maintaining a MAC address table;
所述控制模块,将MAC地址学习过程中学习到的MAC地址传送于所述哈希冲突检测模块进行MAC地址哈希冲突的检测;并将哈希冲突检测模块报告发生哈希冲突的MAC地址传送于冲突表模块存储;并控制所述收发模块按照所述冲突MAC地址表对以冲突MAC为目的地址的报文单播线速转发。The control module transmits the MAC address learned in the MAC address learning process to the hash conflict detection module to detect the MAC address hash conflict; and transmits the MAC address of the hash conflict detection module to report the hash conflict Stored in the conflict table module; and control the transceiver module to forward the message with the conflict MAC as the destination address at a unicast wire speed according to the conflict MAC address table.
控制模块包括存储控制单元和转发控制单元。The control module includes a storage control unit and a forwarding control unit.
所述存储控制模块,在MAC地址学习的过程中,对于收发模块传来的不学习到的MAC地址,传送于哈希冲突检测模块进行检测,并控制所述地址表模块,将不发生哈希冲突的MAC地址存储于MAC地址表;控制所述冲突表模块,将冲突MAC地址存储于MAC地址表;The storage control module, in the process of learning the MAC address, transmits the unlearned MAC address sent by the transceiver module to the hash conflict detection module for detection, and controls the address table module so that no hash will occur. The conflicting MAC address is stored in the MAC address table; the conflict table module is controlled to store the conflicting MAC address in the MAC address table;
所述转发控制单元,控制所述转发模块,按照所述MAC地址表与冲突地址表,单播线速转发所述报文;The forwarding control unit controls the forwarding module, and forwards the message at a unicast wire speed according to the MAC address table and the conflicting address table;
所述哈希检测模块,实现对MAC地址哈希冲突的检测,接收地址表模块的反馈,例如当某个哈希桶已存满,不能再存储新的MAC地址时,向哈希检测模块返回该哈希桶已满的信息,所述哈希检测模块向控制模块报告发生哈希冲突,从而实现对哈希冲突的检测。当哈希冲突发生时,存储控制单元控制冲突表模块,将发生哈希冲突的MAC地址存储于冲突表模块的冲突MAC地址表。The hash detection module realizes the detection of MAC address hash conflicts, and receives the feedback from the address table module. For example, when a certain hash bucket is full and can no longer store a new MAC address, it returns to the hash detection module. For the information that the hash bucket is full, the hash detection module reports the occurrence of a hash collision to the control module, thereby realizing the detection of the hash collision. When a hash conflict occurs, the storage control unit controls the conflict table module, and stores the MAC address where the hash conflict occurs in the conflict MAC address table of the conflict table module.
所述冲突MAC地址表,至少需要保存源地址为冲突MAC地址的报文的源端口信息和VLAN信息。在所述冲突地址表中,还可以保存关于该MAC地址的其他转发属性或该MAC地址的维护信息。The conflicting MAC address table at least needs to store source port information and VLAN information of packets whose source addresses are conflicting MAC addresses. In the conflict address table, other forwarding attributes about the MAC address or maintenance information about the MAC address may also be saved.
所述哈希冲突解决装置还包括地址表模块,其维护的MAC地址表用于保存未检测到哈希冲突的MAC地址;所述控制模块控制所述收发模块在接收到以MAC地址表中的MAC地址为目的地址的报文时,按照MAC地址表对报文进行单播线速转发。The device for resolving hash conflicts also includes an address table module, and the MAC address table maintained by it is used to save MAC addresses that do not detect hash conflicts; When the MAC address is the destination address of the packet, the packet is forwarded at a unicast wire speed according to the MAC address table.
所述收发模块:包括接收单元与转发单元;所述接收单元,接收交换芯片学习到的MAC地址,将其输入给控制模块;所述转发单元,接收所述转发控制模块的控制指令,对目的地址为MAC地址表中的报文按所述冲突MAC地址表进行单播线速转发、对目的地址为冲突MAC地址的报文按所述冲突MAC地址表进行单播线速转发。所述转发控制单元按照冲突表模块中的冲突MAC地址表配置所述收发模块的ACL规则,所述收发模块按照所述ACL规则单播转发报文。所述转发控制单元下发重定向ACL规则给所述转发单元,所述转发单元依照所述ACL规则对目的地址为冲突MAC地址的报文进行单播线速转发。The transceiver module: includes a receiving unit and a forwarding unit; the receiving unit receives the MAC address learned by the switching chip and inputs it to the control module; the forwarding unit receives the control instructions of the forwarding control module, Packets whose addresses are in the MAC address table are forwarded at a unicast wire speed according to the conflicting MAC address table, and packets whose destination addresses are conflicting MAC addresses are forwarded at a unicast wire speed according to the conflicting MAC address table. The forwarding control unit configures the ACL rules of the transceiver module according to the conflicting MAC address table in the conflict table module, and the transceiver module unicasts and forwards messages according to the ACL rules. The forwarding control unit issues a redirection ACL rule to the forwarding unit, and the forwarding unit performs unicast wire-speed forwarding on packets whose destination address is a conflicting MAC address according to the ACL rule.
本发明第二实施例的哈希冲突解决装置,如图5所示,其控制模块、收发模块、地址表模块、冲突表模块与第一实施例的哈希冲突解决装置相同,所不同的是,所述哈希冲突检测模块还包括中断响应单元,所述中断响应单元用于接收并识别交换芯片发出的发生哈希冲突的中断通知,所述冲突检测模块接收到所述中断通知后,向所述控制模块报告发生哈希冲突。The hash conflict resolution device of the second embodiment of the present invention, as shown in Figure 5, its control module, transceiver module, address table module, conflict table module is the same as the hash conflict resolution device of the first embodiment, the difference is , the hash conflict detection module also includes an interrupt response unit, the interrupt response unit is used to receive and identify the interrupt notification that the hash conflict is sent by the switch chip, after the conflict detection module receives the interrupt notification, it sends The control module reports that a hash collision occurred.
本发明的哈希冲突检测检测装置,可以应用于通过MAC地址学习对报文进行转发的交换设备。The hash conflict detection device of the present invention can be applied to switching equipment that forwards messages through MAC address learning.
本发明的交换设备,具有本发明的哈希冲突检测装置。本发明的交换设备,既可以是交换机、路由器或其它交换设备。The switching device of the present invention has the hash collision detection device of the present invention. The switching device of the present invention can be a switch, a router or other switching devices.
以上所述的仅为本发明的较佳可行实施例,所述实施例并非用以限制本发明的专利保护范围,因此凡是运用本发明的说明书及附图内容所作的等同结构变化,同理均应包含在本发明的保护范围内。The above are only preferred feasible embodiments of the present invention, and the embodiments are not intended to limit the scope of patent protection of the present invention, so all equivalent structural changes made by using the description and accompanying drawings of the present invention are equally valid. Should be included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100043497A CN101232444B (en) | 2008-01-22 | 2008-01-22 | Apparatus and method for solving hash collision and exchange equipment with the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100043497A CN101232444B (en) | 2008-01-22 | 2008-01-22 | Apparatus and method for solving hash collision and exchange equipment with the same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101232444A true CN101232444A (en) | 2008-07-30 |
CN101232444B CN101232444B (en) | 2012-03-21 |
Family
ID=39898629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100043497A Active CN101232444B (en) | 2008-01-22 | 2008-01-22 | Apparatus and method for solving hash collision and exchange equipment with the same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101232444B (en) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895471A (en) * | 2010-07-15 | 2010-11-24 | 中兴通讯股份有限公司 | Network equipment and data processing method for same |
CN102164084A (en) * | 2011-04-21 | 2011-08-24 | 杭州华三通信技术有限公司 | Multicast message forwarding method and equipment thereof |
WO2011140889A1 (en) * | 2010-05-11 | 2011-11-17 | 中兴通讯股份有限公司 | Method and apparatus for hash detection among multiple tasks |
CN103001878A (en) * | 2012-11-26 | 2013-03-27 | 中兴通讯股份有限公司 | Determination method and device for media access control (MAC) address Hash collision |
CN103516550A (en) * | 2013-09-29 | 2014-01-15 | 国家计算机网络与信息安全管理中心 | Rule conflict detection method and system aimed at large-scale packet classification rule set |
CN104079489A (en) * | 2013-03-28 | 2014-10-01 | 日立金属株式会社 | Network relay device |
CN104468362A (en) * | 2014-12-01 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Method for synchronizing harsh collisions during MAC address learning |
CN101895471B (en) * | 2010-07-15 | 2016-12-14 | 中兴通讯股份有限公司 | A kind of network equipment and the data processing method of the network equipment |
CN103731355B (en) * | 2013-12-31 | 2017-01-25 | 迈普通信技术股份有限公司 | Method and system for avoiding Hash collision during MAC address learning |
CN106416132A (en) * | 2014-06-03 | 2017-02-15 | 大交换机网络股份有限公司 | Systems and methods for controlling network switches using a switch modeling interface at a controller |
CN107770076A (en) * | 2016-08-23 | 2018-03-06 | 中兴通讯股份有限公司 | A kind of processing method of hash-collision, device and switching equipment |
CN108632148A (en) * | 2017-12-29 | 2018-10-09 | 西安电子科技大学 | The device and method of study MAC Address based on pre-read mode |
CN108848034A (en) * | 2018-07-17 | 2018-11-20 | 新华三技术有限公司 | A kind of network equipment and list item learning method |
CN109218204A (en) * | 2017-06-29 | 2019-01-15 | 中兴通讯股份有限公司 | A kind of method and apparatus solving MAC HASH conflict |
CN111343089A (en) * | 2020-02-17 | 2020-06-26 | 烽火通信科技股份有限公司 | Method and system for solving flooding problem caused by MAC address HASH conflict |
CN113783636A (en) * | 2020-12-29 | 2021-12-10 | 北京京东尚科信息技术有限公司 | Test method, device, medium and electronic device for communication device |
CN113904987A (en) * | 2021-10-29 | 2022-01-07 | 西安微电子技术研究所 | MAC address routing management controller, system and control method |
CN114244817A (en) * | 2021-11-30 | 2022-03-25 | 慧之安信息技术股份有限公司 | Hash collision processing method and device based on osi protocol stack header field |
CN115065662A (en) * | 2022-06-13 | 2022-09-16 | 上海亿家芯集成电路设计有限公司 | Method and system for processing MAC address hash collision |
CN115665066A (en) * | 2022-10-25 | 2023-01-31 | 浪潮思科网络科技有限公司 | Method, equipment and medium for expanding MAC address table capacity |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002334114A (en) * | 2001-05-10 | 2002-11-22 | Allied Tereshisu Kk | Table management method and apparatus |
CN100550847C (en) * | 2006-09-29 | 2009-10-14 | 华为数字技术有限公司 | A kind of method and device that solves the Hash conflict |
CN100574281C (en) * | 2007-06-22 | 2009-12-23 | 中兴通讯股份有限公司 | A kind of management method of switch routing table |
-
2008
- 2008-01-22 CN CN2008100043497A patent/CN101232444B/en active Active
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011140889A1 (en) * | 2010-05-11 | 2011-11-17 | 中兴通讯股份有限公司 | Method and apparatus for hash detection among multiple tasks |
CN101895471B (en) * | 2010-07-15 | 2016-12-14 | 中兴通讯股份有限公司 | A kind of network equipment and the data processing method of the network equipment |
CN101895471A (en) * | 2010-07-15 | 2010-11-24 | 中兴通讯股份有限公司 | Network equipment and data processing method for same |
CN102164084A (en) * | 2011-04-21 | 2011-08-24 | 杭州华三通信技术有限公司 | Multicast message forwarding method and equipment thereof |
WO2012142951A1 (en) * | 2011-04-21 | 2012-10-26 | Hangzhou H3C Technologies Co., Ltd. | Forwarding a multicast message |
CN102164084B (en) * | 2011-04-21 | 2014-09-10 | 杭州华三通信技术有限公司 | Multicast message forwarding method and equipment thereof |
CN103001878A (en) * | 2012-11-26 | 2013-03-27 | 中兴通讯股份有限公司 | Determination method and device for media access control (MAC) address Hash collision |
CN103001878B (en) * | 2012-11-26 | 2018-02-16 | 中兴通讯股份有限公司 | The determination method and device of MAC Address hash-collision |
CN104079489A (en) * | 2013-03-28 | 2014-10-01 | 日立金属株式会社 | Network relay device |
CN104079489B (en) * | 2013-03-28 | 2018-08-28 | 日立金属株式会社 | Network repeater |
CN103516550B (en) * | 2013-09-29 | 2016-05-11 | 国家计算机网络与信息安全管理中心 | A kind of rule conflict detection method and system towards extensive bag classifying rules collection |
CN103516550A (en) * | 2013-09-29 | 2014-01-15 | 国家计算机网络与信息安全管理中心 | Rule conflict detection method and system aimed at large-scale packet classification rule set |
CN103731355B (en) * | 2013-12-31 | 2017-01-25 | 迈普通信技术股份有限公司 | Method and system for avoiding Hash collision during MAC address learning |
CN106416132A (en) * | 2014-06-03 | 2017-02-15 | 大交换机网络股份有限公司 | Systems and methods for controlling network switches using a switch modeling interface at a controller |
CN104468362A (en) * | 2014-12-01 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Method for synchronizing harsh collisions during MAC address learning |
CN104468362B (en) * | 2014-12-01 | 2017-11-24 | 上海斐讯数据通信技术有限公司 | The synchronous method of hash-collision during a kind of MAC address learning |
CN107770076A (en) * | 2016-08-23 | 2018-03-06 | 中兴通讯股份有限公司 | A kind of processing method of hash-collision, device and switching equipment |
CN107770076B (en) * | 2016-08-23 | 2020-12-04 | 中兴通讯股份有限公司 | Hash collision processing method and device and switching equipment |
CN109218204A (en) * | 2017-06-29 | 2019-01-15 | 中兴通讯股份有限公司 | A kind of method and apparatus solving MAC HASH conflict |
CN108632148B (en) * | 2017-12-29 | 2020-06-16 | 西安电子科技大学 | Device and method for learning MAC address based on pre-reading mode |
CN108632148A (en) * | 2017-12-29 | 2018-10-09 | 西安电子科技大学 | The device and method of study MAC Address based on pre-read mode |
CN108848034A (en) * | 2018-07-17 | 2018-11-20 | 新华三技术有限公司 | A kind of network equipment and list item learning method |
CN108848034B (en) * | 2018-07-17 | 2021-04-27 | 新华三技术有限公司 | Network equipment and table entry learning method |
CN111343089A (en) * | 2020-02-17 | 2020-06-26 | 烽火通信科技股份有限公司 | Method and system for solving flooding problem caused by MAC address HASH conflict |
CN113783636A (en) * | 2020-12-29 | 2021-12-10 | 北京京东尚科信息技术有限公司 | Test method, device, medium and electronic device for communication device |
CN113904987A (en) * | 2021-10-29 | 2022-01-07 | 西安微电子技术研究所 | MAC address routing management controller, system and control method |
CN114244817A (en) * | 2021-11-30 | 2022-03-25 | 慧之安信息技术股份有限公司 | Hash collision processing method and device based on osi protocol stack header field |
CN115065662A (en) * | 2022-06-13 | 2022-09-16 | 上海亿家芯集成电路设计有限公司 | Method and system for processing MAC address hash collision |
CN115665066A (en) * | 2022-10-25 | 2023-01-31 | 浪潮思科网络科技有限公司 | Method, equipment and medium for expanding MAC address table capacity |
Also Published As
Publication number | Publication date |
---|---|
CN101232444B (en) | 2012-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101232444B (en) | Apparatus and method for solving hash collision and exchange equipment with the same | |
CN101820397B (en) | Network convergence method and device in virtual private local area network | |
CN102291320B (en) | MAC (media access control) address learning method and edge device | |
CN1946041B (en) | VLAN polymerizing method, converging exchanger and system based on ARP detector intercept | |
EP2725749B1 (en) | Method, apparatus and system for processing service flow | |
CN100490418C (en) | Virtual local network-based data exchanging method and equipment | |
US9634887B2 (en) | System, method and computer-readable medium for using a plurality of virtual machines | |
US20140229573A1 (en) | Neighbor Discovery for IPV6 Switching Systems | |
WO2013049989A1 (en) | Layer two interconnection between data centers | |
CN102197627A (en) | Improved convergence of multicast traffic | |
CN103139071A (en) | Method, device and system of message transmitting | |
CN113381931B (en) | Method and device for supporting MLAG (Multi-level Access gateway) dual-active access in VXLAN (virtual extensible local area network) | |
CN115118545B (en) | Group management protocol host mobility in ethernet virtual private network multicast networks | |
CN110012118B (en) | Method and controller for providing Network Address Translation (NAT) service | |
US20090296706A1 (en) | Method, system and processor for processing network address translation service | |
CN110401726B (en) | Method, device and equipment for processing address resolution protocol message and storage medium | |
WO2015079284A1 (en) | Methods and systems for processing internet protocol packets | |
CN100544322C (en) | Method for forwarding message and establishing media access control address entry and switch | |
WO2014132954A1 (en) | Communication system, control device, communication method, and program | |
CN113507425A (en) | Overlay multicast method, device and equipment | |
CN115277305B (en) | A network management method, device, equipment and machine-readable storage medium | |
CN105338127B (en) | MAC address table updating method, interchanger and system | |
CN104113513B (en) | A kind of detecting host method, apparatus and system | |
CN106789523B (en) | Method and device for creating logical tunnel | |
CN108810935B (en) | Flow forwarding method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230803 Address after: 24th Floor, Block B, Zhizhen Building, No. 7 Zhichun Road, Haidian District, Beijing, 100088 Patentee after: Beijing Ziguang Communication Technology Group Co.,Ltd. Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466 Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20250512 Address after: Room 867, Building B, Lingang High tech Industrial Park, Yongji Avenue, Hunan Chenglingji New Port Area, Yueyang City, Hunan Province 414000 Patentee after: Ziguang Communication Technology (Yueyang) Co.,Ltd. Country or region after: China Address before: 24th Floor, Block B, Zhizhen Building, No. 7 Zhichun Road, Haidian District, Beijing, 100088 Patentee before: Beijing Ziguang Communication Technology Group Co.,Ltd. Country or region before: China |