CN104468233A - Fault switching method and device for Ethernet virtual interconnection (EVI) dual homing site - Google Patents

Fault switching method and device for Ethernet virtual interconnection (EVI) dual homing site Download PDF

Info

Publication number
CN104468233A
CN104468233A CN201410809583.2A CN201410809583A CN104468233A CN 104468233 A CN104468233 A CN 104468233A CN 201410809583 A CN201410809583 A CN 201410809583A CN 104468233 A CN104468233 A CN 104468233A
Authority
CN
China
Prior art keywords
evi
message
vlan
edge device
auxiliary
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
CN201410809583.2A
Other languages
Chinese (zh)
Other versions
CN104468233B (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 CN201410809583.2A priority Critical patent/CN104468233B/en
Publication of CN104468233A publication Critical patent/CN104468233A/en
Application granted granted Critical
Publication of CN104468233B publication Critical patent/CN104468233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a fault switching method and device for an Ethernet virtual interconnection (EVI) dual homing site. The method comprises the steps that an auxiliary EVI tunnel is established between a first edge device and a second edge device in the EVI dual homing site; when the first edge device discovers that a second layer port of an activated VLAN of the EVI case of the first edge device breaks down, an auxiliary EVI tunnel port state of the activated VLAN of the EVI case maintained by the first edge device is changed to be Up from Block; the first edge device receives an EVI data message from an IP core network before a keep-alive message of the EVI case from the second edge device is beyond the time, the message is subjected to EVI decapsulation, and when the VLAN of the message is discovered as an activated VLAN, the message is sent to the second edge device through the auxiliary EVI tunnel after being subjected to EVI decapsulation. According to the fault switching method and device, after the second layer port of the activated VLAN of the edge device in the EVI dual homing site breaks down, the traffic is not interrupted.

Description

The virtual interconnected dual-homed site disasters changing method of Ethernet and device
Technical field
The application relates to EVI (Ethernet Virtualization Inter-connection, Ethernet is virtual interconnected) technical field, particularly relates to the dual-homed site disasters changing method of EVI and device.
Background technology
EVI is a kind of advanced person " MAC in IP " technology, for realizing L2VPN (Layer2Virtual Private Network, the L 2 virtual private network) technology based on IP kernel heart net.EVI just safeguards route and forwarding information on the edge device of website, and without the need to changing Intra-site and core network.EVI overall network is made up of core network, station network, crossover network.Station network is the double layer network with separate traffic function being connected to core network by or multiple stage edge device, usually controlled by single organization and administration, primarily of main frame and switching equipment composition, edge device provides the function of the Layer2 switching between website; Crossover network is the virtual network set up between website edge device, provide between station network two layers interconnected, notice be connected to the All hosts of edge device and the MAC Address of router, by larger for interconnected for multiple website formation two layers forward territories; Core network be primarily of IP routing device carrying network interconnected between station network is provided.
EVI technology is a kind of large two layers of technology, when website is by edge device core network access, in order to realize high reliability, prevents the Single Point of Faliure of equipment in network, by adopting the dual-homed mode core network access of multiple stage edge device.
Fig. 1 gives EVI dual-homing networking example, and as shown in Figure 1, Switch A (switch A) and Switch B (switch b) constitutes a dual-homed website of EVI, has met 3 Intra-Network switch SW1, SW2, SW3 below; Meanwhile, Switch C, Switch D constitute a dual-homed website of EVI.
Still for Fig. 1, if Switch A, Switch B have activated identical VLAN:VLAN 300, Switch C, Switch D also have activated VLAN 300 simultaneously, message then in VLAN 300 may form loop, as shown in Figure 2, the broadcast of the VLAN 300 that switch A sends or unknown unicast message arrive Switch D through EVI tunnel, Switch D can arrive Switch C after broadcasting, Switch B can be arrived after Switch C broadcasts again, after Switch B broadcasts, get back to again Switch A again.
The loop phenomenon that may occur to prevent dual-homed access website, the network in website runs EVI Intermediate System to Intermediate System in website, to consult the active vlan of each edge device.Neighborhood is formed by EVI IS-IS hello packet mutual in website between edge device, mutually notice the expansion VLAN of each self-configuring afterwards, and elect a DED (Designated Edge Device, designated edge equipment), be the active vlan that each edge device distribution needs in website are shared by DED.During dual-homed load balancing, DED can give two edge devices by mean allocation expansion VLAN.In order to ensure the accessibility of two edge of table equipment in website in same website, to complete EVI Intermediate System to Intermediate System message interaction process, assigned vlan to be configured when layout data central site network to carry the EVIIS-IS hello packet in website.
Summary of the invention
The application provides the dual-homed site disasters changing method of EVI and device.
The technical scheme of the application is achieved in that
The dual-homed site disasters changing method of a kind of EVI, the method comprises:
The first edge device in the dual-homed website of EVI and create auxiliary EVI tunnel between the second edge device;
First edge device finds two layers of port failure Down of the active vlan of self EVI example, then the auxiliary EVI tunnel port status of the active vlan of the described EVI example of self maintained is changed to Up by Block;
First edge device receives the EVI data message from IP kernel heart net before the keep-alive message time-out of the described EVI example from the second edge device; EVI decapsulation is carried out to this message; find that the VLAN of message is active vlan; after then EVI encapsulation being carried out to this message, send to the second edge device by auxiliary EVI tunnel.
The dual-homed site disasters switching device shifter of a kind of EVI, be positioned on the edge device of the dual-homed website of EVI, this device comprises:
Auxiliary EVI tunnel creation module: and between the end edges equipment in this website, create auxiliary EVI tunnel;
Fault processing module: the two layers of port failure Down finding the active vlan of this edge device EVI example; then the auxiliary EVI tunnel port status of the active vlan of described EVI example is changed to Up by Block; the EVI data message from IP kernel heart net is received before the keep-alive message time-out of the described EVI example from described end edges equipment; EVI decapsulation is carried out to this message; find that the VLAN of message is active vlan; after then EVI encapsulation being carried out to this message, send to described end edges equipment by auxiliary EVI tunnel.
Visible, in the application, by creating auxiliary EVI tunnel between two edge of table equipment in the dual-homed website of EVI; and after two layers of port Down of the active vlan of an edge of table equipment; enable auxiliary EVI tunnel, make before keep-alive message time-out, the flow of this active vlan does not also interrupt.
Accompanying drawing explanation
Fig. 1 is EVI dual-homing networking exemplary plot;
Fig. 2 is the exemplary plot producing loop in existing EVI dual-homing networking;
Fig. 3 is the exemplary plot of the down link of edge device in existing EVI dual-homing networking when breaking down;
The EVI dual-homed site disasters changing method flow chart that Fig. 4 provides for the application one embodiment;
The EVI dual-homed site disasters changing method flow chart that Fig. 5 provides for the another embodiment of the application;
Fig. 6 is the exemplary plot that in the embodiment of the present application, in EVI dual-homing networking, Layer 2 switch breaks down;
Fig. 7 is the networking diagram of the application's application example;
The composition schematic diagram of the dual-homed site disasters switching device shifter of EVI that Fig. 8 provides for the embodiment of the present application;
The hardware configuration schematic diagram of the edge device that Fig. 9 provides for the embodiment of the present application.
Embodiment
Applicant carries out analysis to existing EVI dual-homing networking and finds:
When the down link of the edge device in dual-homing networking breaks down, edge device carries out perception by EVI Intermediate System to Intermediate System in website.As shown in Figure 3; if two layers of port that Switch B is connected with Downlink Switch SW3 have activated VLAN 300; during link occurs fault between Switch B and SW3; because carry out keep-alive by EVI IS-IS hello packet in website before Switch A and Switch B; Switch A in keep-alive to the hello packet also not receiving Switch B constantly and send; then VLAN 300 is set to active vlan, the two layer message on such SW3 communicates with remote station by Switch A.
There is following shortcoming in said method:
After link occurs fault between Switch B and SW3, Switch A must could active vlan 300 after the hello packet time-out waiting for SwitchB, before Switch A active vlan 300, the object that remote equipment is sent to IP kernel heart net is that the EVI data message of Switch B can all be lost.
After link occurs fault between Switch B and SW3, only have Switch A have received SW3 forward from the message hanging main frame under SW3, Switch A just can learn the MAC Address of this main frame, and the MAC Address of this main frame is informed to Switch D, thus the message for the purpose of this main frame that Switch D sends just can issue Switch A instead of Switch B; Therefore, if do not send message after the link failure of this main frame between SwitchB and SW3 always, then Switch D would not learn the MAC Address of this main frame, thus, message for the purpose of this main frame will be still transmitted to Switch B by Switch D, causes message repeating failure.
The EVI dual-homed site disasters changing method flow chart that Fig. 4 provides for the application one embodiment, its concrete steps are as follows:
The first edge device in the dual-homed website of step 401:EVI and create auxiliary EVI tunnel between the second edge device.
Step 402: the first edge device finds two layers of port Down (fault) of the active vlan of self EVI example, then the auxiliary EVI tunnel port status of the active vlan of the described EVI example of self maintained is changed to Up (operation) by Block (obstruction).
For each EVI example of self, first edge device safeguards two layers of port status of active vlan in this EVI example and inactive VLAN, auxiliary EVI tunnel port status respectively, wherein, the auxiliary EVI tunnel port status of active vlan is initialized as Block, and the auxiliary EVI tunnel port status of inactive VLAN is initialized as Up.
Preferably, in step 402, the first edge device finds that two layers of port failure Down of the active vlan of EVI example described in self comprise:
When two layers of port that the active vlan of described EVI example is corresponding are the combinations of multiple port, when the first edge device finds that the state of all of the port in this combination is all Down, determine two layers of port Down of the active vlan of described EVI example.
Step 403: the first edge device receives the EVI data message from IP kernel heart net before the keep-alive message time-out of this EVI example from the second edge device; EVI decapsulation is carried out to this message; find that the VLAN of message is active vlan; and two of active vlan layers of port Down; after then EVI encapsulation being carried out to this message, send to the second edge device by auxiliary EVI tunnel.
Preferably, in step 402, the first edge device comprises after the auxiliary EVI tunnel port status of the active vlan of the described EVI example of self maintained is changed to Up by Block further:
First edge device receives the EVI data message that the second edge device is sent from auxiliary EVI tunnel, EVI decapsulation is carried out to this message, find that the VLAN of message is active vlan and the target MAC (Media Access Control) address of message is far-end address, then send to IP kernel heart net after EVI encapsulation being carried out to message; Wherein, described EVI data message is: after the second edge device receives the data message that the Layer 2 switch in this website sends, find the VLAN of this message to be oneself inactive VLAN be the active vlan of the first edge device, be then sent on auxiliary EVI tunnel after EVI encapsulation being carried out to this message.
Preferably, in step 402, the first edge device comprises after the auxiliary EVI tunnel port status of the active vlan of the described EVI example of self maintained is changed to Up by Block further:
First edge device finds the keep-alive message time-out from the described EVI example of the second edge device; then self activating all activated VLAN of described EVI example of the second edge device, and the auxiliary EVI tunnel port status of the active vlan of the described EVI example of self maintained is being updated to Block.
Preferably, in step 401, the first edge device in the dual-homed website of EVI and comprising further after creating auxiliary EVI tunnel between the second edge device:
Before the keep-alive message time-out of the EVI example from the second edge device, after first edge device receives the data message that the Layer 2 switch in this website sends, find the VLAN of this message to be oneself inactive VLAN be the active vlan of the second edge device, be sent to after then EVI encapsulation being carried out to this message on auxiliary EVI tunnel, to make: the second edge device is sent to IP kernel heart net after carrying out EVI decapsulation to this message, wherein, described data message is: two layers of port Down of the active vlan of the described EVI example of the second edge device, and after the auxiliary EVI tunnel port status of the active vlan of described EVI example changes to Up by Block by the second edge device, described Layer 2 switch sends, and, when the keep-alive message time-out of the described EVI example from the second edge device, first edge device activates all inactive VLAN of EVI example described in self, and after the data message that the Layer 2 switch received in this website is sent, after EVI encapsulation is carried out to this message, send to IP kernel heart net.
The EVI dual-homed site disasters changing method flow chart that Fig. 5 provides for the another embodiment of the application, its concrete steps are as follows:
Step 501: in the dual-homed website of EVI, creates auxiliary EVI tunnel between the two edge of table equipment (being set to the first edge device and the second edge device) in website.
Step 502: for each EVI example of self, first, second edge device safeguards two layers of port status and the auxiliary EVI tunnel port status of active vlan in this EVI example and inactive VLAN respectively.
Wherein, two layers of port status of active vlan are initialized as Up, and the auxiliary EVI tunnel port status of active vlan is initialized as Block; Two layers of port status of inactive VLAN are initialized as Up when two layers of link are normal, and the auxiliary EVI tunnel port status of inactive VLAN is initialized as Up.
Wherein, two layers of port status of active vlan and inactive VLAN are initialized as Up, down link normal situation when being initial based on first and second edge device.
Such as: establish on first and second edge device in the dual-homed website of EVI and only enable an EVI example, then the status list for the expansion VLAN of this first and second edge device of EVI example maintenance is all as shown in table 1:
Table 1
It is emphasized that, for an EVI example, edge device is that all activated VLAN of this EVI example unifies maintenance two layers of port status and an auxiliary EVI tunnel port status, and all inactive VLAN for this EVI example unifies maintenance two layers of port status and an auxiliary EVI tunnel port status.
When two layers of port that all activated VLAN of this EVI example is corresponding are the combinations of multiple port, as long as the state of a port then in this combination is Up, two layers of port status that in table 1, active vlan is corresponding are just Up; When only having the state of all of the port in this combination to be all Down, two layers of port status that in table 1, active vlan is corresponding are just Down.Two layers of port status that inactive VLAN is corresponding equally so set.
Step 503: the first edge device finds two layers of port Down of the active vlan of the EVI example of self, then the auxiliary EVI tunnel port status of the active vlan of this EVI example of self maintained is changed to Up by Block.
Before the keep-alive message time-out of this EVI example from the second edge device, the auxiliary EVI tunnel port status of the active vlan of this EVI example that the first edge device is safeguarded is all Up.
That is, the status list of the expansion VLAN of this EVI example of the first edge device maintenance changes to following table 2:
Table 2
Step 504: before the keep-alive message time-out of this EVI example from the second edge device; when the first edge device receives the EVI data message from IP kernel heart net; EVI decapsulation is carried out to this message; find that the VLAN of message is the active vlan of oneself; and two of this active vlan layers of port Down; after then EVI encapsulation being carried out to this message, send to the second edge device by auxiliary EVI tunnel.
Due to two layers of port Down of the active vlan of this EVI example; and must be forwarded by these two layers of ports for the EVI IS-IS hello packet of keep-alive between first and second edge device, therefore after this first and second edge device cannot carry out the keep-alive message interaction of this EVI example.
Step 505: before the keep-alive message time-out of this EVI example from the first edge device; second edge device receives this EVI data message from auxiliary EVI tunnel; EVI decapsulation is carried out to this message; the VLAN of discovery message is the inactive VLAN of oneself, then by this message L 2 broadcast in site-local.
Step 506: before the keep-alive message time-out of this EVI example mutual between first and second edge device; the first switch hung over originally under two layers of port of the active vlan of this EVI example of the first edge device receives the data message that local first main frame is sent; the VLAN of this message is the active vlan of the first edge device; the target MAC (Media Access Control) address of message points to the main frame in remote station, and this message is sent to the second edge device by the first switch.
Step 507: before the keep-alive message time-out of this EVI example from the first edge device; second edge device receives this data message that the first switch is sent; find oneself un-activation and the first edge device have activated the VLAN of this message; after then EVI encapsulation being carried out to this message, send to the first edge device by auxiliary EVI tunnel.
Step 508: the first edge device receives this EVI data message from auxiliary EVI tunnel, is sent to IP kernel heart net to this message after carrying out EVI decapsulation.
Step 509: first, two edge devices find the keep-alive message time-out from this EVI example of end edges equipment, the all inactive VLAN of this EVI example of end edges equipment is then activated at self, and upgrade two layers of port status of the expansion VLAN of this EVI example of self maintained, and auxiliary EVI tunnel port status, when the second edge device receives the data message from the first main frame that the first switch sends, when the target MAC (Media Access Control) address of message points to the main frame in remote station, second edge device sends to IP kernel heart net after carrying out EVI encapsulation to this message.
That is, first and second edge device finds the keep-alive message time-out from this EVI example of end edges equipment, all inactive VLAN of this EVI example of self be activated.
Particularly, the status list of the expansion VLAN of this EVI example of the second edge plant maintenance is updated to as shown in table 3:
Expansion VLAN Two layers of port status Auxiliary EVI tunnel port status
Active vlan Up Block
Table 3
That is, compared with table 1, the list item that the inactive VLAN of the second edge unit deletion is corresponding.
The status list of the expansion VLAN of this EVI example that the first edge device is safeguarded is updated to as shown in table 4:
Expansion VLAN Two layers of port status Auxiliary EVI tunnel port status
Active vlan Down Block
Table 4
That is, compared with table 2, the first edge device deletes list item corresponding to inactive VLAN, auxiliary EVI tunnel port status corresponding for active vlan is changed to Block by Up simultaneously.
Visible, due to first and second edge device not existing the inactive VLAN of this EVI example, so they all only need safeguard the status list for active vlan of this EVI example.
It should be noted that; first edge device is when the keep-alive message time-out of this EVI example from the second edge device; auxiliary EVI tunnel port status to be updated to Block by Up; do like this and first and second edge device can be prevented for the loop caused during Down while of same layer 2-switched two layers of link in this website, be exemplified below:
For Fig. 6, if SW3 fault, then, first, before the keep-alive message time-out of EVI example mutual between first and second edge device, all expansion activation of VLAN of this EVI example on first and second edge device, unactivated state remain unchanged, and can not produce loop after the EVI broadcasting data messages therefore sent from IP kernel heart net arrives website 1, and first, after the keep-alive message time-out of EVI example mutual between two edge devices, first, the active vlan of the other side can all activate by two edge devices, namely, first, two edge devices all have activated all expansion VLAN of this EVI example, now, loop is produced after arriving website 1 to prevent the EVI broadcasting data messages sent from IP kernel heart net, need first, auxiliary EVI tunnel port status on two edge devices is all set to Block, namely, when due to keep-alive message time-out and after activating original inactive VLAN, when arranging the auxiliary EVI tunnel port status of active vlan, first to check two layers of port status, if two layers of port status are down, then auxiliary EVI tunnel port status is set to Block.
Below provide the application example of the application:
As shown in Figure 7, in website 1, SW1, SW2, SW3 access Switch A and SwitchB simultaneously, wherein, SW1 enables VLAN 100, SW2 enable on VLAN 200, SW3 and enable VLAN 300, time initial, Switch A have activated on VLAN 100, VLAN 200, Switch B and have activated VLAN 300.In website 2, Switch D have activated VLAN 300.Then:
One, initially time
The active vlan that Switch A safeguards and two layers of port status of inactive VLAN, auxiliary EVI tunnel port status are as shown in Table 5-1:
Table 5-1
The active vlan that Switch B safeguards and two layers of port status of inactive VLAN, auxiliary EVI tunnel port status are as shown in table 5-2:
Table 5-2
Two, after the linkdown between Switch B and SW3
First, table 5-2 can be updated to as shown in table 6-2 by Switch B:
Table 6-2
Before from the keep-alive message time-out of Switch B, the table 5-1 that Switch A safeguards can not upgrade.
Before from the keep-alive message time-out of Switch A, when Switch B receives the EVI data message from IP kernel heart net, after EVI decapsulation is carried out to message, if find, the VLAN of message is VLAN300, then due to the link Down between oneself and SW3, therefore message directly cannot be transmitted to SW3, therefore be message encapsulation auxiliary EVI tunnel head, then message is sent to Switch A, after Switch A receives message, EVI decapsulation is carried out to message, the VLAN:VLAN 300 of discovery message is the inactive VLAN of oneself, then this message is carried out L 2 broadcast in website 1.
Before keep-alive message time-out mutual between Switch A, B, when the main frame 1 hung under SW3 sends that a VLAN is VLAN 300, destination address points to the message of remote host 2, after SW3 receives this message, due to the link Down between oneself and Switch B, therefore, this message can be issued Switch A by SW3; After Switch A receives this message, find inactive VLAN that the VLAN:VLAN 300 of message is oneself and be the active vlan of Switch B, then for EVI tunnel head is assisted in message encapsulation, message being sent to Switch B; Switch B receives this message, carries out EVI decapsulation to this message, find that the VLAN:VLAN 300 of message is the active vlan of oneself, and the destination address of message is far-end address, then, after carrying out EVI encapsulation to message, be sent to IP kernel heart net.
Three, when mutual between Switch A, B keep-alive message is overtime
Switch A, Switch B to constantly, do not receive the EVI IS-IS hello packet that the other side sends at the keep-alive message from the other side, then by the active vlan of opposite end all at local activation, now, table 5-1 is updated to following table 6-1 by SwitchA:
Table 6-1
Table 6-2 is updated to following table 7-2 by Switch B:
Table 7-2
The Advantageous Effects of the embodiment of the present application is as follows:
By creating auxiliary EVI tunnel between two edge of table equipment in the dual-homed website of EVI; and after two layers of port Down of the active vlan of an edge of table equipment; by after the EVI data message EVI decapsulation that receives from core net; end edges equipment is sent to by auxiliary EVI tunnel; simultaneously by from this locality, VLAN is the data message of oneself un-activation and end edges device activation; end edges equipment is sent to by auxiliary EVI tunnel; make before keep-alive time-out, flow can not interrupt.
The composition schematic diagram of the dual-homed site disasters switching device shifter of EVI that Fig. 8 provides for the embodiment of the present application, this device is positioned on the edge device of the dual-homed website of EVI, and this device comprises: auxiliary EVI tunnel creation module and fault processing module, wherein:
Auxiliary EVI tunnel creation module: and between the end edges equipment in this website, create auxiliary EVI tunnel.
Fault processing module: the two layers of port failure Down finding the active vlan of this edge device one EVI example; then the auxiliary EVI tunnel port status of the active vlan of described EVI example is changed to Up by Block; the EVI data message from IP kernel heart net is received before the keep-alive message time-out of the described EVI example from described end edges equipment; EVI decapsulation is carried out to this message; find that the VLAN of message is active vlan; after then EVI encapsulation being carried out to this message, send to described end edges equipment by auxiliary EVI tunnel.
Preferably, fault processing module finds that two layers of port failure Down of the active vlan of EVI example described in this edge device comprise:
When two layers of port that the active vlan of described EVI example is corresponding are the combinations of multiple port, when the state finding all of the port in this combination is all Down, determine two layers of port Down of the active vlan of described EVI example.
Preferably, fault processing module is further used for after the auxiliary EVI tunnel port status of the active vlan of described EVI example is changed to Up by Block, the EVI data message that the end edges equipment received in this website from auxiliary EVI tunnel before the keep-alive message time-out of the described EVI example from described end edges equipment is sent, EVI decapsulation is carried out to this message, find that the VLAN of message is active vlan and the target MAC (Media Access Control) address of message is far-end address, then send to IP kernel heart net after EVI encapsulation being carried out to message; Wherein, described EVI data message is: after described end edges equipment receives the data message that the Layer 2 switch in this website sends, find the VLAN of this message to be oneself inactive VLAN be the active vlan of the end edges equipment in this website, be then sent on auxiliary EVI tunnel after EVI encapsulation being carried out to this message.
Preferably; fault processing module is further used for after the auxiliary EVI tunnel port status of the active vlan of described EVI example is changed to Up by Block; find the keep-alive message time-out from the described EVI example of described end edges equipment; on this edge device, then activate all inactive VLAN of described EVI example, and the auxiliary EVI tunnel port status of the active vlan of described EVI example is updated to Block.
Preferably, fault processing module is further used for, before the keep-alive message time-out of the EVI example from described end edges equipment, after receiving the data message that the Layer 2 switch in this website sends, find the VLAN of this message to be the inactive VLAN of this edge device be the active vlan of described end edges equipment, be sent to after then EVI encapsulation being carried out to this message on auxiliary EVI tunnel, to make: described end edges equipment is sent to IP kernel heart net after carrying out EVI decapsulation to this message, wherein, described data message is: two layers of port Down of the active vlan of the described EVI example of described end edges equipment, and after the auxiliary EVI tunnel port status of the active vlan of described EVI example changes to Up by Block by described end edges equipment, described Layer 2 switch sends, and, when the keep-alive message time-out of the described EVI example from described end edges equipment, activate all inactive VLAN of described EVI example on this edge device, and after the data message that the Layer 2 switch received in this website is sent, after EVI encapsulation is carried out to this message, send to IP kernel heart net.
Edge device in the dual-homed website of the EVI that the embodiment of the present application provides can be the programmable device of software and hardware combining, says from hardware view, and the hardware structure schematic diagram of edge device specifically can see Fig. 9.The hardware configuration schematic diagram comprising the edge device of the dual-homed site disasters switching device shifter of EVI that Fig. 9 provides for the embodiment of the present application.This edge device comprises: machinable medium, CPU and other hardware, wherein:
Machinable medium: store instruction codes; The operation that described instruction code completes when being performed by CPU is mainly the function that the dual-homed site disasters switching device shifter of EVI completes.
CPU: communicate with machinable medium, reads and performs the described instruction code stored in machinable medium, completing the function that the dual-homed site disasters switching device shifter of above-mentioned EVI completes.
When the dual-homed site disasters switching device shifter of above-mentioned EVI is as device on a logical meaning, it runs computer program instructions corresponding in machinable medium by CPU to be formed.When the computer program instructions of correspondence is performed, the EVI dual-homed site disasters switching device shifter of formation is used for performing corresponding operating according to the dual-homed site disasters changing method of the EVI in above-described embodiment.
Machinable medium can be any electronics, magnetic, optics or other physical storage device, can comprise or storage information, as executable instruction, data, etc.Such as, machinable medium can be: RAM (Radom Access Memory, random access memory), the memory disc (as CD, dvd etc.) of volatile memory, nonvolatile memory, flash memory, memory driver (as hard disk drive), solid state hard disc, any type, or similar storage medium, or their combination.
Arbitrary machinable medium described by the application can be considered to non-transitory.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, within all spirit in the application and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the application protects.

Claims (10)

1. the dual-homed site disasters changing method of the virtual interconnected EVI of Ethernet, it is characterized in that, the method comprises:
The first edge device in the dual-homed website of EVI and create auxiliary EVI tunnel between the second edge device;
First edge device finds two layers of port failure Down of the active vlan of self EVI example, then the auxiliary EVI tunnel port status of the active vlan of the described EVI example of self maintained is changed to Up by Block;
First edge device receives the EVI data message from IP kernel heart net before the keep-alive message time-out of the described EVI example from the second edge device; EVI decapsulation is carried out to this message; find that the VLAN of message is active vlan; after then EVI encapsulation being carried out to this message, send to the second edge device by auxiliary EVI tunnel.
2. method according to claim 1, is characterized in that, described first edge device finds that two layers of port failure Down of the active vlan of EVI example described in self comprise:
When two layers of port that the active vlan of described EVI example is corresponding are the combinations of multiple port, when the first edge device finds that the state of all of the port in this combination is all Down, determine two layers of port Down of the active vlan of described EVI example.
3. method according to claim 1, is characterized in that, described first edge device comprises after the auxiliary EVI tunnel port status of the active vlan of the described EVI example of self maintained is changed to Up by Block further:
First edge device receives the EVI data message that the second edge device is sent before the keep-alive message time-out of the described EVI example from the second edge device from auxiliary EVI tunnel, EVI decapsulation is carried out to this message, find that the VLAN of message is active vlan and the target MAC (Media Access Control) address of message is far-end address, then send to IP kernel heart net after EVI encapsulation being carried out to message; Wherein, described EVI data message is: after the second edge device receives the data message that the Layer 2 switch in this website sends, find the VLAN of this message to be oneself inactive VLAN be the active vlan of the first edge device, be then sent on auxiliary EVI tunnel after EVI encapsulation being carried out to this message.
4., according to the arbitrary described method of claims 1 to 3, it is characterized in that, described first edge device comprises after the auxiliary EVI tunnel port status of the active vlan of the described EVI example of self maintained is changed to Up by Block further:
First edge device finds the keep-alive message time-out from the described EVI example of the second edge device; then at all inactive VLAN self activating described EVI example, the auxiliary EVI tunnel port status of the active vlan of the described EVI example of self maintained is updated to Block.
5. method according to claim 1, is characterized in that, the first edge device in the dual-homed website of described EVI and comprising further after creating auxiliary EVI tunnel between the second edge device:
Before the keep-alive message time-out of the EVI example from the second edge device, after first edge device receives the data message that the Layer 2 switch in this website sends, find the VLAN of this message to be oneself inactive VLAN be the active vlan of the second edge device, be sent to after then EVI encapsulation being carried out to this message on auxiliary EVI tunnel, to make: the second edge device is sent to IP kernel heart net after carrying out EVI decapsulation to this message, wherein, described data message is: two layers of port Down of the active vlan of the described EVI example of the second edge device, and after the auxiliary EVI tunnel port status of the active vlan of described EVI example changes to Up by Block by the second edge device, described Layer 2 switch sends,
And; when the keep-alive message time-out of the described EVI example from the second edge device; first edge device activates all inactive VLAN of EVI example described in self; and after the data message that the Layer 2 switch received in this website is sent, after EVI encapsulation is carried out to this message, send to IP kernel heart net.
6. the dual-homed site disasters switching device shifter of the virtual interconnected EVI of Ethernet, be positioned on the edge device of the dual-homed website of EVI, it is characterized in that, this device comprises:
Auxiliary EVI tunnel creation module: and between the end edges equipment in this website, create auxiliary EVI tunnel;
Fault processing module: the two layers of port failure Down finding the active vlan of this edge device EVI example; then the auxiliary EVI tunnel port status of the active vlan of described EVI example is changed to Up by Block; the EVI data message from IP kernel heart net is received before the keep-alive message time-out of the described EVI example from described end edges equipment; EVI decapsulation is carried out to this message; find that the VLAN of message is active vlan; after then EVI encapsulation being carried out to this message, send to described end edges equipment by auxiliary EVI tunnel.
7. device according to claim 6, is characterized in that, described fault processing module finds that two layers of port failure Down of the active vlan of EVI example described in this edge device comprise:
When two layers of port that the active vlan of described EVI example is corresponding are the combinations of multiple port, when the state finding all of the port in this combination is all Down, determine two layers of port Down of the active vlan of described EVI example.
8. device according to claim 6, is characterized in that, described fault processing module is further used for after the auxiliary EVI tunnel port status of the active vlan of described EVI example is changed to Up by Block,
The EVI data message that the end edges equipment received in this website from auxiliary EVI tunnel before the keep-alive message time-out of the described EVI example from described end edges equipment is sent, EVI decapsulation is carried out to this message, find that the VLAN of message is active vlan and the target MAC (Media Access Control) address of message is far-end address, then send to IP kernel heart net after EVI encapsulation being carried out to message; Wherein, described EVI data message is: after described end edges equipment receives the data message that the Layer 2 switch in this website sends, find the VLAN of this message to be oneself inactive VLAN be the active vlan of the end edges equipment in this website, be then sent on auxiliary EVI tunnel after EVI encapsulation being carried out to this message.
9., according to the arbitrary described device of claim 6 to 8, it is characterized in that, described fault processing module is further used for after the auxiliary EVI tunnel port status of the active vlan of described EVI example is changed to Up by Block,
Find the keep-alive message time-out from the described EVI example of described end edges equipment, then on this edge device, activate all inactive VLAN of described EVI example, the auxiliary EVI tunnel port status of the active vlan of described EVI example is updated to Block.
10., according to the arbitrary described device of claim 6 to 9, it is characterized in that, described fault processing module is further used for,
Before the keep-alive message time-out of the EVI example from described end edges equipment, after receiving the data message that the Layer 2 switch in this website sends, find the VLAN of this message to be the inactive VLAN of this edge device be the active vlan of described end edges equipment, be sent to after then EVI encapsulation being carried out to this message on auxiliary EVI tunnel, to make: described end edges equipment is sent to IP kernel heart net after carrying out EVI decapsulation to this message, wherein, described data message is: two layers of port Down of the active vlan of the described EVI example of described end edges equipment, and after the auxiliary EVI tunnel port status of the active vlan of described EVI example changes to Up by Block by described end edges equipment, described Layer 2 switch sends,
And; when the keep-alive message time-out of the described EVI example from described end edges equipment; activate all inactive VLAN of described EVI example on this edge device; and after the data message that the Layer 2 switch received in this website is sent, after EVI encapsulation is carried out to this message, send to IP kernel heart net.
CN201410809583.2A 2014-12-23 2014-12-23 Ethernet virtualization interconnects dual-homed site disasters switching method and device Active CN104468233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410809583.2A CN104468233B (en) 2014-12-23 2014-12-23 Ethernet virtualization interconnects dual-homed site disasters switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410809583.2A CN104468233B (en) 2014-12-23 2014-12-23 Ethernet virtualization interconnects dual-homed site disasters switching method and device

Publications (2)

Publication Number Publication Date
CN104468233A true CN104468233A (en) 2015-03-25
CN104468233B CN104468233B (en) 2018-01-12

Family

ID=52913642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410809583.2A Active CN104468233B (en) 2014-12-23 2014-12-23 Ethernet virtualization interconnects dual-homed site disasters switching method and device

Country Status (1)

Country Link
CN (1) CN104468233B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224844A (en) * 2019-07-26 2019-09-10 宙安科技河北有限公司 The dispatching method and system of virtual Private Network
CN113765823A (en) * 2021-09-29 2021-12-07 新华三信息安全技术有限公司 Message forwarding method and device
CN115065614A (en) * 2022-06-22 2022-09-16 杭州云合智网技术有限公司 VPWS multi-active business connectivity identification method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047601A (en) * 2006-04-10 2007-10-03 华为技术有限公司 Implementing method and system of double-attach network based on VPLS
CN101227397A (en) * 2008-01-28 2008-07-23 华为技术有限公司 System, equipment and method for protecting link circuit
CN102340434A (en) * 2011-07-07 2012-02-01 杭州华三通信技术有限公司 Multihoming access-based loop avoidance method and edge devices
CN102857401A (en) * 2012-09-27 2013-01-02 杭州华三通信技术有限公司 Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device)
US20140226531A1 (en) * 2013-02-14 2014-08-14 Telefonaktiebolaget L M Ericsson (Publ) Multicast support for EVPN-SPBM based on the mLDP signaling protocol
CN104135420A (en) * 2014-07-31 2014-11-05 华为技术有限公司 A method, apparatus and system for forwarding message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047601A (en) * 2006-04-10 2007-10-03 华为技术有限公司 Implementing method and system of double-attach network based on VPLS
CN101227397A (en) * 2008-01-28 2008-07-23 华为技术有限公司 System, equipment and method for protecting link circuit
CN102340434A (en) * 2011-07-07 2012-02-01 杭州华三通信技术有限公司 Multihoming access-based loop avoidance method and edge devices
WO2013004158A1 (en) * 2011-07-07 2013-01-10 Hangzhou H3C Technologies Co., Ltd. Method for avoiding a loop in a network
CN102857401A (en) * 2012-09-27 2013-01-02 杭州华三通信技术有限公司 Method for activating VLAN (Virtual Local Area Network) negotiation and ED (edge device)
US20140226531A1 (en) * 2013-02-14 2014-08-14 Telefonaktiebolaget L M Ericsson (Publ) Multicast support for EVPN-SPBM based on the mLDP signaling protocol
CN104135420A (en) * 2014-07-31 2014-11-05 华为技术有限公司 A method, apparatus and system for forwarding message

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224844A (en) * 2019-07-26 2019-09-10 宙安科技河北有限公司 The dispatching method and system of virtual Private Network
CN113765823A (en) * 2021-09-29 2021-12-07 新华三信息安全技术有限公司 Message forwarding method and device
CN115065614A (en) * 2022-06-22 2022-09-16 杭州云合智网技术有限公司 VPWS multi-active business connectivity identification method
CN115065614B (en) * 2022-06-22 2023-10-13 杭州云合智网技术有限公司 Method for identifying multi-activity service connectivity of VPWS

Also Published As

Publication number Publication date
CN104468233B (en) 2018-01-12

Similar Documents

Publication Publication Date Title
US10044608B2 (en) Virtual machine migration
EP2832053B1 (en) L3 gateway for vxlan
CN105684363B (en) Logic router
CN105634770B (en) The method and apparatus for disposing virtual extended local area network
CN105745883B (en) Forwarding table synchronous method, the network equipment and system
EP3490197B1 (en) Message forwarding
CN105162704B (en) The method and device of multicast replication in Overlay network
US20070195794A1 (en) Virtual lan system and node device
CN116032836A (en) Intelligently using peers in public clouds
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN107317768B (en) Traffic scheduling method and device
CN105812259A (en) Packet forwarding method and device
CN106059946B (en) Message forwarding method and device
CN106936609B (en) Method for controlling forwarding equipment cluster in software defined network and controller
CN108259299A (en) A kind of forwarding-table item generation method, device and machine readable storage medium
CN109729012A (en) A kind of unicast message transmission method and device
US10757066B2 (en) Active-active access to transparent interconnection of lots of links (TRILL) edges
CN108833272B (en) Route management method and device
CN108540386B (en) Method and device for preventing service flow interruption
CN104468233A (en) Fault switching method and device for Ethernet virtual interconnection (EVI) dual homing site
US10419241B2 (en) Traffic forwarding
CN102447703B (en) A kind of heat backup method and system, CGN equipment
US10616062B2 (en) Dissemination of NAT traversal attributes in a control plane protocol
CN103475560A (en) User message processing method and device
CN108471374A (en) The retransmission method and device of data message

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