CN104253756B - A kind of LAV switching methods and ED - Google Patents
A kind of LAV switching methods and ED Download PDFInfo
- Publication number
- CN104253756B CN104253756B CN201310266608.4A CN201310266608A CN104253756B CN 104253756 B CN104253756 B CN 104253756B CN 201310266608 A CN201310266608 A CN 201310266608A CN 104253756 B CN104253756 B CN 104253756B
- Authority
- CN
- China
- Prior art keywords
- lav
- mac address
- source
- local
- ageing time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of LAV switching methods and ED.This method is applied in Ethernet virtualization interconnection EVI systems, and EVI systems include site-local and remote station, and site-local accesses EVI systems by source ED and purpose ED, and remote station accesses EVI systems by distal end ED, including:Source ED judges whether to need LAV switching to purpose ED;When judging result is yes, source ED notifies distal end ED to delete MAC address entries corresponding with LAV, and the first message for carrying LocalMAC list items corresponding with LAV is sent to purpose ED, so that purpose ED sends Local MAC address entries to distal end ED.By using the present invention, source ED can be made when determining that LAV is switched to purpose ED, Local MAC address entries corresponding with the LAV are sent to purpose ED, make purpose ED that the Local MAC address entries are flooded to distal end ED, to effectively improve LAV flow convergence rates, the flow interrupt time is reduced, the continuity and reliability of Vlan business are improved.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of LAV switching methods and ED.
Background technology
Burning hot with cloud computing concept, data center network technology has welcome primary violent change, a large amount of new technologies
Standard is in interior appearance, EVI such as gush in recent years(Ethernet virtualization interconnection, Ethernet Virtualization
Interconnection)Technology also generates therewith.EVI technologies are based primarily upon existing service provider network and enterprise network
Network provides flexible two layers of interconnecting function to the physical site of dispersion.As shown in Figure 1, the system architecture for EVI networks is illustrated
Figure.
In EVI technologies, the ED in each website(Edge Device, edge device)Pass through ENDP(EVI Neighbor
Discovery Protocol, EVI Neighbor Discovery Protocols)Automatically other websites are found, ED in each website and other websites
In ED establish EVI virtual connections(VLink), each ED passes through EVI-ISIS(Intermediate System-to-
Intermediate System, Intermediate System-to-Intermediate System)Agreement is noticed in EVI virtual connections in itself affiliated website
The MAC of host and equipment(Media Access Control, media intervene control layer)Up to information.EVI network systems are completed
After deployment, EVI fictionalizes a big double layer network, and strange land host Host A, Host B, Host C will be in the same radio networks
It is interior.When website is by edge device core network access, in order to realize high reliability, the Single Point of Faliure of equipment in network is prevented, is led to
Frequently with more attributable system core network access of two edge of table equipment, also referred to as dual-homed access.
As shown in Fig. 2, being a kind of system architecture schematic diagram of EVI dual-homing networkings, ED1 and ED2 is the dual-homed of website 1
Access device establishes neighborhood in EVI ISIS websites between ED1 and ED2, activate Vlan(Virtual Local Area
Network, virtual LAN)The 1 specified originator that turns is ED1, and it is ED2 to activate the specified originator that turns of Vlan2, wherein in local,
The Vlan activated in website is also referred to as LAV(Local Active VLAN, local activation VLAN), therefore, above-mentioned in website 1
Interior Vlan1 is alternatively referred to as LAV1, and Vlan2 is alternatively referred to as LAV2.Link failure between ED1 and downlink convergence switch,
When in LAV1 without active two layers of port of downlink, according to existing EVI-ISIS agreements, ED1 is without any processing, at this time
VLAN1 Business Streams will be unable to normally forward.
It is existing to trigger LAV re-optimization by user behavior, that is, the website of Vlan activation is redistributed, forcing will
Vlan1 is assigned on ED2, and Vlan1 is switched to ED2 by ED1, realizes the re-optimization of LAV.But LAV re-optimization processes
In, need ED1 to delete all MAC address entries of LAV, and ED2 is typically according to the MAC agings in existing EVI-ISIS agreements
Habit mechanism ensures that whole net MAC is synchronous after LAV re-optimization with distal end MAC synchronization mechanisms, this allow for whole net MAC synchronize it is slower,
The flow convergence rate of re-optimization Vlan, i.e. Vlan1 are slower, and the flow interrupt time is longer, traffic affecting continuity.
Invention content
Problem to be solved by this invention is how to avoid existing in LAV re-optimization, and flow convergence rate is relatively slow and leads
The flow interrupt time longer problem of cause.
In order to solve the above technical problems, the present invention provides a kind of LAV switching methods, it is applied to Ethernet virtualization interconnection
In EVI systems, the EVI systems include site-local and remote station, and the site-local passes through source edge device ED and mesh
ED access the EVI systems, the remote station accesses the EVI systems by distal end ED, the method includes:
The source ED judges whether to need local activation virtual LAN LAV switching to the purpose ED;
When judging result is to be, the source ED notifies the distal end ED to delete media intervention control corresponding with the LAV
Preparative layer MAC address entries, and the first report for carrying local Local MAC address entries corresponding with the LAV is sent to the purpose ED
Text, so that the purpose ED sends the Local MAC address entries to the distal end ED;
Wherein, the Local MAC address entries are the MAC of the local device corresponding with the LAV stored on the source ED
Address.
Preferably, the source ED judges whether to need LAV switching to the purpose ED, specifically includes:
When the source ED is detected in the LAV without active two layers of port of downlink, the source ED judges to need institute
It states LAV and switches to the purpose ED;Or
The source ED determines the LAV re-optimization, and when being assigned to the purpose ED, judges to need to cut the LAV
Change to the purpose ED.
Preferably, when the source ED is the ED of non-designated edge device DED, the source ED detects nothing in the LAV
When active two layers of port of downlink, the ED judges to need the LAV switching to the purpose ED, specifically includes:
The source ED sends request message to the DED, and the request message is used to need to switch on the source ED
LAV informs the DED;
When the source ED receives the LAV assignment messages that the DED is sent, and the LAV is distributed into the purpose ED
When, the LAV is switched to the purpose ED by the source ED according to the LAV assignment messages.
Preferably, described that the first report for carrying Local MAC address entries corresponding with the LAV is sent to the purpose ED
After text, the method further includes:
Retain the remote equipment MAC address entries corresponding with the LAV being locally stored, to be switched to the mesh in the LAV
ED during ensure uplink traffic do not interrupt.
Preferably, the method further includes:
Set ageing time, so as to the ageing time then, delete the remote equipment MAC address entries;
Wherein, the ageing time sets for the source ED according to preset ageing time, or is the purpose ED
The ageing time carried in the second message sent, or the second message for preset ageing time and purpose ED transmissions
Minimum ageing time in the ageing time of middle carrying.
The embodiment of the present invention additionally provides a kind of LAV switching methods, is applied in Ethernet virtualization interconnection EVI systems,
The EVI systems include site-local and remote station, and the site-local accesses the EVI systems by source ED and purpose ED
System, the remote station access the EVI systems by distal end ED, the method includes:
The purpose ED receives the first message that the source ED is sent, obtain and store carried in first message with
The corresponding Local MAC address entries of LAV of switching, the Local MAC address entries are corresponding with the LAV to be stored on the source ED
Local device MAC Address;
The purpose ED floods the Local MAC address entries to the distal end ED, so that the distal end ED learns described
The MAC Address of end equipment, and flow transmission is carried out according to the MAC Address of the local device.
Preferably, the method further includes:
Set ageing time, so as to the ageing time then, according to the dynamic MAC table stored on the purpose ED
, the MAC Address being not present in the dynamic MAC list item is deleted from the Local MAC address entries, and using after synchronizing
Local MAC address entries synchronize the Local MAC address entries stored on the distal end ED, wherein are stored in the dynamic MAC list item
The MAC Address of all terminal devices reachable the purpose ED;
Wherein, the ageing time sets for the purpose ED according to preset ageing time, or is the source
The ageing time that carries in the first message that ED is sent, or sent for the preset ageing time and the source ED first
Minimum ageing time in the ageing time carried in message.
Preferably, after the purpose ED receives the first message that source ED is sent, the method further includes:
The purpose ED sends third message, the third by itself active downstream interface to two layers of convergence switch
The source MAC of message is the remote equipment MAC Address corresponding with the LAV of the switching that the purpose ED learns, with master
It is dynamic to refresh the MAC address entries stored on two layers of convergence switch so that two layers of convergence switch user is sent it is upper
Row flow is drawn by the source ED to the purpose ED.
The embodiment of the present invention additionally provides a kind of ED, including:
Judgment module needs LAV switching to purpose ED for judging whether;
Transceiver module, for when the judging result of the judgment module is to be, notice distal end ED to be deleted and described LAV pairs
The MAC address entries answered, and the first message for carrying Local MAC address entries corresponding with the LAV is sent to the purpose ED, with
The purpose ED is set to send the Local MAC address entries to the distal end ED;Wherein, the Local MAC address entries are the source
The MAC Address of the local device corresponding with the LAV stored on ED.
Preferably, the judgment module, specifically for when detecting in the LAV without active two layers of port of downlink,
Judge to need the LAV switching to the purpose ED;Or determine the LAV re-optimization specifically for working as, and it is assigned to institute
When stating purpose ED, judge to need the LAV being switched to the purpose ED.
Preferably, when the ED is the ED of non-designated edge device DED, the transceiver module is additionally operable to the DED
Request message is sent, the request message on the source ED for will need the LAV switched to inform the DED;And it is additionally operable to
Receive the LAV assignment messages that the DED is sent;
The judgment module, specifically for receiving the LAV assignment messages that the DED is sent when the transceiver module, and
When the LAV is distributed to the purpose ED, the LAV is switched to by the purpose ED according to the LAV assignment messages.
Preferably, the ED further includes:
Processing module, for carrying Local corresponding with the LAV to purpose ED transmissions in the transceiver module
After first message of MAC address entries, retain the remote equipment MAC address entries corresponding with the LAV being locally stored, in the LAV
Ensure that uplink traffic is not interrupted during being switched to the purpose ED.
Preferably, the ED further includes:
Timing processing module, for setting ageing time, so as to the ageing time then, delete the remote equipment
MAC address entries;
Wherein, the ageing time sets for the source ED according to preset ageing time, or is the purpose ED
The ageing time carried in the second message sent, or the second message for preset ageing time and purpose ED transmissions
Minimum ageing time in the ageing time of middle carrying.
The embodiment of the present invention additionally provides a kind of ED, including:
Receiving processing module, the first message for receiving source ED transmissions, obtains and stores and carried in first message
Local MAC address entries corresponding with the LAV of switching, the Local MAC address entries are storing with the LAV on the source ED
The MAC Address of corresponding local device;
Flood module, for flooding the Local MAC address entries to distal end ED, so that the distal end ED learns the local terminal
The MAC Address of equipment, and flow transmission is carried out according to the MAC Address of the local device.
Preferably, the ED further includes:
Timing processing module, for setting ageing time, so as to the ageing time then, according on the purpose ED
The dynamic MAC list item of storage deletes the MAC Address being not present in the dynamic MAC list item from the Local MAC address entries
It removes, and the Local MAC address entries stored on the distal end ED is synchronized using the Local MAC address entries after synchronizing, wherein is described dynamic
The MAC Address of the reachable all terminal devices of the purpose ED is stored in state MAC address entries;
Wherein, the ageing time sets for the purpose ED according to preset ageing time, or is the source
The ageing time that carries in the first message that ED is sent, or sent for the preset ageing time and the source ED first
Minimum ageing time in the ageing time carried in message.
Preferably, the ED further includes:
Message sending module, for after receiving the first message that the source ED is sent, being lived by the purpose ED
The downstream interface of jump sends third message to two layers of convergence switch, and the source MAC of the third message is the purpose ED
The remote equipment MAC Address corresponding with the LAV of the switching learnt is deposited with actively refreshing on two layers of convergence switch
The MAC address entries of storage, so that two layers of convergence switch is drawn the uplink traffic that user sends to the mesh by the source ED
ED.
By using technical solution of the embodiment of the present invention, source ED can be made when determining that LAV is switched to purpose ED, actively will
The Local MAC address entries corresponding with the LAV of itself storage are sent to purpose ED so that purpose ED can pass through the Local that floods
MAC address entries improve the whole network MAC no-load speeds to distal end ED, to effectively improve LAV flow convergence rates, reduce flow interrupt
Time improves the continuity and reliability of Vlan business.
Description of the drawings
Fig. 1 is the system architecture schematic diagram of EVI networks;
Fig. 2 is a kind of system architecture schematic diagram of EVI dual-homing networkings;
Fig. 3 is the flow diagram for the LAV switching methods that the embodiment of the present invention one provides;
Fig. 4 is the flow diagram of LAV switching methods provided by Embodiment 2 of the present invention;
Fig. 5 is the flow diagram for the LAV switching methods that the embodiment of the present invention three provides;
Fig. 6 is the flow diagram for the LAV switching methods that the embodiment of the present invention four provides;
Fig. 7 is the flow diagram for negotiating ageing time in the LAV switching methods that the embodiment of the present invention five provides;
Fig. 8 is the flow diagram for the LAV switching methods that the embodiment of the present invention six provides;
Fig. 9 is the format chart of TLV provided in an embodiment of the present invention;
Figure 10 is the schematic diagram of Flags fields in TLV formats provided in an embodiment of the present invention;
Figure 11 is the schematic diagram of Transfer VLAN id fields in TLV formats provided in an embodiment of the present invention;
Figure 12 is a kind of structural schematic diagram for ED that the embodiment of the present invention seven provides;
Figure 13 is a kind of structural schematic diagram for ED that the embodiment of the present invention eight provides;
Figure 14 is a kind of structural schematic diagram for ED that the embodiment of the present invention nine provides;
Figure 15 is a kind of structural schematic diagram for ED that the embodiment of the present invention ten provides.
Specific implementation mode
Below in conjunction with the attached drawing in the present invention, the technical solution in the present invention is clearly and completely described, is shown
So, described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based in the present invention
Embodiment, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all
Belong to the scope of protection of the invention.
Fig. 3 is the flow diagram for the LAV switching methods that the embodiment of the present invention one provides.The present embodiment LAV switching methods
Dual-homed EVI systems as shown in Figure 2, the dual-homed EVI systems can be applied to may include site-local and remote station, this
Ground website can access EVI systems by source ED and purpose ED, and remote station accesses the EVI systems by distal end ED, as source ED
On LAV when needing to be switched to purpose ED, LAV switchings can be carried out according to the present embodiment method, specifically, as shown in figure 3, this reality
It applies a LAV switching methods and may include following steps:
Step 101, source ED judge whether to need LAV switching to purpose ED;
Step 102, when judging result is to be, source ED notifies that distal end ED deletes corresponding with LAV MAC address entries, and to mesh
ED send and carry the first message of Local MAC address entries corresponding with LAV so that purpose ED sends Local to distal end ED
MAC address entries;
Wherein, Local MAC address entries are the MAC Address of the local device corresponding with LAV stored on the ED of source.
In the present embodiment, when source ED judges to need the Vlan to accessing itself, i.e. when LAV is switched to purpose ED, source ED can
Automatically by the corresponding Local MAC address entries of the LAV that itself is stored, it is sent to purpose ED so that purpose ED can be based on the Local
MAC address entries are flooded to distal end ED, can effectively improve the rapidity that whole net MAC is synchronized, avoid in the existing agreement according to EVI-ISIS
MAC agings study mechanism it is synchronous with the MAC that distal end MAC synchronization mechanisms are brought relatively slow and cause LAV convergences data are slower to ask
Topic can effectively reduce the flow interrupt time caused by LAV switchings.
In the present embodiment, source ED specifically can be according to designated edge equipment DED, during LAV re-optimization, such as user
Re-optimization caused by re-optimization caused by behavior or the link failure in other situations, such as source ED, DED are LAV pairs specified
When the Vlan answered is switched to purpose ED, you can will actively send Local MAC address entries of the LAV on the ED of source according to above-mentioned steps
To purpose ED so that purpose ED can flood to distal end ED based on the Local MAC address entries, to improve whole net MAC synchronous speeds
Rate.Wherein, the DED be between ED by website interaction EVI IS-IS hello packet form neighborhood, it
The extension VLAN of each self-configuring is mutually noticed afterwards, and elects one ED, i.e. DED(Designated Edge Device, refer to
Determine edge device), DED can be the activation VLAN that each ED distribution in website needs to share, i.e. the specific of LAV, DED was elected
Journey and DED are same as the prior art to the distribution method of LAV or similar, and details are not described herein.
To sum up, in the present embodiment technical solution, source ED can actively store itself when determining that LAV is switched to purpose ED
Local MAC address entries corresponding with the LAV be sent to purpose ED so that purpose ED can pass through the Local MAC address entries that flood
To distal end ED, the whole network MAC no-load speeds are improved, LAV flow convergence rates can be effectively improved, reduce the flow interrupt time, are improved
The continuity and reliability of Vlan business.
It will be understood by those skilled in the art that in the present embodiment, the source ED and purpose ED are only to be cut in a LAV
An appellation under a kind of scene when changing, in some cases, source ED may also become purpose ED, and purpose ED may also become
Source ED, such as in the scene of another LAV switchings;Meanwhile in the EVI systems described in the present embodiment, only to a website
Tool is there are two illustrating for ED, in practical application, the same website can also there are three or three or more ED, at this point,
Above-mentioned source ED can be one of ED, purpose ED can be it is therein another, this embodiment of the present invention is not done
Especially limitation.It is that there are two illustrated for ED by tool in a website unless otherwise noted in the present embodiment.
Fig. 4 is the flow diagram of LAV switching methods provided by Embodiment 2 of the present invention.The present embodiment LAV switching methods
Dual-homed EVI systems shown in Fig. 2 are can be applied to, which may include site-local and remote station, this
Ground website can access EVI systems by source ED and purpose ED, and remote station accesses the EVI systems by distal end ED, as source ED
On LAV when needing to be switched to purpose ED, purpose ED can receive the message that source ED is sent and be located according to the present embodiment method
Reason realizes LAV switchings, specifically, as shown in figure 4, the present embodiment LAV switching methods may include following steps:
Step 201, purpose ED receive source ED send the first message, obtain and store carried in the first message with switching
The corresponding Local MAC address entries of LAV, wherein Local MAC address entries are the local device corresponding with LAV that stores on the ED of source
MAC Address;
Step 202, purpose ED floods Local MAC address entries to distal end ED, so that the MAC of distal end ED study local devices
Location, and flow transmission is carried out according to the MAC Address of local device.
The present embodiment method can be handled source ED the first messages sent based on one method of above-described embodiment, can with it is upper
It states one method of embodiment together, realizes the switching of the LAV in same website.
In the present embodiment, after purpose ED, which gets source ED, sends Local MAC address entries, you can by the Local MAC tables
Item is flooded to distal end ED so that distal end ED can be quickly obtained corresponding MAC address entries, corresponding when study is switched to purpose ED to LAV
In the Local MAC address entries of LAV, flow transmission is carried out so as to be based on the Local MAC address entries, whole net MAC can be effectively improved
Synchronous rapidity avoids the MAC agings study mechanism in the existing agreement according to EVI-ISIS and distal end MAC synchronization mechanism bands
The MAC come synchronizes problem that is relatively slow and causing LAV convergences data slower, when can effectively reduce flow interrupt caused by LAV switchings
Between.
Fig. 5 is the flow diagram for the LAV switching methods that the embodiment of the present invention three provides.In the present embodiment, source ED needs
When switching LAV, it can be interacted with purpose ED and distal end ED, realize the switching of LAV, specifically, as shown in figure 5, the present embodiment LAV
Switching method may include following steps:
Step 301, source ED judges whether to need LAV switching to purpose ED, when judging result is to be, executes step
302, otherwise terminate flow.
Preferably, source ED can judge whether to need LAV switching to purpose ED according to following strategy:
(1)When source ED is detected in LAV without active two layers of port of downlink, ED judgements in source need LAV switching to purpose
ED;Or
(2)Source ED determines LAV re-optimization, and when being assigned to purpose ED, and judgement needs LAV being switched to purpose ED.
In practical application, the priority of LAV is provided in EVI systems, on ED so that ED can judge certainly according to priority
Whether body as the specified of LAV turns originator, by taking system structure shown in Fig. 2 as an example, if ED1 is height for the priority of LAV1,
Priority for LAV2 is low, and ED2 is low for the priority of LAV1, and the priority for LAV2 is height, then ED1 is LAV1
It is specified turn originator, ED2 is that the specified of LAV2 turns originator, and certain priority can also be indicated by concrete numerical value, herein no longer
It repeats.
For strategy(1), when ED1 judges that active downlink port is not present in itself, the priority of LAV1 is arranged ED1
To be low, and judge to need to migrate LAV1 to ED2, wherein ED1 can be according to the port status in the port list item of self maintained
Know whether that there are active downlink ports, same as the prior art herein, details are not described herein.For strategy(2), it is user
LAV caused by behavior switches, specifically, when the LAV accessed under ED1 is deleted(That is the LAV1 in Fig. 2), ED1 judgement needs
LAV1 is migrated to ED2.When the specified forwarding ED of the LAV1 under ED1 is changed(Such as the specified originator that turns of LAV1 is by ED1 quilts
It is revised as ED2), ED1 judgement need to migrate LAV1 to ED2.
It will be understood by those skilled in the art that when the website of EVI systems is only there are two when ED, in source, ED judges downlink
When failure, you can determine and the LAV on itself switched into purpose ED, and for a website tool there are three or three or more ED
When, when in source, ED judges downlink failure, can by DED come determine LAV switching purpose ED be which ED on earth.Equally,
When the priority etc. of user behavior, such as modification Vlan leads to Vlan re-optimization, re-optimization is generally also determined by DED
ED specified Vlan, at this point, the switching of LAV can also be carried out according to the present embodiment step.
Step 302, source ED notifies distal end ED to delete corresponding with LAV MAC address entries, and carry to purpose ED transmissions and
First message of the corresponding Local MAC address entries of LAV.
Preferably, source ED can also temporarily retain remote equipment MAC table corresponding with LAV that is switching being locally stored
, to ensure that uplink traffic is not interrupted in handoff procedure.
Specifically, in embodiments of the present invention, by taking system architecture shown in Fig. 2 as an example, distal end ED is ED3, Local MAC
List item is the MAC Address with the LAV1 counterpart terminals 1 and terminal 2 that switch.
It should be noted that if the LAV that switches corresponding with source ED be there are a large amount of Local MAC address entries, then one
A message possibly can not carry all Local MAC address entries, at this point, can be by message fragment, and pass through the flag in message
Indicate that position of the fragment message in former message, specific implementation will be described in detail in a later process.
Preferably, be also provided with ageing time in the ED of source, after sending the first message, source ED start timer, when to
When up to ageing time, remote equipment MAC address entries are deleted.Specifically, the ageing time can be source ED according to preset aging when
Between set, the ageing time that is carried in the second message either sent for purpose ED or for according to preset ageing time
Minimum ageing time in the ageing time carried in the second message sent with purpose ED.
It in this step, can be to avoid remote by notifying distal end ED to delete MAC address entries corresponding with the LAV to switch
End ED continues message being sent on the ED of source, meanwhile, when ED judgements need to switch LAV in source, does not delete and be locally stored immediately
Remote equipment MAC address entries corresponding with the LAV to switch, but temporarily retain the remote equipment MAC address entries, to ensure source
ED can continue to forwarding uplink traffic, avoid flow from interrupting, it is preferred that can will it is corresponding with the LAV to switch far
End equipment MAC address entries are labeled as temporary address, in order to delete the temporary address later.
Step 303, purpose ED receive source ED send the first message, obtain and store carried in the first message with generation
The corresponding Local MAC address entries of LAV of switching.
Step 304, the Local MAC address entries that purpose ED is sent to distal end ED transmission sources ED, with notify distal end ED according to
Local MAC address entries and the interface for receiving Local MAC address entries, converting downlink data.
Specifically, distal end ED can be determined according to the EVI tunnel interfaces for receiving Local MAC address entries by subsequent flow
It is transmitted to any platform ED, specific implementation is same as the prior art or similar, and details are not described herein.
Preferably, may be provided with ageing time in purpose ED, so as to ageing time then, according to what is stored on purpose ED
After dynamic MAC list item deletes the MAC Address being not present in dynamic MAC list item from Local MAC address entries, and use synchronizes
Local MAC address entries synchronize the Local MAC address entries stored on the distal end ED, wherein be stored with mesh in dynamic MAC list item
The reachable all terminal devices of ED MAC Address, the MAC Address in the dynamic MAC list item can be by purpose ED in message interaction
Etc. dynamic learning and update in flows, the process is same as the prior art, repeats no more;Wherein, ageing time can be for the purpose of
ED is set according to preset ageing time, or the ageing time carried in the first message for the ED transmissions in source, Huo Zhewei
Minimum ageing time in the ageing time carried in the first message that preset ageing time and source ED are sent.
Specifically, purpose ED itself is stored with MAC address entries, wherein storing in all extension VLAN, purpose ED is reachable
The MAC Address of client, purpose ED can also start local timer, and arrive in local timer after determining ageing time
Up to after ageing time, according to the MAC Address in MAC address entries, synchronous Local MAC address entries, the MAC that will be not present in MAC address entries
Address is deleted from Local MAC address entries, and the Local MAC address entries after synchronizing are sent to distal end ED, and delete Local MAC
List item.
Step 305, purpose ED sends third message by itself active downstream interface, the source MAC in third message
Location be and purpose ED learn remote equipment MAC Address corresponding with LAV that is switching, with actively refresh two layers converge friendship
It changes planes the MAC address entries of upper storage, so that two layers of convergence switch are drawn the uplink traffic that user sends to institute by the source ED
State purpose ED.
Specifically, being provided according to existing protocol, purpose ED study to the corresponding Local MAC address entries of LAV to switch
Afterwards, can be interacted with distal end ED, with the corresponding remote equipment MAC Address of the LAV for learning with switching, specific implementation with
The prior art is same or like, and details are not described herein.In embodiments of the present invention, if the LAV to switch be corresponding with it is multiple remote
Multiple third messages can be transmitted in end equipment, purpose ED, the MAC Address of all remote equipments is informed that two layers of convergence exchange one by one
Machine.
By sending the third message that source MAC is remote equipment MAC Address to two layers of convergence switch, two can be made
Layer convergence switch refreshes the MAC address entries of itself storage according to the Ethernet interface for receiving the third message, and then makes two layers of remittance
The uplink traffic that local device corresponding with the LAV to switch is sent is forwarded on ED2 by poly- interchanger.
By using the embodiment of the present invention, source ED can be made when determining that LAV is switched to purpose ED, actively store itself
Local MAC address entries corresponding with the LAV be sent to purpose ED so that purpose ED can pass through the Local MAC address entries that flood
To distal end ED, the whole network MAC no-load speeds are improved, to effectively improve LAV flow convergence rates, the flow interrupt time is reduced, carries
The continuity and reliability of high Vlan business.
In practical application, an ED would generally be elected as DED for EVI systems, in same website, to realize
The distribution of Vlan, in this way, the LAV switchings in website, are that just can determine that after DED is allocated and need to carry out LAV switchings,
And the purpose ED being switched to is needed, when will be below non-DED with source ED, and the corresponding downlink failures of LAV on the ED of source
When, how to carry out LAV switchings and illustrates.
Fig. 6 is the flow diagram for the LAV switching methods that the embodiment of the present invention four provides.In the present embodiment, in EVI systems
Source ED be non-DED, purpose ED is DED, can be by as follows when source, ED detects the corresponding downlink failures of LAV thereon
Step realizes the switching of LAV:
Step 401, source ED is when detecting in LAV without active two layers of port of downlink, and source ED sends request report to DED
Text, request message on the ED of source for will need the LAV switched to inform DED.
Step 402, DED receives the request message that source ED is sent, and judges itself whether support the LAV to switch, if
Judging result is yes, executes step 403, no to then follow the steps 405.
Step 403, DED sends LAV assignment messages to source ED, and specifies LAV distributing to oneself.
Step 404, source ED receives the LAV assignment messages of DED transmissions, and determines LAV switching to DED.
Step 405, DED sends refusal message to source ED and does not have to inform that source ED itself does not support the LAV to switch
For distributing specified ED.
Step 406, source ED receives the refusal message that DED is sent, and does not execute LAV switchings.
It will be understood by those skilled in the art that in practical application, for the same website in EVI systems there are multiple ED,
And source ED and purpose ED the case where not being DED, the LAV to switch whether can be supported to pass through LAV point purpose ED by DED
Proclamation of delivering newspapers knows source ED, and LAV switchings are executed by purpose EDs of the source ED indicated by LAV assignment messages.Wherein DED distributes ED's
Specific implementation can be same as the prior art or similar, and details are not described herein.
Fig. 7 is the flow diagram for negotiating ageing time in the LAV switching methods that the embodiment of the present invention five provides.Above-mentioned
On the basis of each embodiment technical solution, the ageing time set in the ageing time or purpose ED that are set on the ED of source, according to each
Minimum value in the ageing time carried from itself preset ageing time and opposite end message is specific real come when determining
Existing process can refer to following step as shown in Figure 7:
Step 501, source ED carries the default ageing time of itself in the first message, for ease of description, referred to herein as
One ageing time.
Step 502, purpose ED receive the first message, obtain the first ageing time, and with the default ageing time of itself into
Row compares, for ease of description.The default ageing time on purpose ED is referred to as the second ageing time herein.
Step 503, purpose ED takes the minimum time in the first ageing time and the second ageing time as ageing time, root
According to the ageing time, start timer, and the ageing time is sent to by source ED by the second message.
Step 504, source ED receives the second message, obtains the ageing time wherein carried, and start according to the ageing time
Timer.
By using the embodiment of the present invention, source ED and purpose ED can be made to negotiate to determine ageing time.In this way, source ED and mesh
ED can start timer after determining ageing time, with ageing time then, execute corresponding operation, specifically may be used
Referring to the explanation of aforementioned present invention embodiment of the method.
It will be understood by those skilled in the art that being when directly determining the aging for needing to set on purpose ED in the present embodiment
Between, and the ageing time that determining needs are set is sent to by source ED by the second message, by source ED in this, as ageing time;
And in practical application, purpose ED also can directly carry preset ageing time thereon in the second message, and according to setting themselves
Ageing time, the ageing time that minimum ageing time is determined as needing to set.
Below by by taking a kind of practical application of the technical solution of the present invention under concrete scene as an example, to skill of the embodiment of the present invention
The specific implementation process of art scheme illustrates.
Fig. 8 is the flow diagram for the LAV switching methods that the embodiment of the present invention six provides.In the present embodiment, shown in Fig. 2
ED1 in EVI systems is that source ED, ED2 are to be illustrated for purpose ED, ED3 is distal end ED, wherein LAV1 is switched by ED1
ED2, ageing time are negotiated to obtain, be connected for Ethernet between wherein ED1, ED2, convergence switch, ED1 by source ED and purpose ED
It is connect for EVI between ED3, ED2 and ED3, ED1, ED2, ED3 and convergence switch can be according to receiving connecing for uplink traffic
Mouthful, it determines and downlink traffic corresponding with the uplink traffic, study mechanism herein and prior art phase is forwarded by same-interface
Together, details are not described herein.In the present embodiment, the interaction of message can be realized between ED1 and ED2 by hello packet, specifically
Ground, as shown in figure 8, the present embodiment LAV switching methods may include following steps:
Step 601, when ED1 judgements need the LAV of itself switching to purpose ED, flow is migrated into LAV, is sent out to ED2
Hello packet is sent, LAV migration requests are initiated.
Wherein, the hello packet is the hello packet for carrying TYPE254 classes TLV, that is, it is 254 to carry type
The hello packet of TLV.The format for the TLV that the type is 254 is as shown in Fig. 9, Figure 10 and Figure 11:
Wherein, the type field is the types value of 1 byte, definition value 254;Length fields are the length mark of 1 byte,
Identify TLV length;Flags fields occupy 1 byte;Sequence Number fields are the identification message serial number of 2 bytes, are used for
Confirmation to message;Transfer Timer fields are 1 byte, for defining transition process total time;Transfer
Neighbor id fields are 6 bytes, the system identifier for identifying migration initiating equipment;Transfer VLAN id fields are 2 words
Section, the LAV for identifying migration;Transfer MAC fields are 6 bytes, and record sends the Local MAC tables in the LAV of migration
, it can carry multiple.
The detailed flag bit of Flags fields is as shown in Figure 10, including:Reserved fields, 0-3 reserved bits;TR
(Transfer Request, migration request)Field is the migration flag of 1bit;TA(Transfer Accept, migration are true
Recognize)For the migration acknowledgement bit of 1bit;F(First)For the start of message (SOM) packet labeling position of 1bit;L(Last)For the message of 1bit
End message marker bit.The detailed flag bit of Transfer VLAN id fields is as shown in figure 11, and wherein Reserved is 0-3
Reserved bit, remaining 12bit are VLAN-ID.
The TLV that the type is 254, is the new TLV extended on the basis of existing hello packet, relevant for carrying
The information such as mac list items, so that source ED and purpose ED, i.e. can complete moving for LAV between ED1 and ED2 by hello packet
Move past journey.
In the present embodiment, ED1 can carry Local MAC address entries and the first ageing time in the hello packet of transmission,
Specifically, ED1 can be by the positions TR 1 of TLV in hello packet, mark migration request, the positions TA 0, when not being related to hello fragments,
F sets 1 with L, fills Sequence Number identification message sequences(Initial value is 1), filling own system ID is
Transfer Neighbor ID, mark initiate the system identifier of migration request, fill Transfer Timer values, give tacit consent to 30s(I.e.
First ageing time), Transfer VLAN ID values are filled, the LAV ID of migration are identified, fill Transfer MAC, mark is moved
Move the Local MAC address entries of LAV1.
In this step, if the Local MAC table item sizes of LAV1 are more than a hello packet be carried by it is big
It is small, fragment processing can be carried out with L by the positions F in Flags fields at this time, specifically, can be by the positions F in first message
1, L position 0, by the positions F 0 in intermediate fragment, the positions L 0, Sequence Number are filled with preceding 1 slicing sequence+1, last position point
The positions F 0 in piece, the positions L 1, Sequence Number are filled with preceding 1 slicing sequence+1.
It should be noted that after ED1 enters migration flow, the LAV1 that ED1 can not delete its storage at once is corresponding remote
End equipment MAC address entries still can be used for forwarding after carrying out specific identifier, and be deleted after local timer reaches ageing time, protect
Card remains to carry out forwarded upstream to the flow that does not immediately switch in transit time, but for Local MAC address entries, then must be to
ED3 notices are deleted, so that downlink traffic is changed to be forwarded to ED2 by ED3 by being forwarded to ED1.
Step 602, ED2 receives ED1 and sends hello packet, handles hello packet.
After ED2 receives hello packet, you can whether determination needs the LAV migrated effective in local, only exists in LAV
When locally significant, hello packet can just be handled, to the hello packet of ED1 returning responses.
Step 603, ED2 returns to hello packet to ED1.
Specifically, after ED2 receives the migration request of ED1, determine migrated LAV after locally significant, you can to this
Hello packet is handled, and is responded, and the hello packet for carrying TYPE254 classes TLV defined in the present invention is returned, wherein:
TR set 0, response message not set;
The positions TA 1, mark receive migration request;
Sequence Number:Mark confirms request message, adds 1 to the sequence number of request message;
Transfer Neighbor ID:Fill migration person(That is ED1)System identifier, it is consistent with request message;
Transfer Timer:Receive neighbours(That is ED1)Value after with value be locally configured be compared, take both ends minimum value
Filling, while the ends ED2 start Helper Timer timers.
ED1 starts Transfer Timer timers after receiving the response message, according to last negotiation value.
Wherein, the time value in Transfer Timer is exactly the minimum of pre-set ageing time in ED1 and ED2
Value, in this way, ED1 and ED2 will according in the response hello packet Transfer Timer carry time as aging when
Between, and start corresponding timer.
Step 604, ED1 receives the hello packet that ED2 is returned.
ED1 can according to the time that the Transfer Timer in the TLV in the hello packet are carried as ageing time,
And start corresponding timer
Step 605, ED2 stores the Local MAC address entries carried in the hello packet that ED1 is sent, and should to ED3 notices
Local MAC address entries, so that ED3 carries out flow switching according to Local MAC address entries.
Preferably, the Local MAC address entries being locally stored can also be labeled as temporary address by ED2, later should
It deletes temporary address.
It should be noted that after LAV1 is switched to ED2 by ED1, ED2 may locally not have two layers of table of equipment in LAV1
, at this point, ED2 after receiving the flow that ED3 is beamed back, need using the flow as unknown unicast the LAV1 all downlinks
Port forwards.
Step 606, ED2 all active two layer interfaces transmission source MACs corresponding with LAV1 on convergence switch are
The broadcasting packet of remote equipment MAC Address.
Wherein, remote equipment MAC Address is the MAC Address of the LAV1 equipment that includes corresponding to ED3, by ED3
Broadcasting packet is sent, the MAC address entries stored on convergence switch can be refreshed so that convergence switch is by uplink traffic by forwarding
It is changed to be forwarded to ED2 to ED1.
Step 607, when the timer of ED1 reaches ageing time, ED1 deletes the remote equipment MAC address entries being locally stored.
Step 608, when the timer of ED2 reaches ageing time, ED2 is according to dynamic MAC list item, by dynamic MAC list item
In the MAC Address that is not present deleted from Local MAC address entries, and updated Local MAC address entries are sent to ED3, and
Delete the Local MAC address entries.
Specifically, in the dynamic MAC list item of ED2, it is stored with the MAC Address of its reachable all devices, when arrival aging
When the time, ED2 is according to its reachable MAC Address, and by local device MAC Address, itself inaccessible MAC Address is deleted.
In above-mentioned steps, step 605 and step 606 can execute sequence, step 607 and step 608 according to practical adjustment
Sequence can be executed according to practical adjustment.
It should be noted that if when current LAV re-optimization flow is not finished, which needs to stand at this time again by re-optimization
Quarter makes the local timer being arranged on source ED and purpose ED then, to terminate current process, and executes respective handling, and according to step
Rapid 601-608 restarts LAV re-optimization flows.
By using the embodiment of the present invention, source ED can be made when determining that LAV is switched to purpose ED, actively store itself
Local MAC address entries corresponding with the LAV be sent to purpose ED so that purpose ED can pass through the Local MAC address entries that flood
To distal end ED, the whole network MAC no-load speeds are improved, to effectively improve LAV flow convergence rates, the flow interrupt time is reduced, carries
The continuity and reliability of high Vlan business.
Figure 12 is a kind of structural schematic diagram for ED that the embodiment of the present invention seven provides.The present embodiment ED can be specifically above-mentioned
Source ED described in embodiment one can perform each step of above method embodiment one, specifically, as shown in figure 12, this implementation
Example ED may include following module:
Judgment module 11 needs LAV switching to purpose ED for judging whether;
Transceiver module 12, for when the judging result of judgment module 11 is to be, notice distal end ED to delete corresponding with LAV
MAC address entries, and the first message for carrying Local MAC address entries corresponding with LAV is sent to purpose ED, so that purpose ED is to remote
ED is held to send Local MAC address entries;Wherein, Local MAC address entries are the local device corresponding with LAV stored on the ED of source
MAC Address.
The present embodiment ED can be on itself LAV when needing to be switched to other ED, i.e. purpose ED, can be sent to purpose ED with
The corresponding Local MAC address entries of LAV, specific implementation process can be found in each step of aforementioned present invention embodiment of the method, herein
It repeats no more.
Figure 13 is a kind of structural schematic diagram for ED that the embodiment of the present invention eight provides.In above-mentioned embodiment illustrated in fig. 12 technology
On the basis of scheme, as shown in figure 12, the present embodiment ED may also include following module:
Processing module 13, for carrying Local MAC address entries corresponding with LAV to purpose ED transmissions in transceiver module 12
The first message after, retain the remote equipment MAC address entries corresponding with LAV being locally stored, to be switched to the mistake of purpose ED in LAV
Ensure that uplink traffic is not interrupted in journey.
As shown in figure 13, the present embodiment ED may also include:
Timing processing module 14, for setting ageing time, so as to ageing time then, delete remote equipment MAC table
;Wherein, which sets for source ED according to preset ageing time, or in the second message sent for purpose ED
In the ageing time carried in the ageing time of carrying, or the second message for being sent for preset ageing time and purpose ED
Minimum ageing time.
In the present embodiment, the ED as source ED can temporarily retain remote equipment corresponding with LAV during switching LAV
MAC address entries, in LAV handoff procedures, ED still carries out the forwarding of uplink traffic, tool using the remote equipment MAC address entries
Body realizes the explanation that can be found in aforementioned present invention corresponding method embodiment, and details are not described herein.
In embodiment shown in above-mentioned Figure 12 or Figure 13, the judgment module 11, being particularly used in ought detect in LAV
When without active two layers of port of downlink, judgement needs LAV switching to purpose ED;Or determine LAV re-optimization specifically for working as, and
When being assigned to purpose ED, judgement needs LAV being switched to purpose ED.Specifically, as the ED that ED is non-designated edge device DED
When, above-mentioned transceiver module 12, it may also be used for send request message to DED, the request message on the ED of source for that will need to switch
LAV inform DED;And it is additionally operable to receive the LAV assignment messages that DED is sent;Correspondingly, above-mentioned judgment module 11, specifically
When can be used for receiving the LAV assignment messages of DED transmissions when transceiver module 12, and LAV being distributed to purpose ED, according to LAV points
LAV is switched into purpose ED with message.
Figure 14 is a kind of structural schematic diagram for ED that the embodiment of the present invention nine provides.The present embodiment ED can be specifically above-mentioned
Purpose ED described in embodiment three can perform each step of above method embodiment three, specifically, as shown in figure 14, this reality
It applies an ED and may include following module:
Receiving processing module 21, the first message for receiving source ED transmissions are obtained and are stored and carry in the first message
Local MAC address entries corresponding with the LAV of switching, wherein Local MAC address entries are corresponding with LAV stored on the ED of source
The MAC Address of end equipment;
Flood module 22, for flooding Local MAC address entries to distal end ED, so that the MAC of distal end ED study local devices
Address, and flow transmission is carried out according to the MAC Address of local device.
The present embodiment ED can provide the ED as source ED to realize the switching of LAV in website with above-described embodiment two, have
Body realizes that process can be found in each step of aforementioned present invention embodiment of the method, and details are not described herein.
Figure 15 is a kind of structural schematic diagram for ED that the embodiment of the present invention ten provides.In above-mentioned embodiment illustrated in fig. 14 technology
On the basis of scheme, as shown in figure 15, the present embodiment ED may also include following module:
Timing processing module 23, for setting ageing time, so as to ageing time then, according to what is stored on purpose ED
After dynamic MAC list item deletes the MAC Address being not present in dynamic MAC list item from Local MAC address entries, and use synchronizes
Local MAC address entries synchronize the Local MAC address entries that store on the ED of distal end, wherein purposeful ED is stored in dynamic MAC list item
The MAC Address of reachable all terminal devices;
Wherein, the ageing time sets for purpose ED according to preset ageing time, or is sent for the ED in source
The first message in carry in the ageing time that carries, or the first message for being sent for preset ageing time and source ED it is old
Change the minimum ageing time in the time.
In addition, as shown in figure 15, the present embodiment ED may also include:
Message sending module 24, for receive source ED transmission the first message after, by purpose ED it is active under
Line interface sends third messages to two layers of convergence switch, the source MAC of third message be purpose ED learn with switching
The corresponding remote equipment MAC Address of LAV, actively to refresh the MAC address entries stored on two layers of convergence switch so that two layers remittance
Poly- interchanger is drawn the uplink traffic that user sends to purpose ED by source ED.
The present embodiment ED can realize with the ED for needing to switch LAV in website, i.e. source ED interacts, and realization switches LAV
To the ED of the present embodiment, i.e. purpose ED, specific implementation process can be found in the explanation of aforementioned present invention correlation method embodiment, herein
It repeats no more.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but the former is more in many cases
Good embodiment.Based on this understanding, technical scheme of the present invention substantially in other words contributes to the prior art
Part can be expressed in the form of software products, which is stored in a storage medium, if including
Dry instruction is used so that a computer equipment(Can be personal computer, server or the network equipment etc.)Execute this hair
Method described in bright each embodiment.
It will be appreciated by those skilled in the art that attached drawing is the schematic diagram of a preferred embodiment, the module in attached drawing or stream
Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in embodiment can describe be divided according to embodiment
It is distributed in the device of embodiment, respective change can also be carried out and be located in one or more devices different from the present embodiment.On
The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Disclosed above is only several specific embodiments of the present invention, and still, the present invention is not limited to this, any ability
What the technical staff in domain can think variation should all fall into protection scope of the present invention.
Claims (16)
1. a kind of LAV switching methods are applied in Ethernet virtualization interconnection EVI systems, the EVI systems include site-local
And remote station, the site-local access the EVI systems by source edge device ED and purpose ED, the remote station is logical
It crosses distal end ED and accesses the EVI systems, which is characterized in that the method includes:
The source ED judges whether to need local activation virtual LAN LAV switching to the purpose ED;
When judging result is to be, the source ED notifies the distal end ED to delete media intervention control layer corresponding with the LAV
MAC address entries, and the first message for carrying local Local MAC address entries corresponding with the LAV is sent to the purpose ED, with
The purpose ED is set to send the Local MAC address entries to the distal end ED;
Wherein, the Local MAC address entries are the MAC Address of the local device corresponding with the LAV stored on the source ED.
2. the method as described in claim 1, which is characterized in that the source ED judges whether to need LAV switching to the mesh
ED, specifically include:
When the source ED is detected in the LAV without active two layers of port of downlink, the source ED judges to need the LAV
Switch to the purpose ED;Or
The source ED determines the LAV re-optimization, and when being assigned to the purpose ED, judges to need the LAV being switched to
The purpose ED.
3. method as claimed in claim 2, which is characterized in that when the source ED is the ED of non-designated edge device DED, institute
When the source ED of stating is detected in the LAV without active two layers of port of downlink, the source ED judges to need the LAV switching to institute
Purpose ED is stated, is specifically included:
The source ED sends request message to the DED, and the request message is for will need the LAV switched to accuse on the source ED
Know the DED;
When the source ED receives the LAV assignment messages that the DED is sent, and the LAV is distributed to the purpose ED, institute
It states source ED and the LAV is switched to by the purpose ED according to the LAV assignment messages.
4. method as claimed in claim 1,2 or 3, which is characterized in that it is described to the purpose ED transmission carry with it is described
After first message of the corresponding Local MAC address entries of LAV, further include:
Retain the remote equipment MAC address entries corresponding with the LAV being locally stored, to be switched to the purpose ED in the LAV
During ensure uplink traffic do not interrupt.
5. method as claimed in claim 4, which is characterized in that further include:
Set ageing time, so as to the ageing time then, delete the remote equipment MAC address entries;
Wherein, the ageing time sets for the source ED according to preset ageing time, or is sent for the purpose ED
The second message in take in the ageing time that carries, or the second message for being sent for preset ageing time and the purpose ED
Minimum ageing time in the ageing time of band.
6. a kind of LAV switching methods are applied in Ethernet virtualization interconnection EVI systems, the EVI systems include site-local
And remote station, the site-local access the EVI systems by source ED and purpose ED, the remote station passes through distal end ED
Access the EVI systems, which is characterized in that the method includes:
The purpose ED receives the first message that the source ED is sent, obtain and store carried in first message with switching
The corresponding Local MAC address entries of LAV, the Local MAC address entries are store corresponding with the LAV on the source ED
The MAC Address of end equipment;
The purpose ED floods the Local MAC address entries to the distal end ED, so that the distal end ED learns the local terminal and sets
Standby MAC Address, and flow transmission is carried out according to the MAC Address of the local device;
Wherein, the LAV is local activation virtual LAN.
7. method as claimed in claim 6, which is characterized in that further include:
Set ageing time, so as to the ageing time then, will according to the dynamic MAC list item stored on the purpose ED
The MAC Address being not present in the dynamic MAC list item is deleted from the Local MAC address entries, and uses the Local after synchronizing
MAC address entries synchronize the Local MAC address entries stored on the distal end ED, wherein are stored with the mesh in the dynamic MAC list item
The reachable all terminal devices of ED MAC Address;
Wherein, the ageing time sets for the purpose ED according to preset ageing time, or is sent for the source ED
The first message in the ageing time that carries, or the first message for being sent for the preset ageing time and the source ED
Minimum ageing time in the ageing time of carrying.
8. method as claimed in claim 6, which is characterized in that after the purpose ED receives the first message that source ED is sent,
Further include:
The purpose ED sends third message, the third message by itself active downstream interface to two layers of convergence switch
Source MAC be the remote equipment MAC Address corresponding with the LAV of the switching that learns of the purpose ED, actively to brush
The MAC address entries stored on new two layers of convergence switch, so that the upstream that two layers of convergence switch sends user
Amount is drawn by the source ED to the purpose ED.
9. a kind of edge device ED, which is characterized in that when the ED is source ED, the ED includes:
Judgment module needs LAV switching to purpose ED for judging whether;
Transceiver module, for when the judging result of the judgment module is to be, notice distal end ED to delete corresponding with the LAV
MAC address entries, and the first message for carrying Local MAC address entries corresponding with the LAV is sent to the purpose ED, so that institute
It states purpose ED and sends the Local MAC address entries to the distal end ED;Wherein, the Local MAC address entries are on the source ED
The MAC Address of the local device corresponding with the LAV of storage;
Wherein, the LAV is local activation virtual LAN.
10. ED as claimed in claim 9, which is characterized in that the judgment module is detected specifically for working as in the LAV
When without active two layers of port of downlink, judge to need the LAV switching to the purpose ED;Or specifically for working as described in determination
LAV re-optimization, and when being assigned to the purpose ED, judge to need the LAV being switched to the purpose ED.
11. ED as claimed in claim 10, which is characterized in that described when the ED is the ED of non-designated edge device DED
Transceiver module is additionally operable to send request message to the DED, and the request message is used to need to switch on the source ED
LAV informs the DED;And it is additionally operable to receive the LAV assignment messages that the DED is sent;
The judgment module, specifically for receiving the LAV assignment messages that the DED is sent when the transceiver module, and by institute
When stating LAV and distributing to the purpose ED, the LAV is switched to by the purpose ED according to the LAV assignment messages.
12. the ED as described in claim 9,10 or 11, which is characterized in that further include:
Processing module, for carrying Local MAC corresponding with the LAV to purpose ED transmissions in the transceiver module
After first message of list item, retain the remote equipment MAC address entries corresponding with the LAV being locally stored, to switch in the LAV
To ensureing that uplink traffic is not interrupted during the purpose ED.
13. ED as claimed in claim 12, which is characterized in that further include:
Timing processing module, for setting ageing time, so as to the ageing time then, delete the remote equipment MAC
List item;
Wherein, the ageing time sets for the source ED according to preset ageing time, or is sent for the purpose ED
The second message in take in the ageing time that carries, or the second message for being sent for preset ageing time and the purpose ED
Minimum ageing time in the ageing time of band.
14. a kind of edge device ED, which is characterized in that when the ED is purpose ED, the ED includes:
Receiving processing module, for receive source ED transmission the first message, obtain and store carried in first message with
The corresponding Local MAC address entries of LAV of switching, the Local MAC address entries are corresponding with the LAV to be stored on the source ED
Local device MAC Address;
Flood module, for flooding the Local MAC address entries to distal end ED, so that the distal end ED learns the local device
MAC Address, and according to the MAC Address of the local device carry out flow transmission;
Wherein, the LAV is local activation virtual LAN.
15. ED as claimed in claim 14, which is characterized in that further include:
Timing processing module, for setting ageing time, so as to the ageing time then, stored according on the purpose ED
Dynamic MAC list item, the MAC Address being not present in the dynamic MAC list item is deleted from the Local MAC address entries, and
The Local MAC address entries stored on the distal end ED are synchronized using the Local MAC address entries after synchronizing, wherein the dynamic MAC
The MAC Address of the reachable all terminal devices of the purpose ED is stored in list item;
Wherein, the ageing time sets for the purpose ED according to preset ageing time, or is sent for the source ED
The first message in the ageing time that carries, or the first message for being sent for the preset ageing time and the source ED
Minimum ageing time in the ageing time of carrying.
16. ED as claimed in claim 14, which is characterized in that further include:
Message sending module, for after receiving the first message that the source ED is sent, passing through the downlink that purpose ED is active
Interface sends third message to two layers of convergence switch, and the source MAC purpose ED study of the third message is arrived
Remote equipment MAC Address corresponding with the LAV of the switching, actively to refresh the MAC stored on two layers of convergence switch
List item, so that two layers of convergence switch is drawn the uplink traffic that user sends to the purpose ED by the source ED.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310266608.4A CN104253756B (en) | 2013-06-27 | 2013-06-27 | A kind of LAV switching methods and ED |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310266608.4A CN104253756B (en) | 2013-06-27 | 2013-06-27 | A kind of LAV switching methods and ED |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104253756A CN104253756A (en) | 2014-12-31 |
CN104253756B true CN104253756B (en) | 2018-10-26 |
Family
ID=52188310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310266608.4A Active CN104253756B (en) | 2013-06-27 | 2013-06-27 | A kind of LAV switching methods and ED |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104253756B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109391548B (en) * | 2018-11-06 | 2021-12-17 | 迈普通信技术股份有限公司 | Table entry migration method and device and network communication system |
CN117575544B (en) * | 2024-01-15 | 2024-03-22 | 北京智芯微电子科技有限公司 | Distribution area equipment management method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1980155A (en) * | 2006-11-29 | 2007-06-13 | 杭州华为三康技术有限公司 | Method for recovering sponsor media accessing control address and operation businesss edge apparatus |
CN102752183A (en) * | 2012-07-19 | 2012-10-24 | 杭州华三通信技术有限公司 | rapid convergence method and device for access network |
CN102780615A (en) * | 2012-07-17 | 2012-11-14 | 杭州华三通信技术有限公司 | Link backup method and routing forwarding device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8694664B2 (en) * | 2010-11-23 | 2014-04-08 | Cisco Technology, Inc. | Active-active multi-homing support for overlay transport protocol |
US8774076B2 (en) * | 2011-02-04 | 2014-07-08 | Cisco Technology, Inc. | Optimizing OTV multicast traffic flow for site local receivers |
-
2013
- 2013-06-27 CN CN201310266608.4A patent/CN104253756B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1980155A (en) * | 2006-11-29 | 2007-06-13 | 杭州华为三康技术有限公司 | Method for recovering sponsor media accessing control address and operation businesss edge apparatus |
CN102780615A (en) * | 2012-07-17 | 2012-11-14 | 杭州华三通信技术有限公司 | Link backup method and routing forwarding device |
CN102752183A (en) * | 2012-07-19 | 2012-10-24 | 杭州华三通信技术有限公司 | rapid convergence method and device for access network |
Also Published As
Publication number | Publication date |
---|---|
CN104253756A (en) | 2014-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104205748B (en) | Has redundancy between the frame of coordinated traffic direction | |
CN105162704B (en) | The method and device of multicast replication in Overlay network | |
CN100471162C (en) | Method for releasing and processing virtual circuit information and supplier edge device | |
CN104618243B (en) | Method for routing, apparatus and system, Scheduling of Gateway method and device | |
CN103905284B (en) | A kind of flow load sharing method and apparatus based on EVI networks | |
EP2458782A1 (en) | Method for multiplexing hot backup ports and network system thereof | |
CN102447583B (en) | The method and device of the two-node cluster hot backup of network address translation apparatus | |
RU2528149C1 (en) | Tunnel switching method and system for multi-protocol label switching services | |
CN110061899A (en) | A kind of data message transmission method, apparatus and system | |
CN113037527B (en) | Network slice creation method, message forwarding method and device thereof | |
CN103873336A (en) | Distributed resilient network interconnection-based service bearing method and device | |
CN107147580A (en) | The method and communication system of a kind of tunnel building | |
US11418443B2 (en) | Method for distributing transmission path information and routing bridges | |
CN104009903A (en) | Flow forwarding method and device for RPR network | |
CN103780470A (en) | IS-IS information synchronization method and device | |
CN103401954B (en) | The implementation method of virtual DHCP | |
CN105281951A (en) | Double-main-device conflict detection method for VSU system, and network equipment | |
WO2016124117A1 (en) | Method, switching device and network controller for protecting links in software-defined network (sdn) | |
CN105592490B (en) | A kind of route switching method and equipment | |
CN102447703B (en) | A kind of heat backup method and system, CGN equipment | |
CN104253756B (en) | A kind of LAV switching methods and ED | |
CN103414642A (en) | Maintaining method and device of information forwarding | |
CN107819708A (en) | Data processing method, system and equipment based on virtual machine (vm) migration | |
CN103685029B (en) | Message forwarding method and equipment in a kind of rapid ring protection protocol networking | |
CN103684965B (en) | The switching equipment and message forwarding method configured based on virtual unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |