CN102035721A - Method and device for aging processing of media access control table entry - Google Patents

Method and device for aging processing of media access control table entry Download PDF

Info

Publication number
CN102035721A
CN102035721A CN200910174140XA CN200910174140A CN102035721A CN 102035721 A CN102035721 A CN 102035721A CN 200910174140X A CN200910174140X A CN 200910174140XA CN 200910174140 A CN200910174140 A CN 200910174140A CN 102035721 A CN102035721 A CN 102035721A
Authority
CN
China
Prior art keywords
mac
aging
subclauses
address entries
clauses
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
Application number
CN200910174140XA
Other languages
Chinese (zh)
Other versions
CN102035721B (en
Inventor
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910174140A priority Critical patent/CN102035721B/en
Publication of CN102035721A publication Critical patent/CN102035721A/en
Application granted granted Critical
Publication of CN102035721B publication Critical patent/CN102035721B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a method and a device for aging processing of a media access control (MAC) table entry. The method comprises the following steps of: forming an MAC table from at least two MAC entries of a service which are matched with each other; determining a reference aging MAC table entry according to the MAC table; and setting the reference aging MAC table entry to participate in the normal aging, and aging all MAC table entries in the MAC table when the reference aging MAC table entry is aged. Through the scheme, a plurality of MAC table entries which are matched with one another are simultaneously aged, so the service corresponding to the plurality of MAC table entries which are matched with one another is not interrupted.

Description

The method and the device of medium access control list item burin-in process
Technical field
The present invention relates to two layers of retransmission technique of communication equipment in the communications field, be meant the method and the device of MAC (MediaAccess Control, medium access control) list item burin-in process especially.
Background technology
In network application, exist several MAC to work in coordination, realize a kind of situation of business jointly, in this case, several MAC of cooperation need come into force simultaneously as a MAC, and are aging simultaneously.If several MAC are aging respectively, may cause asynchronous between several MAC, cause service disconnection.
For example: in order to distinguish network layer or type of service, on the switch of being everlasting, distinguish user-side port and network-side port, reach Qos (service quality) technology flexibly by QinQ (tunnel protocol of IEEE 802.1Q sealing) technology, the different flow that comes on the user-side port is classified, VLAN (VLAN) label in interpolation or the modification message, and send to network-side port.Make message in uplink network, transmit according to newly assigned VLAN.But because most of Qos action all is after mac learning, the MAC+VLAN of record was inconsistent with the actual MAC+VLAN clauses and subclauses that are dealt into network-side port during the feasible MAC that obtains by study showed.Therefore, for the downlink traffic from the network-side port to the user-side port,, can only handle according to unknown unicast or broadcasting owing to do not have relative recording in the MAC table.
For head it off, may be by MAC copy function be set in user-side port, make MAC acquire actual corresponding MAC+VLAN clauses and subclauses in the uplink traffic in showing, thereby make downlink traffic can directly inquire about the L2 list item, walk the L2 forwarding process, this mode is exactly that several MAC work in coordination, and realizes a kind of example of business jointly, if finish between several MAC of this business asynchronously, probably cause service disconnection.
In addition, functions such as N:1VLAN mapping also might exist several MAC to work in coordination, and finish a kind of situation of business jointly.
But if the above-mentioned business that these exist several MAC to work in coordination asynchronous between the MAC clauses and subclauses, can cause this service disconnection.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of many MAC address entries that the cooperatively interact method and the device of aging medium access control list item burin-in process simultaneously, and these many MAC address entries corresponding service that cooperatively interact can not interrupted.
For solving the problems of the technologies described above, the invention provides a kind of method of medium access control list item burin-in process, comprising:
At least two medium access control (MAC) clauses and subclauses that cooperatively interact of business are formed MAC table;
According to described MAC table, determine the benchmark MAC address entries that wears out;
The aging MAC address entries of described benchmark is set participates in normal aging, when the aging MAC address entries of described benchmark is aging, that all MAC address entries in the described MAC table are aging.
Wherein, the step of at least two MAC clauses and subclauses that cooperatively interact of business being formed MAC table is specially:
With at least two MAC that cooperatively interact of business are identical but MAC clauses and subclauses that VLAN is different are formed described MAC table; Perhaps
With at least two VLAN that cooperatively interact of business are identical but MAC clauses and subclauses that MAC is different are formed described MAC table; Perhaps
The MAC clauses and subclauses that at least two switch ports themselves that cooperatively interact of business are learnt are formed described MAC table.
Wherein, described according to described MAC table, determine that the step of the aging MAC address entries of a benchmark is specially:
In described MAC table, select MAC clauses and subclauses arbitrarily according to described MAC Address or VLAN address, as the aging MAC address entries of benchmark; Perhaps
The up-to-date MAC clauses and subclauses of learning are set as the aging MAC address entries of benchmark.
Wherein, described MAC table is a single linked list, and each MAC address entries in the described MAC table is a node of described single linked list; Described method also comprises:
Obtain the MAC clauses and subclauses of up-to-date study;
If the MAC clauses and subclauses of up-to-date study are elected as the aging MAC address entries of described benchmark,, the MAC clauses and subclauses of described up-to-date study are added described single linked list with the MAC clauses and subclauses of described up-to-date study gauge outfit as described single linked list; Otherwise, the MAC clauses and subclauses of described up-to-date study are added into the afterbody of described single linked list.
Also comprise when wherein, the aging MAC address entries participation of described benchmark normal aging being set:
Other MAC address entries except that the aging MAC address entries of described benchmark that is provided with in the described MAC table does not participate in normal aging.
Wherein, described according to described MAC table, determine that the step of the aging MAC address entries of a benchmark is specially:
In described MAC table, it is the aging MAC address entries of benchmark that aging at first MAC clauses and subclauses are set.
Wherein, described MAC table is a unidirectional circular linked list, and each MAC address entries in the described MAC table is a node of described unidirectional circular linked list; Described method also comprises:
Obtain the MAC clauses and subclauses of up-to-date study;
When if the MAC clauses and subclauses of up-to-date study are wherein MAC address entries in the described MAC table, the MAC clauses and subclauses of described up-to-date study are added into described unidirectional circular linked list.
Also comprise when wherein, the aging MAC address entries participation of described benchmark normal aging being set:
Be provided with that other all MAC address entries except that the aging MAC address entries of described benchmark also participate in normal aging in the described MAC table.
For solving the problems of the technologies described above, the present invention also provides a kind of device of medium access control list item burin-in process, comprising:
First processing module is used at least two medium access control (MAC) clauses and subclauses that cooperatively interact of business are formed MAC table;
Second processing module is used for the table according to described MAC, determines the benchmark MAC address entries that wears out;
The 3rd processing module is used to be provided with the aging MAC address entries of described benchmark and participates in normal aging, and is when the aging MAC address entries of described benchmark is aging, that all MAC address entries in the described MAC table are aging.
Wherein, described second processing module comprises:
First processing sub is used for selecting MAC clauses and subclauses at described MAC table arbitrarily according to described MAC Address or VLAN address, as the aging MAC address entries of benchmark;
Second processing sub is used to be provided with the up-to-date MAC clauses and subclauses of learning as the aging MAC address entries of benchmark.
Wherein, said apparatus also comprises:
First is provided with module, and when being used to be provided with the aging MAC address entries participation of described benchmark normal aging, and other MAC address entries except that the aging MAC address entries of described benchmark that is provided with in the described MAC table does not participate in normal aging;
Described the 3rd processing module is according to described first setting that module is set, and is when the aging MAC address entries of described benchmark is aging, that all MAC address entries in the described MAC table are aging.
Wherein, described second processing module comprises:
The 3rd processing sub is used at described MAC table, and it is the aging MAC address entries of benchmark that aging at first MAC clauses and subclauses are set.
Wherein, said apparatus also comprises:
Second is provided with module, and when being used to be provided with the aging MAC address entries participation of described benchmark normal aging, and other MAC address entries except that the aging MAC address entries of described benchmark that is provided with in the described MAC table does not participate in normal aging;
Described the 3rd processing module is according to described second setting that module is set, and is when the aging MAC address entries of described benchmark is aging, that all MAC address entries in the described MAC table are aging.
The beneficial effect of technique scheme of the present invention is as follows:
In the such scheme, by MAC clauses and subclauses in many MAC clauses and subclauses (be benchmark aging MAC clauses and subclauses) when aging, aging simultaneously other MAC clauses and subclauses make the synchronously aging of many MAC clauses and subclauses cooperatively interacting, not the interrupting of the business that guarantees to need these many MAC clauses and subclauses to cooperate and finish.
Description of drawings
Fig. 1 is the method flow schematic diagram of medium access control MAC address entries burin-in process of the present invention;
Fig. 2 is the process schematic diagram of waiting to learn MAC clauses and subclauses adding single-track link table of first Application Example of method shown in Figure 1;
Fig. 3 is the ageing process schematic diagram of MAC clauses and subclauses to be aging of first Application Example of method shown in Figure 1;
Fig. 4 waits to learn the process schematic diagram that the MAC clauses and subclauses add unidirectional circular linked list for second Application Example of method shown in Figure 1;
Fig. 5 is the ageing process schematic diagram of MAC clauses and subclauses to be aging of second practical embodiment of method shown in Figure 1;
Fig. 6 is the apparatus structure schematic diagram of medium access control MAC address entries burin-in process of the present invention;
Fig. 7 is the structural representation of first embodiment of device shown in Figure 6;
Fig. 8 is another structural representation of first embodiment of device shown in Figure 6;
Fig. 9 is the structural representation of second embodiment of device shown in Figure 6;
Figure 10 is another structural representation of second embodiment of device shown in Figure 6.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The present invention is directed in the prior art, in the business that several MAC work in coordination, if it is asynchronous between the MAC clauses and subclauses, can cause the problem of this service disconnection, a kind of method and device that makes the medium access control MAC address entries burin-in process that these many MAC address entries corresponding service that cooperatively interact can not interrupt is provided.
As shown in Figure 1, the method for medium access control list item burin-in process of the present invention comprises:
Step 11 is formed MAC table with at least two medium access control (MAC) clauses and subclauses that cooperatively interact of business; Wherein, these MAC clauses and subclauses are made of MAC Address and VLAN address;
Step 12 according to described MAC table, is determined the benchmark MAC address entries that wears out;
Step 13 is provided with the aging MAC address entries of described benchmark and participates in normal aging, when the aging MAC address entries of described benchmark is aging, with all MAC address entries in the described MAC table aging (as with as described in all MAC address entries deletions in the MAC table).
Many the MAC clauses and subclauses that this embodiment provides are by the aging simultaneously method of MAC clauses and subclauses (being the aging MAC address entries of benchmark) wherein, make in the business that several MAC work in coordination, and are synchronously aging between the MAC clauses and subclauses, can not cause this service disconnection.
Wherein, above-mentioned steps 11 can specifically be realized by following mode:
111) at least two MAC that cooperatively interact of business are identical but MAC clauses and subclauses that VLAN is different are formed described MAC table; Wherein, at least two MAC is identical but MAC clauses and subclauses that VLAN is different comprise: the identical but VLAN of the MAC of at least two MAC clauses and subclauses has nothing in common with each other, and perhaps the MAC of at least two MAC clauses and subclauses is identical but vlan section is identical; Wherein, when the identical VLAN of the MAC of MAC clauses and subclauses is also identical, can be regarded as same MAC clauses and subclauses, can be according to the normal aging flow processing;
112) at least two VLAN that cooperatively interact of business are identical but MAC clauses and subclauses that MAC is different are formed described MAC table; Wherein, at least two VLAN is identical but MAC clauses and subclauses that MAC is different comprise: the identical but MAC of the VLAN of at least two MAC clauses and subclauses has nothing in common with each other, and perhaps the VLAN of at least two MAC clauses and subclauses is identical but the MAC part is identical; Wherein, when the identical VLAN of the MAC of MAC clauses and subclauses is also identical, can be regarded as same MAC clauses and subclauses, can be according to the normal aging flow processing;
113) the MAC clauses and subclauses that at least two switch ports themselves that cooperatively interact of business are learnt are formed described MAC table.
Certainly, the mode of several the MAC clauses and subclauses that cooperatively interact of business being formed a MAC table is not limited to above-mentioned three kinds of modes mentioning, can also some MAC clauses and subclauses that cooperatively interact be formed a MAC table according to the mode of self-defined setting.
In addition, also can realize in above-mentioned steps 12 by following several modes:
121) in described MAC table, select MAC clauses and subclauses arbitrarily according to described MAC Address or VLAN address, as the aging MAC address entries of benchmark; As the MAC clauses and subclauses that comprise in the MAC table is MAC1+VLAN1, MAC2+VLAN2, MAC3+VLAN3......; Can select wherein arbitrary MAC clauses and subclauses according to MAC Address, as select the MAC clauses and subclauses at MAC1 place, i.e. MAC1+VLAN1, this MAC1+VLAN1 is exactly the aging MAC address entries of benchmark; Certainly, also can be, as selected VLAN3 according to VLAN address choice arbitrary MAC clauses and subclauses wherein, i.e. MAC3+VLAN3, this MAC3+VLAN3 is exactly the aging MAC address entries of benchmark;
122) the up-to-date MAC clauses and subclauses of learning are set as the aging MAC address entries of benchmark; As the up-to-date MAC clauses and subclauses of learning of the port that switch is set are as the aging MAC address entries of benchmark, and original MAC clauses and subclauses (being MAC address entries) be the subordinate clauses and subclauses in the MAC table, and these up-to-date MAC clauses and subclauses of learning are exactly the benchmark MAC address entries that wears out so.
Generally, the MAC table is deposited a plurality of MAC clauses and subclauses with the form of chained list, and each MAC address entries in this MAC table is a node in this chained list, the respectively corresponding MAC clauses and subclauses of this each MAC address entries;
Wherein, this chained list can be: single linked list also can be unidirectional circular linked list;
When MAC showed with single linked list, above-mentioned method shown in Figure 1 also comprised:
Step 14 is obtained the MAC clauses and subclauses of up-to-date study, if the MAC clauses and subclauses of up-to-date study are elected as the aging MAC address entries of described benchmark, with the MAC clauses and subclauses of the described up-to-date study gauge outfit as described single linked list, the MAC clauses and subclauses of described up-to-date study is added described single linked list; Otherwise, the MAC clauses and subclauses of described up-to-date study are added into the afterbody of described single linked list.
Specifically: at first, in the MAC table, add a pointer field (Nxt_Ptr), be used for one group of MAC clauses and subclauses is connected, constitute a corresponding single linked list of MAC table;
If the MAC clauses and subclauses of up-to-date study belong to this MAC table, a certain MAC clauses and subclauses identical (MAC Address and the VLAN address that are these two MAC clauses and subclauses are all identical) in the MAC clauses and subclauses of this up-to-date study just and the MAC table, then the aging MAC address entries of benchmark in these up-to-date MAC clauses and subclauses of learning and the former MAC table is conducted an election, the aging MAC address entries of the benchmark that election makes new advances, promptly according to above-mentioned 122) in setting, elect these up-to-date MAC clauses and subclauses of learning as the aging MAC address entries of new benchmark;
If with the up-to-date MAC clauses and subclauses of learning is the aging MAC address entries of benchmark, then by the Nxt_Ptr pointer, with the gauge outfit of the up-to-date MAC clauses and subclauses of learning as new single linked list, the MAC clauses and subclauses in the MAC that connects the again table;
Certainly, if do not have above-mentioned 122) setting, the up-to-date MAC clauses and subclauses of learning also may be the subordinate clauses and subclauses, then by the Nxt_Ptr pointer, the up-to-date MAC clauses and subclauses of learning are added on the afterbody of single linked list;
Be provided with in above-mentioned steps 13 when the aging MAC address entries of described benchmark participates in normal aging and also can comprise: other MAC address entries except that the aging MAC address entries of described benchmark that is provided with in the described MAC table does not participate in normal aging; In step 13, the subordinate MAC address entries in the MAC table can be aging simultaneously when the aging MAC address entries of benchmark is aging, can not cause this service disconnection like this.
When MAC showed with unidirectional circular linked list, the step 12 of above-mentioned method shown in Figure 1 can be specially:
1210) in described MAC table, it is the aging MAC address entries of benchmark that aging at first MAC clauses and subclauses are set.
Like this, obtain the MAC clauses and subclauses of up-to-date study; When if the MAC clauses and subclauses of up-to-date study are wherein MAC address entries in the described MAC table, the MAC clauses and subclauses of described up-to-date study are added into described unidirectional circular linked list; Concrete adding method can be: MAC clauses and subclauses that will this up-to-date study are added between any two nodes in this unidirectional circular linked list, any two nodes are as being respectively node 1 and node 2, with the MAC clauses and subclauses of this up-to-date study of Nxt_Ptr pointed of node 1, with the Nxt_Ptr pointed node 2 of the MAC clauses and subclauses of this up-to-date study;
In this embodiment, be provided with in the step 13 when the aging MAC address entries of described benchmark participates in normal aging and also can comprise: be provided with that other all MAC address entries except that the aging MAC address entries of described benchmark also participate in normal aging in the described MAC table; In this MAC table, when at first aging as if one of them MAC clauses and subclauses, then other MAC clauses and subclauses in this MAC table also can wear out simultaneously, can not cause this service disconnection like this.
As shown in Figure 2, when being single linked list for the corresponding chained list of above-mentioned MAC table, the specific implementation process of the aging MAC address entries of study MAC process and definite benchmark comprises:
The first step, when needs are learnt new MAC clauses and subclauses (as MAC1+VLAN1), judge whether these MAC clauses and subclauses to be learnt belong to (this group is meant the MAC table that at least two MAC clauses and subclauses that cooperatively interact of above-mentioned business are formed) in the group, if do not belong in the group, then carry out common MAC clauses and subclauses study, promptly add the MAC clauses and subclauses of this study in this MAC table by existing method;
In second step,, then these MAC clauses and subclauses (being MAC 1+VLAN1) and former group of interior benchmark clauses and subclauses are conducted an election the benchmark clauses and subclauses that election makes new advances if these MAC clauses and subclauses to be learnt belong in the group; That is to say that according to above-mentioned setting, when MAC 1+VLAN1 clauses and subclauses during for the interior clauses and subclauses of group, the MAC clauses and subclauses of this study are just as the benchmark MAC address entries that wears out;
The 3rd step, if the MAC1+VLAN1 clauses and subclauses aging MAC address entries that is benchmark, then by the Nxt_Ptr pointer, with the gauge outfit of MAC1+VLAN1 clauses and subclauses as new single linked list, the interior MAC clauses and subclauses of heavy elders and betters's series connection group; If the MAC1+VLAN1 clauses and subclauses are the subordinate clauses and subclauses,, the MAC1+VLAN1 clauses and subclauses are added on the afterbody of single-track link table then by the Nxt_Ptr pointer;
In the 4th step, benchmark clauses and subclauses participation normal aging in the group is set, and other subordinate clauses and subclauses do not participate in normal aging.
As shown in Figure 3, in the MAC table that above-mentioned flow process shown in Figure 2 obtains, when MAC address entries wears out, comprising:
The first step judges whether MAC clauses and subclauses to be aging need to wear out, if do not need to wear out, then prolongs ageing time, as prolonging at least one times ageing time;
Second step, aging as if needing, judge when whether the aging MAC address entries of benchmark wears out in the group, if the aging MAC address entries of benchmark is aging, then travel through chained list, aging MAC address entries of benchmark and subordinate MAC clauses and subclauses are deleted in the lump.
As shown in Figure 4, when being single linked list for the corresponding chained list of above-mentioned MAC table, the specific implementation process of the aging MAC address entries of study MAC process and definite benchmark comprises:
The first step judges whether MAC clauses and subclauses (as MAC1+VLAN1) to be learnt belong in the group;
In second step,, then these MAC clauses and subclauses (being MAC1+VLAN1) and former group of interior benchmark clauses and subclauses are conducted an election the benchmark clauses and subclauses that election makes new advances if these MAC clauses and subclauses to be learnt belong in the group; That is to say that according to above-mentioned setting, when MAC1+VLAN1 clauses and subclauses during for the interior clauses and subclauses of group, the MAC clauses and subclauses of this study are just as the benchmark MAC address entries that wears out;
The 3rd step, if the MAC1+VLAN1 clauses and subclauses aging MAC address entries that is benchmark, then by the Nxt_Ptr pointer, then with these MAC clauses and subclauses (being MAC1+VLAN1) with former group in the MAC clauses and subclauses form unidirectional circular linked list;
In the 4th step, all MAC clauses and subclauses participation normal agings in the group are set.
As shown in Figure 5, in the MAC table that above-mentioned flow process shown in Figure 2 obtains, when MAC address entries wears out, comprising:
The first step judges whether MAC clauses and subclauses to be aging need to wear out, if do not need to wear out, then prolongs ageing time, as prolonging at least one times ageing time;
Second step, aging as if needing, judge when whether the aging MAC address entries of benchmark wears out in the group, if aging, then travel through chained list, aging MAC address entries of benchmark and subordinate MAC clauses and subclauses are deleted in the lump.
The above embodiment of the present invention is by when aging, deleting other MAC clauses and subclauses with MAC clauses and subclauses in many MAC clauses and subclauses simultaneously, make the synchronously aging of many MAC clauses and subclauses cooperatively interacting, guarantee to need these many MAC clauses and subclauses to cooperate not interrupting of the business finished.
As shown in Figure 6, embodiments of the invention also provide a kind of device 60 of medium access control list item burin-in process, comprising:
First processing module 61 is used at least two medium access control (MAC) clauses and subclauses that cooperatively interact of business are formed MAC table;
Second processing module 62 is used for the table according to described MAC, determines the benchmark MAC address entries that wears out;
The 3rd processing module 63 is used to be provided with the aging MAC address entries of described benchmark and participates in normal aging, and is when the aging MAC address entries of described benchmark is aging, that all MAC address entries in the described MAC table are aging.
Wherein, as shown in Figure 7, above-mentioned second processing module 62 comprises:
First processing sub 621 is used for selecting MAC clauses and subclauses at described MAC table arbitrarily according to described MAC Address or VLAN address, as the aging MAC address entries of benchmark;
Second processing sub 622 is used to be provided with the up-to-date MAC clauses and subclauses of learning as the aging MAC address entries of benchmark.
As shown in Figure 8, on above-mentioned basis embodiment illustrated in fig. 7, this device also can comprise:
First is provided with module 64, and when being used to be provided with the aging MAC address entries participation of described benchmark normal aging, and other MAC address entries except that the aging MAC address entries of described benchmark that is provided with in the described MAC table does not participate in normal aging;
Described the 3rd processing module 63 is according to described first setting that module 64 is set, and is when the aging MAC address entries of described benchmark is aging, that all MAC address entries in the described MAC table are aging.
In addition, as shown in Figure 9, above-mentioned second processing module 62 also can specifically comprise:
The 3rd processing sub 623 is used at described MAC table, and it is the aging MAC address entries of benchmark that aging at first MAC clauses and subclauses are set.
As shown in figure 10, on the basis of above-mentioned device shown in Figure 9, also can comprise:
Second is provided with module 65, when being used to be provided with the aging MAC address entries participation of described benchmark normal aging, and be provided with and also participate in normal aging except that other MAC address entries of the aging MAC address entries of described benchmark in the described MAC table, described MAC all MAC address entries in showing promptly are set all participate in normal aging.
Need to prove: above-mentioned Fig. 1-implementation shown in Figure 5 all is applicable among the embodiment of this device, does not repeat them here.
This device embodiment of the present invention is equally by each processing module, many MAC clauses and subclauses that cooperatively interact are formed a MAC table, and when MAC clauses and subclauses are aging therein (when the aging MAC clauses and subclauses of benchmark are aging), other all MAC clauses and subclauses in this MAC table are also aging simultaneously, guaranteed that the business of the MAC clauses and subclauses that this cooperatively interacts is not interrupted.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (13)

1. the method for a medium access control list item burin-in process is characterized in that, comprising:
At least two medium access control (MAC) clauses and subclauses that cooperatively interact of business are formed MAC table;
According to described MAC table, determine the benchmark MAC address entries that wears out;
The aging MAC address entries of described benchmark is set participates in normal aging, when the aging MAC address entries of described benchmark is aging, that all MAC address entries in the described MAC table are aging.
2. method according to claim 1 is characterized in that, the step of at least two MAC clauses and subclauses that cooperatively interact of business being formed MAC table is specially:
With at least two MAC that cooperatively interact of business are identical but MAC clauses and subclauses that VLAN is different are formed described MAC table; Perhaps
With at least two VLAN that cooperatively interact of business are identical but MAC clauses and subclauses that MAC is different are formed described MAC table; Perhaps
The MAC clauses and subclauses that at least two switch ports themselves that cooperatively interact of business are learnt are formed described MAC table.
3. method according to claim 2 is characterized in that, and is described according to described MAC table, determines that the step of the aging MAC address entries of a benchmark is specially:
In described MAC table, select MAC clauses and subclauses arbitrarily according to described MAC Address or VLAN address, as the aging MAC address entries of benchmark; Perhaps
The up-to-date MAC clauses and subclauses of learning are set as the aging MAC address entries of benchmark.
4. method according to claim 3 is characterized in that, described MAC table is a single linked list, and each MAC address entries in the described MAC table is a node of described single linked list; Described method also comprises:
Obtain the MAC clauses and subclauses of up-to-date study;
If the MAC clauses and subclauses of up-to-date study are elected as the aging MAC address entries of described benchmark,, the MAC clauses and subclauses of described up-to-date study are added described single linked list with the MAC clauses and subclauses of described up-to-date study gauge outfit as described single linked list; Otherwise, the MAC clauses and subclauses of described up-to-date study are added into the afterbody of described single linked list.
5. method according to claim 4 is characterized in that, is provided with when the aging MAC address entries of described benchmark participates in normal aging also to comprise:
Other MAC address entries except that the aging MAC address entries of described benchmark that is provided with in the described MAC table does not participate in normal aging.
6. method according to claim 1 and 2 is characterized in that, and is described according to described MAC table, determines that the step of the aging MAC address entries of a benchmark is specially:
In described MAC table, it is the aging MAC address entries of benchmark that aging at first MAC clauses and subclauses are set.
7. method according to claim 6 is characterized in that, described MAC table is a unidirectional circular linked list, and each MAC address entries in the described MAC table is a node of described unidirectional circular linked list; Described method also comprises:
Obtain the MAC clauses and subclauses of up-to-date study;
When if the MAC clauses and subclauses of up-to-date study are wherein MAC address entries in the described MAC table, the MAC clauses and subclauses of described up-to-date study are added into described unidirectional circular linked list.
8. method according to claim 7 is characterized in that, is provided with when the aging MAC address entries of described benchmark participates in normal aging also to comprise:
Be provided with that other all MAC address entries except that the aging MAC address entries of described benchmark also participate in normal aging in the described MAC table.
9. the device of a medium access control list item burin-in process is characterized in that, comprising:
First processing module is used at least two medium access control (MAC) clauses and subclauses that cooperatively interact of business are formed MAC table;
Second processing module is used for the table according to described MAC, determines the benchmark MAC address entries that wears out;
The 3rd processing module is used to be provided with the aging MAC address entries of described benchmark and participates in normal aging, and is when the aging MAC address entries of described benchmark is aging, that all MAC address entries in the described MAC table are aging.
10. device according to claim 9 is characterized in that, described second processing module comprises:
First processing sub is used for selecting MAC clauses and subclauses at described MAC table arbitrarily according to described MAC Address or VLAN address, as the aging MAC address entries of benchmark;
Second processing sub is used to be provided with the up-to-date MAC clauses and subclauses of learning as the aging MAC address entries of benchmark.
11. device according to claim 10 is characterized in that, also comprises:
First is provided with module, and when being used to be provided with the aging MAC address entries participation of described benchmark normal aging, and other MAC address entries except that the aging MAC address entries of described benchmark that is provided with in the described MAC table does not participate in normal aging;
Described the 3rd processing module is according to described first setting that module is set, and is when the aging MAC address entries of described benchmark is aging, that all MAC address entries in the described MAC table are aging.
12. device according to claim 10 is characterized in that, described second processing module comprises:
The 3rd processing sub is used at described MAC table, and it is the aging MAC address entries of benchmark that aging at first MAC clauses and subclauses are set.
13. device according to claim 12 is characterized in that, also comprises:
Second is provided with module, and when being used to be provided with the aging MAC address entries participation of described benchmark normal aging, and other MAC address entries except that the aging MAC address entries of described benchmark that is provided with in the described MAC table also participates in normal aging;
Described the 3rd processing module is according to described second setting that module is set, and is when the aging MAC address entries of described benchmark is aging, that all MAC address entries in the described MAC table are aging.
CN200910174140A 2009-09-30 2009-09-30 Method and device for aging processing of media access control table entry Active CN102035721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910174140A CN102035721B (en) 2009-09-30 2009-09-30 Method and device for aging processing of media access control table entry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910174140A CN102035721B (en) 2009-09-30 2009-09-30 Method and device for aging processing of media access control table entry

Publications (2)

Publication Number Publication Date
CN102035721A true CN102035721A (en) 2011-04-27
CN102035721B CN102035721B (en) 2012-09-26

Family

ID=43888078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910174140A Active CN102035721B (en) 2009-09-30 2009-09-30 Method and device for aging processing of media access control table entry

Country Status (1)

Country Link
CN (1) CN102035721B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684920A (en) * 2013-12-17 2014-03-26 上海斐讯数据通信技术有限公司 Method for testing MAC address aging time of switch and network analyzer
CN106330712A (en) * 2015-06-18 2017-01-11 中兴通讯股份有限公司 MAC address learning control method and device
CN113985248A (en) * 2021-10-26 2022-01-28 西安微电子技术研究所 High-temperature dynamic burn-in system and method for PCIe exchange circuit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2073454B1 (en) * 2007-12-19 2011-02-16 Alcatel Lucent Updating a dynamic learning table
CN101232447B (en) * 2008-02-28 2011-11-30 中兴通讯股份有限公司 Method for controlling learning MAC address preaging
CN101267348A (en) * 2008-04-29 2008-09-17 华为技术有限公司 A method and device for table time content aging

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684920A (en) * 2013-12-17 2014-03-26 上海斐讯数据通信技术有限公司 Method for testing MAC address aging time of switch and network analyzer
CN103684920B (en) * 2013-12-17 2018-04-06 上海斐讯数据通信技术有限公司 Method for testing MAC address aging time of switch and network analyzer
CN106330712A (en) * 2015-06-18 2017-01-11 中兴通讯股份有限公司 MAC address learning control method and device
CN106330712B (en) * 2015-06-18 2019-05-24 中兴通讯股份有限公司 A kind of control method and device of MAC address learning
CN113985248A (en) * 2021-10-26 2022-01-28 西安微电子技术研究所 High-temperature dynamic burn-in system and method for PCIe exchange circuit
CN113985248B (en) * 2021-10-26 2023-07-11 西安微电子技术研究所 High-temperature dynamic aging system and method for PCIe (peripheral component interconnect express) switching circuit

Also Published As

Publication number Publication date
CN102035721B (en) 2012-09-26

Similar Documents

Publication Publication Date Title
CN100596094C (en) Implementation method and switching device of multi-point to multi-point service
CN100442772C (en) Bridge-connection transmitting method
CN104009926B (en) Multicast method in EVI network and edge device ED
CN101771618B (en) Host routing reachable method and system in access ring of packet transport network
US20110222551A1 (en) Method and system for transparent lan services in a packet network
US20080080535A1 (en) Method and system for transmitting packet
CN103269299B (en) Message forwarding method in SPBM network and device
CN101471875B (en) Passage transmission method based on loop, network system and node equipment
CN103368775B (en) flow backup method and core switching device
CN101674249A (en) Method for forwarding provider backbone bridge (PBB) traffic and device thereof
CN100407704C (en) Method of dynamically learning address on MAC layer
EP2873196B1 (en) Connectivity fault management in a communication network
CN100435528C (en) Method for reducing learning of media accessing control address in network
CN101252503B (en) Method and apparatus for switching traffic of looped network
CN103326918A (en) Message forwarding method and message forwarding equipment
CN100358322C (en) Method of multilayer VLAN switching
CN103780509A (en) Message forwarding method and routing forwarding device
CN102098202A (en) Virtual private topology control method, device and system
CN105281951A (en) Double-main-device conflict detection method for VSU system, and network equipment
CN102035721B (en) Method and device for aging processing of media access control table entry
CN102752210B (en) The method and system of message transmission between a kind of local area network (LAN)
US20120224488A1 (en) Method of connectivity monitoring by subscriber line terminating apparatus
CN100479371C (en) Method of broadcast transmitting message and an exchange equipment
CN103354567B (en) A kind of method and apparatus of synchronized multimedia accessing to control address
CN103685029B (en) Message forwarding method and equipment in a kind of rapid ring protection protocol networking

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