CN107948039A - A kind of address list item processing method and processing device - Google Patents
A kind of address list item processing method and processing device Download PDFInfo
- Publication number
- CN107948039A CN107948039A CN201711147360.4A CN201711147360A CN107948039A CN 107948039 A CN107948039 A CN 107948039A CN 201711147360 A CN201711147360 A CN 201711147360A CN 107948039 A CN107948039 A CN 107948039A
- Authority
- CN
- China
- Prior art keywords
- mac address
- list item
- address list
- vlan
- target
- 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
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/54—Organization of routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present application provides a kind of address list item processing method and processing device, and applied to the network equipment, method includes:Obtain the second quantitative value of MAC Address list item in the first quantitative value of MAC Address list item and the second MAC Address group in the first MAC Address group, MAC Address list item in first MAC Address group belongs to Bridge examples, and the MAC Address list item in the second MAC Address group is not belonging to Bridge examples;Judge the first quantitative value and the second quantitative value and value whether reach the upper limit value of default MAC Address list item number;And if value reaches the upper limit value of default MAC Address list item number, deletes the MAC Address list item in the second MAC Address group.Using technical solution provided by the embodiments of the present application, the reliability of business repeater system is improved.
Description
Technical field
This application involves communication technology technical field, more particularly to a kind of address list item processing method and processing device.
Background technology
At present, the interaction between user equipment carries out on firewall box, i.e., firewall box is responsible for message forwarding.Report
Text forwarding can include:Cross-VLAN (English:Virtual Local Area Network, referred to as:VLAN) bridge
(Bridge) media access control (English:Media Access Control, referred to as:MAC) forwarding and non-travelling across VLAN
Bridge MAC are forwarded.Wherein, travelling across VLAN Bridge MAC forwardings be based on belong to the MAC Address list items of Bridge examples into
The message forwarding of row travelling across VLAN;Non- travelling across VLAN Bridge MAC forwardings are based on the mac address table for being not belonging to Bridge examples
Item carries out the message forwarding in VLAN.
Above two message pass-through mode is independent study MAC Address, and creates MAC Address list item, i.e. fire wall
Learning equipment creates the MAC Address list item for being not belonging to Bridge examples to MAC Address in a certain VLAN;When creating Bridge
Example, and when the VLAN is added in the Bridge examples, the message that user equipment is sent in the VLAN is in the Bridge
Carried out under example, firewall box relearns MAC Address in the VLAN, creates the mac address table for belonging to Bridge examples
.
In practical application, the MAC Address list item sum that firewall box can learn is certain, if firewall box
Create it is substantial amounts of be not belonging to the MAC Address list item of Bridge examples after, just create Bridge examples, this is likely to lead
The MAC Address list item for causing to belong to Bridge examples only creates a part, has just reached the MAC that firewall box can learn
The upper limit of address list item sum.In this case, in order to ensure the friendship family between user equipment, firewall box will carry out unknown
Unicast flooding, and then have impact on the reliability of business repeater system.
The content of the invention
The purpose of the embodiment of the present application is to provide a kind of address list item processing method and processing device, to improve business forwarding
The reliability of system.Concrete technical scheme is as follows:
On the one hand, the embodiment of the present application provides a kind of address list item processing method, applied to the network equipment, the side
Method includes:
Obtain in the first MAC Address group mac address table in the first quantitative value of MAC Address list item and the second MAC Address group
The second quantitative value, the MAC Address list item in the first MAC Address group belongs to Bridge examples, the 2nd MAC
MAC Address list item in the group of location is not belonging to Bridge examples;
Judge first quantitative value and second quantitative value and value whether to reach default MAC Address list item a
Several upper limit values;
If described and value reaches the upper limit value of the default MAC Address list item number, the 2nd MAC is deleted
MAC Address list item in group of addresses.
In one embodiment of the application, the method further includes:
Example control instruction is received, the example control instruction includes target Bridge examples and the target to be added
Correspondence between the target VLAN of Bridge examples;
According to the correspondence, the target VLAN is added in the target Bridge examples;
Learn the MAC Address in the target VLAN;
When having deleted MAC Address list item in the second MAC Address group, according to the target VLAN for learning to obtain
Interior MAC Address, creates the MAC Address list item for belonging to the target Bridge examples.
It is described that the target VLAN is added in the target Bridge examples in one embodiment of the application,
Specifically include:
If the example control instruction creates instruction for example, the target Bridge examples are created, and by the mesh
VLAN is marked to be added in the target Bridge examples;
If the example control instruction is example addition instruction, the target VLAN is added to the target
In Bridge examples.
In one embodiment of the application, MAC Address list item includes category to be created in the first MAC Address group
MAC Address list item and the MAC Address list item for belonging to Bridge examples that has created in Bridge examples;
Alternatively, MAC Address list item includes the MAC for belonging to the Bridge examples that have created in the first MAC Address group
Location list item.
In one embodiment of the application, the MAC Address list item deleted in the second MAC Address group, specifically
Including:
In the first MAC Address group and the second MAC Address group, the MAC Address list item of common VLAN is determined;
The MAC Address list item of the common VLAN in the second MAC Address list item is subjected to delete processing.
In one embodiment of the application, first quantity for obtaining MAC Address list item in the first MAC Address group
The second quantitative value of MAC Address list item, specifically includes in value and the second MAC Address group:
MAC in the first quantitative value and the 2nd MAC group of addresses of MAC Address list item in timing acquisition the first MAC Address group
Second quantitative value of location list item;
The MAC Address list item of the common VLAN by the second MAC Address list item carries out delete processing,
Specifically include:
A VLAN is selected from the common VLAN;
The MAC Address list item of selected VLAN in the second MAC Address list item is subjected to delete processing.
Two aspects, the embodiment of the present application provide a kind of address list item processing unit, and described device includes:
Acquiring unit, for obtaining the first quantitative value and the second MAC Address of MAC Address list item in the first MAC Address group
Second quantitative value of MAC Address list item in group, the MAC Address list item in the first MAC Address group belong to Bridge examples,
MAC Address list item in the second MAC Address group is not belonging to Bridge examples;
Whether judging unit, reach default for judge first quantitative value and second quantitative value and value
The upper limit value of MAC Address list item number;
Unit is deleted, if reaching the upper limit value of the default MAC Address list item number for described and value, is deleted
Except the MAC Address list item in the second MAC Address group.
In one embodiment of the application, described device further includes:
Receiving unit, for receiving example control instruction, the example control instruction includes target Bridge examples with treating
Add the correspondence between the target VLAN of the target Bridge examples;
Adding device, for according to the correspondence, the target VLAN to be added to the target Bridge examples
In;
Unit, for learning the MAC Address in the target VLAN;
Creating unit, for when having deleted MAC Address list item in the second MAC Address group, being obtained according to study
MAC Address in the target VLAN, creates the MAC Address list item for belonging to the target Bridge examples.
In one embodiment of the application, the adding device, is specifically used for:
If the example control instruction creates instruction for example, the target Bridge examples are created, and by the mesh
VLAN is marked to be added in the target Bridge examples;
If the example control instruction is example addition instruction, the target VLAN is added to the target
In Bridge examples.
In one embodiment of the application, MAC Address list item includes category to be created in the first MAC Address group
MAC Address list item and the MAC Address list item for belonging to Bridge examples that has created in Bridge examples;
Alternatively, MAC Address list item includes the MAC for belonging to the Bridge examples that have created in the first MAC Address group
Location list item.
In one embodiment of the application, the deletion unit, is specifically used for:
In the first MAC Address group and the second MAC Address group, the MAC Address list item of common VLAN is determined;
The MAC Address list item of the common VLAN in the second MAC Address list item is subjected to delete processing.
In one embodiment of the application, the acquiring unit, is specifically used for:
MAC in the first quantitative value and the 2nd MAC group of addresses of MAC Address list item in timing acquisition the first MAC Address group
Second quantitative value of location list item;
The deletion unit, is specifically used for:
A VLAN is selected from the common VLAN;By the selected VLAN's in the second MAC Address list item
MAC Address list item carries out delete processing.
Three aspects, the embodiment of the present application provide a kind of network equipment, including processor and machinable medium,
The machinable medium is stored with the machine-executable instruction that can be performed by the processor, the processor quilt
The machine-executable instruction promotes to realize address above mentioned table entry processing method.
Four aspects, the embodiment of the present application provide a kind of machinable medium, are stored with machine-executable instruction,
When being called and being performed by processor, the machine-executable instruction promotes the processor to realize that address above mentioned list item is handled
Method.
In the embodiment of the present application, if the network equipment determines to be not belonging to the number and category of the MAC Address list item of Bridge examples
Reach the upper limit value of default MAC Address list item number in the summation of the number of the MAC Address list item of Bridge examples, then net
Network equipment deletes the MAC Address list item for being not belonging to Bridge examples, reduces the MAC Address list item created in the network equipment, makes
The network equipment can continue to learn MAC Address, create the MAC Address list item for belonging to Bridge examples, it is general to reduce unknown unicast
The possibility of flood, improves the reliability of business repeater system.Certainly, any product or method for implementing the application must differ
It is fixed to need to reach all the above advantage at the same time.
Brief description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, drawings in the following description are only
Some embodiments of the present application, for those of ordinary skill in the art, without creative efforts, also
Other attached drawings can be obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of address list item processing method provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of address learning method provided by the embodiments of the present application;
Fig. 3 is the first structure diagram of address list item processing unit provided by the embodiments of the present application;
Fig. 4 is second of structure diagram of address list item processing unit provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of the network equipment provided by the embodiments of the present application.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those of ordinary skill in the art obtained without making creative work it is all its
His embodiment, shall fall in the protection scope of this application.
The network equipment is to separate study to belong to the MAC Address of Bridge examples with the MAC for being not belonging to Bridge examples
Location, for example, MAC Address in network equipment study VLAN1, establishment are not belonging to Bridge examples and including MAC Address in VLAN1
MAC Address list item;When creating Bridge examples, and VLAN1 being added in the Bridge examples, network equipment weight
MAC addresses in new study VLAN1, establishment belong to Bridge examples and include the MAC Address list item of MAC Address in VLAN1;When
After deleting Bridge examples, if there is no being not belonging to Bridge examples and include the MAC Address list item of MAC Address in VLAN1,
MAC Address in VLAN1 then is being relearned, establishment is not belonging to Bridge examples and includes the MAC Address of MAC Address in VLAN1
List item.
In practical applications, at the end of study belongs to the MAC Address of Bridge examples not, learnt in the network equipment
The sum of MAC Address has just reached the upper limit value of configuration, but the message that user equipment is sent in each VLAN in Bridge examples
The MAC Address for being based on belonging to Bridge examples is forwarded to.In this case, it is likely that there is unknown unicast and flood, and then
It has impact on the reliability of business repeater system.
In order to reduce the possibility that unknown unicast floods, the reliability of business repeater system is improved, the embodiment of the present application carries
A kind of address list item processing method and processing device is supplied.With reference to figure 1, Fig. 1 is address list item processing side provided by the embodiments of the present application
A kind of flow diagram of method, the address list item processing method can be applied to the nets such as firewall box, router, interchanger
Network equipment.Specifically, this method includes:
Step 101:Obtain in the first MAC Address group in the first quantitative value of MAC Address list item and the second MAC Address group
Second quantitative value of MAC Address list item.
Wherein, the MAC Address list item in the first MAC Address group belongs to Bridge examples, the MAC in the 2nd MAC group of addresses
Address list item is not belonging to Bridge examples.First MAC Address group and the 2nd MAC group of addresses can be located at same mac address table
In, it can also be located in two different mac address tables, the embodiment of the present application is to this without limiting.
Here, the MAC Address list item for belonging to Bridge examples is used for the message forwarding for carrying out travelling across VLAN;It is not belonging to
The MAC Address list item of Bridge examples is used for the message forwarding in VLAN.
In one embodiment of the application, MAC Address list item includes to be created belong in the first MAC Address group
The MAC Address list item of Bridge examples and the MAC Address list item for belonging to Bridge examples created.The network equipment is examined at the same time
Consider the MAC Address list item for belonging to Bridge examples that is to be created and having created, therefore when the network equipment is estimated that one section
Between after the MAC Address list item for belonging to Bridge examples number, and then estimate the network equipment after a period of time local
The total number of MAC Address list item, has been easy to the network equipment to being not belonging to the processing of the MAC Address list item of Bridge examples.
For example, currently have Bridge examples 1, VLAN 1, VLAN 2, VLAN 3, VLAN 4 and VLAN 5;Bridge is real
Example 1 includes VLAN 1 and VLAN 2;After Bridge examples 1 create a period of time, the MAC for belonging to Bridge examples 1 is determined
Address list item, which creates, to be terminated;At this time, the MAC Address list item of establishment has:
It is not belonging to Bridge examples and the MAC Address list item including MAC Address in VLAN 1 has 500;
It is not belonging to Bridge examples and the MAC Address list item including MAC Address in VLAN 2 has 500;
It is not belonging to Bridge examples and the MAC Address list item including MAC Address in VLAN 3 has 700;
It is not belonging to Bridge examples and the MAC Address list item including MAC Address in VLAN 4 has 800;
It is not belonging to Bridge examples and the MAC Address list item including MAC Address in VLAN 5 has 500;
Belong to Bridge examples 1 and the MAC Address list item including MAC Address in VLAN 1 and VLAN 2 has 900.
It is understood that in practical applications, network environment is change, and the user equipment reached the standard grade in VLAN can not
Disconnected change, this causes the MAC Address in the Bridge examples that the network equipment learns also to change, so that network is set
The standby MAC Address list item created also changes therewith.In the present example, Bridge examples 1 are belonged to and including 1 Hes of VLAN
The MAC Address list item of MAC Address can also be learnt to obtain according to real network environment by the network equipment in VLAN 2, herein only with
Illustrated exemplified by 900.
At this point it is possible to determine the second quantitative value, that is, the number for being not belonging to the MAC Address list item of Bridge examples has 500+
500+700+800+500=3000.
After Bridge examples 2 are created again, Bridge examples 2 include VLAN 3 and VLAN 4, are not belonging to Bridge realities
Example and include the MAC Address list item of MAC Address in VLAN 3 and VLAN 4, i.e., the MAC for belonging to Bridge examples to be created
Location list item has 800+700=1500;What is created belongs to the MAC Address list item of Bridge examples, that is, belongs to Bridge examples 1
MAC Address list item have 900, then it is 1500+900=2300 that can determine the first quantitative value.
In one embodiment of the application, MAC Address list item includes belonging to what is created in the first MAC Address group
The MAC Address list item of Bridge examples.At this time, in the first MAC group of addresses of the network equipment timing acquisition MAC Address list item
Second quantitative value of MAC Address list item in one quantitative value and the second MAC Address group.The network equipment can be set according to current network
The number of MAC Address list item in standby, it is determined whether delete the MAC Address list item for being not belonging to Bridge examples.So so that net
Network equipment more adapts to the change of network environment, avoids the MAC Address list item that excessive deletion is not belonging to Bridge examples,
When causing the Bridge examples to delete, the network equipment relearns, creates asking for the MAC address list items that are not belonging to Bridge examples
Topic, has saved Internet resources.
Still illustrated with above-mentioned example, after Bridge examples 2 are created, can timing acquisition belong to Bridge reality
The number of the MAC Address list item of example 2;
If the number for obtaining the MAC Address list item for belonging to Bridge examples 2 is 400, it is determined that what is created belongs to
The MAC Address list item of Bridge examples, that is, MAC address list items for belonging to Bridge examples 1 created and what is created belong to
The summation of the number of the MAC Address list item of Bridge examples 2 is 900+400=1300, i.e. the first quantitative value is 1300;
If the number for obtaining the MAC Address list item for belonging to Bridge examples 2 is 600, it is determined that what is created belongs to
The MAC Address list item of Bridge examples, that is, MAC address list items for belonging to Bridge examples 1 created and what is created belong to
The summation of the number of the MAC Address list item of Bridge examples 2 is 900+600=1500, i.e. the first quantitative value is 1500.
Step 102:Judge the first quantitative value and the second quantitative value and value whether to reach default MAC Address list item a
Several upper limit values;If when, perform step 103;If it is not, then without any processing.
Here, the upper limit value of default MAC Address list item number can be the mac address table that the network equipment can store
The sum of item;Can also be the sum for the MAC Address list item that can be stored less than the network equipment, but very close to the network equipment
A total value for the MAC Address list item that can be stored, to ensure that the network equipment is not belonging to Bridge examples in deletion
In the period of MAC Address list item, study MAC Address is remained able to, and create the MAC Address list item for belonging to Bridge examples.
For example, the sum for the MAC Address list item that the network equipment can store is 4096, then default MAC address list items are a
Several upper limit values can be 4000,4050 or 4060,4096 etc..
Step 103:Delete the MAC Address list item in the second MAC Address group.
In one embodiment of the application, to reduce operation complexity, the network equipment is deleted in the 2nd MAC group of addresses
All MAC Address list items, i.e., when deletion is not belonging to the MAC Address list item of Bridge examples, the network equipment can be deleted all
It is not belonging to the MAC Address list item of Bridge examples.
Such as above-mentioned example, when determining to reach the upper limit value of default MAC Address list item number, the network equipment is deleted not
Belong to Bridge examples and include the mac address table of MAC Address in VLAN 1, VLAN 2, VLAN 3, VLAN 4 and VLAN 5
.
In one embodiment of the application, in order to adapt to the change of network environment, reduce real to Bridge to being not added with
The influence of VLAN in example, meanwhile, Internet resources are saved, avoid excessive deletion from being not belonging to the mac address table of Bridge examples
, when causing the Bridge examples to delete, the network equipment relearns, creates the MAC Address list item that is not belonging to Bridge examples
Problem, the network equipment in the first MAC group of addresses and the second MAC Address group, can determine the mac address table of common VLAN
.The MAC Address list item of common VLAN in second MAC Address list item is carried out delete processing by the network equipment, i.e. network is set
Standby delete is not belonging to Bridge examples and including the MAC Address list item added to MAC addresses in VLAN in Bridge examples.
Such as above-mentioned example, in Bridge examples, VLAN 5 does not exist by VLAN 1, VLAN 2, VLAN 3, VLAN 4
In Bridge examples, the MAC Address list item of the first MAC Address group is to belong to Bridge and including VLAN 1, VLAN 2, VLAN
3rd, in VLAN 4 MAC Address MAC Address list item, the MAC Address list item of the second MAC Address group is is not belonging to Bridge and bag
Include VLAN 1, VLAN 2, VLAN 3, in VLAN 4 and VLAN 5 MAC Address MAC Address list item.
In first MAC Address group and the second MAC Address group common VLAN for VLAN 1, VLAN 2, VLAN 3, VLAN 4,
The MAC Address list item of common VLAN be include VLAN 1, VLAN 2, VLAN 3, in VLAN 4 MAC Address mac address table
;When determining to reach the upper limit value of default MAC address list items number, deletion is not belonging to Bridge examples and including VLAN
1st, VLAN 2, VLAN 3, in VLAN 4 MAC Address MAC Address list item.
In one embodiment of the application, in order to further adapt to the change of network environment, reduce to be not added with to
The influence of VLAN in Bridge examples, meanwhile, Internet resources are saved, avoid excessive deletion from being not belonging to Bridge examples
MAC Address list item, when causing the deletion of Bridge examples, the network equipment relearns, creates the MAC for being not belonging to Bridge examples
The problem of address list item, the network equipment can be deleted one by one is not belonging to Bridge examples and including being added in Bridge examples
The MAC address list items of MAC Address in VLAN.
Specifically, the network equipment can with the first quantitative value of MAC Address list item in timing acquisition the first MAC Address group and
Second quantitative value of MAC Address list item in second MAC Address group;
If once obtain in the first MAC Address group MAC in the first quantitative value and the 2nd MAC group of addresses of MAC Address list item
During the second quantitative value of address list item, the upper limit value for reaching default MAC Address list item number is determined, then the network equipment is
In one MAC Address group and the second MAC Address group, the MAC Address list item of common VLAN is determined.The network equipment is from common VLAN
A VLAN is selected, the MAC Address list item of the VLAN selected in the second MAC Address group is subjected to delete processing, that is, is deleted
It is not belonging to Bridge examples and includes the MAC Address list item of MAC Address in selected VLAN.
Such as above-mentioned example, in Bridge examples, VLAN 5 does not exist by VLAN 1, VLAN 2, VLAN 3, VLAN 4
In Bridge examples.The MAC Address list item of first MAC Address group is to belong to Bridge and including VLAN 1, VLAN 2, VLAN
3rd, in VLAN 4 MAC Address MAC Address list item, the MAC Address list item of the second MAC Address group is is not belonging to Bridge and bag
Include VLAN 1, VLAN 2, VLAN 3, in VLAN 4 and VLAN 5 MAC Address MAC Address list item.First MAC Address group and
In second MAC Address group common VLAN be VLAN 1, VLAN 2, VLAN 3, the MAC Address list item of VLAN 4, common VLAN be
Include the MAC Address list item of MAC Address in VLAN 1, VLAN 2, VLAN 3, VLAN 4.
When determining to reach the upper limit value of default MAC Address list item number, the network equipment from VLAN 1, VLAN 2,
A VLAN is selected in VLAN 3, VLAN 4.For example, the network equipment have selected VLAN 1, deletion be not belonging to Bridge examples and
Include the MAC Address list item of MAC Address in VLAN 1.
At this time, in the first MAC Address group and the second MAC Address group common VLAN be VLAN 2, VLAN 3, VLAN 4, altogether
MAC Address list item with VLAN be include VLAN 2, VLAN 3, in VLAN 4 MAC Address MAC Address list item.
When determining to reach the upper limit value of default MAC Address list item again, the network equipment is again from VLAN 2, VLAN
3rd, a VLAN is selected in VLAN 4.For example, have selected VLAN 2, deletion is not belonging to Bridge examples and including in VLAN 2
The MAC Address list item of MAC Address.
In one embodiment of the application, for the ease of carrying out pipe to the MAC Address list item for belonging to Bridge examples
Manage, the VLAN lists for recording VLAN in each Bridge examples can be set on the network equipment.Receiving example control
After instruction, such as example creates instruction, example addition instruction etc., and the network equipment detects in the vlan list whether have recorded reality
The correspondence of target Bridge examples and target VLAN that example control instruction includes.If in the presence of not processing;If do not deposit
Target Bridge examples and the correspondence of target VLAN that example control instruction includes are being added to the vlan list
In.
In MAC Address list item in deleting the second MAC Address group, that is, delete be not belonging to Bridge examples and including
Under Bridge examples in VLAN during the MAC Address list item of MAC Address, the network equipment can be true by the VLAN in the vlan list
It is set to common VLAN, then deletion is not belonging to Bridge examples and includes the MAC of the MAC Address in the VLAN in vlan list
Address list item.
In the embodiment of the present application, a monitor can be set on the network equipment, which arranges for monitoring vlan
Whether the VLAN added in table, the MAC Address list item sum for monitoring establishment reach default MAC Address list item number
Upper limit value.Here, monitor can be realized by physical unit, can also pass through software simulated implementation, the embodiment of the present application pair
This is without limiting.
Using above-described embodiment, if the network equipment determines to be not belonging to the number and category of the MAC Address list item of Bridge examples
Reach the upper limit value of default MAC Address list item number in the summation of the number of the MAC Address list item of Bridge examples, then net
Network equipment deletes the MAC Address list item for being not belonging to Bridge examples, reduces the MAC Address list item created in the network equipment, makes
The network equipment can continue to learn MAC Address, create the MAC Address list item for belonging to Bridge examples, it is general to reduce unknown unicast
The possibility of flood, improves the reliability of business repeater system.
Based on address above mentioned table entry processing method, when carrying out address learning method, with reference to figure 2, Fig. 2 is the network equipment
A kind of flow diagram of address learning method provided by the embodiments of the present application, applied to the network equipment, this method includes:
Step 201:Example control instruction is received, example control instruction includes target Bridge examples and target to be added
Correspondence between the target VLAN of Bridge examples.
In one embodiment of the application, example control instruction can be that example creates instruction or example addition refers to
Order.Wherein, example creates instruction and is used to indicate that the network equipment creates target Bridge examples;Example addition instruction is used to indicate
Target VLAN is added in target Bridge examples by the network equipment.
In one embodiment of the application, the network equipment can obtain the first MAC after example control instruction is received
In group of addresses in the first quantitative value of MAC Address list item and the second MAC Address group MAC Address list item the second quantitative value, determine
Whether MAC Address list item in second MAC Address group is deleted, to guarantee to create MAC Address in complete target VLAN
MAC Address list item.
In another embodiment of the application, the network equipment within a period of time after receiving example control instruction,
MAC Address in learning objective VLAN, creates the MAC Address list item for belonging to target Bridge examples.Within the period, network
Equipment can timing the first numerical value of acquisition and second value, with the first numerical value of judgement of timing and second value and value be
The no upper limit value for reaching default MAC Address list item number, with ensure the network equipment promptly and accurately get the network equipment
The sum of the MAC Address list item created.
In one embodiment of the application, for the ease of carrying out pipe to the MAC Address list item for belonging to Bridge examples
Manage, the VLAN lists for recording VLAN in each Bridge examples can be set on the network equipment.The network equipment is receiving
After example control instruction, detect whether have recorded the target Bridge examples that example control instruction includes in the vlan list
With the correspondence of target VLAN;If in the presence of not processing;If being not present, target that example control instruction is included
Bridge examples and the correspondence of target VLAN are added in the vlan list.
Step 202:The correspondence included according to example control instruction, target Bridge is added to by target VLAN
In example.
In one embodiment of the application, the example control instruction that the network equipment receives creates instruction for example.Net
Network equipment creates target Bridge examples and the target that instruction includes after receiving example and creating instruction, according to example
The correspondence of VLAN, creates target Bridge examples, and target VLAN is added in target Bridge examples.Here, it is real
Example create the corresponding target VLAN of target Bridge examples that instruction carries can be it is multiple, i.e., it is real added to target Bridge
Target VLAN can include multiple in example.
In another embodiment of the application, the example control instruction that the network equipment receives is example addition instruction.
The network equipment is after example addition instruction is received, the target Bridge examples and target that are included according to example addition instruction
The correspondence of VLAN, target VLAN is added in target Bridge examples.Here, the target that example addition instruction carries
The corresponding target VLAN of Bridge examples can be multiple, i.e., can include added to target VLAN in target Bridge examples
It is multiple.
Step 203:MAC Address in learning objective VLAN.
Step 204:The MAC Address in target VLAN obtained according to study, establishment belong to target Bridge examples
MAC Address list item.
The network equipment learns to after the MAC Address in target VLAN, however, it is determined that is not belonging to the MAC Address of Bridge examples
The summation of the number of MAC Address list item of the number of list item with belonging to Bridge examples is not up to default MAC Address list item
Several upper limit values, then can belong to target Bridge examples according to the MAC Address in the target VLAN that study obtains, establishment
MAC Address list item, that is, establish and store the MAC Address list item for belonging to target Bridge examples, this belongs to target Bridge examples
MAC Address list item belong to the first MAC Address group.
The network equipment learns to after the MAC Address in target VLAN, however, it is determined that is not belonging to the MAC Address of Bridge examples
The summation of the number of MAC Address list item of the number of list item with belonging to Bridge examples reaches default MAC Address list item number
Upper limit value, then MAC Address list item in the second MAC Address group is deleted, then according to the MAC in the obtained target VLAN of study
Address, creates the MAC Address list item for belonging to target Bridge examples.
In this way, the network equipment is received after message in target VLAN, it is possible to based under target Bridge examples
MAC Address list item carry out travelling across VLAN forwarding.
In the embodiment of the present application, the network equipment obtains the number for the MAC Address list item for being not belonging to Bridge examples and belongs to
The number of the MAC Address list item of Bridge examples.When the number and category of the MAC Address list item for determining to be not belonging to Bridge examples
When the summation of the number of the MAC Address list item of Bridge examples reaches the upper limit value of default MAC Address list item number, net
Network equipment deletes the MAC Address list item for being not belonging to Bridge examples, to reduce the MAC Address list item created in the network equipment,
It ensure that the network equipment can create the MAC Address list item for belonging to Bridge examples, reduce the possibility that unknown unicast floods
Property, improves the reliability of business repeater system.
When the network equipment receives the example deletion instruction for target Bridge examples, target Bridge is deleted
Example, deletes and belongs to the MAC address list items that target Bridge examples include MAC Address in target VLAN.In this way, network is set
It is standby to receive after message in target VLAN, it is possible to which that VLAN is carried out based on the MAC Address list item for being not belonging to Bridge examples
Interior forwarding.
In one embodiment of the application, it is used to record under each Bridge examples if being provided with the network equipment
The vlan list of VLAN, when the MAC Address in target VLAN is arrived in study, according to the target Bridge recorded in VLAN lists
The correspondence of example and target VLAN, the MAC Address list item including the MAC Address in target VLAN is created in target
Under Bridge examples, the establishment for the MAC Address list item for belonging to target Bridge examples is realized;
When receiving the example deletion instruction for target Bridge examples, mesh can be determined from the vlan list
Mark the corresponding target VLAN of Bridge examples, delete target Bridge examples, and delete belong to target Bridge examples and
Include the MAC Address list item of MAC Address in definite target VLAN from vlan list, realization belongs to target Bridge realities
The deletion of the MAC Address list item of example.
Corresponding with address list item processing method, address learning method embodiment, the embodiment of the present application additionally provides a kind of ground
Location list item processing unit.With reference to figure 3, Fig. 3 is that the first structure of address list item processing unit provided by the embodiments of the present application is shown
It is intended to, applied to the network equipment, which includes:
Acquiring unit 301, for obtaining the first quantitative value and the 2nd MAC of MAC Address list item in the first MAC Address group
Second quantitative value of MAC Address list item in group of addresses, the MAC Address list item in the first MAC Address group belong to Bridge examples,
MAC Address list item in second MAC Address group is not belonging to Bridge examples;
Judging unit 302, for judge the first quantitative value and the second quantitative value and value with whether reaching default MAC
The upper limit value of location list item number;
Unit 303 is deleted, if the upper limit value for reaching default MAC Address list item number with value, deletes second
MAC Address list item in MAC Address group.
In one embodiment of the application, second of structural representation of address list item processing unit as shown in Figure 4
Figure, based on Fig. 3, applied to the network equipment, which further includes:
Receiving unit 304, for receiving example control instruction, example control instruction includes target Bridge examples with treating
Add the correspondence between the target VLAN of target Bridge examples;
Adding device 305, for the correspondence included according to example control instruction, target is added to by target VLAN
In Bridge examples;
Unit 306, for the MAC Address in learning objective VLAN;
Creating unit 307, for belonging to target Bridge according to the MAC Address in the target VLAN for learning to obtain, establishment
The MAC Address list item of example.
In one embodiment of the application, adding device 305, specifically can be used for:
If example control instruction creates instruction for example, target Bridge examples are created, and target VLAN is added to
In target Bridge examples;
If example control instruction is example addition instruction, target VLAN is added in target Bridge examples.
In one embodiment of the application, MAC Address list item includes to be created belong in the first MAC Address group
The MAC Address list item of Bridge examples and the MAC Address list item for belonging to Bridge examples created;
Alternatively, MAC Address list item includes the mac address table for belonging to the Bridge examples created in the first MAC Address group
.
In one embodiment of the application, unit 303 is deleted, specifically can be used for:
In the first MAC Address group and the second MAC Address group, the MAC address list items of common VLAN are determined;
The MAC Address list item of common VLAN in second MAC Address list item is subjected to delete processing.
In one embodiment of the application, acquiring unit 301, specifically can be used for:
MAC in the first quantitative value and the 2nd MAC group of addresses of MAC Address list item in timing acquisition the first MAC Address group
Second quantitative value of location list item;
Unit 303 is deleted, specifically can be used for:
A VLAN is selected from common VLAN;By the mac address table of the selected VLAN in the second MAC Address list item
Item carries out delete processing.
Using the embodiment of the present application, if the network equipment determine to be not belonging to the number of the MAC Address list item of Bridge examples with
The summation for belonging to the number of the MAC Address list item of Bridge examples reaches the upper limit value of default MAC Address list item number, then
The network equipment deletes the MAC Address list item for being not belonging to Bridge examples, reduces the MAC Address list item created in the network equipment,
Allow the network equipment to continue to learn MAC Address, create the MAC Address list item for belonging to Bridge examples, reduce unknown unicast
The possibility to flood, improves the reliability of business repeater system.
Corresponding with address list item processing method, address learning method embodiment, the embodiment of the present application additionally provides a kind of net
Network equipment, including processor and machinable medium, machinable medium are stored with what can be executed by processor
Machine-executable instruction, processor are promoted to realize address above mentioned table entry processing method, address learning side by machine-executable instruction
Method.
The network equipment as shown in Figure 5, including processor 501 and machinable medium 502, machine readable storage are situated between
Matter 502 is stored with the machine-executable instruction that can be performed by processor 501.
In addition, as shown in figure 5, the network equipment can also include:Communication interface 503 and communication bus 504;Wherein, handle
Device 501, machinable medium 502, communication interface 503 complete mutual communication by communication bus 504, and communication connects
Mouth 503 is used for the communication between the above-mentioned network equipment and other equipment.
In the embodiment of the present application, machine-executable instruction includes:Obtain instruction 512, decision instruction 522 and delete instruction
532;
Processor is acquired instruction 512 and promotes to realize:Obtain the first quantity of MAC Address list item in the first MAC Address group
Second quantitative value of MAC Address list item in value and the second MAC Address group, the MAC Address list item in the first MAC Address group belong to
Bridge examples, the MAC address list items in the second MAC Address group are not belonging to Bridge examples;
Processor is judged instruction 522 and promotes to realize:Judge the first quantitative value and the second quantitative value and value whether reach
The upper limit value of default MAC Address list item number;
Processor is deleted instruction 532 and promotes to realize:And if value reaches the upper limit of default MAC Address list item number
Value, then delete the MAC Address list item in the second MAC Address group.
In one embodiment of the application, machine-executable instruction can also include:Receive instruction, addition instruction, learn
Practise instruction and create instruction;
Processor is received instruction and promotes to realize:Example control instruction is received, example control instruction includes target Bridge
Correspondence between the target VLAN of example and target Bridge examples to be added;
Processor is added instruction and promotes to realize:The correspondence included according to example control instruction, target VLAN is added
Add in target Bridge examples;
Processor promotes to realize by study instruction:MAC Address in learning objective VLAN;
Processor is created instruction and promotes to realize:When having deleted MAC Address list item in the second MAC Address group, according to
The MAC Address in target VLAN that acquistion is arrived, creates the MAC Address list item for belonging to target Bridge examples.
In one embodiment of the application, processor is added instruction and promotes specifically realize:
If example control instruction creates instruction for example, target Bridge examples are created, and target VLAN is added to
In target Bridge examples;
If example control instruction is example addition instruction, target VLAN is added in target Bridge examples.
In one embodiment of the application, MAC Address list item includes to be created belong in the first MAC Address group
The MAC Address list item of Bridge examples and the MAC Address list item for belonging to Bridge examples created;
Alternatively, MAC Address list item includes the mac address table for belonging to the Bridge examples created in the first MAC Address group
.
In one embodiment of the application, processor is deleted instruction 532 and promotes specifically realize:
In the first MAC Address group and the second MAC Address group, the MAC address list items of common VLAN are determined;
The MAC Address list item of common VLAN in second MAC Address list item is subjected to delete processing.
In one embodiment of the application, processor is acquired instruction 512 and promotes specifically realize:
MAC in the first quantitative value and the 2nd MAC group of addresses of MAC Address list item in timing acquisition the first MAC Address group
Second quantitative value of location list item;
Processor is deleted instruction 532 and promotes specifically realize:
A VLAN is selected from common VLAN;By the mac address table of the selected VLAN in the second MAC Address list item
Item carries out delete processing.
Using the embodiment of the present application, if the network equipment determine to be not belonging to the number of the MAC Address list item of Bridge examples with
The summation for belonging to the number of the MAC Address list item of Bridge examples reaches the upper limit value of default MAC Address list item number, then
The network equipment deletes the MAC Address list item for being not belonging to Bridge examples, reduces the MAC Address list item created in the network equipment,
Allow the network equipment to continue to learn MAC Address, create the MAC Address list item for belonging to Bridge examples, reduce unknown unicast
The possibility to flood, improves the reliability of business repeater system.
Communication bus 504 can be PCI (Peripheral Component Interconnect, Peripheral Component Interconnect
Standard) bus or EISA (Extended Industry Standard Architecture, expanding the industrial standard structure) be total
Line etc..The communication bus 504 can be divided into address bus, data/address bus, controlling bus etc..For ease of representing, only used in Fig. 5
One thick line represents, it is not intended that an only bus or a type of bus.
Machinable medium 502 can include RAM (Random Access Memory, random access memory),
It can also include NVM (Non-Volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.Separately
Outside, machinable medium 502 can also be at least one storage device for being located remotely from aforementioned processor.
Processor 501 can be general processor, including CPU (Central Processing Unit, central processing
Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processing,
Digital signal processor), ASIC (Application Specific Integrated Circuit, application-specific integrated circuit),
FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device, divide
Vertical door or transistor logic, discrete hardware components.
Corresponding with address list item processing method, address learning method embodiment, the embodiment of the present application additionally provides a kind of machine
Device readable storage medium storing program for executing, machinable medium are stored with the machine-executable instruction that can be executed by processor, and are being located
When managing device calling and performing, machine-executable instruction promotes processor to realize address above mentioned table entry processing method, address learning side
Method.
In the embodiment of the present application, machine-executable instruction includes:Obtain instruction, decision instruction and delete instruction;
When being called and being performed by processor, obtain instruction and promote processor to realize:Obtain MAC in the first MAC Address group
Second quantitative value of MAC Address list item in first quantitative value of address list item and the second MAC Address group, in the first MAC Address group
MAC Address list item belong to Bridge examples, the MAC Address list item in the second MAC Address group is not belonging to Bridge examples;
When being called and being performed by processor, decision instruction promotes processor to realize:Judge the first quantitative value and the second number
The upper limit value for whether reaching default MAC Address list item number with value of value;
When being called and being performed by processor, delete instruction and promote processor to realize:If reach default MAC with value
The upper limit value of address list item number, then delete the MAC Address list item in the second MAC Address group.
In one embodiment of the application, machine-executable instruction can also include:Receive instruction, addition instruction, learn
Practise instruction and create instruction;
When being called and being performed by processor, receive instruction and promote processor to realize:Receive example control instruction, example
Control instruction includes the correspondence between target Bridge examples and the target VLAN of target Bridge examples to be added;
When being called and being performed by processor, addition instruction promotes processor to realize:Included according to example control instruction
Correspondence, target VLAN is added in target Bridge examples;
When being called and being performed by processor, study instruction promotes processor to realize:MAC in learning objective VLAN
Location;
When being called and being performed by processor, create instruction and promote processor to realize:When having deleted the 2nd MAC group of addresses
During middle MAC Address list item, according to the MAC Address in the target VLAN for learning to obtain, establishment belongs to target Bridge examples
MAC Address list item.
In one embodiment of the application, when being called and being performed by processor, addition instruction promotes to handle implement body
It can realize:
If example control instruction creates instruction for example, target Bridge examples are created, and target VLAN is added to
In target Bridge examples;
If example control instruction is example addition instruction, target VLAN is added in target Bridge examples.
In one embodiment of the application, MAC Address list item includes to be created belong in the first MAC Address group
The MAC Address list item of Bridge examples and the MAC Address list item for belonging to Bridge examples created;
Alternatively, MAC Address list item includes the mac address table for belonging to the Bridge examples created in the first MAC Address group
.
In one embodiment of the application, when being called and being performed by processor, delete instruction and promote to handle implement body
It can realize:
In the first MAC Address group and the second MAC Address group, the MAC address list items of common VLAN are determined;
The MAC Address list item of common VLAN in second MAC Address list item is subjected to delete processing.
In one embodiment of the application, when being called and being performed by processor, obtain instruction and promote to handle implement body
It can realize:
MAC in the first quantitative value and the 2nd MAC group of addresses of MAC Address list item in timing acquisition the first MAC Address group
Second quantitative value of location list item;
When being called and being performed by processor, delete instruction and promote processing implement body to realize:
A VLAN is selected from common VLAN;By the mac address table of the selected VLAN in the second MAC Address list item
Item carries out delete processing.
Using the embodiment of the present application, if the network equipment determine to be not belonging to the number of the MAC Address list item of Bridge examples with
The summation for belonging to the number of the MAC Address list item of Bridge examples reaches the upper limit value of default MAC Address list item number, then
The network equipment deletes the MAC Address list item for being not belonging to Bridge examples, reduces the MAC Address list item created in the network equipment,
Allow the network equipment to continue to learn MAC Address, create the MAC Address list item for belonging to Bridge examples, reduce unknown unicast
The possibility to flood, improves the reliability of business repeater system.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Cover non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only include that
A little key elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", not
Also there are other identical element in the process, method, article or apparatus that includes the element for exclusion.
Each embodiment in this specification is described using relevant mode, identical similar between each embodiment
Part is mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for ground
For location list item processing unit, the network equipment, machinable medium embodiment, since it is substantially similar to address list item
Processing method, address learning method embodiment, so description is fairly simple, related part referring to address list item processing method,
The part explanation of address learning method embodiment.
The foregoing is merely the preferred embodiment of the application, the protection domain of the application is not intended to limit.It is all
Any modification, equivalent replacement, improvement and so within spirit herein and principle, are all contained in the protection model of the application
In enclosing.
Claims (12)
- A kind of 1. address list item processing method, it is characterised in that applied to the network equipment, the described method includes:Obtain in the first MAC address group in the first quantitative value of MAC Address list item and the second MAC Address group Second quantitative value of MAC Address list item, the MAC Address list item in the first MAC Address group belong to bridge Bridge examples, institute The MAC Address list item stated in the second MAC Address group is not belonging to Bridge examples;Judge first quantitative value and second quantitative value and value whether reach the upper of default MAC Address list item number Limit value;If described and value reaches the upper limit value of the default MAC Address list item number, the second MAC Address group is deleted In MAC Address list item.
- 2. according to the method described in claim 1, it is characterized in that, the method further includes:Example control instruction is received, the example control instruction includes target Bridge examples and the target Bridge to be added Correspondence between the destination virtual LAN VLAN of example;According to the correspondence, the target VLAN is added in the target Bridge examples;Learn the MAC Address in the target VLAN;When having deleted MAC Address list item in the second MAC Address group, according in the target VLAN for learning to obtain MAC Address, creates the MAC Address list item for belonging to the target Bridge examples.
- 3. according to the method described in claim 2, it is characterized in that, described be added to the target by the target VLAN In Bridge examples, specifically include:If the example control instruction creates instruction for example, the target Bridge examples are created, and by the target VLAN is added in the target Bridge examples;If the example control instruction is example addition instruction, the target VLAN is added to the target Bridge examples In.
- 4. method according to claim 1 or 2, it is characterised in that MAC Address list item bag in the first MAC Address group The MAC Address list item for belonging to Bridge examples for including the MAC Address list item for belonging to Bridge examples to be created and having created;Alternatively, MAC Address list item includes the mac address table for belonging to the Bridge examples created in the first MAC Address group .
- 5. method according to claim 1 or 2, it is characterised in that the MAC deleted in the second MAC Address group Address list item, specifically includes:In the first MAC Address group and the second MAC Address group, the MAC Address list item of common VLAN is determined;The MAC Address list item of the common VLAN in the second MAC Address list item is subjected to delete processing.
- 6. according to the method described in claim 5, it is characterized in that, described obtain MAC Address list item in the first MAC Address group The second quantitative value of MAC Address list item, specifically includes in first quantitative value and the second MAC Address group:Mac address table in the first quantitative value and the second MAC Address group of MAC Address list item in timing acquisition the first MAC Address group Second quantitative value of item;The MAC Address list item of the common VLAN by the second MAC Address list item carries out delete processing, specific bag Include:A VLAN is selected from the common VLAN;The MAC Address list item of selected VLAN in the second MAC Address list item is subjected to delete processing.
- 7. a kind of address list item processing unit, it is characterised in that applied to the network equipment, described device includes:Acquiring unit, for obtaining the first quantitative value and second of MAC Address list item in the first MAC address group Second quantitative value of MAC Address list item in MAC Address group, the MAC Address list item in the first MAC Address group belong to bridge Bridge examples, the MAC Address list item in the second MAC Address group are not belonging to Bridge examples;Judging unit, for judge first quantitative value and second quantitative value and value with whether reaching default MAC The upper limit value of location list item number;Unit is deleted, if reaching the upper limit value of the default MAC Address list item number for described and value, described in deletion MAC Address list item in second MAC Address group.
- 8. device according to claim 7, it is characterised in that described device further includes:Receiving unit, for receiving example control instruction, the example control instruction include target Bridge examples with it is to be added Correspondence between the destination virtual LAN VLAN of the target Bridge examples;Adding device, for according to the correspondence, the target VLAN to be added in the target Bridge examples;Unit, for learning the MAC Address in the target VLAN;Creating unit, for when having deleted MAC Address list item in the second MAC Address group, according to obtaining study MAC Address in target VLAN, creates the MAC Address list item for belonging to the target Bridge examples.
- 9. device according to claim 8, it is characterised in that the adding device, is specifically used for:If the example control instruction creates instruction for example, the target Bridge examples are created, and by the target VLAN is added in the target Bridge examples;If the example control instruction is example addition instruction, the target VLAN is added to the target Bridge examples In.
- 10. the device according to claim 7 or 8, it is characterised in thatMAC Address list item includes the to be created MAC Address list item for belonging to Bridge examples and in the first MAC Address group The MAC Address list item for belonging to Bridge examples created;Alternatively, MAC Address list item includes the mac address table for belonging to the Bridge examples created in the first MAC Address group .
- 11. the device according to claim 7 or 8, it is characterised in that the deletion unit, is specifically used for:In the first MAC Address group and the second MAC Address group, the MAC Address list item of common VLAN is determined;The MAC Address list item of the common VLAN in the second MAC Address list item is subjected to delete processing.
- 12. according to claim 11 described device, it is characterised in that the acquiring unit, is specifically used for:Mac address table in the first quantitative value and the second MAC Address group of MAC Address list item in timing acquisition the first MAC Address group Second quantitative value of item;The deletion unit, is specifically used for:A VLAN is selected from the common VLAN;By the MAC Address of the selected VLAN in the second MAC Address list item List item carries out delete processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711147360.4A CN107948039B (en) | 2017-11-17 | 2017-11-17 | Address table item processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711147360.4A CN107948039B (en) | 2017-11-17 | 2017-11-17 | Address table item processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107948039A true CN107948039A (en) | 2018-04-20 |
CN107948039B CN107948039B (en) | 2020-05-29 |
Family
ID=61931816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711147360.4A Active CN107948039B (en) | 2017-11-17 | 2017-11-17 | Address table item processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107948039B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080219187A1 (en) * | 2005-11-11 | 2008-09-11 | Huawei Technologies Co., Ltd. | Method for data processing in bridged network, bridge and bridged network |
CN102355660A (en) * | 2011-10-12 | 2012-02-15 | 杭州华三通信技术有限公司 | Uplink wireless access method and wireless access network bridge device |
CN102684914A (en) * | 2012-04-23 | 2012-09-19 | 汉柏科技有限公司 | Method and system for achieving bridge interface linkage |
CN102891764A (en) * | 2011-07-22 | 2013-01-23 | 中兴通讯股份有限公司 | Method and system for routing bridge maintenance information |
CN103944826A (en) * | 2013-01-22 | 2014-07-23 | 杭州华三通信技术有限公司 | Entry aggregation method in SPBM (shortest path bridging MAC mode) network and equipment |
-
2017
- 2017-11-17 CN CN201711147360.4A patent/CN107948039B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080219187A1 (en) * | 2005-11-11 | 2008-09-11 | Huawei Technologies Co., Ltd. | Method for data processing in bridged network, bridge and bridged network |
CN102891764A (en) * | 2011-07-22 | 2013-01-23 | 中兴通讯股份有限公司 | Method and system for routing bridge maintenance information |
CN102355660A (en) * | 2011-10-12 | 2012-02-15 | 杭州华三通信技术有限公司 | Uplink wireless access method and wireless access network bridge device |
CN102684914A (en) * | 2012-04-23 | 2012-09-19 | 汉柏科技有限公司 | Method and system for achieving bridge interface linkage |
CN103944826A (en) * | 2013-01-22 | 2014-07-23 | 杭州华三通信技术有限公司 | Entry aggregation method in SPBM (shortest path bridging MAC mode) network and equipment |
Non-Patent Citations (1)
Title |
---|
孙延涛: "《基于地址转发表的交换式以太网拓扑发现方法》", 《软件学报》 * |
Also Published As
Publication number | Publication date |
---|---|
CN107948039B (en) | 2020-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190199623A1 (en) | Using headerspace analysis to identify flow entry reachability | |
JP2020535555A5 (en) | ||
CN106254256B (en) | Data message forwarding method and equipment based on three layers of VXLAN gateway | |
US9281962B2 (en) | System for determining email spam by delivery path | |
CN104852840B (en) | A kind of method and device exchanged visits between control virtual machine | |
CN105247831B (en) | Flow table amending method, flow table modification device and open flows network system | |
CN107005555A (en) | The distributed fire wall of context-aware | |
Chen et al. | Asymmetric self-learning for tackling twitter spam drift | |
CN104394083B (en) | Method, the method and its device and system of message forwarding of forwarding-table item processing | |
CN102281204B (en) | Method and routing equipment for implementing rendezvous point (RP) load sharing of multicast group and routing equipment | |
CN107947994A (en) | Network topology self-discovery method, apparatus, the network equipment and computer-readable storage medium | |
CN106789625A (en) | A kind of loop detecting method and device | |
CN107948071A (en) | Message forwarding method and device | |
CN110278152A (en) | A kind of method and device for establishing fast-forwarding table | |
CN104009896B (en) | Node equipment access method, system and device based on MAC address | |
CN107682446A (en) | A kind of message mirror-image method, device and electronic equipment | |
CN106878106A (en) | A kind of accessible detecting method and device | |
CN107948039A (en) | A kind of address list item processing method and processing device | |
CN101969395B (en) | Method for configuring code, method and system for detecting path and network equipment | |
CN109861961A (en) | Cyber-defence device and cyber-defence system | |
CN106921577A (en) | MAC address learning method and device | |
CN108989275A (en) | A kind of attack prevention method and device | |
CN107294986A (en) | A kind of method of access HTTPS websites, apparatus and system | |
CN105610717B (en) | A kind of route issuing method and device across SDN network | |
CN109412893A (en) | A kind of message back method and 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 |