CN107483371A - 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
- CN107483371A CN107483371A CN201710860861.0A CN201710860861A CN107483371A CN 107483371 A CN107483371 A CN 107483371A CN 201710860861 A CN201710860861 A CN 201710860861A CN 107483371 A CN107483371 A CN 107483371A
- 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.)
- Granted
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 communication technical field, inaccurate to solve the MAC Address number that is learnt in distributed system, more than the upper limit of user configuration, causes system congestion etc., the problem of influenceing Consumer's Experience.This method includes: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 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 LPU by LPU.Scheme provided in an embodiment of the present invention is applied to business board LPU.
Description
Technical field
The present embodiments relate to communication technical field, more particularly to a kind of distribution system medium access control
(Media Access Control, MAC) address management method and business board.
Background technology
In a distributed system, in a distributed manner exemplified by interchanger, the hardware of distribution switch can include master control board card
(Micro Processing Unit, MPU) and multiple business boards (Line Processing Unit, LPU).Wherein, MPU
Having between LPU between control passage, any two LPU also has control passage.For any two LPU, it can pass through
Control passage, the communication between them is realized, such as, the study of MAC Address can be carried out by control passage.
At present, the study of MAC Address can be divided into two kinds of hardware study and software learning.For example hardware study can be profit
The process learnt with the SDK (Software Development Kit, SDK) carried on LPU;Software
Study can be then the process that MAC address learning is carried out using the CPU on LPU.In software learning can selectivity study
MAC Address, and MAC Address is synchronized on other business boards of distributed system.Such as the industry according to desired realization
Business learns the MAC Address needed for the process of service execution.In addition, the hardware study of part exchange chip, can not preferably locate
Manage 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 by
Dynamic address learning.Active address learning refer to when LPU receive a unknown message of source MAC or MAC Address migration
During message, address summary info is extracted with the SDK in the LPU, and address summary info is sent to the CPU progress of the LPU
The process of MAC address learning, the MAC Address so learnt are referred to as active MAC Address.Wherein, source MAC is unknown
Message refers to the message for not carrying out MAC address learning, and the message of MAC Address migration refers to the migration from other ports and come
By the message of MAC address learning.Passive address learning refers to other LPU and address is made a summary after active address learning is carried out
Information is sent to the process of LPU progress MAC address learnings by the control passage between two LPU, so learns
MAC Address is referred to as passive MAC Address.LPU, can be every to other by control passage after active address learning is carried out
Individual LPU carries out passive address learning, you can obtains the MAC Address in each LPU.
At present, during MAC address learning, the problem of can not accurately limiting MAC Address number be present.For example, one
Two LPU are provided with individual interchanger, the two LPU are respectively LPU1, LPU2.Wherein, MAC corresponding to the interchanger
The location number upper limit is 1000, and LPU1, LPU2 learn MAC Address simultaneously, and within the same period, Active Learning is to 600 on LPU1
Individual MAC Address, and LPU1 often learns to be synchronized in LPU2 behind a MAC address to carry out passive address learning, it is main on LPU2
Dynamic study is to 600 MAC addresses, and LPU2 often learns to be synchronized in LPU1 after to a MAC Address and carries out passive address
Practise.Because the MAC Address synchronizing process in interchanger can have hysteresis, i.e., for Active Learning, passive learning
There is hysteresis in journey, therefore, after LPU1 and LPU2 600 active MAC Address of each self study, LPU1 and LPU2 do not complete quilt also
Dynamic address learning, now, the CPU on LPU1 and LPU2 determine each self study to MAC Address number be not above MAC Address number
The upper limit.But during the MAC address learning of reality, above-mentioned MAC address learning mode, which is always met together, produces 1200 MAC Address,
Beyond the MAC Address number upper limit corresponding to interchanger, so as to cause in same interchanger because MAC Address number exceeds the upper limit
And there is congestion, and then the efficiency of transmission between different LPU is reduced, influence Consumer's Experience.
The content 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 learnt is inaccurate, more than the upper limit of user configuration, causes system congestion etc., influences asking for Consumer's Experience
Topic.
To reach above-mentioned purpose, the present invention adopts the following technical scheme that:
A kind of MAC Address management method, this method include:
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 warp
The MAC Address that active 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:
Module is confirmed, for determining the destination media access control MAC addresses number in business board LPU;
Processing module, when the destination-mac address number for being determined in the confirmation module transfinites, stop MAC Address
Study;
The processing module, it is additionally operable to delete the MAC Address partly or entirely obtained through active address learning;
The processing module, it is additionally operable 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, this hair
In bright embodiment, it is first determined the destination-mac address number in LPU, then judge whether destination-mac address number transfinites, if target
MAC Address number transfinites, then LPU stops MAC address learning, and with deleting the MAC partly or entirely obtained through active address learning
Location, 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 deletion
Active address on the LPU that MAC Address number transfinites simultaneously is synchronized to the operation of each LPU in addition to the LPU, makes on each LPU
MAC Address number reduce, and then the shortcomings that the embodiment of the present invention overcomes prior art, avoid in same interchanger because
There is the phenomenon of congestion beyond the upper limit in MAC Address number, and then solves the MAC Address number learnt in distributed system not
Accurately, more than the upper limit of user configuration, system congestion etc. is caused, the problem of influenceing Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will to embodiment or
The required accompanying drawing used is briefly described in description of the prior art, it should be apparent that, drawings in the following description are only
Some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, also
Other accompanying drawings can be obtained according to these accompanying drawings.
Relation schematic diagrams of the Fig. 1 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 be another distribution switch MAC Address method for limiting provided in an embodiment of the present invention flow chart;
Fig. 5 is a kind of LPU structural representation provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention is applied to a kind of LPU, and the LPU can refer to the distribution switch system of MPU and LPU separation
In LPU, or the LPU in switchboard stacked system.Relation between two or more LPU as shown in Figure 1
Schematic diagram, wherein it is natural number to have n LPU, n, and there is control passage between each two LPU, between any two LPU
Data transfer can be realized by control passage.Wherein, LPU is used to judge whether MAC Address number transfinite, judged on LPU
Deleted with the presence or absence of the MAC Address obtained through active address learning, according to preset rules part or all of through master on the LPU
MAC Address that dynamic address learning obtains, the operation of deleting MAC address is synchronized in each LPU in addition to the LPU.
The embodiments of the invention provide a kind of MAC Address management method, as shown in Fig. 2 this method can be as shown in Figure 1
Business board perform, this method includes:
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 MAC Address number of study, single link have been completed corresponding to LAN (Virtual Local Area Network, VLAN)
MAC Address number of study etc. has been completed corresponding to convergence mouth.
Before the destination-mac address number during LPU determines 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 it can be specified according to the requirement of actual conditions and user
Destination-mac address number.For example, the MAC Address sum that user can specify the destination-mac address number on LPU to learn, with
The MAC Address number for solving the problems, such as to learn on the LPU transfinites.Or when the completion corresponding to some or some VLAN
When the MAC Address number of habit is excessive, user can specify the destination-mac address number in the LPU to be completed corresponding to individual vlan
The MAC Address number of study, to solve the problems, such as that the MAC Address number that study has been completed corresponding to 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, study has been completed corresponding to individual vlan MAC Address number, completed to learn corresponding to single link aggregation mouth
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 of MAC Address and/or passive address learning.Destination MAC
Location number transfinites is more than first including at least the sum that the active address obtained through MAC address learning and passive address in LPU be present
Threshold value, the MAC Address number that study has been completed corresponding to individual vlan are more than Second Threshold, corresponding to single link aggregation mouth
The MAC Address number of study is completed more than any one in the 3rd threshold value.
Wherein, first threshold is the limitation of the MAC Address number summation to being obtained in LPU through MAC address learning.The thresholding
Can rule of thumb it set or by being calculated.For example the MAC Address number obtained in LPU through MAC address learning is total
During with no more than x, congestion phenomenon will not generally occur, then it is x that can, which sets first threshold,.Or can be to one
The MAC Address number summation obtained in week in the LPU of day part through MAC address learning is counted, and is obtained distributed in one week
The data such as the average of the MAC Address number summation obtained in the LPU of switch congestion period through MAC address learning, standard deviation, then
According to data setting first thresholds such as obtained averages and standard deviation.Wherein, if first threshold setting is too low, after causing
Continue the excessive phenomenon of the MAC Address number deleted in step.For example it is a that user, which limits first threshold, but distribution switch
In when not occurring congestion phenomenon, the MAC Address number summation obtained in LPU through MAC address learning is still much larger than a;Then, use
Family is required for deleting substantial amounts of MAC Address in most of time, wastes the plenty of time, and causes what LPU finally learnt
MAC Address number is seldom, and then compromises the communication function of distribution switch system.If first threshold setting is too high, can not
Reach the purpose of limitation MAC Address number.For example it is b that user, which limits first threshold, but when congestion occurs in distribution switch
During phenomenon, the MAC Address number obtained in LPU through MAC address learning is typically smaller than b, then, in most of time, LPU
Can not deleting MAC address, therefore, user can not by MAC Address number control in the reasonable scope, cause distribution switch
In there is congestion, and then reduce the efficiency of transmission between different LPU, have impact on Consumer's Experience.Wherein, x, a, b to be more than or
Natural number equal to 2.
Furthermore, it is possible to which the set-up mode with reference to first threshold sets Second Threshold, the 3rd threshold value, will not be described here.
If destination-mac address number transfinites, the process that LPU stops MAC address learning can be:
When destination-mac address number transfinites, control passage that LPU is closed between the LPU and other LPU is no longer carried out
The Active Learning of MAC 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 is simultaneously synchronized to the behaviour of each LPU in addition to the LPU
The shortcomings that work, reduces the MAC number of addresses on each LPU, and then the embodiment of the present invention overcomes prior art, avoid same
There is the phenomenon of congestion because MAC Address number exceeds the upper limit in one interchanger, and then solve in distributed system and learnt
MAC Address number it is inaccurate, more than the upper limit of user configuration, cause system congestion etc., the problem of influenceing Consumer's Experience.
It is excessive in order to avoid the MAC Address number of deletion, and then the communication function of distribution switch is damaged, in the present invention
In a kind of possible implementation of embodiment, by the minimum slot number in preset rules LPU not all to slot number or
The LPU of maximum slot number deletes the process of active address on LPU and slot number is minimum slot number in all LPU or most
The process that the LPU of big slot number deletes active address on LPU is limited respectively.Therefore, in realization side as shown in Figure 2
On the basis of formula, the implementation as shown in Fig. 3 is also implemented as.Wherein, step 103LPU is deleted partly or entirely through master
The MAC addresses that dynamic address learning obtains, it is possible to achieve be step 201 and step 202 or step 203 or step 204:
Step 201, when the minimum slot number in the not all LPU of slot number or maximum slot number, LPU judges that LPU is
It is no to meet preset rules.
Wherein, preset rules are that LPU not arrive passively on the target LPU of slot number of the slot number less than LPU by study
Location, or passive address is not arrived in study to LPU on the target LPU of slot number of the slot number more than LPU.
When preset rules are that LPU is not learning 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 groove that LPU is not more 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 more than LPU.
If step 202, LPU meet preset rules, LPU deletes the active address on LPU, until the MAC on LPU
Location number do not transfinite or LPU on the MAC Address that is obtained through active address learning is not present.
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 actively
The MAC Address that address learning obtains, until the MAC Address number on LPU do not transfinite or LPU on be not present through active address learning
Obtained 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 more than LPU
Passive address is arrived in upper study, then when the slot number of the LPU is the maximum slot number in all LPU, delete LPU on through master
The MAC Address that dynamic address learning obtains, until LPU MAC Address number do not transfinite or LPU on be not present through active address learning
Obtained MAC Address.
To sum up, judge whether LPU meets preset rules by LPU in the embodiment of the present invention, and only meet in LPU default
When regular, make LPU delete LPU on active address, until the MAC Address number on LPU do not transfinite or LPU on be not present actively
Address.Therefore, the embodiment of the present invention overcomes each LPU to delete the active address deleted during the active address of itself excessive
Defect, so overcome it is excessive delete the defects of transfiniting address, and then improve Consumer's Experience.
It should be noted that the embodiment of the present invention can also be applied in other application scenarios, such as, in computer room
Every computer can correspond to a MAC Address, therefore MAC Address number is limited in the embodiment of the present invention, can be with limitation
The quantity of the computer of network can be connected in one computer room.
For each LPU during the operation of LPU deleting MAC address is synchronized in addition to the LPU, implement in the present invention
In a kind of possible implementation of example, the address summary info of deleted MAC Address is obtained by LPU, and by the address
Summary info is synchronized on each LPU in addition to the LPU.Therefore, on the basis of implementation as shown in Figure 2, may be used also
To be embodied as implementation as shown in Figure 4.Wherein, step 104LPU by the operation of deleting MAC address be synchronized to except LPU with
Outer each LPU, it is possible to achieve be 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.It is 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, the address summary info corresponding to the deleted MAC Address can be expressed as
[111.222.333,10,100].Also, it can be carried on the address summary info and delete mark, to facilitate in addition to the LPU
Each LPU follow-up deletion action is carried out to the MAC Address.
Step 302, LPU are sent out by the control passage between the LPU and each LPU to each LPU in addition to the LPU
Address summary info is sent, in order to which each LPU is completed and the LPU identical deletion actions 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 the address summary info is synchronized on each LPU in addition to the LPU, triggering is somebody's turn to do except each LPU on the LPU is deleted
The MAC Address deleted on LPU, therefore, avoid because of the deletion action on the not synchronous LPU of other LPU in addition to the LPU
Caused by MAC Address asynchrony phenomenon, and then enable users to inquire identical MAC Address on each LPU, improve
Consumer's Experience.
The embodiments of the invention provide a kind of LPU40, as shown in figure 5, the LPU40 includes:
Module 41 is confirmed, for determining the destination media access control MAC addresses number in business board LPU.
Processing module 42, when the destination-mac address number for being determined in determining module 41 transfinites, stop MAC addresses and learn
Practise.
Processing module 42, it is additionally operable to delete the MAC Address partly or entirely obtained through active address learning.
Processing module 42, it is additionally operable 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 the master that is obtained through MAC address learning in LPU being present
The sum of dynamic address and passive address is more than first threshold, and the MAC Address number of study has been completed corresponding to individual vlan more than the
Two threshold values, the MAC Address number that study has been completed corresponding to single link aggregation mouth are more than any one in the 3rd threshold value.
In a kind of possible design of the embodiment of the present invention, processing module 42, it is additionally operable to:
Obtain the address summary info of deleted MAC Address;
By the control passage between LPU and each LPU, address summary letter is sent to each LPU in addition to the LPU
Breath, in order to which each LPU is completed and LPU identical deletion actions according to summary info.
In a kind of possible design of the embodiment of the present invention, processing module 42, it is additionally operable to:
If maximum slot number or minimum slot number in the not all LPU of LPU slot number, slot number is natural number, then
Judge whether LPU meets preset rules, preset rules are that LPU does not go to school in the target LPU of slot number of the slot number less than LPU
Passive address is practised, or passive address is not arrived in study to LPU on the target LPU of slot number of the slot number more than LPU;
If LPU meets preset rules, delete the active address on LPU, do not transfinite until the MAC Address number on LPU or
The MAC Address obtained through active address learning is not present on LPU.
In a kind of possible design of the embodiment of the present invention, processing module 42, it is additionally operable to:
If the preset rules that LPU meets is LPU, quilt is not arrived in study on the target LPU of slot number of the slot number less than LPU
Dynamic address, then when LPU slot number is the minimum slot number in all LPU, delete being obtained through active address learning on LPU
The MAC Address arrived, until the MAC Address number on LPU do not transfinite or LPU on the MAC that is obtained through active address learning is not present
Location;
If the preset rules that LPU meets is LPU, quilt is not arrived in study on the target LPU of slot number of the slot number more than LPU
Dynamic address, then when LPU slot number is the maximum slot number in all LPU, deletes and obtained on LPU through active address learning
MAC Address, until LPU MAC Address number do not transfinite or LPU on the MAC Address that is obtained through active address learning is not present.
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 is simultaneously synchronized to the behaviour of each LPU in addition to the LPU
The shortcomings that work, reduces the MAC number of addresses on each LPU, and then the embodiment of the present invention overcomes prior art, avoid same
There is the phenomenon of congestion because MAC Address number exceeds the upper limit in one interchanger, and then solve in distributed system and learnt
MAC Address number it is inaccurate, more than the upper limit of user configuration, cause system congestion etc., the problem of influenceing Consumer's Experience.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can
Realized by the mode of software plus required common hardware, naturally it is also possible to which by hardware, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme substantially contributed to prior art in other words
Part can be embodied in the form of software product, and the computer software product is stored in the storage medium that can be read, such as
The floppy disk of computer, hard disk or CD etc., including some instructions are make it that a computer equipment (can be individual calculus
Machine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
The foregoing is only a specific embodiment of the invention, but the protection domain of the embodiment of the present invention is not limited to
This, any one skilled in the art the invention discloses technical scope in, can readily occur in change or replace
Change, should all cover within the protection domain of the embodiment of the present invention.Therefore, the protection domain of the embodiment of the present invention should be with described
Scope of the claims is defined.
Claims (10)
1. a kind of MAC Address management method, it is characterised in that methods described 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 on one's own initiative
Location learns obtained MAC Address;
The operation of deleting MAC address is synchronized to each LPU in addition to the LPU by the LPU.
2. according to the method for claim 1, it is characterised in that the destination-mac address number, which transfinites, to be comprised at least:It is described
The sum that the active address obtained through the MAC address learning and passive address in LPU be present is more than first threshold, single virtual
The MAC Address number that study has been completed corresponding to LAN VLAN is more than Second Threshold, has been completed corresponding to single link aggregation mouth
The MAC Address number of study is more than any one in the 3rd threshold value.
3. method according to claim 1 or 2, it is characterised in that the operation of deleting MAC address is synchronized to by the LPU
Each LPU in addition to the LPU, including:
The LPU obtains the address summary info of deleted MAC Address;
The LPU is by the control passage 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 identicals according to the summary info
Deletion action.
4. method according to claim 1 or 2, it is characterised in that if in the not all LPU of the slot number of the LPU
Minimum slot number or maximum slot number, the MAC Address that the deletion partly or entirely obtains through active address learning, including:
The LPU judges whether the LPU meets preset rules, and the preset rules are not less than institute for the LPU in slot number
State study on the target LPU of LPU slot number and arrive passive address, or the LPU is not more than the slot number of 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 the MAC that is obtained through active address learning is not present
Location.
5. method according to claim 1 or 2, it is characterised in that if the slot number of the LPU be in all LPU most
Small slot number or maximum slot number, the MAC Address that the deletion partly or entirely obtains through active address learning, including:
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 is deleted
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 in the target of slot number of the slot number more than the LPU
Passive address is arrived in study on LPU, then when the slot number of the LPU is the maximum slot number in all LPU, the LPU is deleted
The MAC Address obtained through active address learning on the LPU, until the MAC Address number of the LPU does not transfinite or the LPU
It is upper that the MAC Address obtained through active address learning is not present.
6. a kind of business board LPU, it is characterised in that the LPU includes:
Module is confirmed, for determining the destination media access control MAC addresses number in business board LPU;
Processing module, when the destination-mac address number for being determined in the confirmation module transfinites, stop MAC address learning;
The processing module, it is additionally operable to delete the MAC Address partly or entirely obtained through active address learning;
The processing module, it is additionally operable 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, it is characterised in that the destination-mac address number transfinites including at least the LPU
It is middle to be more than first threshold, single virtual office in the presence of the active address obtained through the MAC address learning and the sum of passive address
The MAC Address number that study has been completed corresponding to the net VLAN of domain is more than Second Threshold, has completed to learn corresponding to single link aggregation mouth
The MAC Address number of habit is more than any one in the 3rd threshold value.
8. the LPU according to claim 6 or 7, it is characterised in that the processing module, be additionally operable to:
Obtain the address summary info of deleted MAC Address;
By the control passage between the LPU and each LPU, institute is sent to each LPU in addition to the LPU
Address summary info is stated, in order to which each LPU is completed and the LPU identicals deletion action according to the summary info.
9. the LPU according to claim 6 or 7, it is characterised in that if in the not all LPU of the slot number of the LPU most
Small slot number or maximum slot number, then the processing module, is additionally operable 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 arrives passive address, or the LPU not in the target of slot number of the slot number more 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 the MAC Address that is obtained through active address learning is not present.
10. the LPU according to claim 6 or 7, it is characterised in that if the slot number of the LPU be in all LPU most
Small slot number or maximum slot number, then the processing module, is additionally operable 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, delete 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 be not present through actively
The MAC Address that address learning obtains;
If the preset rules that the LPU meets are the LPU not in the target of slot number of the slot number more than the LPU
Passive address is arrived in study on LPU, then when the slot number of the LPU is the maximum slot number in all LPU, is deleted on the LPU
The MAC Address obtained through active address learning, until the MAC Address number of the LPU do not transfinite or the LPU on be not present warp
The MAC Address that active address learning obtains.
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 true CN107483371A (en) | 2017-12-15 |
CN107483371B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995315A (en) * | 2017-12-26 | 2018-05-04 | 北京天融信网络安全技术有限公司 | Synchronous method, device, storage medium and the computer equipment of business board-to-board information |
CN113037654A (en) * | 2021-02-25 | 2021-06-25 | 迈普通信技术股份有限公司 | Distributed switch service board virtualization method and device and electronic equipment |
Citations (7)
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 |
US20140071825A1 (en) * | 2012-09-11 | 2014-03-13 | Ciena Corporation | Load balancing systems and methods of mac learning in multi-slot architectures |
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 |
-
2017
- 2017-09-21 CN CN201710860861.0A patent/CN107483371B/en active Active
Patent Citations (7)
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 |
US20140071825A1 (en) * | 2012-09-11 | 2014-03-13 | Ciena Corporation | Load balancing systems and methods of mac learning in multi-slot architectures |
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 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995315A (en) * | 2017-12-26 | 2018-05-04 | 北京天融信网络安全技术有限公司 | Synchronous method, device, storage medium and the computer equipment of business board-to-board information |
CN107995315B (en) * | 2017-12-26 | 2021-05-07 | 北京天融信网络安全技术有限公司 | Method and device for synchronizing information between service boards, storage medium and computer equipment |
CN113037654A (en) * | 2021-02-25 | 2021-06-25 | 迈普通信技术股份有限公司 | Distributed switch service board virtualization method and device and electronic equipment |
CN113037654B (en) * | 2021-02-25 | 2022-04-05 | 迈普通信技术股份有限公司 | Distributed switch service board virtualization method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107483371B (en) | 2019-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11070520B2 (en) | Hierarchical network managers | |
US20220103452A1 (en) | Tracing logical network packets through physical network | |
CN102185706B (en) | Method for generating IEEE1394 (Institute of Electrical and Electronics Engineers 1394) network topological graph | |
CN104168209B (en) | Multiple access SDN message forwarding method and controller | |
CN104022953A (en) | Message forwarding method and device based on Open Flow | |
CN103944828A (en) | Method and equipment for transmitting protocol messages | |
WO2014116462A1 (en) | Multi-node virtual switching system | |
CN106850459A (en) | A kind of method and device for realizing virtual network load balancing | |
CN105763457B (en) | Multicast message processing method and the network equipment | |
CN106549780A (en) | A kind of network collocating method, apparatus and system | |
CN105591872B (en) | A kind of method and apparatus for realizing multiple data centers interconnection | |
CN108683607A (en) | Virtual machine traffic control method, device and server | |
CN107483371A (en) | A kind of MAC Address management method and business board | |
CN107547346A (en) | A kind of message transmitting method and device | |
CN108881069A (en) | Retransmission method, device and the server of multicast traffic | |
EP3534577A1 (en) | Method of forwarding multicast data packet | |
CN105791174B (en) | The determination of line card determines processing method and processing device, the determination system of line card | |
CN109672618A (en) | Redundant interface processing method, device, server and storage medium | |
CN106921577B (en) | MAC address learning method and device | |
CN108810183A (en) | Processing method, device and the machine readable storage medium of conflict MAC Address | |
CN103441934B (en) | A kind of learning method of stacking topology and device | |
WO2016173196A1 (en) | Method and apparatus for learning address mapping relationship | |
CN109213566B (en) | Virtual machine migration method, device and equipment | |
CN109995678A (en) | Message transmitting method and device | |
CN208174743U (en) | A kind of cloud desktop system |
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. |