Background technology
The Ethernet switch Stack Technology, can be interconnected at many switches together, forms distributed switching architecture, and as a logic switching entity operation.
From the angle of management and configuration, a distributed switching architecture seems just as a switching equipment; From the angle of performance, every switch in distributed switching architecture can be formulated local forwarding decision for the second layer on its port, the 3rd laminar flow amount communication service.
Support many stacking switching equipment to be interconnected and form a combination plant, we are called a pile system (Stacking) by this combination plant, and each equipment that will form Stacking is called a member device (Slot).After a plurality of Slot form Stacking, no matter in management still in the use, just become an integral body.That is to say, the user can regard these multiple devices as single equipment and manage and use.So both can come Extended Capabilities Port quantity and exchange capacity by increase equipment, also by the mutual backup between a plurality of Slot, increase the reliability of whole Stacking simultaneously.
Referring to Fig. 1, Fig. 1 is 3 equipment chain pile system schematic diagrames.In Fig. 1, Slot1 and Slot3 have one group of outside stacking opening, and Slot2 has two groups of outside stacking opening, is respectively P1, P2.The stacking opening P1 of adjacent two equipment is connected with P2, forms annular stacking.If it is stacking between member device, to form annular, the member device of both link ends respectively has two groups of outside stacking opening.
In Fig. 1, switch (SW1) is MAC1 to SW2 transmission source MAC Address, and target MAC (Media Access Control) address is the unicast message of MAC2, SW1 carries out Hash in this locality, the link of selecting to arrive Slot1 sends, and Slot1 receives this unicast message and carries out source MAC study, and this unicast message is transmitted to SW2.The port that SW2 receives this unicast message is aggregation port, and therefore, the aggregation group of the source MAC of this unicast message being learnt to the aggregation group at this aggregation port place identifies.
SW2 is MAC2 to SW1 transmission source MAC Address, when target MAC (Media Access Control) address is the unicast message of MAC1, SW2 also can carry out Hash calculation, in this aggregation group, select a port to send, what suppose selection is the port be connected with Slot2, and it is upper that this unicast message will be sent to Slot2, and MAC1 is arrived in the upper not study of Slot2, therefore, Slot2 will broadcast processing as the unknown unicast message using this unicast message.Increased the consumption of extra bandwidth, and many parts of possible forwardings.
For fear of the generation of above-mentioned situation, pile system carries out by interprocess communication (Inter-process Communication, the IPC) communication technology, carries out the MAC Address that member device learns and synchronously processes.Mainly contain regular batch synchronization mode, the Event triggered mode.Be implemented as follows:
Regularly the batch synchronization mode is regularly to read all MAC Address that this member device is learnt, and by relevant information, by the IPC means of communication, packing sends to other member device.After other member device receives synchronous mac address information, determine whether synchronous.When needs are synchronous, to specifying MAC to carry out the interpolation of hardware FDB.
The Event triggered mode, refer to that software receives the new MAC Address event that forwarding chip reports, or the MAC address aging event, synchronous to specifying synchronous MAC Address to carry out stacking interior MAC Address, and process is with regular batch synchronization.Designated synchronous MAC Address can be the MAC Address that study identifies to aggregation group, can be also the MAC Address on any single-port of learning.
MAC Address synchronous method in existing pile system, must carry out IPC message communicating between plate and transmit by synchronous.Synchronous originating end needs the MAC packet of tissue synchronization, by synchronous end, is needed to separate the parsing MAC packet, and issues one by one hardware forwarding database (Forwarding Database, FDB) list item, and whole process seriously consumes the CPU disposal ability.When MAC Address increased, very large on the equipment performance impact, taking CPU can reach more than 80%.Because of the restriction of MAC Address scale, have a strong impact on stacking actual deployment.
Summary of the invention
In view of this, the application provides the method and apparatus of Media Access Controlled address synchronization in a kind of pile system, when MAC Address is synchronous, can reduce the consumption of CPU.
For solving the problems of the technologies described above, technical scheme of the present invention is achieved in that
A kind of MAC synchronous method in Media Access Controlled address in pile system is applied in described pile system, on arbitrary member device, to comprise:
This member device is known while needing synchronous MAC Address, reads in batches the MAC Address that this member device hardware is learnt, using corresponding ports information for the MAC Address of the port numbers of other member devices the MAC Address after deleting as treating synchronous MAC Address;
If determine, need the MAC Address that synchronous corresponding ports information is the port numbers of this member device, and asynchronous corresponding ports information is the MAC Address of aggregation group sign, from described, treat synchronous MAC Address, filter out and be in state of activation and the corresponding ports information MAC Address for the port numbers of this member device, and, according to the MAC Address filtered out and corresponding port information and the VLAN ID VLANID of MAC Address that filter out, build broadcasting packet and other member devices in pile system send;
If determine, need the MAC Address that synchronous corresponding ports information is the port numbers of this member device, and synchronous corresponding ports information is the MAC Address of aggregation group sign, according to described treat synchronous, and be in the MAC Address of state of activation, and described port information and the VLAN ID that treats that MAC Address synchronous and that be in state of activation is corresponding, structure broadcasting packet other member devices in pile system send;
When this member device receives the broadcasting packet of the synchronous MAC Address of other member devices by stacking opening, carry out hardware mac address study according to the content of the broadcasting packet received.
A kind of equipment, can be applicable in pile system on arbitrary member device, and this equipment comprises: know unit, reading unit and receiving element and processing unit;
Describedly know unit, be used to knowing whether need synchronous MAC Address;
Described reading unit, for when described, knowing that unit knows while needing synchronous MAC Address, read in batches the MAC Address that this member device hardware is learnt, using corresponding ports information for the MAC Address of the port numbers of other member devices the MAC Address after deleting as treating synchronous MAC Address;
Described receiving element, for receiving the broadcasting packet of the synchronous MAC Address of other member devices by stacking opening;
Described processing unit, if need for determining the MAC Address that synchronous corresponding ports information is the port numbers of this member device, and asynchronous corresponding ports information is the MAC Address of aggregation group sign, from treating synchronous MAC Address that described reading unit obtains, filter out and be in state of activation and the corresponding ports information MAC Address for the port numbers of this member device, and according to the MAC Address filtered out, and corresponding port information and the VLAN ID VLAN ID of the MAC Address filtered out, structure broadcasting packet other member devices in pile system send, if know that when described it need to synchronous corresponding ports information be the MAC Address of the port numbers of this member device that unit is determined, and synchronous corresponding ports information is the MAC Address of aggregation group sign, synchronous according to treating of obtaining of described reading unit, and be in the MAC Address of state of activation, and described port information and the VLAN ID that treats that MAC Address synchronous and that be in state of activation is corresponding, structure broadcasting packet other member devices in pile system send, when described receiving element receives the broadcasting packet of the synchronous MAC Address of other member devices, carry out hardware mac address study according to the content of the broadcasting packet received.
In sum, when the application is known the synchronous MAC Address of needs by member device, read and treat synchronous MAC Address in batches, and synchronously treat in synchronous MAC Address to need synchronous MAC Address, when synchronously needing synchronous MAC Address, according to this MAC Address, and corresponding VLAN ID and the port information structure broadcasting packet of this MAC Address carries out the synchronous of MAC Address; This member device, when receiving the broadcasting packet that MAC Address passes through, carries out hardware mac address study according to the content of broadcasting packet, uses the method, when MAC Address is synchronous, can reduce the consumption of CPU.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
A kind of synchronous method of MAC in pile system is proposed in the embodiment of the present invention, be applied in described pile system on arbitrary member device, member device is known while needing synchronous MAC Address, read and treat synchronous MAC Address in batches, and synchronously treat in synchronous MAC Address to need synchronous MAC Address, when synchronously needing synchronous MAC Address, according to this MAC Address, and corresponding VLAN ID and the port information structure broadcasting packet of this MAC Address carries out the synchronous of MAC Address; This member device, when receiving the broadcasting packet that MAC Address passes through, carries out hardware mac address study according to the content of broadcasting packet, uses the method, when MAC Address is synchronous, can reduce the consumption of CPU.
Embodiment mono-
While in the present embodiment, describing member device in pile system as non-main member device in detail, how to carry out MAC Address synchronous.
Referring to Fig. 2, Fig. 2 is the method flow schematic diagram of synchronous MAC Address in the embodiment of the present invention one.Concrete steps are:
Step 201, member device in pile system is known while needing synchronous MAC Address, read in batches the MAC Address that this member device hardware is learnt, using corresponding ports information for the MAC Address of the port numbers of other member devices the MAC Address after deleting as treating synchronous MAC Address.
This member device is deleted the MAC Address of port information for the port numbers of other member devices in all MAC Address that batch is read, i.e. eliminating is synchronous by MAC Address, and learns the MAC Address on the common port of other member devices.
In the specific embodiment of the invention, common port defines with respect to aggregation port.Arbitrary member device this locality adds the port of aggregation group to be called aggregation port, does not add the port of aggregation group to be called common port.
Port information corresponding to MAC Address is port numbers or aggregation group sign ID, and wherein, port numbers is by chip id and physical port number sign, and chip id is the port on which member device for distinguishing this port.
How member device is known needs synchronous MAC Address, during as main member device and non-main member device, realizes different for this member device.Below describe respectively main member device and non-main member device and know the process that needs synchronous MAC Address:
When this member device during as main member device, configuration the first Preset Time and the second Preset Time; Wherein, the first Preset Time is less than the MAC address aging time, and the second Preset Time is greater than the MAC address aging time.
Above-mentioned configuration is arranged as seen at a MAC address aging in the cycle, the MAC Address that can carry out repeatedly is synchronous, and namely main member device repeatedly sends stacking message, triggers the synchronous MAC Address of each member device.Each member device in pile system carries out aging ageing time to MAC Address and is configured to identical.
Main member device arranges the second Preset Time and is greater than the MAC address aging time, in order to make port information, be namely the ageing time that is greater than MAC Address synchronizing cycle of the MAC Address of aggregation group sign, avoiding corresponding ports information is the MAC Address of aggregation group sign, because of the mutually synchronous MAC Address of each member device in pile system, and aging never.
When the first Preset Time then, knows and need synchronous MAC Address, and determine and need the MAC Address that synchronous corresponding ports information be the port numbers of this member device, and asynchronous corresponding ports information is the MAC Address of aggregation group sign; And send the MAC Address of the synchronous corresponding ports information of other member devices of stacking message informing for the port numbers of this member device, and asynchronous corresponding ports information is the MAC Address of aggregation group sign.
When the second Preset Time then, know and need synchronous MAC Address, determines and need the MAC Address that synchronous corresponding ports information be the port numbers of this member device, and synchronous corresponding ports information is the MAC Address that aggregation group identifies; And send the MAC Address of the synchronous corresponding ports information of other member devices of stacking message informing for the port numbers of this member device, and synchronous corresponding ports information is the MAC Address that aggregation group identifies.
When this member device during as non-main member device, while receiving the stacking message that main member device sends, know and need synchronous MAC Address.
In this stacking message, notify the MAC Address of synchronous corresponding ports information for the port numbers of this member device, and when asynchronous corresponding ports information is the MAC Address of aggregation group sign, determine and need the MAC Address that synchronous corresponding ports information is the port numbers of this member device, and asynchronous corresponding ports information is the MAC Address of aggregation group sign.
In this stacking message, notify the MAC Address of the synchronous corresponding ports information of other member devices for the port numbers of this member device, and when synchronous corresponding ports information is the MAC Address of aggregation group sign, determine and need the MAC Address that synchronous corresponding ports information is the port numbers of this member device, and synchronous corresponding ports information is the MAC Address that aggregation group identifies.
When as can be seen here, main member device is synchronous MAC Address, and the first Preset Time arranged by main member device and the second Preset Time are to triggering constantly.During main member device triggering synchronous MAC Address, send simultaneously the synchronous MAC Address of the non-main member device of stacking message trigger.
Step 202, if determining, this member device needs the MAC Address that synchronous corresponding ports information is the port numbers of this member device, and asynchronous corresponding ports information is the MAC Address of aggregation group sign, from described, treat synchronous MAC Address, filter out and be in state of activation and the corresponding ports information MAC Address for the port numbers of this member device, and, according to the MAC Address filtered out and corresponding port information and the VLANID of MAC Address that filter out, build broadcasting packet and other member devices in pile system send.
When determining, only synchronously learn to this locality the MAC Address on common port, asynchronous study is during to the MAC Address on aggregation group sign, only by remain MAC Address learning synchronous and that be in state of activation to the common port in this locality but not the MAC Address on the aggregation group sign is synchronized to other member devices.
The source MAC of this member device using each MAC Address filtered out as broadcasting packet, and the port information that this MAC Address filtered out is corresponding and VLAN ID, be carried on the position that in the broadcasting packet of structure, the hardware learning MAC address can be learnt.
Step 203, if determining, this member device needs the MAC Address that synchronous corresponding ports information is the port numbers of this member device, and synchronous corresponding ports information is the MAC Address of aggregation group sign, according to described treat synchronous, and be in the MAC Address of state of activation, and described port information and the VLAN ID that treats that MAC Address synchronous and that be in state of activation is corresponding, structure broadcasting packet other member devices transmissions in pile system make other member devices learn by hardware mac address.
This member device determines that both synchronous study is to the MAC Address on the common port in this locality, when also synchronous study is to the MAC Address on the aggregation group sign, by remain synchronously, and the MAC Address that is in state of activation is synchronized to other member devices.
This member device, when synchronous MAC Address, is synchronously treated synchronous MAC Address by the mode that builds broadcasting packet.
This member device is treated each synchronous, and be in the source MAC of the MAC Address of state of activation as broadcasting packet, this treats port information and VLAN ID that MAC Address synchronous and that be in state of activation is corresponding, on the position that can learn while being carried at hardware learning MAC address in the broadcasting packet of structure.
Like this, build respectively a broadcasting packet for treating synchronous all MAC Address, send to other member devices in pile system, make other member devices can learn synchronous MAC Address.
In step 202 and step 203, no matter determining synchronous which MAC Address, is all that the MAC Address that is in state of activation is synchronous, and the MAC Address that is in ageing state is all asynchronous.
Each member device is when learning to a MAC Address, capital arranges ageing time for this MAC Address, in ageing time, state corresponding to this MAC Address is state of activation, ageing time then, the state of activation of this MAC Address is revised as to ageing state, then waits for Preset Time, delete list item corresponding to this MAC Address.
Embodiment bis-
After each member device sent the broadcasting packet of synchronous MAC Address, other member devices can receive this broadcasting packet by stacking opening.
When each member device receives the broadcasting packet of the synchronous MAC Address of other member devices by stacking opening, carry out hardware mac address study according to the content of the broadcasting packet received.Detailed process is as follows:
When member device received the broadcasting packet of the synchronous MAC Address of other member devices by stacking opening, according to the source MAC of this broadcasting packet, and the VLAN ID carried in broadcasting packet and port information mated in the local mac address list item.
If coupling, if the state of MAC Address corresponding to this source MAC is ageing state, be updated to state of activation fully; If match source MAC and VLAN ID, and do not match the port information that this source MAC is corresponding, carry out MAC Move processing; Otherwise, by hardware mac address, learn, the source MAC of this broadcasting packet is learnt in the MAC Address list item, and the state of this source MAC is set to state of activation.
When the source MAC of this broadcasting packet, and the VLAN ID and the port information that in this broadcasting packet, carry, in the time of in the local mac address table, can matching fully, if this source MAC is in state of activation in the MAC Address list item, do not process; If this source MAC is in ageing state in the MAC Address list item, this source MAC corresponding state in the MAC Address list item is updated to state of activation.
If the source MAC of this broadcasting packet, and the VLAN ID and the port information that in this broadcasting packet, carry, in the local mac address table, only can match source MAC and VLAN ID fully, and port information does not mate, and the MAC Move situation that occurred is described.Carry out MAC Move processing, specific implementation is the list item of deleting this source MAC correspondence in mac address table.
If only match the source MAC in broadcasting packet, and the VLAN ID of this source MAC correspondence in mac address table is inconsistent with the VLAN ID that broadcasting packet carries; Perhaps, in mac address table, do not match the source MAC of this broadcasting packet, this broadcasting packet is learnt by hardware mac address, the source MAC of this broadcasting packet is learnt in the MAC Address list item.
This member device is learnt by hardware mac address, and the source MAC of this broadcasting packet is learnt, in the MAC Address list item, to comprise:
This member device is by the source MAC of this broadcasting packet, and port information and VLAN ID binding that this broadcasting packet carries are learnt in described MAC Address list item.
Embodiment tri-
Referring to Fig. 3, Fig. 3 is pile system schematic diagram in the embodiment of the present invention three.Slot1 in Fig. 3, Slot2, one of Slot3 composition is stacking, and Slot2 is main member device.Slot1, Slot3 learns respectively some MAC Address on the aggregation group sign of the combination group at common port and aggregation group port place.
The MAC Address that Slot1 and Slot3 learn of take is example.Referring to table 1, the content of table 1 for comprising in the mac address table of Slot1.Referring to table 2, the content of table 2 for comprising in the mac address table of Slot3.
MAC Address |
VLAN?ID |
Port information |
State |
MAC1 |
2 |
Slot1?Port3 |
Activate |
MAC2 |
1 |
Slot1?Port2 |
Activate |
MAC3 |
2 |
Slot1?Port6 |
Aging |
MAC6 |
100 |
LAG1 |
Activate |
Table 1
MAC Address |
VLAN?ID |
Port information |
State |
MAC9 |
2 |
Slot3?Port3 |
Activate |
MAC7 |
1 |
Slot3?Port2 |
Activate |
MAC5 |
2 |
Slot3?Port6 |
Activate |
MAC8 |
100 |
LAG1 |
Aging |
Table 2
When Slot1 receives the stacking message that Slot2 sends, and when this stacking message informing is synchronously learnt the MAC Address on the common port in this locality and is learnt the MAC Address on the aggregation group sign, when Slot1 reads all MAC Address in table 1 in batches, and in the MAC Address in this table 1, not having port information is the MAC Address of the port of other member devices, therefore, by the MAC Address that is in state of activation in table 1, be MAC1, MAC2 and MAC6 carry out synchronously, the MAC1 of take is example, using the source MAC of MAC as a broadcasting packet, and on the position that can learn when VLANID2 and Slot1Port3 are carried to hardware learning MAC address in this broadcasting packet.
When Slot3 receives each broadcasting packet of Slot1 transmission, process respectively.The source MAC of take is example as the broadcasting packet of MAC1.In the mac address table of Slot3, namely in table 2, mate MAC1+VLAN2+Slot1Port3, from table 2, as can be knownly can not match MAC1+VLAN2+Slot1 Port3, can not match MAC1+VLAN2, therefore, this broadcasting packet carries out hardware mac address study, and MAC1, VLAN2, Slot1 Port3 binding are learnt in table 2.
Referring to table 3, the content that table 3 comprises in the local mac address table after for the synchronous MAC Address of Slot3 study Slot1.
MAC Address |
VLAN?ID |
Port information |
State |
MAC9 |
2 |
Slot3?Port3 |
Activate |
MAC7 |
1 |
Slot3?Port2 |
Activate |
MAC5 |
2 |
Slot3?Port6 |
Activate |
MAC8 |
100 |
LAG1 |
Aging |
MAC1 |
2 |
Slot1?Port3 |
Activate |
MAC2 |
1 |
Slot1?Port2 |
Activate |
MAC6 |
100 |
LAG1 |
Activate |
Table 3
With Slot3, receive the stacking message that Slot2 sends again, and the synchronous MAC Address of learning on the common port in this locality of this stacking message informing, but during the MAC Address that asynchronous study identifies to aggregation group, read in batches all MAC Address in table 3, as seen from Table 3, the port information that MAC1 and MAC2 are corresponding is the port numbers on Slot1, is not the port numbers on this member device, therefore MAC1 and MAC2 is deleted.
Due to asynchronous study to the MAC Address on aggregation group sign, therefore, asynchronous MAC8 and MAC6.Finally, the MAC9 in table 3, MAC7, MAC5 are carried out synchronously.
In the specific embodiment of the invention, based on same inventive concept, also propose a kind of equipment, can be applicable in pile system on arbitrary member device.Referring to Fig. 4, Fig. 4 is applied to the structural representation of the equipment of above-mentioned technology in the specific embodiment of the invention.This equipment comprises: know unit 401, reading unit 402 and receiving element 403 and processing unit 404.
Know unit 401, be used to knowing whether need synchronous MAC Address.
Reading unit 402, for when knowing that the synchronous MAC Address of needs is known in unit 401, read in batches the MAC Address that this member device hardware is learnt, using corresponding ports information for the MAC Address of the port numbers of other member devices the MAC Address after deleting as treating synchronous MAC Address.
Receiving element 403, for receiving the broadcasting packet of the synchronous MAC Address of other member devices by stacking opening.
Processing unit 404, if need for determining the MAC Address that synchronous corresponding ports information is the port numbers of this member device, and asynchronous corresponding ports information is the MAC Address of aggregation group sign, from treating synchronous MAC Address that reading unit 402 obtains, filter out and be in state of activation and the corresponding ports information MAC Address for the port numbers of this member device, and according to the MAC Address filtered out, and corresponding port information and the VLAN ID VLAN ID of the MAC Address filtered out, structure broadcasting packet other member devices in pile system send, if need the MAC Address of synchronous corresponding ports information for the port numbers of this member device when knowing that unit 401 is determined, and synchronous corresponding ports information is the MAC Address of aggregation group sign, synchronous according to treating of obtaining of reading unit 402, and be in the MAC Address of state of activation, and described port information and the VLAN ID VLAN ID that treats that MAC Address synchronous and that be in state of activation is corresponding, structure broadcasting packet other member devices in pile system send, when receiving element 403 receives the broadcasting packet of the synchronous MAC Address of other member devices, carry out hardware mac address study according to the content of the broadcasting packet received.
Preferably,
Processing unit 404, specifically for MAC Address that each the is filtered out source MAC as broadcasting packet, and the port information that this MAC Address filtered out is corresponding and VLAN ID, be carried on the position that in the broadcasting packet of structure, the hardware learning MAC address can be learnt; By each described treat synchronous, and be in the source MAC of the MAC Address of state of activation as broadcasting packet, and this is treated to port information and the VLAN ID that MAC Address synchronous and that be in state of activation is corresponding, be carried on the position that in the broadcasting packet of structure, the hardware learning MAC address can be learnt.
Preferably, this equipment further comprises: dispensing unit 405.
Dispensing unit 405, for this equipment during as main member device, configuration the first Preset Time and the second Preset Time; Wherein, the first Preset Time is less than the MAC address aging time, and the second Preset Time is greater than the MAC address aging time.
Know unit 401, be further used for the first Preset Time configured when dispensing unit 405 then, know the synchronous MAC Address of needs, and determine the MAC Address that the synchronous corresponding ports information of needs is the port numbers of this member device, and asynchronous corresponding ports information is the MAC Address of aggregation group sign; And send the MAC Address of the synchronous corresponding ports information of other member devices of stacking message informing for the port numbers of this member device, and asynchronous corresponding ports information is the MAC Address of aggregation group sign; When the second Preset Time of dispensing unit 405 configuration then, know and need synchronous MAC Address, determines and need the MAC Address that synchronous corresponding ports information be the port numbers of this member device, and synchronous corresponding ports information is the MAC Address that aggregation group identifies; And send the MAC Address of the synchronous corresponding ports information of other member devices of stacking message informing for the port numbers of this member device, and synchronous corresponding ports information is the MAC Address that aggregation group identifies.
Preferably,
Know unit 401, specifically for this member device during as non-main member device, while receiving the stacking message that main member device sends, know and need synchronous MAC Address; In this stacking message, notify the MAC Address of synchronous corresponding ports information for the port numbers of this member device, and when asynchronous corresponding ports information is the MAC Address of aggregation group sign, determine and need the MAC Address that synchronous corresponding ports information is the port numbers of this member device, and asynchronous corresponding ports information is the MAC Address of aggregation group sign; In this stacking message, notify the MAC Address of the synchronous corresponding ports information of other member devices for the port numbers of this member device, and when synchronous corresponding ports information is the MAC Address of aggregation group sign, determine and need the MAC Address that synchronous corresponding ports information is the port numbers of this member device, and synchronous corresponding ports information is the MAC Address that aggregation group identifies.
Preferably,
Processing unit 404, specifically for the source MAC of the broadcasting packet that receives according to receiving element 403, and the VLAN ID carried in broadcasting packet and port information mate in the local mac address list item; If coupling, if the state of MAC Address corresponding to this source MAC is ageing state, be updated to state of activation fully; If match source MAC and VLAN ID, and do not match the port information that this source MAC is corresponding, carry out MAC Move processing; Otherwise by the source MAC of this broadcasting packet, and port information and VLAN ID binding that this broadcasting packet carries are learnt in described MAC Address list item.
The unit of above-described embodiment can be integrated in one, and also can separate deployment; A unit can be merged into, also a plurality of subelements can be further split into.
In sum, in the specific embodiment of the invention, member device is known while needing synchronous MAC Address, read and treat synchronous MAC Address in batches, and synchronously treat in synchronous MAC Address to need synchronous MAC Address, when synchronously needing synchronous MAC Address, according to this MAC Address, and corresponding VLANID and the port information structure broadcasting packet of this MAC Address carries out the synchronous of MAC Address; This member device, when receiving the broadcasting packet that MAC Address passes through, carries out hardware mac address study according to the content of broadcasting packet, uses the method, when MAC Address is synchronous, can reduce the consumption of CPU.
After in the specific embodiment of the invention, giving simultaneously the broadcasting packet that member device receives synchronous MAC Address, how by hardware, to carry out MAC address learning.
Whole synchronizing process is not used the communication between plates means such as IPC fully, without software organization's MAC Address synchronization packets, need not resolve the MAC Address synchronization packets yet.Fundamentally reducing the synchronous CPU of MAC Address consumes.Solve under MAC hardware mode of learning, MAC Address high efficiency synchronous method, effectively support the robustness of pile system at large MAC application scenarios.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.