发明名称 Método de aprendizaje de hardware de dirección mac, que comprende calcular clave hash en base a id de mensaje y mac origen, buscar clave en memoria ternaria (tcam), determinar si la bandera de datos tcam está establecida, comparar valores de puertos de conmutador virtual, actualizar el puerto del conmutador virtual tcam, determinar si la bandera de datos hash está establecida, almacenar la dirección mac de origen del mensaje, comparar id y dirección mac; sistema asociado
摘要 Disclosed in the present invention are a MAC address hardware learning method and system based on a hash table and a TCAM table, relating to the field of MAC address learning. When there is no MAC address conflict, a learnt MAC address is stored in the hash table by means of SRAM or DRAM on hash table hardware; when there is a MAC address conflict, the conflicting MAC address is cached in the TCAM table by means of a TCAM memory on TCAM hardware. Because a parallel search is performed on the TCAM hardware, idle entries can be located by a single search; and the number of the entries of the TCAM is the actual number of conflicting MAC addresses capable of being cached. The present invention can be implemented on a general programmable exchange chip, does not need the support of a dedicated hardware circuit, has a high learning rate, occupies few memory resources, is flexible in application by adopting a general algorithm, and can achieve complete controllability of the conflict probability.
申请公布号 CL2015000917(A1) 申请公布日期 2015.07.17
申请号 CL20150000917 申请日期 2015.04.10
申请人 FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO., LTD 发明人 ZHOU WANTAO;XU JIANHUI
分类号 H04L12/741 主分类号 H04L12/741
代理机构 代理人
主权项
地址