CN104135434A - Method and device for path switching in Ethernet virtualized interconnect (EVI) network - Google Patents

Method and device for path switching in Ethernet virtualized interconnect (EVI) network Download PDF

Info

Publication number
CN104135434A
CN104135434A CN201410379416.9A CN201410379416A CN104135434A CN 104135434 A CN104135434 A CN 104135434A CN 201410379416 A CN201410379416 A CN 201410379416A CN 104135434 A CN104135434 A CN 104135434A
Authority
CN
China
Prior art keywords
mac address
vlan
path
cost value
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.)
Granted
Application number
CN201410379416.9A
Other languages
Chinese (zh)
Other versions
CN104135434B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou 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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

Embodiments of the present invention provide a method and device for path switching in Ethernet virtualized interconnect (EVI) network. The method includes that a first edge device (ED) of a local non-activated virtual local area network (VLAN) receives an MAC address in the VLAN sent by a second ED of a local activated VLAN in the same station; the first ED sends the MAC address to a third ED in a remote station so that the third ED calculates the traffic for forwarding VLAN based on the MAC address and directs an alternative path of the first ED; and when an error exists in a path between the third ED and the second ED, the third ED switches the traffic of the VLAN to the alternative path. The embodiments of the present invention can improve the path switching speed, reduce MAC convergence time, and reduce the amount of packet loss.

Description

Path switching method and device in the virtual internet of Ethernet
Technical field
Embodiment of the present invention belongs to network communications technology field, particularly path switching method and the device in a kind of Ethernet virtual interconnected (EVI) network.
Background technology
Along with the development of cloud computing, data center network technology has welcome once violent change.A large amount of new technical standards are appearance in succession in recent years, and the virtual interconnection technique of Ethernet (EVI) also produces thereupon.
EVI technology, based on existing service provider network and enterprise network, provides two layers of interconnecting function flexibly to the physical site of disperseing.EVI is a kind of advanced person's media interviews control (MAC) in IP technology, for realizing two-layer virtual private network (L2VPN) technology based on IP kernel heart net.In EVI network, only need on the edge device of data center's website (being designated hereinafter simply as website) (ED), safeguard route and forwarding information, and without changing website inside and core network.Therefore, EVI technology have with low cost, carrier network is relied on to the advantages such as few.EVI Intermediate System-to-Intermediate System (IS-IS) is the upper-layer protocol running in EVI network, is two layers of application extension of one of Intermediate System-Intermediate System, is mainly used in setting up cross-site two layers of forward-path.
In the prior art, in the time there is public network fault in EVI network, the faulty equipment processing of need to escaping, now faulty equipment is abandoned all local activation VLANs (LAV), in its website, the MAC Address of issuing in the new LAV of distribution is arrived far-end neighbor by neighbours, and far-end neighbor calculates routed path and completes path based on this MAC Address and switches.But, in this embodiment, issue and routing path calculation work owing to just carrying out MAC Address after fault occurs, therefore the switch speed in path is slow.
And, after LAV redistributes, being compared to former forwarding person, the MAC Address in new forwarding person's active vlan is imperfect.If this incomplete MAC Address is noticed to far-end neighbor, far-end neighbor can only complete the switching of part MAC Address, and this has also caused MAC convergence time to extend.
Summary of the invention
Embodiment of the present invention proposes path switching method and the device in a kind of EVI network, 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, provides the path switching method in a kind of EVI network, and the method comprises:
An ED of local un-activation VLAN receives the MAC Address in the described VLAN that the 2nd ED of VLAN sends described in the local activation in same website;
A described ED sends described MAC Address to the 3rd ED in remote station, so that described the 3rd ED calculates the flow for forwarding described VLAN based on described MAC Address and points to the alternative path of a described ED, in the time of path failure between described the 3rd ED and described the 2nd ED, described the 3rd ED by the flow switch of described VLAN to described alternative path.
Embodiment of the present invention on the other hand, provides the path switching method in a kind of EVI network, and described method comprises:
MAC Address in the described VLAN that the 2nd ED of local un-activation VLAN in the one ED reception remote station sends;
A described ED is used for based on described MAC Address calculating the alternative path that forwards the flow of described VLAN and point to described the 2nd ED;
In the time that a described ED detects the path failure between the 3rd ED of VLAN described in the local activation in a described ED and described remote station, by the flow switch of described VLAN to described alternative path.
The one side of embodiment of the present invention, provides the path switching device in a kind of EVI network, and described application of installation is in an ED, the local un-activation virtual LAN VLAN of a described ED, and this device comprises:
MAC Address receiver module, for receiving the MAC Address in the described VLAN that the 2nd ED of VLAN sends described in the local activation in same website;
MAC Address sending module, sends described MAC Address for the 3rd ED in remote station, so that described the 3rd ED calculates the flow for forwarding described VLAN based on described MAC Address and points to the alternative path of a described ED; Wherein in the time of the path failure of described the 3rd ED and described the 2nd ED, described the 3rd ED by the flow switch of described VLAN to described alternative path.
Embodiment of the present invention on the other hand, provides the path switching device in a kind of EVI network, and described application of installation is in an ED, and described device comprises:
MAC Address receiver module, for receiving the MAC Address in the described VLAN that the 2nd ED of local un-activation VLAN in remote station sends;
Alternative path computing module, for being used for based on described MAC Address calculating the alternative path that forwards the flow of described VLAN and point to described the 2nd ED;
Flow switch module, for when detect and described remote station in local activation described in when path failure between the 3rd ED of VLAN, by the flow switch of described VLAN to described alternative path.
As can be seen here, the execution mode that the application provides can be before the path fails between the ED of remote station and the ED of local activation VLAN the flow of precalculated this VLAN of forwarding local and point to the alternative path of the ED of un-activation VLAN, in the time of path failure between the ED of remote station and the ED of this VLAN of local activation, can be switched in time alternative path, thereby improve path switch speed.
Brief description of the drawings
Fig. 1 is the framework model exemplary schematic representation of EVI network;
Fig. 2 is website public network troubleshooting schematic diagram in EVI network;
Fig. 3 is that schematic diagram is switched in the path of EVI network according to an embodiment of the present invention;
Fig. 4 is that in Fig. 3, method flow diagram is switched in footpath, EVI network Road;
Fig. 5 is TLV form schematic diagram according to an embodiment of the present invention;
Fig. 6 is the structural representation of VLAN id field according to an embodiment of the present invention;
Fig. 7 is the path switching device structure chart in EVI network according to an embodiment of the present invention;
Fig. 8 is that schematic diagram is switched in the path of EVI network according to an embodiment of the present invention;
Fig. 9 is that in Fig. 8, method flow diagram is switched in footpath, EVI network Road;
Figure 10 is the path switching device structure chart in EVI network according to an embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail.
For the ease of understanding, first the relational language in EVI technology is carried out to simplicity of explanation.
EVI example: virtual intercommunication example, carrys out unique identification with Network ID.
EVI Link: a two-way virtual Gigabit EtherChannel of setting up between the neighbours ED in same EVI example.
EVI tunnel: i.e. Generic Routing Encapsulation (GRE) tunnel, for carrying EVI Link, can carry many EVI Link on a tunnel.EVI tunnel is the direct channel between a local ED and opposite end ED, completes the data transparent transmission between ED.
LAV: i.e. local activation VLAN is the expansion VLAN coming into force.
EVI network in embodiment of the present invention comprises at least two ED.Between ED in same EVI example, set up EVI Link.In identical EVI example, the EVI Link between ED is carried on the EVI tunnel between ED, and each EVI can carry in tunnel multiple EVI Link.
Fig. 1 is the framework model exemplary schematic representation of EVI network.
As shown in Figure 1, adopted the network (being called EVI network) of EVI technology to comprise core network and website (Site) network, wherein station network comprises website 1, website 2, website 3 and website 4.Be described below respectively:
Station network is the double layer network with separate traffic function that is connected to core network by or many ED, conventionally by unique user tissue, management, control and maintenance, mainly be made up of main frame and switching equipment, ED provides two layers of function of exchange between website.
ED is the switching equipment that is positioned at the execution EVI function at station network edge, it moves as two-layer equipment in station network side, move as three-layer equipment in core network side, it completes message slave site network to EVI tunnel, and EVI tunnel is to mapping and the forwarding of station network.ED finds the neighbours ED of same EVI example automatically by EVI Neighbor Discovery Protocol (ENDP), and and neighbours ED between set up a two-way virtual Gigabit EtherChannel, be the virtual interconnected connection EVI Link of Ethernet (link), to complete data transparent transmission each other.Between ED in same EVI example, on EVI Link, notice main frame in this website and the MAC Address reachability information of equipment by EVI Intermediate System to Intermediate System.
Under normal circumstances, between ED, can mutually send IS-IS (Hello) message of shaking hands and detect the variation of neighbor state, if the IS-IS hello packet that the overtime neighbours of not receiving ED sends, thinks that this neighbours ED has become unavailable (DOWN) state.In order to accelerate the detection of neighbor state, can also adopt two-way converting detection (BFD) to link and detect the variation of neighbor state.
As shown in Figure 1, complete after deployment, EVI fictionalizes a large double layer network, and the host A in strange land, host B, host C will be in same radio network.
When website is when the ED core network access, in order to realize high reliability and to prevent the Single Point of Faliure of equipment in network, conventionally adopt many attributable systems core network access of two ED, also referred to as dual-homed access.Fig. 2 is website public network fault schematic diagram in EVI network, has wherein adopted dual-homing networking.
In as the dual-homing networking of Fig. 2, ED1 and ED2 are the dual-homed access device of website 1.ED1 is the appointment forwarding person who sets up the interior neighborhood of EVI IS-IS website active vlan 10; ED2 is the appointment forwarding person of active vlan 20.In the time that between the ED3 of remote station 2 and ED1, normally work in path, the flow of VLAN10 is by dashed path transmission shown in Fig. 2; The flow of VLAN20 is by solid-line paths transmission shown in Fig. 2.
When there is public network fault between the ED3 of remote station and ED1 time, the flow processing of prior art is that ED1 carries out public network escape and processes, and ED1 will abandon all LAV.Now, ED2 becomes the forwarding person of VLAN10, and ED2 is by the MAC Address of again issuing in VLAN10.The MAC Address of ED3 in ED2 is synchronized to VLAN10, VLAN10 again by flow switch to ED2.
Visible, owing to just starting MAC Address issue work after fault occurs, therefore path switch speed is slow.Simultaneously, because the MAC Address in the MAC Address in the upper VLAN10 of ED2 and the upper VLAN10 of ED1 is inconsistent, ED2 is distributed to ED3 after need to relearning dynamic MAC list item more under normal circumstances, and therefore whole handoff procedure is because MAC address entries convergence will have a large amount of packet losses more slowly.
For realizing the quick heavy-route function of far-end MAC sub-optimal path to dual-homed website, can on EVI dual-home network environment, calculate suboptimum MAC address entries using as alternative path, and detect the EVI Link switching that links by modes such as BFD.
In existing agreement, specify: for MAC Address in dual-homed website, only have the appointment forwarding person of LAV just can issue, this is the major reason that cannot calculate in advance suboptimum MAC address entries in prior art.
In embodiment of the present invention, for realizing quick toggle path when the fault, the function of the quick heavy-route of MAC can realize the website escape in EVI environment time.Such as, with reference to Fig. 2, after application the present invention, the suboptimum forwarding person that ED3 can be using ED2 as VLAN10.Can detect EVI Link with the public network neighbor state between monitoring ED3 and ED1 by modes such as BFD, in the time detecting that fault occurs, carrying out fast-escape and far-end MAC switches, rapidly flow switch is arrived as the suboptimum forwarding person's of VLAN10 flow ED2, thereby improve path switch speed, but also can accelerate MAC convergence rate, and reduce service traffics and lose.
The present invention makes change to existing protocol, mainly comprises:
(1), the forwarding person of non-LAV in ED equipment in website, synchronously obtain the MAC Address that in website, in ED equipment, LAV forwarding person issues.In specific implementation, can be by hello packet in expansion website to carry relevant MAC Address.
(2), the forwarding person of non-LAV in ED equipment in website, notice to far-end neighbor the MAC Address that in slave site, in ED equipment, LAV forwarding person is synchronized to.In specific implementation, expense (cost) value that this MAC Address can be set is greater than the cost value of MAC Address corresponding to path between far-end neighbor and LAV forwarding person in ED equipment in website, can realize far-end neighbor and calculate alternative path based on MAC Address, and can not affect original forward-path.By lower bottom layer driving, the MAC address entries that alternative path is corresponding be set to the to come into force forwarding sub-attribute of MAC address entries, and when in website, in ED equipment, do not break down in the path between LAV forwarding person and far-end neighbor, the outgoing interface that this forwarding sub-attribute is corresponding is set to non-forwarding state, thereby can not affect traffic forwarding under normal circumstances.And, by interlock BFD, can be in website in ED equipment when the path fails between LAV forwarding person and far-end neighbor, direct control bottom layer driving is switched to the MAC address entries that alternative path is corresponding, forward outgoing interface corresponding to sub-attribute simultaneously and be set to forwarding state, now without carrying out again route calculating.
(3), detect EVI Link interlock EVI IS-IS by modes such as two-way BFD and carry out quick heavy-route (FRR) and process, on concrete enforcement, BFD message can be encapsulated in EVI tunnel.
Based on above-mentioned explanation, below in conjunction with instantiation, describe the path switching method in EVI network of the present invention in detail.
Fig. 3 is that schematic diagram is switched in the path of EVI network according to an embodiment of the present invention; Fig. 4 is that in Fig. 3, method flow diagram is switched in footpath, EVI network Road.
As shown in Figure 3, an ED and the 2nd ED are the edge device in same website (website 1), and the 3rd ED foundation of an ED and the 2nd ED while and remote station (website 2) has neighborhood between website; The one ED and the 2nd ED assigned vlan 10 are expansion VLAN, and the real forwarding person of VLAN10 is the 2nd ED after consulting, and an ED is the ED of local un-activation VLAN10, and the 2nd ED is the ED of local activation VLAN10.The flow of VLAN10 is by dashed path transmission shown in Fig. 3; The flow of VLAN20 is by solid-line paths transmission shown in Fig. 3.
As shown in Figure 4, the method comprises:
Step 401 a: ED of local un-activation VLAN10 receives the MAC Address in this VLAN10 that the 2nd ED of local activation VLAN10 in same website sends.
Can utilize the interior hello packet of website to realize an ED here, and send the MAC Address in VLAN10 to the 2nd ED.
Exemplarily, can arrange one type is 253 variable format (TLV) hello packet, and the MAC Address in this hello packet portability VLAN carries the MAC Address that the 2nd ED of local activation VLAN10 issues.
Fig. 5 is TLV form schematic diagram according to an embodiment of the present invention.
As shown in Figure 5, exemplarily, this TLV form comprises type (Type) field, length (Length) field, VLAN id field and MAC field.Wherein, the type field is the types value of 1 byte, and definition value is 253; Length field is the length mark of 1 byte, for identifying TLV length; VLANID field is 2 bytes, for identifying LAV; MAC field is 6 bytes, the MAC Address of the native vlan 10 of issuing for the 2nd ED of physical record local activation VLAN10.
Fig. 6 is the structural representation of VLAN id field according to an embodiment of the present invention.As seen from Figure 6, VLAN id field comprises reservation (Reserved) field and VLAN ID content field; The length of reserved field is 3 bits, is specially and retains position; The length of VLAN ID content field is 12 bits.
Below enumerated in detail the demonstrative structure of hello packet in website.It will be appreciated by those of skill in the art that this enumerating is only exemplary, protection range of the present invention is not formed and limited.
Step 402 a: ED sends this MAC Address to the 3rd ED in remote station, so that the 3rd ED calculates flow for forwarding VLAN10 based on MAC Address and points to the alternative path of an ED.
Exemplarily, MAC Address in the VLAN10 sending for the 2nd ED, its cost value of the one ED is set to be greater than the cost value of the MAC Address that the path of calculating between the 3rd ED and the 2nd ED adopts, and MAC Address in the VLAN10 that the 2nd ED is sent sends to the 3rd ED that is positioned at remote station.
The cost value of the MAC Address that under normal circumstances, the path between calculating the 3rd ED and the 2nd ED adopts is 0.Therefore, concrete, the cost value of the MAC Address in the VLAN10 that the one ED can the 2nd ED sends is set to maximum (MAX_COST)-1, certainly, also can be set to other value, as long as meet the cost value that the cost value of the MAC Address in the VLAN10 that sends of the 2nd ED is greater than the MAC Address that the path between calculating the 3rd ED and the 2nd ED adopts.Here, the MAC Address in the VLAN10 that an ED issues to the 3rd ED only limits to the MAC Address that in slave site, neighbours (i.e. the 2nd ED) synchronously come in step 401, and the interior MAC Address of other VLAN10 is without transmission.
MAC Address in the VLAN10 that the 3rd ED sends based on an ED calculates the flow for forwarding VLAN10 and points to the alternative path of an ED.The cost value of the MAC Address in the VLAN10 that the one ED sends is greater than the cost value of the MAC Address that the path of calculating between the 3rd ED and the 2nd ED adopts, and the 3rd ED alternative path is set to the backup path in path between the 3rd ED and the 2nd ED.Particularly, MAC address entries corresponding to the 3rd ED alternative path is set to the forwarding sub-attribute of the MAC address entries that the 3rd ED is corresponding with path between the 2nd ED.In the time not breaking down in the path between the 3rd ED and the 2nd ED, the outgoing interface that this forwarding sub-attribute is corresponding is set to non-forwarding state, and now alternative path does not play a role, and does not affect the flow of the path normal transmission VLAN10 between the 3rd ED and the 2nd ED.
In concrete enforcement, can on the 3rd ED, enable the quick heavy-route of MAC (FRR) function, directly descend bottom layer driving, the forwarding sub-attribute of (i.e. the 3rd ED MAC address entries corresponding with path between the 2nd ED) using MAC address entries corresponding this alternative path as the current MAC address entries that comes into force.MAC address entries corresponding to alternative path and the current MAC address entries that comes into force belong to identical MAC bottom list item in data structure.Forward while using normal, the primary attribute outgoing interface of the current MAC address entries that comes into force is used and in forwarding state, and the sub-attribute outgoing interface of MAC address entries corresponding to alternative path is set to non-forwarding state by the 3rd ED.
Step 403: in the time of path failure between the 3rd ED and the 2nd ED, the 3rd ED by the flow switch of VLAN10 to alternative path.
After alternative path is set up, by EVI IS-IS interlock, BFD detects the EVI Link between the 3rd ED and the 2nd ED, is switched to fast backup path in the time link failure being detected.For with the interlock of BFD, embodiment of the present invention can adopt two-way Ctrl mode BFD to detect EVI Link interlock EVI IS-IS to switch backup path.When the 3rd ED on website 2 detects after the BFD session failure of an ED, the 3rd ED interrupts the far-end neighbor relation with the 2nd ED.Now, the 3rd ED need not carry out route calculating, but directly bottom layer driving transfers interface so that the sub-attribute outgoing interface of MAC address entries corresponding alternative path is switched to MAC, is set to forwarding state, thereby completes the quick switching of alternative path by this sub-attribute outgoing interface.
In one embodiment, the method also comprises:
After the 2nd ED escape, an ED is synchronizeed the MAC Address in the VLAN10 of reception with the MAC Address in local VLAN10.Then, the MAC Address in the VLAN10 after synchronous is sent to the 3rd ED by an ED, so that the MAC Address in the VLAN10 of the 3rd ED based on after synchronous is upgraded the MAC Address in native vlan 10.Therefore, the MAC Address of the 3rd ED in can the VLAN10 based on after synchronous upgraded rapidly the MAC Address in native vlan 10, can realize fast MAC convergence, reduces MAC convergence time, and reduces number of dropped packets.
Particularly, an ED is synchronizeed the MAC Address in the VLAN10 of reception with the MAC Address in local VLAN10, comprise at least one in following processing:
The cost value of the MAC Address in the local VLAN10 of the one ED is set to a cost value;
In MAC Address in the VLAN10 of the one ED reception, the cost value of the MAC Address identical with MAC Address in local VLAN10 is set to a cost value;
The cost value of the MAC Address in the MAC Address in the VLAN10 of the one ED reception except the MAC Address identical with MAC Address in local VLAN10 is set to the 2nd cost value wherein, and a cost value is less than the 2nd cost value.
Such as, a cost value can be 0; The 2nd cost value can be set to MAX_COST-1.
Below enumerated in detail the exemplary value of a cost value and the 2nd cost value.It will be appreciated by those of skill in the art that this enumerating is only exemplary, protection range of the present invention is not formed and limited.
In one embodiment, the method also comprises:
Start synchro timer, and in an ED, delete the MAC Address in the VLAN10 that receives from the 2nd ED after synchro timer is overtime, thereby complete the synchronous of MAC Address in the local LAV10 of an ED.Here, the timing of synchro timer setting is MAC ageing time.
Based on foregoing description, the invention allows for the path switching device in a kind of EVI network.Fig. 7 is the path switching device structure chart in EVI network according to an embodiment of the present invention, and this device can be embodied in shown in Fig. 3 on an ED.
As shown in Figure 7, this device 700 comprises:
MAC Address receiver module 701, for receiving the MAC Address in this VLAN that the 2nd ED of local activation VLAN in same website sends;
MAC Address sending module 702, sends this MAC Address for the 3rd ED in remote station, so that the 3rd ED calculates flow for forwarding this VLAN based on this MAC Address and points to the alternative path of an ED; Wherein in the time of the path failure of the 3rd ED and the 2nd ED, the 3rd ED by the flow switch of this VLAN to alternative path.
In one embodiment, the cost value of this MAC Address is greater than the cost value of the MAC Address that the path of calculating between the 3rd ED and the 2nd ED adopts, so that MAC address entries corresponding to the 3rd ED alternative path is set to the forwarding sub-attribute of the MAC address entries that the 3rd ED is corresponding with path between the 2nd ED, and path between the 3rd ED and the 2nd ED is not while breaking down, forwards outgoing interface corresponding to sub-attribute and is set to non-forwarding state.
In one embodiment, this device 700 also comprises:
Synchronization module 703, for after the 2nd ED escape, by receive this VLAN in MAC Address with this locality this VLAN in MAC Address synchronize, and the MAC Address in this VLAN after synchronous is sent to the 3rd ED, so that the MAC Address in the 3rd ED this VLAN based on after synchronous is upgraded the MAC Address in local this VLAN.
In one embodiment:
Synchronization module 703, for carrying out at least one of following processing:
The cost value of the MAC Address in this VLAN of described ED this locality is set to a cost value;
In MAC Address in this VLAN that a described ED receives, the cost value of the MAC Address identical with MAC Address in this VLAN of this locality is set to a cost value;
The cost value of the MAC Address in the MAC Address in this VLAN that a described ED receives except the MAC Address identical with MAC Address in this VLAN of this locality is set to the 2nd cost value;
Wherein, a described cost value is less than the 2nd cost value.Such as, a cost value can be 0; The 2nd cost value can be set to MAX_COST-1.
In one embodiment, this device 700 also comprises:
MAC Address removing module 704, for starting synchro timer, and MAC Address in this VLAN being received by MAC Address receiver module 701 in the overtime rear deletion of synchro timer.
Based on foregoing description, the invention allows for the path switching method in a kind of EVI network.Fig. 8 is that schematic diagram is switched in the path of EVI network according to an embodiment of the present invention; Fig. 9 is that in Fig. 8, method flow diagram is switched in footpath, EVI network Road.
As shown in Figure 8, the 3rd ED and the 2nd ED are the edge device in same website (website 1), and an ED foundation of the 3rd ED and the 2nd ED while and remote station (website 2) has neighborhood between website; The 3rd ED and the 2nd ED assigned vlan 10 are expansion VLAN, and the real forwarding person of VLAN10 is the 3rd ED after consulting, and the 2nd ED is the ED of local un-activation VLAN10, and the 3rd ED is the ED of local activation VLAN10.The flow of VLAN10 is by dashed path transmission shown in Fig. 8; The flow of VLAN20 is by solid-line paths transmission shown in Fig. 8.
As shown in Figure 9, the method comprises:
Step 901: the MAC Address in the VLAN10 that the 2nd ED of the local un-activation VLAN10 in an ED reception remote station sends.
Step 902 a: ED calculates the flow for forwarding VLAN10 based on this MAC Address and points to the alternative path of the 2nd ED;
Step 903: when path failure between the 3rd ED of the local activation VLAN10 in an ED detects an ED and remote station, by the flow switch of VLAN10 to alternative path.
In one embodiment, the cost value of this MAC Address is greater than the cost value of the MAC Address that the path of calculating between an ED and the 3rd ED adopts; The method also comprises:
MAC address entries corresponding to the one ED alternative path is set to the forwarding sub-attribute of the MAC address entries that an ED is corresponding with path between the 3rd ED, and path between an ED and the 3rd ED is not while breaking down, forwards outgoing interface corresponding to sub-attribute and is set to non-forwarding state.
In one embodiment, the method also comprises:
The MAC Address of the one ED in the 2nd ED receives the VLAN10 synchronous, and MAC Address in VLAN10 based on after synchronous is upgraded the MAC Address in native vlan 10; MAC Address in VLAN10 after wherein synchronous is after the 3rd ED escape, and the 2nd ED is synchronizeed obtained by the MAC Address in the VLAN10 of reception with the MAC Address in local VLAN10.Therefore, the MAC Address of an ED in can the VLAN10 based on after synchronous upgraded the MAC Address in native vlan 10, thereby also reduced MAC convergence time, and reduced number of dropped packets.
The one ED of the execution mode that Fig. 8 is corresponding is the 3rd ED in the execution mode that Fig. 3 is corresponding, therefore the specific implementation of path switching method does not repeat them here in the EVI network that the ED in execution mode corresponding to Fig. 8 carries out.
Based on foregoing description, embodiment of the present invention has also proposed the path switching device in a kind of EVI network.
Figure 10 is the path switching device structure chart in EVI network according to an embodiment of the present invention, and this device can be embodied on an ED of website 2 shown in Fig. 8.
As shown in figure 10, device 1000 comprises:
MAC Address receiver module 1001, for receiving the MAC Address in this VLAN that the 2nd ED of local un-activation VLAN in remote station sends;
Alternative path computing module 1002, for calculating the alternative path that is used for forwarding the flow of this VLAN and points to the 2nd ED based on this MAC Address;
Flow switch module 1003, for when detect and remote station in the 3rd ED of this VLAN of local activation between path failure time, by the flow switch of this VLAN to described alternative path.
In one embodiment, the cost value of this MAC Address is greater than the cost value of the MAC Address that the path of calculating between an ED and the 3rd ED adopts; This device also comprises:
Alternative path arranges module 1004, be set to the forwarding sub-attribute of the MAC address entries that an ED is corresponding with path between the 3rd ED for MAC address entries corresponding to alternative path, and path between an ED and the 3rd ED is not while breaking down, forwards outgoing interface corresponding to sub-attribute and is set to non-forwarding state.
In one embodiment, this device 1000 also comprises:
MAC Address update module 1005, for receive the MAC Address in this VLAN synchronous from the 2nd ED, and MAC Address in this VLAN based on after synchronous is upgraded the MAC Address in local this VLAN; MAC Address in this VLAN after wherein synchronous is after the 3rd ED escape, and the 2nd ED is synchronizeed obtained by the MAC Address in this VLAN of the MAC Address in this VLAN receiving and this locality.
The execution mode that the application provides can be before the path fails between the ED of remote station and the ED of local activation VLAN the flow of precalculated this VLAN of forwarding local and point to the alternative path of the ED of un-activation VLAN, in the time of path failure between the ED of remote station and the ED of this VLAN of local activation, can be switched in time alternative path, thereby improve path switch speed.
And after the ED of this VLAN of local activation escape, the ED of local this VLAN of un-activation activates this VLAN, and the MAC Address in this VLAN of the MAC Address in this VLAN receiving and this locality is synchronizeed; Then the MAC Address in this VLAN after synchronous is sent to the ED in remote station, thereby the MAC Address of the ED in remote station in can this VLAN based on after synchronous upgraded the MAC Address in VLAN, thereby further reduce MAC convergence time, reduced number of dropped packets.
In addition, the invention process is simple, and only need on the website edge device of supporting EVI, realize the present invention can switch by realizing route, and there is no special processing for descending access device, does not therefore have intercommunication problem with descending access kind equipment.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (16)

1. the path switching method in the virtual interconnected EVI network of Ethernet, is characterized in that, the method comprises:
The first edge device ED of local un-activation virtual LAN VLAN receives the MAC Address in the described VLAN that the 2nd ED of VLAN sends described in the local activation in same website;
A described ED sends described MAC Address to the 3rd ED in remote station, so that described the 3rd ED calculates the flow for forwarding described VLAN based on described MAC Address and points to the alternative path of a described ED, in the time of path failure between described the 3rd ED and described the 2nd ED, described the 3rd ED by the flow switch of described VLAN to described alternative path.
2. method according to claim 1, it is characterized in that, the expense cost value of described MAC Address is greater than the cost value of the MAC Address that the path of calculating between described the 3rd ED and described the 2nd ED adopts, so that MAC address entries corresponding to the described alternative path of described the 3rd ED is set to the forwarding sub-attribute of the MAC address entries that described the 3rd ED is corresponding with path between described the 2nd ED, and path between described the 3rd ED and described the 2nd ED is not while breaking down, outgoing interface corresponding to described forwarding sub-attribute is set to non-forwarding state.
3. method according to claim 1, is characterized in that, also comprises:
After described the 2nd ED escape, a described ED is synchronizeed the MAC Address in the described VLAN of the MAC Address in the described VLAN receiving and this locality;
The MAC Address in the described VLAN after synchronous is sent to described the 3rd ED by a described ED, so that described the 3rd ED upgrades the MAC Address in local described VLAN based on described MAC Address after synchronous.
4. method according to claim 3, is characterized in that, a described ED by receive described VLAN in MAC Address with this locality described VLAN in MAC Address synchronize, comprise at least one in following processing:
The cost value of the MAC Address in the described VLAN of described ED this locality is set to a cost value;
In MAC Address in the described VLAN that a described ED receives, the cost value of the MAC Address identical with MAC Address in the described VLAN of this locality is set to a cost value;
The cost value of the MAC Address in the MAC Address in the described VLAN that a described ED receives except the MAC Address identical with MAC Address in the described VLAN of this locality is set to the 2nd cost value;
Wherein, a described cost value is less than described the 2nd cost value.
5. method according to claim 3, is characterized in that, also comprises: start synchro timer, and MAC Address in the described VLAN receiving in the described ED of the overtime rear deletion of described synchro timer.
6. the path switching method in the virtual interconnected EVI network of Ethernet, is characterized in that, described method comprises:
MAC Address in the described VLAN that the 2nd ED of the local un-activation virtual LAN VLAN in the first edge device ED reception remote station sends;
A described ED is used for based on described MAC Address calculating the alternative path that forwards the flow of described VLAN and point to described the 2nd ED;
In the time that a described ED detects the path failure between the 3rd ED of VLAN described in the local activation in a described ED and described remote station, by the flow switch of described VLAN to described alternative path.
7. method according to claim 6, is characterized in that, the expense cost value of described MAC Address is greater than the cost value of the MAC Address that the path of calculating between a described ED and described the 3rd ED adopts; The method also comprises:
MAC address entries corresponding to the described alternative path of a described ED is set to the forwarding sub-attribute of the MAC address entries that a described ED is corresponding with path between described the 3rd ED, and path between a described ED and described the 3rd ED is not while breaking down, outgoing interface corresponding to described forwarding sub-attribute is set to non-forwarding state.
8. method according to claim 6, is characterized in that, also comprises:
The MAC Address of a described ED in the 2nd ED receives the described VLAN synchronous, and MAC Address in described VLAN based on after synchronous is upgraded the MAC Address in local described VLAN; MAC Address in wherein said described VLAN after synchronous is after described the 3rd ED escape, and described the 2nd ED is synchronizeed obtained by the MAC Address in the described VLAN of the MAC Address in the described VLAN receiving and this locality.
9. the path switching device in the virtual interconnected EVI network of Ethernet, is characterized in that, described application of installation is in the first edge ED, the local un-activation virtual LAN VLAN of a described ED, and this device comprises:
MAC Address receiver module, for receiving the MAC Address in the described VLAN that the 2nd ED of VLAN sends described in the local activation in same website;
MAC Address sending module, sends described MAC Address for the 3rd ED in remote station, so that described the 3rd ED calculates the flow for forwarding described VLAN based on described MAC Address and points to the alternative path of a described ED; Wherein in the time of the path failure of described the 3rd ED and described the 2nd ED, described the 3rd ED by the flow switch of described VLAN to described alternative path.
10. device according to claim 9, it is characterized in that, the expense cost value of described MAC Address is greater than the cost value of the MAC Address that the path of calculating between described the 3rd ED and described the 2nd ED adopts, so that MAC address entries corresponding to the described alternative path of described the 3rd ED is set to the forwarding sub-attribute of the MAC address entries that described the 3rd ED is corresponding with path between described the 2nd ED, and path between described the 3rd ED and described the 2nd ED is not while breaking down, outgoing interface corresponding to described forwarding sub-attribute is set to non-forwarding state.
11. devices according to claim 9, is characterized in that, also comprise:
Synchronization module, for after described the 2nd ED escape, by receive described VLAN in MAC Address with this locality described VLAN in MAC Address synchronize, and the MAC Address in the described VLAN after synchronous is sent to described the 3rd ED, so that described the 3rd ED upgrades the MAC Address in local described VLAN based on described MAC Address after synchronous.
12. devices according to claim 11, is characterized in that,
Described synchronization module, for carrying out at least one of following processing:
The cost value of the MAC Address in the described VLAN of this locality is set to a cost value;
In MAC Address in the described VLAN receiving, the cost value of the MAC Address identical with MAC Address in the described VLAN of this locality is set to a cost value;
The cost value of the MAC Address in the MAC Address in the described VLAN receiving except the MAC Address identical with MAC Address in the described VLAN of this locality is set to the 2nd cost value;
Wherein, a described cost value is less than described the 2nd cost value.
13. devices according to claim 12, is characterized in that, also comprise:
MAC Address removing module, for starting synchro timer, and MAC Address in the described VLAN receiving in the overtime rear deletion of described synchro timer.
Path switching device in 14. 1 kinds of virtual interconnected EVI networks of Ethernet, described application of installation, in the first edge device ED, is characterized in that, described device comprises:
MAC Address receiver module, for receiving the MAC Address in the described VLAN that the 2nd ED of local un-activation virtual LAN VLAN in remote station sends;
Alternative path computing module, for being used for based on described MAC Address calculating the alternative path that forwards the flow of described VLAN and point to described the 2nd ED;
Flow switch module, for when detect and described remote station in local activation described in when path failure between the 3rd ED of VLAN, by the flow switch of described VLAN to described alternative path.
15. devices according to claim 14, is characterized in that,
The expense cost value of described MAC Address is greater than the cost value of the MAC Address that the path of calculating between a described ED and described the 3rd ED adopts; This device also comprises:
Alternative path arranges module, be set to the forwarding sub-attribute of the MAC address entries that a described ED is corresponding with path between described the 3rd ED for MAC address entries corresponding to described alternative path, and path between a described ED and described the 3rd ED is not while breaking down, outgoing interface corresponding to described forwarding sub-attribute is set to non-forwarding state.
16. devices according to claim 14, is characterized in that, also comprise:
MAC Address update module, for receive the MAC Address in the described VLAN synchronous from the 2nd ED, and MAC Address in described VLAN based on after synchronous is upgraded the MAC Address in local described VLAN; MAC Address in wherein said described VLAN after synchronous is after described the 3rd ED escape, and described the 2nd ED is synchronizeed obtained by the MAC Address in the described VLAN of the MAC Address in the described VLAN receiving and this locality.
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 true CN104135434A (en) 2014-11-05
CN104135434B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878048A (en) * 2016-12-13 2017-06-20 新华三技术有限公司 Fault handling method and device
CN108965060A (en) * 2018-07-27 2018-12-07 新华三技术有限公司合肥分公司 Pretection switch method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020112072A1 (en) * 2001-02-12 2002-08-15 Maple Optical Systems, Inc. System and method for fast-rerouting of data in a data communication network
US20060002386A1 (en) * 2004-06-30 2006-01-05 Zarlink Semiconductor Inc. Combined pipelined classification and address search method and apparatus for switching environments
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020112072A1 (en) * 2001-02-12 2002-08-15 Maple Optical Systems, Inc. System and method for fast-rerouting of data in a data communication network
US20060002386A1 (en) * 2004-06-30 2006-01-05 Zarlink Semiconductor Inc. Combined pipelined classification and address search method and apparatus for switching environments
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

Cited By (4)

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

Also Published As

Publication number Publication date
CN104135434B (en) 2017-09-22

Similar Documents

Publication Publication Date Title
EP3188409B1 (en) Oam mechanisms for evpn active-active services
EP3691185B1 (en) Method for processing message, device, and system
CN102035676B (en) ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault
CN104205748B (en) Has redundancy between the frame of coordinated traffic direction
EP3066784B1 (en) Supporting operator commands in link aggregation group
EP2124393B1 (en) An ethernet automatic protection method and system
CN102571426B (en) Double-homing protection method and device
CN101557343B (en) Detecting and protecting method of double-layer loop in VRRP topological network
CN107078951A (en) From virtual port channel peer-to-peer fault recovery
CN102624929B (en) Wireless sensor network gateway redundancy method based on virtual gateway
CN107948041B (en) Method and equipment for constructing VXLAN centralized multi-active gateway
CN102711234B (en) The method and VRRP equipment of active and standby VRRP equipment rooms synchronization ARP table
CN102255757B (en) Link switching method and device
CN104009926A (en) Multicast method in EVI network and edge device ED
CN104135418B (en) It is a kind of to realize two layers of method and device for coordinating to switch with Layer3 Virtual Private Network
CN103078800B (en) Mac address information control method in EVI network and edge device
CN104378296A (en) Message forwarding method and device
CN101771618A (en) Host routing reachable method and system in access ring of packet transport network
CN103873333A (en) Ring network three-layer convergence method and device
CN103227773A (en) Method and system for establishing virtual private dial-up network connection
CN102055642A (en) Data message conversion method
CN105490937A (en) Ethernet virtual network gateway switching method and service provider edge node equipment
CN104125079B (en) A kind of method and device for determining two-node cluster hot backup configuration information
CN103685007A (en) Method for MAC address learning during packet forwarding of edge devices and edge device
CN102447703B (en) A kind of heat backup method and system, CGN equipment

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant