CN102035721B - 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
CN102035721B
CN102035721B CN200910174140A CN200910174140A CN102035721B CN 102035721 B CN102035721 B CN 102035721B CN 200910174140 A CN200910174140 A CN 200910174140A CN 200910174140 A CN200910174140 A CN 200910174140A CN 102035721 B CN102035721 B CN 102035721B
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.)
Active
Application number
CN200910174140A
Other languages
Chinese (zh)
Other versions
CN102035721A (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 as a MAC simultaneously, and are aging simultaneously.If several kinds of 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 through QinQ (tunnel protocol of IEEE 802.1Q sealing) technology; Classify the different flow that comes on the user-side port, add perhaps and revise VLAN (VLAN) label in the 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 through 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 make MAC acquire actual corresponding MAC+VLAN clauses and subclauses in the uplink traffic in showing through MAC copy function is set in user-side port; 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 accomplish between these several professional MAC asynchronously, probably cause service disconnection.
In addition, functions such as N:1VLAN mapping also might exist several MAC to work in coordination, and accomplish 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 that the present invention will solve 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 present 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 said MAC table, confirm the benchmark MAC address entries that wears out;
The aging MAC address entries of said benchmark is set participates in normal aging, when the aging MAC address entries of said benchmark is aging, that all MAC address entries in the said 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 said 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 said MAC table; Perhaps
The MAC clauses and subclauses that at least two switch ports themselves that cooperatively interact of business are learnt are formed said MAC table.
Wherein, said according to said MAC table, confirm that the step of the aging MAC address entries of a benchmark is specially:
In said MAC table, select MAC clauses and subclauses arbitrarily according to said 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, said MAC table is a single linked list, and each MAC address entries in the said MAC table is a node of said single linked list; Said method also comprises:
Obtain the MAC clauses and subclauses of up-to-date study;
If it is the aging MAC address entries of said benchmark that the MAC clauses and subclauses of up-to-date study are elected,, the MAC clauses and subclauses of said up-to-date study are added said single linked list with the MAC clauses and subclauses of said up-to-date study gauge outfit as said single linked list; Otherwise, the MAC clauses and subclauses of said up-to-date study are added into the afterbody of said single linked list.
Also comprise when wherein, the aging MAC address entries participation of said benchmark normal aging being set:
Other MAC address entries except that the aging MAC address entries of said benchmark that is provided with in the said MAC table is not participated in normal aging.
Wherein, said according to said MAC table, confirm that the step of the aging MAC address entries of a benchmark is specially:
In said MAC table, it is the aging MAC address entries of benchmark that aging at first MAC clauses and subclauses are set.
Wherein, said MAC table is a unidirectional circular linked list, and each MAC address entries in the said MAC table is a node of said unidirectional circular linked list; Said 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 the wherein MAC address entries in the said MAC table, the MAC clauses and subclauses of said up-to-date study are added into said unidirectional circular linked list.
Also comprise when wherein, the aging MAC address entries participation of said benchmark normal aging being set:
Other all MAC address entries except that the aging MAC address entries of said benchmark are set in the said MAC table also participate in normal aging.
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 said MAC, confirms the benchmark MAC address entries that wears out;
The 3rd processing module is used to be provided with the aging MAC address entries of said benchmark and participates in normal aging, and is when the aging MAC address entries of said benchmark is aging, that all MAC address entries in the said MAC table are aging.
Wherein, said second processing module comprises:
First processing sub is used for selecting MAC clauses and subclauses at said MAC table arbitrarily according to said 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 said benchmark normal aging, and other MAC address entries except that the aging MAC address entries of said benchmark that is provided with in the said MAC table is not participated in normal aging;
Said the 3rd processing module according to said first module is set setting, when the aging MAC address entries of said benchmark is aging, that all MAC address entries in the said MAC table are aging.
Wherein, said second processing module comprises:
The 3rd processing sub is used at said 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 said benchmark normal aging, and other MAC address entries except that the aging MAC address entries of said benchmark that is provided with in the said MAC table is not participated in normal aging;
Said the 3rd processing module according to said second module is set setting, when the aging MAC address entries of said benchmark is aging, that all MAC address entries in the said MAC table are aging.
The beneficial effect of technique scheme of the present invention is following:
In the such scheme; Through 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, and assurances needs these many MAC clauses and subclauses to cooperate not the interrupting of business of completion.
Description of drawings
Fig. 1 is the method flow sketch map of medium access control MAC address entries burin-in process of the present invention;
Fig. 2 is the process sketch map of waiting to learn MAC clauses and subclauses adding single-track link table of first application implementation example of method shown in Figure 1;
Fig. 3 is the ageing process sketch map of the routine MAC clauses and subclauses to be aging of first application implementation of method shown in Figure 1;
Fig. 4 waits to learn the process sketch map that the MAC clauses and subclauses add unidirectional circular linked list for second application implementation of method shown in Figure 1 example;
Fig. 5 is the ageing process sketch map of MAC clauses and subclauses to be aging of second practical embodiment of method shown in Figure 1;
Fig. 6 is the apparatus structure sketch map 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 technical problem, technical scheme and advantage that the present invention will be solved is clearer, will combine accompanying drawing and specific embodiment to be described in detail below.
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 up of MAC Address and VLAN address;
Step 12 according to said MAC table, is confirmed the benchmark MAC address entries that wears out;
Step 13 is provided with the aging MAC address entries of said benchmark and participates in normal aging, when the aging MAC address entries of said benchmark is aging, with all MAC address entries in the said MAC table aging (as with all the MAC address entries deletions in the said 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 said 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 said 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 of at least two switch ports themselves that cooperatively interact of business being learnt are formed said 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 kinds of modes:
121) in said MAC table, select MAC clauses and subclauses arbitrarily according to said MAC Address or VLAN address, as the aging MAC address entries of benchmark; MAC clauses and subclauses as comprising in the MAC table are MAC1+VLAN1, MAC2+VLAN2, MAC3+VLAN3 Can select arbitrary MAC clauses and subclauses wherein 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, is the aging MAC address entries of said benchmark if the MAC clauses and subclauses of up-to-date study elect, and with the MAC clauses and subclauses of the said up-to-date study gauge outfit as said single linked list, the MAC clauses and subclauses of said up-to-date study is added said single linked list; Otherwise, the MAC clauses and subclauses of said up-to-date study are added into the afterbody of said single linked list.
Specifically: at first, in the MAC table, add a pointer field (Nxt_Ptr), be used for connecting one group of MAC clauses and subclauses, 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 makes new advances of election is 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 through 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 possibly be the subordinate clauses and subclauses, then through the Nxt_Ptr pointer, the up-to-date MAC clauses and subclauses of learning are added on the afterbody of single linked list;
In above-mentioned steps 13, be provided with when the aging MAC address entries of said benchmark is participated in normal aging and also can comprise: other MAC address entries except that the aging MAC address entries of said benchmark that is provided with in the said MAC table is not participated 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 said 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 the wherein MAC address entries in the said MAC table, the MAC clauses and subclauses of said up-to-date study are added into said 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 said benchmark is participated in normal aging and also can comprise: other all MAC address entries except that the aging MAC address entries of said benchmark are set in the said MAC table also participate in normal aging; 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 concrete implementation procedure 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 (like 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, in promptly showing to this MAC by the MAC clauses and subclauses of existing this study of method interpolation;
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 through 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; 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 through 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 are not participated 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 wear out, if need not 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 concrete implementation procedure of the aging MAC address entries of study MAC process and definite benchmark comprises:
The first step judges whether MAC clauses and subclauses (like 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 through 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 wear out, if need not 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 through when aging, deleting other MAC clauses and subclauses with MAC clauses and subclauses in many MAC clauses and subclauses, make the synchronously aging of many MAC clauses and subclauses cooperatively interacting simultaneously, and assurances needs these many MAC clauses and subclauses to cooperate not the interrupting of business of completion.
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 said MAC, confirms 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 said benchmark and participates in normal aging, and is when the aging MAC address entries of said benchmark is aging, that all MAC address entries in the said 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 said MAC table arbitrarily according to said 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 said benchmark normal aging, and other MAC address entries except that the aging MAC address entries of said benchmark that is provided with in the said MAC table is not participated in normal aging;
Said the 3rd processing module 63 according to said first module 64 is set setting, when the aging MAC address entries of said benchmark is aging, that all MAC address entries in the said 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 said MAC table, and it is the aging MAC address entries of benchmark that aging at first MAC clauses and subclauses are set.
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 said 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 said benchmark in the said MAC table, said 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, repeats no more at this.
This device embodiment of the present invention is equally through 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 according to the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded 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 said MAC table, confirm the benchmark MAC address entries that wears out;
The aging MAC address entries of said benchmark is set participates in normal aging, when the aging MAC address entries of said benchmark is aging, that all MAC address entries in the said 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 said 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 said MAC table; Perhaps
The MAC clauses and subclauses that at least two switch ports themselves that cooperatively interact of business are learnt are formed said MAC table.
3. method according to claim 2 is characterized in that, and is said according to said MAC table, confirms that the step of the aging MAC address entries of a benchmark is specially:
In said MAC table, select MAC clauses and subclauses arbitrarily according to said 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, said MAC table is a single linked list, and each MAC address entries in the said MAC table is a node of said single linked list; Said method also comprises:
Obtain the MAC clauses and subclauses of up-to-date study;
If it is the aging MAC address entries of said benchmark that the MAC clauses and subclauses of up-to-date study are elected,, the MAC clauses and subclauses of said up-to-date study are added said single linked list with the MAC clauses and subclauses of said up-to-date study gauge outfit as said single linked list; Otherwise, the MAC clauses and subclauses of said up-to-date study are added into the afterbody of said single linked list.
5. method according to claim 4 is characterized in that, is provided with when the aging MAC address entries of said benchmark is participated in normal aging also to comprise:
Other MAC address entries except that the aging MAC address entries of said benchmark that is provided with in the said MAC table is not participated in normal aging.
6. method according to claim 1 and 2 is characterized in that, and is said according to said MAC table, confirms that the step of the aging MAC address entries of a benchmark is specially:
In said 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, said MAC table is a unidirectional circular linked list, and each MAC address entries in the said MAC table is a node of said unidirectional circular linked list; Said 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 the wherein MAC address entries in the said MAC table, the MAC clauses and subclauses of said up-to-date study are added into said unidirectional circular linked list.
8. method according to claim 7 is characterized in that, is provided with when the aging MAC address entries of said benchmark is participated in normal aging also to comprise:
Other all MAC address entries except that the aging MAC address entries of said benchmark are set in the said MAC table also participate in normal aging.
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 said MAC, confirms the benchmark MAC address entries that wears out;
The 3rd processing module is used to be provided with the aging MAC address entries of said benchmark and participates in normal aging, and is when the aging MAC address entries of said benchmark is aging, that all MAC address entries in the said MAC table are aging.
10. device according to claim 9 is characterized in that, said second processing module comprises:
First processing sub is used for selecting MAC clauses and subclauses at said MAC table arbitrarily according to said MAC Address or VLAN address, as the aging MAC address entries of benchmark; Perhaps
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 said benchmark normal aging, and other MAC address entries except that the aging MAC address entries of said benchmark that is provided with in the said MAC table is not participated in normal aging;
Said the 3rd processing module according to said first module is set setting, when the aging MAC address entries of said benchmark is aging, that all MAC address entries in the said MAC table are aging.
12. device according to claim 10 is characterized in that, said second processing module comprises:
The 3rd processing sub is used at said 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 said benchmark normal aging, and other MAC address entries except that the aging MAC address entries of said benchmark that is provided with in the said MAC table is also participated in normal aging;
Said the 3rd processing module according to said second module is set setting, when the aging MAC address entries of said benchmark is aging, that all MAC address entries in the said 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 CN102035721A (en) 2011-04-27
CN102035721B true 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)

Families Citing this family (3)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232447A (en) * 2008-02-28 2008-07-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
EP2073454A1 (en) * 2007-12-19 2009-06-24 Alcatel Lucent Updating a dynamic learning table

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2073454A1 (en) * 2007-12-19 2009-06-24 Alcatel Lucent Updating a dynamic learning table
CN101232447A (en) * 2008-02-28 2008-07-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

Also Published As

Publication number Publication date
CN102035721A (en) 2011-04-27

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
US8867555B2 (en) Method and system for transparent LAN services in a packet network
CN104009926B (en) Multicast method in EVI network and edge device ED
CN100461732C (en) Ethernet technology switching and forwarding method, system and equipment
CN101692646B (en) Method for handling layer-2 forwarding and distributed device
CN101160850B (en) Method and device for forwarding packet
CN103326918A (en) Message forwarding method and message forwarding equipment
CN105490957A (en) Load sharing method and device
CN100358322C (en) Method of multilayer VLAN switching
CN101640621B (en) Method and device for realizing data transmission in wireless network
CN104065582A (en) Message transmission method and gateway device
EP3522454B1 (en) Connectivity fault management in a communication network
CN103780509A (en) Message forwarding method and routing forwarding device
CN102098202A (en) Virtual private topology control method, device and system
EP1944918A1 (en) A method and system for realizing the consistency of the virtual circuit status
US20170195213A1 (en) Multipath switching using per-hop virtual local area network classification
CN102035721B (en) Method and device for aging processing of media access control table entry
CN100479371C (en) Method of broadcast transmitting message and an exchange equipment
US20120224488A1 (en) Method of connectivity monitoring by subscriber line terminating apparatus
CN103354567B (en) A kind of method and apparatus of synchronized multimedia accessing to control address
US20110222541A1 (en) Network System, Edge Node, and Relay Node
CN105493454A (en) Active-active access to transparent interconnection of lots of links (TRILL) edges
CN110445708A (en) Communication means and system in a kind of Convergence gateway
JP2007534191A5 (en)

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