CN107483371B - A kind of MAC Address management method and business board - Google Patents
A kind of MAC Address management method and business board Download PDFInfo
- Publication number
- CN107483371B CN107483371B CN201710860861.0A CN201710860861A CN107483371B CN 107483371 B CN107483371 B CN 107483371B CN 201710860861 A CN201710860861 A CN 201710860861A CN 107483371 B CN107483371 B CN 107483371B
- Authority
- CN
- China
- Prior art keywords
- lpu
- mac address
- address
- slot number
- learning
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/40—Constructional details, e.g. power supply, mechanical construction or backplane
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Abstract
The embodiment of the present invention discloses a kind of MAC Address management method and business board, is related to field of communication technology, to solve the MAC Address number inaccuracy learnt in distributed system, more than the upper limit of user configuration, the problem of leading to system congestion etc., influence user experience.This method comprises: business board LPU determines the destination media access control MAC addresses number in LPU, if destination-mac address number transfinites, then LPU stops MAC address learning, and the MAC Address partly or entirely obtained through active address learning is deleted, the operation of deleting MAC address is synchronized to each LPU in addition to LPU by LPU.Scheme provided in an embodiment of the present invention is suitable for business board LPU.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of distribution system medium access control (Media
Access Control, MAC) address management method and business board.
Background technique
In a distributed system, in a distributed manner for interchanger, the hardware of distribution switch may include master control board card
(Micro Processing Unit, MPU) and multiple business boards (Line Processing Unit, LPU).Wherein, MPU
Having between control channel, any two LPU between LPU also has control channel.For any two LPU, it can pass through
Control channel realizes the communication between them, for example, can carry out the study of MAC Address by control channel.
Currently, the study of MAC Address can be divided into hardware study and two kinds of software learning.For example, hardware study can be benefit
The process learnt with the Software Development Kit (Software Development Kit, SDK) carried on LPU;Software
Study then can be the process for utilizing the CPU on LPU to carry out MAC address learning.The study for the property of can choose in software learning
MAC Address, and MAC Address is synchronized on other business boards of distributed system.For example, according to the business of desired realization
Learn MAC Address needed for the process of service execution.In addition, the hardware of part exchange chip learns, can not preferably handle
Address synchronization and migration problem.Therefore, software learning is the important mode of learning of distribution switch system.
By taking the software learning of MAC Address as an example, software learning process can be divided into following two: active address learning and passive
Address learning.Active address learning refers to when LPU receives the report of the unknown message of source MAC or MAC Address migration
Wen Shi extracts address summary info with the SDK in the LPU, and with carrying out MAC by the CPU that address summary info is sent to the LPU
The process of location study, the MAC Address learnt in this way are referred to as active MAC Address.Wherein, the unknown message of source MAC refers to
The message of MAC address learning was not carried out, the message of MAC Address migration, which refers to from what the migration of other ports came, has been subjected to MAC
The message of address learning.Passive address learning refers to that other LPU pass through address summary info after carrying out active address learning
Control channel between two LPU is sent to the process that the LPU carries out MAC address learning, and the MAC Address learnt in this way is claimed
For passive MAC Address.For LPU after carrying out active address learning, it is passive to be carried out by control channel to other each LPU
Address learning can obtain the MAC Address in each LPU.
Currently, there is a problem of accurately limiting MAC Address number during MAC address learning.For example, one
There are two LPU for setting in a interchanger, the two LPU are respectively LPU1, LPU2.Wherein, MAC Address corresponding to the interchanger
The number upper limit is 1000, and LPU1, LPU2 learn MAC Address simultaneously, and within the same period, Active Learning is to 600 on LPU1
MAC Address, and can be synchronized in LPU2 after LPU1 one MAC Address of every study and carry out passive address learning, on LPU2 actively
Learn to 600 MAC Address, and can be synchronized in LPU1 after the every study a to MAC Address of LPU2 and carry out passive address learning.
Since the MAC Address synchronizing process in interchanger can have lag, i.e., for Active Learning, passive learning process exists
Lag, therefore, after LPU1 and LPU2 600 active MAC Address of each self study, LPU1 and LPU2 do not complete passive address also and learn
Practise, at this point, the CPU on LPU1 and LPU2 determine each self study to MAC Address number be not above the MAC Address number upper limit.But
During actual MAC address learning, above-mentioned MAC address learning mode, which is always met together, generates 1200 MAC Address, has exceeded friendship
There is congestion because MAC Address number exceeds the upper limit so as to cause in same interchanger in the MAC Address number upper limit corresponding to changing planes,
And then the efficiency of transmission between different LPU is reduced, influence user experience.
Summary of the invention
The embodiment of the present invention provides a kind of MAC Address management method and business board, for solving in distribution switch
The MAC Address number inaccuracy learnt, more than the upper limit of user configuration, the problem of leading to system congestion etc., influence user experience.
In order to achieve the above objectives, the present invention adopts the following technical scheme:
A kind of MAC Address management method, this method comprises:
Business board LPU determines the destination media access control MAC addresses number in the LPU;
If the destination-mac address number transfinites, the LPU stops MAC address learning, and deletes partly or entirely through master
The MAC Address that dynamic address learning obtains;
The operation of deleting MAC address is synchronized to each LPU in addition to the LPU by the LPU.
A kind of business board LPU, the LPU include:
Confirmation module, for determining the destination media access control MAC addresses number in business board LPU;
Processing module when the destination-mac address number for determining in the confirmation module transfinites, stops MAC Address
Study;
The processing module is also used to delete the MAC Address partly or entirely obtained through active address learning;
The processing module is also used to for the operation of deleting MAC address to be synchronized to each LPU in addition to the LPU.
A kind of MAC Address management method provided in an embodiment of the present invention and business board, compared with prior art, the present invention
In embodiment, it is first determined the destination-mac address number in LPU, then judge whether destination-mac address number transfinites, if Destination MAC
Location number transfinites, then LPU stops MAC address learning, and deletes the MAC Address partly or entirely obtained through active address learning, and
The operation of deleting MAC address is synchronized to each LPU in addition to the LPU.In the embodiment of the present invention, pass through deleting MAC address
It counts the active address on the LPU to transfinite and is synchronized to the operation of each LPU in addition to the LPU, with making the MAC on each LPU
The shortcomings that location number is reduced, and then the embodiment of the present invention overcomes the prior art, avoids in same interchanger because of MAC Address number
Occur the phenomenon that congestion beyond the upper limit, and then solve the MAC Address number inaccuracy learnt in distributed system, is more than to use
The upper limit of family configuration, the problem of leading to system congestion etc., influence user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the relation schematic diagram between a kind of two or more LPU provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of distribution switch MAC Address method for limiting provided in an embodiment of the present invention;
Fig. 3,4 for another distribution switch MAC Address method for limiting provided in an embodiment of the present invention flow chart;
Fig. 5 is a kind of structural schematic diagram of LPU provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is suitable for a kind of LPU, which can refer in the distribution switch system of MPU and LPU separation
LPU or switchboard stacked system in LPU.Relationship between two or more LPU is shown as shown in Figure 1
It is intended to, wherein having n LPU, n is natural number, and has control channel between every two LPU, all may be used between any two LPU
To realize data transmission by control channel.Wherein, LPU for judge whether MAC Address number transfinites, judge on LPU whether
It some or all of deletes on the LPU in the presence of the MAC Address obtained through active address learning, according to preset rules through active address
Learn obtained MAC Address, by the operation of deleting MAC address be synchronized in each LPU in addition to the LPU.
The embodiment of the invention provides a kind of MAC Address management method, as shown in Fig. 2, this method can as shown in Figure 1
Business board executes, this method comprises:
Step 101, LPU determine the destination-mac address number in the LPU.
Wherein, the destination-mac address number in the LPU can refer to MAC Address sum, the single virtual learnt on the LPU
The corresponding MAC Address number that study is completed of local area network (Virtual Local Area Network, VLAN), single link converge
The corresponding MAC Address number etc. that study is completed of poly- mouth.
Before LPU determines the destination-mac address number in the LPU, the destination-mac address number in the LPU can also be specified
In specially above-mentioned MAC Address number which or which.For example, mesh can be specified with the requirement of user according to the actual situation
Mark MAC Address number.For example, it is the MAC Address sum learnt on LPU that user, which can specify the destination-mac address number, to solve
The problem of MAC Address number learnt on the LPU transfinites.Study is completed corresponding to some or certain VLAN alternatively, working as
When MAC Address number is excessive, user can specify the destination-mac address number in the LPU and study be completed for individual vlan is corresponding
MAC Address number, to solve the problems, such as that the corresponding MAC Address number that study is completed of the VLAN transfinites.
During LPU determines the destination-mac address number in the LPU, destination-mac address number includes learning to arrive on the LPU
MAC Address number, the corresponding MAC Address number that study is completed of individual vlan, single link aggregation mouth is corresponding is completed
At least one of in MAC Address number of habit etc..
If step 102, destination-mac address number transfinite, LPU stops MAC address learning.
Wherein, MAC address learning includes the active address learning and/or passive address learning of MAC Address.Destination MAC
Location number, which transfinites, is greater than first including at least the sum that there is the active address and passive address that obtain through MAC address learning in LPU
Threshold value, the corresponding MAC Address number that study is completed of individual vlan are greater than second threshold, and single link aggregation mouth is corresponding complete
Any one being greater than in third threshold value at the MAC Address number of study.
Wherein, first threshold is the limitation to the MAC Address number summation obtained in LPU through MAC address learning.The thresholding can
Be rule of thumb setting or it is obtained by calculation.For example, the MAC Address number summation obtained in LPU through MAC address learning
When no more than x, congestion phenomenon will not usually occur, then it is x that first threshold, which can be arranged,.Alternatively, can be to one week
The MAC Address number summation obtained in the LPU of middle day part through MAC address learning is counted, and finds out distributed friendship in one week
It changes planes the data such as mean value, the standard deviation of MAC Address number summation obtained through MAC address learning in the LPU of congestion times, further according to
The data settings first threshold such as obtained mean value and standard deviation.Wherein, if first threshold setting is too low, it will cause subsequent steps
The excessive phenomenon of the MAC Address number of middle deletion.For example, it is a that user, which limits first threshold, but do not occur in distribution switch
When congestion phenomenon, the MAC Address number summation obtained in LPU through MAC address learning is still much larger than a;Then, user is most of
It requires to delete a large amount of MAC Address in time, wastes the plenty of time, and the MAC Address number for causing LPU finally to learn is very
It is few, and then compromise the communication function of distribution switch system.If first threshold setting is excessively high, it is unable to reach limitation MAC
The purpose of number of addresses.For example, it is b that user, which limits first threshold, but when congestion phenomenon occurs in distribution switch, in LPU
The MAC Address number obtained through MAC address learning is usually less than b, and then, in most of time, LPU is with can not deleting MAC
Location, therefore, user can not control MAC Address number in the reasonable scope, lead to occur congestion in distribution switch, in turn
The efficiency of transmission between different LPU is reduced, user experience is affected.Wherein, x, a, b are the natural number more than or equal to 2.
Furthermore, it is possible to which second threshold, third threshold value is arranged in the set-up mode with reference to first threshold, this will not be repeated here.
If destination-mac address number transfinites, the process that LPU stops MAC address learning can be with are as follows:
When destination-mac address number transfinites, LPU closes the control channel between the LPU and other LPU, no longer progress MAC
The Active Learning of address and passive learning.
Step 103, LPU delete the MAC Address partly or entirely obtained through active address learning.
The operation of deleting MAC address is synchronized to each LPU in addition to the LPU by step 104, LPU.
To sum up, in the embodiment of the present invention, it is first determined the destination-mac address number in LPU, then judge destination-mac address number
Whether transfinite, if destination-mac address number transfinites, LPU stops MAC address learning, and deletes partly or entirely through active address
Learn obtained MAC Address, and the operation of deleting MAC address is synchronized to each LPU in addition to the LPU.The present invention is implemented
In example, the active address on LPU transfinited by deleting MAC address number and the behaviour for being synchronized to each LPU in addition to the LPU
It the shortcomings that work, reduces the MAC Address number on each LPU, and then the embodiment of the present invention overcomes the prior art, avoids same
There is the phenomenon that congestion because MAC Address number exceeds the upper limit in platform interchanger, and then solves and learnt in distributed system
MAC Address number inaccuracy, more than the upper limit of user configuration, the problem of leading to system congestion etc., influence user experience.
In order to avoid the MAC Address number of deletion is excessive, and then the communication function of distribution switch is damaged, of the invention real
It applies in a kind of possible implementation of example, by the minimum slot number in preset rules LPU not all to slot number or most
The LPU of big slot number deletes the process of active address on LPU and slot number is minimum slot number or most large trough in all LPU
The process that the LPU of position number deletes active address on LPU is limited respectively.Therefore, in the base of implementation as shown in Figure 2
On plinth, it is also implemented as implementation as shown in Figure 3.Wherein, step 103LPU is deleted partly or entirely through active address
Learn obtained MAC Address, can be implemented as step 201 and step 202 or step 203 or step 204:
Step 201, when the minimum slot number or maximum slot number in the not all LPU of slot number, LPU judges that LPU is
It is no to meet preset rules.
Wherein, preset rules are that passive address is not arrived in study to LPU on the target LPU of slot number of the slot number less than LPU,
Or passive address is not arrived in study to LPU on the target LPU of slot number of the slot number greater than LPU.
When preset rules are that LPU does not learn to arrive passive address on the target LPU of slot number of the slot number less than LPU,
Target LPU refers to each LPU of slot number of the slot number less than LPU.When preset rules are the slot that LPU is not greater than LPU in slot number
When passive address is arrived in study on the target LPU of position number, target LPU refers to each LPU of slot number of the slot number greater than LPU.
If step 202, LPU meet preset rules, LPU deletes the active address on LPU, until the MAC Address on LPU
Number do not transfinite or LPU on there is no the MAC Address that obtain through active address learning.
If the preset rules that step 203, the LPU meet are LPU not in the target LPU of slot number of the slot number less than LPU
Passive address is arrived in upper study, then when the slot number of the LPU is the minimum slot number in all LPU, is deleted on LPU through initiatively
The MAC Address that location learns, until the MAC Address number on LPU do not transfinite or LPU on there is no obtain through active address learning
MAC Address.
If the preset rules that step 204, the LPU meet are LPU not in the target LPU of slot number of the slot number greater than LPU
It is upper study arrive passive address, then when the slot number of the LPU is the maximum slot number in all LPU, delete LPU on through actively
The MAC Address that address learning obtains, until the MAC Address number of LPU do not transfinite or LPU on there is no obtain through active address learning
MAC Address.
To sum up, judge whether LPU meets preset rules by LPU in the embodiment of the present invention, and only meet default rule in LPU
When then, LPU is enabled to delete the active address on LPU, until the MAC Address number on LPU do not transfinite or LPU on there is no initiatively
Location.Therefore, the embodiment of the present invention overcomes each LPU and deletes that the active address deleted when the active address of itself is excessive to be lacked
It falls into, and then overcomes the excessive defect for deleting address of transfiniting, and then the user experience is improved.
It should be noted that the embodiment of the present invention can also be applied in other application scenarios, for example, every in computer room
Platform computer can correspond to a MAC Address, therefore limit in the embodiment of the present invention MAC Address number, can limit one
The quantity of the computer of network can be connected in a computer room.
For each LPU in being synchronized to the operation of LPU deleting MAC address in addition to the LPU, in the embodiment of the present invention
A kind of possible implementation in, the address summary info of deleted MAC Address is obtained by LPU, and the address is plucked
It wants on synchronizing information to each LPU in addition to the LPU.It therefore, can be on the basis of implementation as shown in Figure 2
It is embodied as implementation as shown in Figure 4.Wherein, the operation of deleting MAC address is synchronized in addition to LPU by step 104LPU
Each LPU, can be implemented as step 301 and step 302:
Step 301, LPU obtain the address summary info of deleted MAC Address.
Wherein, the content of the address summary info includes source MAC, vlan number and port numbers.For example, deleted
The source MAC of MAC Address can be [111.222.333], when LPU deletes the MAC Address, corresponding vlan number be 10,
Port numbers are 100, and in this case, address summary info corresponding to the deleted MAC Address can be expressed as
[111.222.333,10,100].Also, it can be with label be deleted, to facilitate in addition to the LPU on the address summary info
Each LPU subsequent delete operation is carried out to the MAC Address.
Step 302, LPU are by the control channel between the LPU and each LPU, to each LPU hair in addition to the LPU
Address summary info is sent, in order to which each LPU completes delete operation identical with the LPU according to the address summary info.
To sum up, the address summary info of deleted MAC Address on the LPU is obtained in the embodiment of the present invention by LPU, and
By the address, summary info is synchronized on each LPU in addition to the LPU, and triggering deletes the LPU except each LPU on the LPU
Therefore the MAC Address of upper deletion avoids and draws due to other LPU in addition to the LPU do not synchronize the delete operation on the LPU
The MAC Address asynchrony phenomenon risen, and then enable users to inquire identical MAC Address on each LPU, improve user's body
It tests.
The embodiment of the invention provides a kind of LPU40, as shown in figure 5, the LPU40 includes:
Confirmation module 41, for determining the destination media access control MAC addresses number in business board LPU.
Processing module 42 when the destination-mac address number for determining in determining module 41 transfinites, stops MAC address learning.
Processing module 42 is also used to delete the MAC Address partly or entirely obtained through active address learning.
Processing module 42 is also used to for the operation of deleting MAC address to be synchronized to each LPU in addition to LPU.
It should be noted that destination-mac address number transfinites including at least there is the master that obtains through MAC address learning in LPU
The sum of dynamic address and passive address is greater than first threshold, and the corresponding MAC Address number that study is completed of individual vlan is greater than the
Two threshold values, the corresponding MAC Address number that study is completed of single link aggregation mouth are greater than any one in third threshold value.
In a kind of possible design of the embodiment of the present invention, processing module 42 is also used to:
Obtain the address summary info of deleted MAC Address;
By the control channel between LPU and each LPU, address abstract letter is sent to each LPU in addition to the LPU
Breath, in order to which each LPU completes delete operation identical with LPU according to summary info.
In a kind of possible design of the embodiment of the present invention, processing module 42 is also used to:
If maximum slot number or minimum slot number in the not all LPU of the slot number of LPU, slot number is natural number, then
Judge whether LPU meets preset rules, preset rules are that LPU does not learn on the target LPU of slot number of the slot number less than LPU
To passive address or LPU, passive address is not arrived in study on the target LPU of slot number of the slot number greater than LPU;
If LPU meets preset rules, delete the active address on LPU, do not transfinite until the MAC Address number on LPU or
There is no the MAC Address obtained through active address learning on LPU.
In a kind of possible design of the embodiment of the present invention, processing module 42 is also used to:
If the preset rules that LPU meets are that quilt is not arrived in study to LPU on the target LPU of slot number of the slot number less than LPU
It deletes and is obtained on LPU through active address learning then when the slot number of LPU is the minimum slot number in all LPU in dynamic address
MAC Address, until the MAC Address number on LPU do not transfinite or LPU on there is no the MAC Address that obtain through active address learning;
If the preset rules that LPU meets are that quilt is not arrived in study to LPU on the target LPU of slot number of the slot number greater than LPU
Dynamic address when then the slot number of LPU is the maximum slot number in all LPU, is deleted and is obtained on LPU through active address learning
MAC Address, until the MAC Address number of LPU do not transfinite or LPU on there is no the MAC Address that obtain through active address learning.
To sum up, in the embodiment of the present invention, it is first determined the destination-mac address number in LPU, then judge destination-mac address number
Whether transfinite, if destination-mac address number transfinites, LPU stops MAC address learning, and deletes partly or entirely through active address
Learn obtained MAC Address, and the operation of deleting MAC address is synchronized to each LPU in addition to the LPU.The present invention is implemented
In example, the active address on LPU transfinited by deleting MAC address number and the behaviour for being synchronized to each LPU in addition to the LPU
It the shortcomings that work, reduces the MAC Address number on each LPU, and then the embodiment of the present invention overcomes the prior art, avoids same
There is the phenomenon that congestion because MAC Address number exceeds the upper limit in platform interchanger, and then solves and learnt in distributed system
MAC Address number inaccuracy, more than the upper limit of user configuration, the problem of leading to system congestion etc., influence user experience.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Help software that the mode of required common hardware is added to realize, naturally it is also possible to which the former is more preferably by hardware, but in many cases
Embodiment.Based on this understanding, the portion that technical solution of the present invention substantially in other words contributes to the prior art
Dividing can be embodied in the form of software products, which stores in a readable storage medium, such as count
The floppy disk of calculation machine, hard disk or CD etc., including some instructions are used so that computer equipment (it can be personal computer,
Server or the network equipment etc.) execute method described in each embodiment of the present invention.
The above description is merely a specific embodiment, but the protection scope of the embodiment of the present invention is not limited to
This, anyone skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement,
It should all cover within the protection scope of the embodiment of the present invention.Therefore, the protection scope of the embodiment of the present invention should be with the right
It is required that protection scope subject to.
Claims (10)
1. a kind of MAC Address management method, which is characterized in that the described method includes:
Business board LPU determines the destination media access control MAC addresses number in the LPU;
If the destination-mac address number transfinites, the LPU stops MAC address learning, and deletes partly or entirely through initiatively
The MAC Address that location learns;
The operation of deleting MAC address is synchronized to each LPU in addition to the LPU by the LPU.
2. the method according to claim 1, wherein the destination-mac address number transfinites and includes at least: described
The sum that there is the active address and passive address that obtain through the MAC address learning in LPU is greater than first threshold, single virtual
The corresponding MAC Address number that study is completed of local area network VLAN is greater than second threshold, and single link aggregation mouth is corresponding to be completed
The MAC Address number of study is greater than any one in third threshold value.
3. method according to claim 1 or 2, which is characterized in that the operation of deleting MAC address is synchronized to by the LPU
Each LPU in addition to the LPU, comprising:
The LPU obtains the address summary info of deleted MAC Address;
The LPU is by the control channel between the LPU and each LPU, to described each in addition to the LPU
LPU sends the address summary info, in order to which each LPU is completed and the LPU phase according to the address summary info
Same delete operation.
4. method according to claim 1 or 2, which is characterized in that if in the not all LPU of the slot number of the LPU
Minimum slot number or maximum slot number, it is described to delete the MAC Address partly or entirely obtained through active address learning, comprising:
The LPU judges whether the LPU meets preset rules, and the preset rules are not less than institute in slot number for the LPU
State the slot number that study on the target LPU of the slot number of LPU is not greater than the LPU to passive address or the LPU in slot number
Target LPU on study arrive passive address;
If the LPU meets the preset rules, the LPU deletes the MAC obtained through active address learning on the LPU
Address, until the MAC Address number on the LPU do not transfinite or the LPU on there is no the MAC that is obtained through active address learning
Location.
5. method according to claim 1 or 2, which is characterized in that if the slot number of the LPU be in all LPU most
Small slot number or maximum slot number, it is described to delete the MAC Address partly or entirely obtained through active address learning, comprising:
If the preset rules that the LPU meets are the LPU not on the target LPU of slot number of the slot number less than the LPU
Learn to passive address, then when the slot number of the LPU is the minimum slot number in all LPU, described in the LPU deletion
The upper MAC Address obtained through active address learning of LPU, until the MAC Address number on the LPU do not transfinite or the LPU on not
In the presence of the MAC Address obtained through active address learning;
If the preset rules that the LPU meets are the LPU not on the target LPU of slot number of the slot number greater than the LPU
Learn to passive address, then when the slot number of the LPU is the maximum slot number in all LPU, described in the LPU deletion
The MAC Address obtained through active address learning on LPU, until the MAC Address number of the LPU do not transfinite or the LPU on not
In the presence of the MAC Address obtained through active address learning.
6. a kind of business board LPU, which is characterized in that the LPU includes:
Confirmation module, for determining the destination media access control MAC addresses number in business board LPU;
Processing module when the destination-mac address number for determining in the confirmation module transfinites, stops MAC address learning;
The processing module is also used to delete the MAC Address partly or entirely obtained through active address learning;
The processing module is also used to for the operation of deleting MAC address to be synchronized to each LPU in addition to the LPU.
7. LPU according to claim 6, which is characterized in that the destination-mac address number transfinites including at least the LPU
The middle sum that there is the active address and passive address that obtain through the MAC address learning is greater than first threshold, single virtual office
Domain nets the corresponding MAC Address number that study is completed of VLAN and is greater than second threshold, and single link aggregation mouth is corresponding to be completed
The MAC Address number of habit is greater than any one in third threshold value.
8. LPU according to claim 6 or 7, which is characterized in that the processing module is also used to:
Obtain the address summary info of deleted MAC Address;
By the control channel between the LPU and each LPU, institute is sent to each LPU in addition to the LPU
Address summary info is stated, is grasped in order to which each LPU completes deletion identical with the LPU according to the address summary info
Make.
9. LPU according to claim 6 or 7, which is characterized in that if in the not all LPU of the slot number of the LPU most
Small slot number or maximum slot number, the then processing module are also used to:
Judge whether the LPU meets preset rules, the preset rules are that the LPU is not less than the LPU's in slot number
Study is to passive address or the LPU not in the target of slot number of the slot number greater than the LPU on the target LPU of slot number
Passive address is arrived in study on LPU;
If the LPU meets the preset rules, the MAC Address obtained on the LPU through active address learning is deleted, until
MAC Address number on the LPU do not transfinite or the LPU on there is no the MAC Address that obtain through active address learning.
10. LPU according to claim 6 or 7, which is characterized in that if the slot number of the LPU be in all LPU most
Small slot number or maximum slot number, the then processing module are also used to:
If the preset rules that the LPU meets are the LPU not on the target LPU of slot number of the slot number less than the LPU
Learn to passive address, then when the slot number of the LPU is the minimum slot number in all LPU, deletes on the LPU through master
The MAC Address that dynamic address learning obtains, until the MAC Address number on the LPU do not transfinite or the LPU on there is no through actively
The MAC Address that address learning obtains;
If the preset rules that the LPU meets are the LPU not on the target LPU of slot number of the slot number greater than the LPU
Learn to passive address, then when the slot number of the LPU is the maximum slot number in all LPU, delete on the LPU through master
The MAC Address that dynamic address learning obtains, until the MAC Address number of the LPU do not transfinite or the LPU on there is no through initiatively
The MAC Address that location learns.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710860861.0A CN107483371B (en) | 2017-09-21 | 2017-09-21 | A kind of MAC Address management method and business board |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710860861.0A CN107483371B (en) | 2017-09-21 | 2017-09-21 | A kind of MAC Address management method and business board |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107483371A CN107483371A (en) | 2017-12-15 |
CN107483371B true CN107483371B (en) | 2019-11-05 |
Family
ID=60586219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710860861.0A Active CN107483371B (en) | 2017-09-21 | 2017-09-21 | A kind of MAC Address management method and business board |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107483371B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995315B (en) * | 2017-12-26 | 2021-05-07 | 北京天融信网络安全技术有限公司 | Method and device for synchronizing information between service boards, storage medium and computer equipment |
CN113037654B (en) * | 2021-02-25 | 2022-04-05 | 迈普通信技术股份有限公司 | Distributed switch service board virtualization method and device and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094187A (en) * | 2007-07-30 | 2007-12-26 | 杭州华三通信技术有限公司 | Method, device, and operation board capable of learning address of medium access control |
CN101719877A (en) * | 2010-01-15 | 2010-06-02 | 福建星网锐捷网络有限公司 | Message forwarding device, network equipment and method |
CN102045200A (en) * | 2010-12-24 | 2011-05-04 | 武汉烽火网络有限责任公司 | Conditional synchronization method for MAC address table entry of distributed switch |
CN103095717A (en) * | 2013-01-28 | 2013-05-08 | 杭州华三通信技术有限公司 | Method and network equipment preventing media access control (MAC) address table from overflowing and attacking |
CN106330652A (en) * | 2015-06-30 | 2017-01-11 | 中兴通讯股份有限公司 | Learning method and device of MAC address in virtual local area network of switch |
CN106603736A (en) * | 2015-10-20 | 2017-04-26 | 中兴通讯股份有限公司 | MAC address processing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9098434B2 (en) * | 2012-09-11 | 2015-08-04 | Ciena Corporation | Load balancing systems and methods of MAC learning in multi-slot architectures |
-
2017
- 2017-09-21 CN CN201710860861.0A patent/CN107483371B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094187A (en) * | 2007-07-30 | 2007-12-26 | 杭州华三通信技术有限公司 | Method, device, and operation board capable of learning address of medium access control |
CN101719877A (en) * | 2010-01-15 | 2010-06-02 | 福建星网锐捷网络有限公司 | Message forwarding device, network equipment and method |
CN102045200A (en) * | 2010-12-24 | 2011-05-04 | 武汉烽火网络有限责任公司 | Conditional synchronization method for MAC address table entry of distributed switch |
CN103095717A (en) * | 2013-01-28 | 2013-05-08 | 杭州华三通信技术有限公司 | Method and network equipment preventing media access control (MAC) address table from overflowing and attacking |
CN106330652A (en) * | 2015-06-30 | 2017-01-11 | 中兴通讯股份有限公司 | Learning method and device of MAC address in virtual local area network of switch |
CN106603736A (en) * | 2015-10-20 | 2017-04-26 | 中兴通讯股份有限公司 | MAC address processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107483371A (en) | 2017-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220103452A1 (en) | Tracing logical network packets through physical network | |
CN106664261B (en) | A kind of methods, devices and systems configuring flow entry | |
KR101620801B1 (en) | Network resource matching | |
US9088503B2 (en) | Multi-tenant information processing system, management server, and configuration management method | |
CN105812260B (en) | A kind of method, apparatus and system that control mac address forwarding table is sent | |
TW201524162A (en) | Workload deployment with real-time consideration of global network congestion | |
CN103825954A (en) | OpenFlow control method and corresponding insert, platform and network thereof | |
CN109981493B (en) | Method and device for configuring virtual machine network | |
CN104168209B (en) | Multiple access SDN message forwarding method and controller | |
CN103152200B (en) | Virtual machine migration method, switch, network management device and network system | |
CN106383736B (en) | Ports-Extending method and apparatus | |
CN105379206B (en) | Message processing method, forwarding device and message handling system in network | |
CN105791175A (en) | Method and equipment for controlling transmission resources in software defined network SDN | |
EP4271114A3 (en) | Session type manager entity, control plane function entity, method and computer program for session management in nextgen mobile core networks | |
CN108683607A (en) | Virtual machine traffic control method, device and server | |
CN107104824A (en) | A kind of network topology determines method and apparatus | |
CN107483371B (en) | A kind of MAC Address management method and business board | |
WO2019233124A1 (en) | Network slice creation method and management and orchestration system | |
CN108540387A (en) | Method for network access control and device | |
CN111049747A (en) | Intelligent virtual network path planning method for large-scale container cluster | |
CN106998299B (en) | The recognition methods of the network equipment, apparatus and system in data center network | |
CN106487683A (en) | A kind of processing method and processing device of message | |
CN109471725A (en) | Resource allocation methods, device and server | |
US8762485B2 (en) | Information system having computer and storage apparatus coupled to network | |
CN106411575B (en) | Cloud environment lower network configures method of calibration and relevant device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd. Address before: 610041, 17 floor, maple building, 1 building, 288 Tianfu street, Chengdu, Sichuan. Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd. |