25-01-2018 дата публикации
Номер: US20180026889A1
One embodiment of the present invention provides a switch in a network of interconnected switches. The switch includes a storage device, a hardware management apparatus, and a layer-2 management apparatus. The storage device stores a forwarding table, which includes an entry comprising a MAC address and an egress port for the MAC address. The hardware management apparatus determines whether a destination MAC address of a frame is present in a hardware table in memory of the switch. The layer-2 management apparatus, in response to a determination that the destination MAC address is not present in the hardware table, looks up a first entry comprising the destination MAC address in the forwarding table, and creates a second entry comprising the destination MAC address in the hardware table based on the first entry. 1. A switch , comprising:a storage device configured to store one or more forwarding entries;a content-addressable memory, which is separate from the storage device, configured to store a forwarding data structure; and in response to determining that a destination MAC address of a data frame is not present in the forwarding data structure, identify the destination MAC address and a corresponding egress port in the storage device;', 'create a forwarding entry comprising the destination MAC address in the forwarding data structure; and', 'determine an egress port for the data frame based on the forwarding entry in the forwarding data structure., 'management circuitry configured to2. The switch of claim 1 , further comprising learning management circuitry configured to learn a second MAC address from an edge port of the switch; andwherein the management circuitry is further configured to store the second MAC address in the storage device and the forwarding data structure.3. The switch of claim 1 , wherein the management circuitry is further configured to remove the destination MAC address from the forwarding data structure in response to identifying an aging ...
Подробнее