CN104135434B - Path switching method and device in Ethernet virtualization internet network - Google Patents

Path switching method and device in Ethernet virtualization internet network Download PDF

Info

Publication number
CN104135434B
CN104135434B CN201410379416.9A CN201410379416A CN104135434B CN 104135434 B CN104135434 B CN 104135434B CN 201410379416 A CN201410379416 A CN 201410379416A CN 104135434 B CN104135434 B CN 104135434B
Authority
CN
China
Prior art keywords
mac address
vlan
path
cost values
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410379416.9A
Other languages
Chinese (zh)
Other versions
CN104135434A (en
Inventor
苏平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201410379416.9A priority Critical patent/CN104135434B/en
Publication of CN104135434A publication Critical patent/CN104135434A/en
Application granted granted Critical
Publication of CN104135434B publication Critical patent/CN104135434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Embodiment of the present invention proposes the path switching method and device in Ethernet virtualization interconnection (EVI) network.Method includes:The MAC Address in VLAN that the 2nd ED that the first edge equipment (ED) of local un-activation VLAN (VLAN) receives the local activation VLAN in same website is sent;Threeth EDs of first ED into remote station sends the MAC Address, so that the 3rd ED calculates the flow for forwarding VLAN based on the MAC Address and points to the first ED alternative path;When the path failure between the 3rd ED and the 2nd ED, the 3rd ED is by VLAN flow switch to alternative path.Embodiment of the present invention can improve path switch speed, reduce MAC convergence times, and can reduce number of dropped packets.

Description

Path switching method and device in Ethernet virtualization internet network
Technical field
Embodiment of the present invention belongs to network communication technology field, particularly a kind of Ethernet virtualization interconnection (EVI) net Path switching method and device in network.
Background technology
With the development of cloud computing, data center network technology has welcome once violent change.A large amount of new technical standards In successive appearance interior in recent years, Ethernet virtualization interconnection technique (EVI) is also produced therewith.
EVI technologies are based on existing service provider network and enterprise network, provide flexible to scattered physical site Two layers of interconnecting function.EVI is a kind of advanced media access control (MAC) in IP technologies, for realizing based on IP kernel heart net Two-layer virtual private network (L2VPN) technology., only need to be in data center's website (hereinafter referred to as website) in EVI networks Route and forwarding information are safeguarded on edge device (ED), without changing Intra-site and core network.Therefore, EVI technologies have Have the advantages that with low cost, few to carrier network dependence.EVI Intermediate System-to-Intermediate Systems (IS-IS) are operate in EVI nets Upper-layer protocol in network, is two layers of application extension of one kind of Intermediate System-Intermediate System, is mainly used in setting up cross-site two floor forwarding road Footpath.
In the prior art, when public network failure occurs in EVI networks, faulty equipment needs to carry out escape processing, now Faulty equipment abandons neighbours in all local activation VLANs (LAV), its website with will issuing the new MAC distributed in LAV Location is to far-end neighbor, and far-end neighbor, which calculates routed path based on the MAC Address and completes path, to be switched.However, implementing this In mode, due to just performing MAC Address issue and routing path calculation work, therefore the switching speed in path after the failure occurs Degree is slow.
Moreover, after LAV is redistributed, being compared to original and turning originator, the new MAC Address turned in originator active vlan is not Completely.If this incomplete MAC Address is advertised into far-end neighbor, far-end neighbor can be only done the switching of Section MAC address, This also results in the extension of MAC convergence times.
The content of the invention
Embodiment of the present invention proposes the path switching method and device in a kind of EVI networks, to improve switch speed.
The technical scheme of embodiment of the present invention is as follows:
The one side of embodiment of the present invention includes there is provided the path switching method in a kind of EVI networks, this method:
VLAN the 2nd ED is sent described in local activation in the local un-activation VLAN same website of the first ED receptions MAC Address in the VLAN;
Threeth EDs of first ED into remote station sends the MAC Address, so that the 3rd ED is based on described MAC Address calculates the flow for forwarding the VLAN and points to the alternative path of the first ED, when the 3rd ED with During path failure between the 2nd ED, the 3rd ED is by the flow switch of the VLAN to the alternative path.
There is provided the path switching method in a kind of EVI networks, methods described bag for the another aspect of embodiment of the present invention Include:
The MAC in the VLAN that the 2nd ED that first ED receives the local un-activation VLAN in remote station is sent Location;
First ED calculates the flow for forwarding the VLAN based on the MAC Address and points to the 2nd ED's Alternative path;
When the first ED detects the 3rd of the first ED and VLAN described in the local activation in the remote station During path failure between ED, by the flow switch of the VLAN to the alternative path.
There is provided the path switching device in a kind of EVI networks, described device application for the one side of embodiment of the present invention In the first ED, the local un-activation virtual LAN VLANs of the first ED, the device includes:
MAC Address receiving module, for receiving the institute that the 2nd ED of VLAN described in the local activation in same website is sent State the MAC Address in VLAN;
MAC Address sending module, sends the MAC Address, so that the described 3rd for the 3rd ED into remote station ED calculates the flow for forwarding the VLAN based on the MAC Address and points to the alternative path of the first ED;Wherein When the 3rd ED and the 2nd ED path failure, the 3rd ED by the flow switch of the VLAN to it is described alternatively Path.
The another aspect of embodiment of the present invention is there is provided the path switching device in a kind of EVI networks, and described device should For the first ED, described device includes:
MAC Address receiving module, for receiving described in the 2nd ED transmissions of the local un-activation VLAN in remote station MAC Address in VLAN;
Alternative path computing module, for calculating flow and sensing for forwarding the VLAN based on the MAC Address The alternative path of 2nd ED;
Flow switch module, for when detect with the 3rd ED of VLAN described in the local activation in the remote station it Between path failure when, by the flow switch of the VLAN to the alternative path.
As can be seen here, the embodiment that the application is provided can be between the ED and local activation VLAN of remote station ED Precalculated forwarding VLAN traffic local and sensing un-activation VLAN ED alternative path before path fails, When the path failure between the ED and local activation of the remote station VLAN ED, alternative path can be switched in time, from And improve path switch speed.
Brief description of the drawings
Fig. 1 is the framework model exemplary schematic representation of EVI networks;
Fig. 2 is website public network troubleshooting schematic diagram in EVI networks;
Fig. 3 is to switch schematic diagram according to the path of the EVI networks of an embodiment of the present invention;
Fig. 4 is EVI network path switching method flow charts in Fig. 3;
Fig. 5 is the TLV form schematic diagrams according to an embodiment of the present invention;
Fig. 6 is the structural representation of the VLAN id fields according to an embodiment of the present invention;
Fig. 7 is the path switching device structure chart in the EVI networks according to an embodiment of the present invention;
Fig. 8 is to switch schematic diagram according to the path of the EVI networks of an embodiment of the present invention;
Fig. 9 is EVI network path switching method flow charts in Fig. 8;
Figure 10 is the path switching device structure chart in the EVI networks according to an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, further is made to the present invention below in conjunction with the accompanying drawings Detailed description.
In order to make it easy to understand, carrying out simplicity of explanation to the relational language in EVI technologies first.
EVI examples:Virtual intercommunication example, unique mark is carried out using Network ID.
EVI Link:The two-way virtual Gigabit EtherChannel set up between neighbours ED in same EVI examples.
EVI tunnels:I.e. Generic Routing Encapsulation (GRE) tunnel, can hold for carrying on EVI Link, a tunnel Carry a plurality of EVI Link.EVI tunnels are a local direct channels between ED and opposite end ED, complete the data transparency between ED Transmission.
LAV:That is local activation VLAN, is the extension VLAN come into force.
EVI networks in embodiment of the present invention include at least two ED.EVI is set up between ED in same EVI examples Link.In identical EVI examples, the EVI Link between ED are carried on the EVI tunnels between ED, and each EVI tunnels can be held Carry multiple EVI Link.
Fig. 1 is the framework model exemplary schematic representation of EVI networks.
As shown in figure 1, employing the network (being referred to as EVI networks) of EVI technologies includes core network and website (Site) net Network, wherein station network include website 1, website 2, website 3 and website 4.It is described below respectively:
Station network is by the one or many ED two layers of net with separate traffic function for being connected to core network Network, generally by unique user tissue, management, control and maintenance, is mainly made up of, ED is provided between website main frame and switching equipment Layer2 switching function.
ED is the switching equipment of the execution EVI functions positioned at station network edge, and it sets in station network side as two layers Received shipment row, runs in core network side as three-layer equipment, and it completes message slave station spot net to EVI tunnels, and EVI tunnels To the mapping and forwarding of station network.ED has found the neighbours of same EVI examples by EVI Neighbor Discovery Protocols (ENDP) automatically ED, and set up between neighbours ED a two-way virtual Gigabit EtherChannel, i.e. Ethernet and virtually interconnect connection EVI Link (chains Road), with the data transparent transmission between completion.Existed between ED in same EVI examples by EVI Intermediate System to Intermediate Systems The main frame in this website and the MAC Address reachability information of equipment are noticed on EVI Link.
Under normal circumstances, IS-IS can be mutually sent between ED to shake hands (Hello) message to detect the change of neighbor state, If time-out does not receive the IS-IS hello packet that neighbours ED is sent, then it is assumed that the neighbours ED has been changed to unavailable (DOWN) shape State.In order to accelerate the detection of neighbor state, (BFD) can also be detected come the change for the detection neighbor state that links using two-way converting Change.
As shown in figure 1, completing after deployment, EVI fictionalizes one big double layer network, host A, host B, the host C in strange land Will be in same radio network.
When website is by ED core network access, in order to realize high reliability and prevent the Single Point of Faliure of equipment in network, Generally using two ED many attributable system core network access, also referred to as dual-homed access.Fig. 2 is website public network in EVI networks Failure schematic diagram, wherein employing dual-homing networking.
In such as Fig. 2 dual-homing networking, ED1 and ED2 is the dual-homed access device of website 1.ED1 is to set up EVI Simultaneously the specified of active vlan 10 turns originator to neighborhood in IS-IS websites;ED2 is that the specified of active vlan 20 turns originator.Work as position Between the ED3 and ED1 of remote station 2 during the normal work of path, VLAN10 flow is transmitted by dashed path shown in Fig. 2; VLAN20 flow is transmitted by solid-line paths shown in Fig. 2.
When public network failure occurs between the ED3 and ED1 positioned at remote station, the flow processing of prior art is entered for ED1 The escape of row public network is handled, and ED1 will abandon all LAV.Now, ED2 turns originator as VLAN10, and ED2 will be issued again MAC Address in VLAN10.ED3 is synchronized to from ED2 after the MAC Address in VLAN10, and VLAN10 is again by flow switch to ED2.
It can be seen that, due to just starting MAC Address issue work after the failure occurs, therefore path switch speed is slow.Meanwhile, Because the MAC Address on ED2 in VLAN10 and MAC Address on ED1 in VLAN10 are inconsistent, ED2 needs weight under normal circumstances ED3 is distributed to after new learning dynamics MAC address entries again, therefore whole handoff procedure is largely lost because MAC address entries convergence will have more slowly Bag.
, can be in EVI dual-home networks to realize the quick heavy-route function of distal end MAC sub-optimal paths to dual-homed website Suboptimum MAC address entries are environmentally calculated with alternately path, and detect that EVI Link carry out linkage switching by modes such as BFD.
Provided in existing agreement:For MAC Address in dual-homed website, the only LAV specified originator that turns can just be sent out Cloth, this is can not to calculate the major reason of suboptimum MAC address entries in advance in the prior art.
In embodiments of the present invention, it is switched fast path in failure to realize, it is possible to achieve the website in EVI environment The function of the quick heavy-routes of MAC during escape.Such as, reference picture 2, after the present invention, ED3 can regard ED2 as VLAN10's Suboptimum turns originator.It can detect that EVI Link, to monitor the public network neighbor state between ED3 and ED1, work as inspection by modes such as BFD Measure and fast-escape and distal end MAC switchings are performed when failure occurs, rapidly using flow switch to the suboptimum as VLAN10 flows Turn the ED2 of originator, so as to improve path switch speed, and may also speed up MAC convergence rates, and reduce service traffics and lose Lose.
The present invention makes change to existing protocol, mainly includes:
(1), non-LAV turns originator in ED equipment in website, it is synchronous obtain in website LAV in ED equipment and turn originator issued MAC Address.On implementing, concerned MAC address can be carried by extending in website hello packet.
(2), non-LAV turns originator in ED equipment in website, notices in slave site that LAV is forwarded in ED equipment to far-end neighbor The MAC Address that person is synchronized to.On implementing, expense (cost) value of the MAC Address can be set to be more than far-end neighbor The cost values of the corresponding MAC Address in path between turning originator with LAV in ED equipment in website, you can realize that far-end neighbor is based on MAC Address calculates alternative path, and does not interfere with original forward-path.It is by lower bottom layer driving, alternative path is corresponding MAC address entries are set to come into force the forwarding sub-attributes of MAC address entries, and in website in ED equipment LAV turn originator and far-end neighbor it Between path when not breaking down, the corresponding outgoing interface of forwarding sub-attribute is set to non-forwarded state, so as to not interfere with Flow forwarding under normal circumstances., can LAV turns originator and far-end neighbor in ED equipment in website moreover, by the BFD that links Between path fails when, directly operation bottom layer driving is switched to the corresponding MAC address entries of alternative path, at the same will forwarding it is secondary The corresponding outgoing interface of attribute is set to forwarding state, now without carrying out router-level topology again.
(3), detect that EVI Link linkage EVI IS-IS carry out quick heavy-route (FRR) place by modes such as two-way BFD BFD messages can be encapsulated in EVI tunnels in reason, specific implementation.
Based on described above, with reference to instantiation, the path switching method in EVI networks of the present invention is described in detail.
Fig. 3 is to switch schematic diagram according to the path of the EVI networks of an embodiment of the present invention;Fig. 4 is EVI networks in Fig. 3 Road footpath switches method flow diagram.
As shown in figure 3, the first ED and the 2nd ED is the edge device in same website (website 1), and the first ED and the Two ED are set up with the 3rd ED of remote station (website 2) simultaneously neighborhood between website;First ED and the 2nd ED are specified VLAN10 is extension VLAN, and to turn originator be that the 2nd ED, i.e. the first ED are local un-activation for negotiated rear VLAN10 real VLAN10 ED, and the 2nd ED is local activation VLAN10 ED.VLAN10 flow is transmitted by dashed path shown in Fig. 3; VLAN20 flow is transmitted by solid-line paths shown in Fig. 3.
As shown in figure 4, this method includes:
Step 401:Local un-activation VLAN10 the first ED receives second of the local activation VLAN10 in same website The MAC Address in the VLAN10 that ED is sent.
Herein, it is possible to use hello packet realizes the first ED with sending the MAC in VLAN10 to the 2nd ED in website Location.
Exemplarily, variable format (TLV) hello packet that a type is 253 can be set, and the hello packet can The MAC Address in VLAN is carried, that is, carries the MAC Address that local activation VLAN10 the 2nd ED is issued.
Fig. 5 is the TLV form schematic diagrams according to an embodiment of the present invention.
As shown in figure 5, exemplarily, the TLV forms include type (Type) field, length (Length) field, VLAN Id field and MAC fields.Wherein, the type field is the types value of 1 byte, and definition value is 253;Length fields are 1 byte Length mark, for identifying TLV length;VLANID fields are 2 bytes, for identifying LAV;MAC fields are 6 bytes, for having Body records the MAC Address of the native vlan 10 of the 2nd ED issues of local active vlan 10.
Fig. 6 is the structural representation of the VLAN id fields according to an embodiment of the present invention.As seen from Figure 6, VLAN ID Field includes retaining (Reserved) field and VLAN ID content fields;The length of reserved field is 3 bits, is specially protected Stay position;The length of VLAN ID content fields is 12 bits.
The demonstrative structure of hello packet in website is enumerated in detail above.It will be appreciated by those of skill in the art that this It is only exemplary that kind, which is enumerated, the scope of the present invention is not constituted and limited.
Step 402:Threeth EDs of first ED into remote station sends the MAC Address, so that the 3rd ED is based on MAC Address Calculate the flow for forwarding VLAN10 and point to the first ED alternative path.
Exemplarily, for the MAC Address in VLAN10 next transmitted by the 2nd ED, its cost value is set to by the first ED The cost values of the MAC Address used more than the path calculated between the 3rd ED and the 2nd ED, and the 2nd ED is sent MAC Address in VLAN10 is sent to the 3rd ED in remote station.
Under normal circumstances, the cost values for the MAC Address that the path between the 3rd ED and the 2nd ED is used are calculated for 0.Cause This, specifically, the cost values of the MAC Address in the VLAN10 that the first ED can send the 2nd ED are set to maximum (MAX_COST) -1, it is of course also possible to be set to other values, as long as meeting the MAC Address in the VLAN10 that the 2nd ED is sent Cost values be more than and calculate the cost values of MAC Address that the path between the 3rd ED and the 2nd ED is used.Herein, The MAC Address in VLAN10 that one ED is issued to the 3rd ED is only limitted to neighbours in slave site in step 401 (i.e. the 2nd ED) Synchronous next MAC Address, and MAC Address is without sending in other VLAN10.
The MAC Address in VLAN10 that 3rd ED is sent based on the first ED calculate the flow for forwarding VLAN10 and Point to the first ED alternative path.The cost values for the MAC Address in VLAN10 that first ED is sent be more than calculate the 3rd ED with Alternative path is set to the 3rd ED and the 2nd ED by the cost values for the MAC Address that the path between the 2nd ED is used, the 3rd ED Between path backup path.Specifically, the 3rd ED by the corresponding MAC address entries of alternative path be set to the 3rd ED and the 2nd ED it Between the corresponding MAC address entries in path forwarding sub-attribute.When the path between the 3rd ED and the 2nd ED is not broken down, this turn The corresponding outgoing interface of hair sub-attribute is set to non-forwarded state, and now alternative path does not play a role, have no effect on the 3rd ED with The flow of path normal transmission VLAN10 between 2nd ED.
In specific implementation, the quick heavy-routes of MAC (FRR) function can be enabled on the 3rd ED, bottom layer driving is directly descended, Using the corresponding MAC address entries of the alternative path, as currently coming into force, (i.e. the 3rd ED is corresponding with the path between the 2nd ED for MAC address entries MAC address entries) forwarding sub-attribute.The corresponding MAC address entries of alternative path belong to phase with the current MAC address entries that come into force in data structure Same MAC bottom list items.In normal forwarding in use, the primary attribute outgoing interface of the current MAC address entries that come into force is used and is in and turns Hair-like state, and the sub-attribute outgoing interface of the corresponding MAC address entries of alternative path is set to non-forwarded state by the 3rd ED.
Step 403:When the path failure between the 3rd ED and the 2nd ED, the 3rd ED is by VLAN10 flow switch to standby Routing footpath.
After alternative path is set up, BFD is linked to the EVI Link progress between the 3rd ED and the 2nd ED by EVI IS-IS Detection, backup path is quickly switched into when detecting link failure.For the linkage with BFD, embodiment of the present invention can be with Using two-way Ctrl modes BFD detection EVI Link linkage EVI IS-IS switching backup paths.When the 3rd ED is detected on website 2 To after the first ED BFD session failures, the 3rd ED interrupts the far-end neighbor relation with the 2nd ED.Now, the 3rd ED is without carrying out Router-level topology, but directly bottom layer driving is to switch to MAC to forward the sub-attribute outgoing interface of the corresponding MAC address entries of alternative path Outgoing interface, will the sub-attribute outgoing interface be set to forwarding state, so as to complete being switched fast for alternative path.
In one embodiment, this method also includes:
After the 2nd ED escapes, the first ED is by the MAC in the MAC Address in the VLAN10 of reception and local VLAN10 Address is synchronized.Then, the MAC Address in the VLAN10 after synchronization is sent to the 3rd ED by the first ED, so that the 3rd ED bases The MAC Address in native vlan 10 is updated in the MAC Address in the VLAN10 after synchronization.Therefore, the 3rd ED can be based on synchronous The MAC Address in VLAN10 afterwards updates rapidly the MAC Address in native vlan 10, can quickly realize that MAC restrains, reduction MAC convergence times, and reduce number of dropped packets.
Specifically, the first ED carries out the MAC Address in the MAC Address in the VLAN10 of reception and local VLAN10 same Walk, including at least one in lower column processing:
The cost values of MAC Address in local VLAN10 are set to the first cost values by the first ED;
First ED by the MAC Address in the VLAN10 of reception with the MAC Address identical MAC in local VLAN10 The cost values of location are set to the first cost values;
First ED will be removed and the MAC Address identical MAC in local VLAN10 in the MAC Address in the VLAN10 of reception The cost values of MAC Address outside address are set to the 2nd cost values wherein, and the first cost values are less than the 2nd cost values.
Such as, the first cost values can be 0;2nd cost values could be arranged to MAX_COST-1.
The exemplary value of the first cost values and the 2nd cost values is enumerated in detail above.Those skilled in the art can anticipate Know, this enumerate only is exemplary, and the scope of the present invention is not constituted and limited.
In one embodiment, this method also includes:
Start synchro timer, and delete what is received from the 2nd ED in the first ED after synchro timer time-out MAC Address in VLAN10, so as to complete the synchronization of MAC Address in the first ED local LAV10.Herein, synchro timer The timing of setting is MAC ageing times.
Based on foregoing description, the invention also provides the path switching device in a kind of EVI networks.Fig. 7 is according to this hair Path switching device structure chart in the EVI networks of a bright embodiment, the device can be embodied in the first ED shown in Fig. 3 On.
As shown in fig. 7, the device 700 includes:
MAC Address receiving module 701, for receive the local activation VLAN in same website the 2nd ED send should MAC Address in VLAN;
MAC Address sending module 702, the MAC Address is sent for the 3rd ED into remote station, so that the 3rd ED bases The flow for forwarding the VLAN is calculated in the MAC Address and points to the first ED alternative path;Wherein as the 3rd ED and During two ED path failure, the 3rd ED is by the flow switch of the VLAN to alternative path.
In one embodiment, the cost values of the MAC Address are more than the path institute calculated between the 3rd ED and the 2nd ED The cost values of the MAC Address of use so that the 3rd ED by the corresponding MAC address entries of alternative path be set to the 3rd ED and the 2nd ED it Between the corresponding MAC address entries in path forwarding sub-attribute, and path between the 3rd ED and the 2nd ED is not when breaking down, will The corresponding outgoing interface of forwarding sub-attribute is set to non-forwarded state.
In one embodiment, the device 700 also includes:
Synchronization module 703, for after the 2nd ED escapes, the MAC Address in the VLAN of reception to be somebody's turn to do with local MAC Address in VLAN is synchronized, and the MAC Address in the VLAN after synchronization is sent into the 3rd ED, so that the 3rd ED MAC Address in the local VLAN is updated based on the MAC Address in the VLAN after synchronization.
In one embodiment:
Synchronization module 703, for performing at least one in lower column processing:
The cost values of MAC Address in the local VLAN are set to the first cost values by the first ED;
First ED by the MAC Address in the VLAN of reception with the MAC Address identical in the local VLAN The cost values of MAC Address are set to the first cost values;
First ED will remove identical with the MAC Address in the local VLAN in the MAC Address in the VLAN of reception MAC Address outside the cost values of MAC Address be set to the 2nd cost values;
Wherein, the first cost values are less than the 2nd cost values.Such as, the first cost values can be 0;2nd cost values can To be set to MAX_COST-1.
In one embodiment, the device 700 also includes:
MAC Address removing module 704, for starting synchro timer, and with deleting after synchro timer time-out by MAC The MAC Address in the VLAN that location receiving module 701 is received.
Based on foregoing description, the invention also provides the path switching method in a kind of EVI networks.Fig. 8 is according to this hair The path switching schematic diagram of the EVI networks of a bright embodiment;Fig. 9 is EVI network path switching method flow charts in Fig. 8.
As shown in figure 8, the 3rd ED and the 2nd ED is the edge device in same website (website 1), and the 3rd ED and the Two ED are set up with the first ED of remote station (website 2) simultaneously neighborhood between website;3rd ED and the 2nd ED are specified VLAN10 is extension VLAN, and to turn originator be that the 3rd ED, i.e. the 2nd ED are local un-activation for negotiated rear VLAN10 real VLAN10 ED, and the 3rd ED is local activation VLAN10 ED.VLAN10 flow is transmitted by dashed path shown in Fig. 8; VLAN20 flow is transmitted by solid-line paths shown in Fig. 8.
As shown in figure 9, this method includes:
Step 901:In the VLAN10 that the 2nd ED that first ED receives the local un-activation VLAN10 in remote station is sent MAC Address.
Step 902:First ED calculates the flow for forwarding VLAN10 based on the MAC Address and points to the alternative of the 2nd ED Path;
Step 903:Between the first ED detects the 3rd ED of the local activation VLAN10 in the first ED and remote station Path failure when, by VLAN10 flow switch to alternative path.
In one embodiment, the cost values of the MAC Address are more than the path institute calculated between the first ED and the 3rd ED The cost values of the MAC Address of use;This method also includes:
The corresponding MAC in path that the corresponding MAC address entries of alternative path are set between the first ED and the 3rd ED by the first ED The forwarding sub-attribute of list item, and path between the first ED and the 3rd ED is not when breaking down, and sub-attribute will be forwarded corresponding Outgoing interface is set to non-forwarded state.
In one embodiment, this method also includes:
First ED is from the MAC Address in the VLAN10 that the 2nd ED receives after synchronization, and based in the VLAN10 after synchronization MAC Address updates the MAC Address in native vlan 10;The MAC Address in VLAN10 wherein after synchronization is in the 3rd ED escapes Afterwards, the MAC Address in the VLAN10 of reception is synchronized and obtained by the 2nd ED with the MAC Address in local VLAN10 's.Therefore, the first ED can update the MAC Address in native vlan 10 based on the MAC Address in the VLAN10 after synchronization, so that MAC convergence times are also reduced, and reduce number of dropped packets.
First ED of the corresponding embodiments of Fig. 8 is the 3rd ED in the corresponding embodiments of Fig. 3, therefore Fig. 8 is corresponding The specific implementation for the EVI network path switching methods that the first ED in embodiment is performed will not be repeated here.
Based on foregoing description, embodiment of the present invention also proposed the path switching device in a kind of EVI networks.
Figure 10 is that according to the path switching device structure chart in the EVI networks of an embodiment of the present invention, the device can be with It is embodied on the first ED of website 2 shown in Fig. 8.
As shown in Figure 10, device 1000 includes:
MAC Address receiving module 1001, sends for receiving the 2nd ED of the local un-activation VLAN in remote station MAC Address in the VLAN;
Alternative path computing module 1002, for calculating flow and sensing for forwarding the VLAN based on the MAC Address 2nd ED alternative path;
Flow switch module 1003, for when detecting between the 3rd ED of the local activation VLAN in remote station Path failure when, by the flow switch of the VLAN to the alternative path.
In one embodiment, the cost values of the MAC Address are more than the path institute calculated between the first ED and the 3rd ED The cost values of the MAC Address of use;The device also includes:
Alternative path setup module 1004, for the corresponding MAC address entries of alternative path to be set into the first ED and the 3rd ED Between the corresponding MAC address entries in path forwarding sub-attribute, and path between the first ED and the 3rd ED is not when breaking down, The corresponding outgoing interface of sub-attribute will be forwarded to be set to non-forwarded state.
In one embodiment, the device 1000 also includes:
MAC Address update module 1005, for from the MAC Address in the VLAN that the 2nd ED receives after synchronization, and being based on MAC Address in the VLAN after synchronization updates the MAC Address in the local VLAN;The MAC in the VLAN wherein after synchronization Address is that after the 3rd ED escapes, the 2nd ED is by the MAC Address in the VLAN of reception and the MAC in the local VLAN Location synchronizes what is obtained.
The embodiment that the application is provided can occur in the path between the ED and local activation VLAN of remote station ED Precalculated forwarding VLAN traffic local and sensing un-activation VLAN ED alternative path, work as remote station before failure During path failure between the ED and local activation VLAN of point ED, alternative path can be switched in time, so as to improve road Footpath switch speed.
Moreover, after local activation VLAN ED escapes, local un-activation VLAN ED activates the VLAN, and will connect The MAC Address in the VLAN received is synchronized with the MAC Address in the local VLAN;Then by the VLAN after synchronization MAC Address be sent to ED in remote station so that the ED in remote station can be based on the MAC in the VLAN of this after synchronization Address updates the MAC Address in VLAN, so as to reduce further MAC convergence times, reduces number of dropped packets.
In addition, the present invention implements simple, only it need to realize that road can be achieved in the present invention on the website edge device for supporting EVI Footpath switches, and does not have specially treated for descending access device, therefore intercommunication problem is not present with descending access kind equipment.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc. should be included in the protection of the present invention Within the scope of.

Claims (10)

1. the path switching method in a kind of Ethernet virtualization interconnection EVI networks, it is characterised in that this method includes:
VLAN described in local activation in the same website of first edge equipment ED receptions of local un-activation virtual LAN VLAN The 2nd ED send the VLAN in MAC Address;
Threeth EDs of first ED into remote station sends the MAC Address, so that the 3rd ED is with being based on the MAC Location calculates the flow for forwarding the VLAN and points to the alternative path of the first ED, as the 3rd ED and described the During path failure between two ED, the 3rd ED is by the flow switch of the VLAN to the alternative path;
After 2nd ED escape, the first ED is by the MAC Address in the VLAN of reception and the local VLAN Interior MAC Address is synchronized;MAC Address in the VLAN after synchronization is sent to the 3rd ED by the first ED, So that the 3rd ED updates the MAC Address in the local VLAN based on the MAC Address after the synchronization;
First ED synchronizes the MAC Address in the VLAN of reception with the MAC Address in the local VLAN, Including at least one in lower column processing:The cost values of MAC Address in the local VLAN are set to by the first ED First cost values;First ED by the MAC Address in the VLAN of reception with the MAC Address in the local VLAN The cost values of identical MAC Address are set to the first cost values;First ED is by the MAC Address in the VLAN of reception The cost values of MAC Address in addition to the MAC Address identical MAC Address in the local VLAN are set to the 2nd cost Value;Wherein, the first cost values are less than the 2nd cost values.
2. according to the method described in claim 1, it is characterised in that the expense cost values of the MAC Address, which are more than, calculates described The cost values for the MAC Address that path between 3rd ED and the 2nd ED is used, so that the 3rd ED will be described alternative The forwarding pair of the corresponding MAC address entries in path that the corresponding MAC address entries in path are set between the 3rd ED and the 2nd ED Attribute, and path between the 3rd ED and the 2nd ED is not when breaking down, the forwarding sub-attribute is corresponding Outgoing interface is set to non-forwarded state.
3. according to the method described in claim 1, it is characterised in that also include:Start synchro timer, and it is fixed in the synchronization When device time-out after delete MAC Address in the VLAN received in the first ED.
4. the path switching method in a kind of Ethernet virtualization interconnection EVI networks, it is characterised in that methods described includes:
It is described that the 2nd ED that first edge equipment ED receives the local un-activation virtual LAN VLAN in remote station is sent MAC Address in VLAN;
First ED calculates the flow for forwarding the VLAN based on the MAC Address and points to the alternative of the 2nd ED Path;
Detected as the first ED VLAN described in the local activation in the first ED and the remote station the 3rd ED it Between path failure when, by the flow switch of the VLAN to the alternative path;
First ED is from the MAC Address in the VLAN that the 2nd ED receives after synchronization, and based on the VLAN after synchronization Interior MAC Address updates the MAC Address in the local VLAN;The MAC Address in the VLAN after wherein described synchronization is After the 3rd ED escapes, the 2nd ED is by the MAC Address in the VLAN of reception and the local VLAN MAC Address synchronize what is obtained;
2nd ED synchronizes the MAC Address in the VLAN of reception with the MAC Address in the local VLAN, Including at least one in lower column processing:The cost values of MAC Address in the local VLAN are set to by the 2nd ED First cost values;2nd ED by the MAC Address in the VLAN of reception with the MAC Address in the local VLAN The cost values of identical MAC Address are set to the first cost values;2nd ED is by the MAC Address in the VLAN of reception The cost values of MAC Address in addition to the MAC Address identical MAC Address in the local VLAN are set to the 2nd cost Value;Wherein, the first cost values are less than the 2nd cost values.
5. method according to claim 4, it is characterised in that the expense cost values of the MAC Address, which are more than, calculates described The cost values for the MAC Address that path between first ED and the 3rd ED is used;This method also includes:
The corresponding MAC address entries of the alternative path are set to the road between the first ED and the 3rd ED by the first ED The forwarding sub-attribute of the corresponding MAC address entries in footpath, and path between the first ED and the 3rd ED is not when breaking down, The corresponding outgoing interface of the forwarding sub-attribute is set to non-forwarded state.
6. the path switching device in a kind of Ethernet virtualization interconnection EVI networks, it is characterised in that described device is applied to the One edge ED, the local un-activation virtual LAN VLANs of the first ED, device includes:
MAC Address receiving module, for receiving described in the 2nd ED transmissions of VLAN described in the local activation in same website MAC Address in VLAN;
MAC Address sending module, sends the MAC Address, so that the 3rd ED bases for the 3rd ED into remote station The flow for forwarding the VLAN is calculated in the MAC Address and points to the alternative path of the first ED;Wherein work as institute When stating the 3rd ED and the 2nd ED path failure, the 3rd ED is by the flow switch of the VLAN to the alternative road Footpath;
Synchronization module, for after the 2nd ED escapes, by the MAC Address in the VLAN of reception with it is local described in MAC Address in VLAN is synchronized, and the MAC Address in the VLAN after synchronization is sent into the 3rd ED, so that 3rd ED updates the MAC Address in the local VLAN based on the MAC Address after the synchronization;First ED will be received The VLAN in MAC Address synchronized with the MAC Address in the local VLAN, including in lower column processing at least One:The cost values of MAC Address in the local VLAN are set to the first cost values by the first ED;First ED By the cost values in the MAC Address in the VLAN of reception with the MAC Address identical MAC Address in the local VLAN It is set to the first cost values;First ED will in the MAC Address in the VLAN of reception remove with the local VLAN MAC Address identical MAC Address outside the cost values of MAC Address be set to the 2nd cost values;Wherein, the first cost Value is less than the 2nd cost values.
7. device according to claim 6, it is characterised in that the expense cost values of the MAC Address, which are more than, calculates described The cost values for the MAC Address that path between 3rd ED and the 2nd ED is used, so that the 3rd ED will be described alternative The forwarding pair of the corresponding MAC address entries in path that the corresponding MAC address entries in path are set between the 3rd ED and the 2nd ED Attribute, and path between the 3rd ED and the 2nd ED is not when breaking down, the forwarding sub-attribute is corresponding Outgoing interface is set to non-forwarded state.
8. device according to claim 7, it is characterised in that also include:
MAC Address removing module, is deleted described in reception for starting synchro timer, and after synchro timer time-out MAC Address in VLAN.
9. a kind of path switching device in Ethernet virtualization interconnection EVI networks, described device is applied to first edge equipment ED, it is characterised in that described device includes:
MAC Address receiving module, the 2nd ED for receiving the local un-activation virtual LAN VLAN in remote station is sent The VLAN in MAC Address;
Alternative path computing module, for calculating the flow for forwarding the VLAN based on the MAC Address and pointing to described 2nd ED alternative path;
Flow switch module, is detected between the 3rd ED of VLAN described in the local activation in the remote station for working as During path failure, by the flow switch of the VLAN to the alternative path;
MAC Address update module, for from the MAC Address in the VLAN that the 2nd ED receives after synchronization, and based on after synchronization The VLAN in MAC Address update MAC Address in the local VLAN;In the VLAN after wherein described synchronization MAC Address is that the 2nd ED is by the MAC Address in the VLAN of reception and local institute after the 3rd ED escapes The MAC Address stated in VLAN synchronizes what is obtained;2nd ED is by the MAC Address in the VLAN of reception and locally The VLAN in MAC Address synchronize, including at least one in lower column processing:2nd ED will be local described in The cost values of MAC Address in VLAN are set to the first cost values;2nd ED is by the MAC Address in the VLAN of reception In be set to the first cost values with the cost values of the MAC Address identical MAC Address in the local VLAN;2nd ED By in the MAC Address in the VLAN of reception in addition to the MAC Address identical MAC Address in the local VLAN The cost values of MAC Address are set to the 2nd cost values;Wherein, the first cost values are less than the 2nd cost values.
10. device according to claim 9, it is characterised in that
The expense cost values of the MAC Address are more than what the path calculated between the first ED and the 3rd ED was used The cost values of MAC Address;The device also includes:
Alternative path setup module, for the corresponding MAC address entries of the alternative path to be set into the first ED and described the The forwarding sub-attribute of the corresponding MAC address entries in path between three ED, and the path between the first ED and the 3rd ED When not breaking down, the corresponding outgoing interface of the forwarding sub-attribute is set to non-forwarded state.
CN201410379416.9A 2014-08-04 2014-08-04 Path switching method and device in Ethernet virtualization internet network Active CN104135434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410379416.9A CN104135434B (en) 2014-08-04 2014-08-04 Path switching method and device in Ethernet virtualization internet network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410379416.9A CN104135434B (en) 2014-08-04 2014-08-04 Path switching method and device in Ethernet virtualization internet network

Publications (2)

Publication Number Publication Date
CN104135434A CN104135434A (en) 2014-11-05
CN104135434B true CN104135434B (en) 2017-09-22

Family

ID=51807960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410379416.9A Active CN104135434B (en) 2014-08-04 2014-08-04 Path switching method and device in Ethernet virtualization internet network

Country Status (1)

Country Link
CN (1) CN104135434B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878048B (en) * 2016-12-13 2020-02-11 新华三技术有限公司 Fault processing method and device
CN108965060B (en) * 2018-07-27 2021-01-26 新华三技术有限公司合肥分公司 Protection switching method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345715A (en) * 2008-08-28 2009-01-14 中兴通讯股份有限公司 MAC address learning method and system based on VPLS dual-homing network
CN102164086A (en) * 2011-04-25 2011-08-24 中兴通讯股份有限公司 Method and device for quick migration of direct route
CN102291313A (en) * 2011-09-06 2011-12-21 北京星网锐捷网络技术有限公司 Method, device and equipment for finding virtual router redundancy protocol (VRRP) network topology
CN102780615A (en) * 2012-07-17 2012-11-14 杭州华三通信技术有限公司 Link backup method and routing forwarding device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002065306A1 (en) * 2001-02-12 2002-08-22 Maple Optical Systems, Inc. System and method for fault notification in a data communication network
US7760719B2 (en) * 2004-06-30 2010-07-20 Conexant Systems, Inc. Combined pipelined classification and address search method and apparatus for switching environments

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345715A (en) * 2008-08-28 2009-01-14 中兴通讯股份有限公司 MAC address learning method and system based on VPLS dual-homing network
CN102164086A (en) * 2011-04-25 2011-08-24 中兴通讯股份有限公司 Method and device for quick migration of direct route
CN102291313A (en) * 2011-09-06 2011-12-21 北京星网锐捷网络技术有限公司 Method, device and equipment for finding virtual router redundancy protocol (VRRP) network topology
CN102780615A (en) * 2012-07-17 2012-11-14 杭州华三通信技术有限公司 Link backup method and routing forwarding device

Also Published As

Publication number Publication date
CN104135434A (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN106375231B (en) A kind of flow switching method, equipment and system
CN104205748B (en) Has redundancy between the frame of coordinated traffic direction
US9654418B2 (en) Method and system of supporting operator commands in link aggregation group
CN101557343B (en) Detecting and protecting method of double-layer loop in VRRP topological network
CN102035676B (en) ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault
CN102546389B (en) Method and device for flow trusteeship of cross-data center
CN103078969B (en) A kind of mac address information notifying method and equipment
CN107078951A (en) From virtual port channel peer-to-peer fault recovery
CN107948041B (en) Method and equipment for constructing VXLAN centralized multi-active gateway
CN102624929B (en) Wireless sensor network gateway redundancy method based on virtual gateway
EP2124393A1 (en) An ethernet automatic protection method and system
CN105357046A (en) Network information detection method for software defined networking (SDN)
CN104135418B (en) It is a kind of to realize two layers of method and device for coordinating to switch with Layer3 Virtual Private Network
CN104767680B (en) It route the method and apparatus being switched fast
CN103746881B (en) Neighbor state detection method and device in EVI networks
CN101924654B (en) Point-to-multipoint service-based path switching method and system
CN104009926A (en) Multicast method in EVI network and edge device ED
CN102333011B (en) One way link detection method and device
CN109672619A (en) A kind of method, equipment and system handling message
CN103460061A (en) System and method for providing improved failover performance for pseudowires
WO2012075204A1 (en) Systems and methods for recovery from network changes
CN103078800B (en) Mac address information control method in EVI network and edge device
CN110061899A (en) A kind of data message transmission method, apparatus and system
CN105897465A (en) Equipment configuration method and apparatus
CN103354521B (en) The optimization method of a kind of LSP based on LDP renewal and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
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: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant