CN104468233B - Ethernet virtualization interconnects dual-homed site disasters switching method and device - Google Patents
Ethernet virtualization interconnects dual-homed site disasters switching method and device Download PDFInfo
- Publication number
- CN104468233B CN104468233B CN201410809583.2A CN201410809583A CN104468233B CN 104468233 B CN104468233 B CN 104468233B CN 201410809583 A CN201410809583 A CN 201410809583A CN 104468233 B CN104468233 B CN 104468233B
- Authority
- CN
- China
- Prior art keywords
- evi
- vlan
- message
- examples
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application proposes that Ethernet virtualization interconnects dual-homed site disasters switching method and device.Method includes:Auxiliary EVI tunnels are created between first edge equipment and second edge equipment in the dual-homed websites of EVI;First edge equipment finds two layers of port failure Down of the active vlan of itself EVI example, and the auxiliary EVI tunnel port states of the active vlan of the EVI examples of self maintained are changed into Up by Block;First edge equipment receives the EVI data messages from IP kernel heart net before the keep Alive Packet time-out of the EVI examples from second edge equipment; EVI decapsulations are carried out to the message; it was found that the VLAN of message is active vlan; after then carrying out EVI encapsulation to the message, by aiding in EVI tunnels to be sent to second edge equipment.After two layers of port Down of the active vlan of edge device of the application in the dual-homed websites of EVI, flow does not interrupt.
Description
Technical field
The application is related to EVI, and (Ethernet Virtualization Inter-connection, Ethernet virtualization are mutual
Connection) technical field, more particularly to the dual-homed site disasters switching methods of EVI and device.
Background technology
EVI is a kind of advanced " MAC in IP " technologies, for realizing the L2VPN based on IP kernel heart net
(Layer2Virtual Private Network, L 2 virtual private network) technology.EVI is simply tieed up on the edge device of website
Road maintenance by and forwarding information, without changing Intra-site and core network.EVI overall networks by core network, station network,
Crossover network forms.Station network is by one or what more edge of table equipment were connected to core network has separate traffic work(
The double layer network of energy, generally controlled by single organization and administration, be mainly made up of main frame and switching equipment, edge device provides website
Between Layer2 switching function;Crossover network is the virtual network established between website edge device, there is provided between station network
Two layers interconnection, notice be connected to edge device All hosts and router MAC Address, multiple websites are interconnected to be formed more
Two layers of big forwarding domain;Core network is the network interconnected between the offer station network mainly carried by IP routing devices.
EVI technologies are a kind of big two layers of technologies, highly reliable in order to realize when website is by edge device core network access
Property, the Single Point of Faliure of equipment in network is prevented, by using the dual-homed mode core network access of more edge of table equipment.
Fig. 1 gives EVI dual-homing networking examples, as shown in figure 1, Switch A (switch A) and Switch B (are exchanged
Machine B) a dual-homed website of EVI is constituted, 3 Intra-Network switch SW1, SW2, SW3 have been met below;Meanwhile Switch C,
Switch D constitute a dual-homed website of EVI.
Still by taking Fig. 1 as an example, if having activated identical VLAN on Switch A, Switch B:VLAN 300, Switch C,
Also have activated VLAN 300 simultaneously on Switch D, then the message in VLAN 300 may form loop, as shown in Fig. 2
The broadcast for the VLAN 300 that switch A are sent or unknown unicast message reach Switch D, Switch D through EVI tunnels and broadcasted
After can reach reach after Switch B, Switch B are broadcasted again after Switch C, Switch C are broadcasted again and be returned to
Switch A。
For the loop phenomenon for preventing dual-homed access website to be likely to occur, run on the network in website in website
EVI Intermediate System to Intermediate Systems, to consult the active vlan of each edge device.Pass through the interaction EVI in website between edge device
IS-IS hello packet forms neighborhood, mutually notices the extension VLAN of each self-configuring afterwards, and elect a DED
(Designated Edge Device, designated edge equipment), distribute needs for each edge device in website by DED and share
Active vlan.During dual-homed load balancing, DED meeting mean allocation extensions VLAN give two edge devices.It is same in order to ensure
Accessibility of the two edge of table equipment in website in website, to complete EVI Intermediate System to Intermediate System message interaction processes, in planning number
The EVI IS-IS hello packet in website is carried according to configure assigned vlan during central site network.
The content of the invention
The application provides the dual-homed site disasters switching methods of EVI and device.
What the technical scheme of the application was realized in:
A kind of dual-homed site disasters switching methods of EVI, this method include:
Auxiliary EVI tunnels are created between first edge equipment and second edge equipment in the dual-homed websites of EVI;
First edge equipment finds two layers of port failure Down of the active vlan of itself EVI example, then by self maintained
The auxiliary EVI tunnel port states of active vlan of the EVI examples Up is changed to by Block;
First edge equipment receives before the keep Alive Packet time-out of the EVI examples from second edge equipment and comes from IP
The EVI data messages of core net, EVI decapsulations are carried out to the message, the VLAN for finding message is active vlan, then to the message
After carrying out EVI encapsulation, by aiding in EVI tunnels to be sent to second edge equipment.
A kind of dual-homed site disasters switching devices of EVI, on the edge device in the dual-homed websites of EVI, the device
Including:
Aid in EVI tunnel creation modules:Auxiliary EVI tunnels are created between the end edges equipment in this website;
Fault processing module:It was found that two layers of port failure Down of the active vlan of this edge device EVI examples, then by institute
The auxiliary EVI tunnel port states for stating the active vlan of EVI examples are changed to Up by Block, are set from the end edges
The EVI data messages from IP kernel heart net are received before the keep Alive Packet time-out of the standby EVI examples, EVI is carried out to the message
Decapsulation, the VLAN for finding message is active vlan, then after carrying out EVI encapsulation to the message, by aiding in EVI tunnels to be sent to
The end edges equipment.
It can be seen that in the application, by creating auxiliary EVI tunnels between the two edge of table equipment in the dual-homed websites of EVI,
And after two layers of port Down of the active vlan of an edge of table equipment, enable auxiliary EVI tunnels so that in keep Alive Packet time-out
Before, the flow of the active vlan does not also interrupt.
Brief description of the drawings
Fig. 1 is EVI dual-homing networking exemplary plots;
Fig. 2 is the exemplary plot that loop is produced in existing EVI dual-homing networkings;
Fig. 3 is the exemplary plot when downlink of the edge device in existing EVI dual-homing networkings breaks down;
Fig. 4 is the dual-homed site disasters switching method flow charts of EVI that the embodiment of the application one provides;
Fig. 5 is the dual-homed site disasters switching method flow charts of EVI that the another embodiment of the application provides;
Fig. 6 is the exemplary plot that Layer 2 switch breaks down in EVI dual-homing networkings in the embodiment of the present application;
Fig. 7 is the networking diagram of the application application example;
Fig. 8 is the composition schematic diagram for the dual-homed site disasters switching devices of EVI that the embodiment of the present application provides;
Fig. 9 is the hardware architecture diagram for the edge device that the embodiment of the present application provides.
Embodiment
Applicant carries out analysis to existing EVI dual-homing networkings and found:
When the downlink of the edge device in dual-homing networking breaks down, edge device passes through EVI in website
Intermediate System to Intermediate System is perceived.It is have activated as shown in figure 3, setting on two layers of port that Switch B are connected with Downlink Switch SW3
VLAN 300, when the link between Switch B and SW3 breaks down, because passing through station before Switch A and Switch B
EVI IS-IS hello packet carries out keep-alive in point, and Switch A are in keep-alive to constantly not receiving what Switch B were sent also
Hello packet, then VLAN 300 is arranged to active vlan, the two layer message on such SW3 can pass through Switch A and distal end
Website is communicated.
The above method has the disadvantage that:
After the link between Switch B and SW3 breaks down, Switch A must wait Switch B Hello
Ability active vlan 300 after message time-out, before Switch A active vlans 300, remote equipment is sent to IP kernel heart net
Purpose be Switch B EVI data messages can all lose.
After link between Switch B and SW3 breaks down, only Switch A have received coming from for SW3 forwardings
The message of main frame is hung under SW3, Switch A can just learn the MAC Address to the main frame, and by the MAC Address of the main frame notify to
Switch D, so as to which the message for the purpose of the main frame that Switch D are sent can just issue Switch A rather than Switch
B;Therefore, if not sending message always after link failure of the main frame between Switch B and SW3, Switch D would not
Learn the MAC Address to the main frame, so as to which the message for the purpose of the main frame will be still transmitted to Switch by Switch D
B, cause message retransmission failure.
Fig. 4 is the dual-homed site disasters switching method flow charts of EVI that the embodiment of the application one provides, and its specific steps is such as
Under:
Step 401:Auxiliary EVI tunnels are created between first edge equipment and second edge equipment in the dual-homed websites of EVI
Road.
Step 402:First edge equipment finds two layers of port Down (failure) of the active vlan of itself EVI example,
The auxiliary EVI tunnel ports state of the active vlan of the EVI examples of self maintained is then changed to Up by Block (obstruction)
(operation).
For each EVI examples of itself, first edge equipment is safeguarded active vlan in the EVI examples and non-swashed respectively
VLAN living two layers of port status, auxiliary EVI tunnel port states, wherein, at the beginning of the auxiliary EVI tunnel port states of active vlan
Beginning turns to Block, and inactive VLAN auxiliary EVI tunnel ports state initialization is Up.
Preferably, in step 402, first edge equipment finds two layers of port of the active vlan of itself EVI example
Failure Down includes:
When two layers of port are the combinations of multiple ports corresponding to the active vlan of the EVI examples, first edge equipment
It was found that when the state of all of the port in the combination is all Down, two layers of port of the active vlan of the EVI examples are determined
Down。
Step 403:First edge equipment receives before the keep Alive Packet time-out of the EVI examples from second edge equipment
EVI data messages from IP kernel heart net, EVI decapsulations are carried out to the message, the VLAN for finding message is active vlan, and is swashed
VLAN living two layers of port Down, then after carrying out EVI encapsulation to the message, set by aiding in EVI tunnels to be sent to second edge
It is standby.
Preferably, in step 402, first edge equipment is by the auxiliary of the active vlan of the EVI examples of self maintained
EVI tunnel ports state is changed to further comprise after Up by Block:
First edge equipment receives the EVI data messages that second edge equipment is sent from auxiliary EVI tunnels, to the message
EVI decapsulations are carried out, the VLAN for finding message is that the target MAC (Media Access Control) address of active vlan and message is far-end address, then to message
IP kernel heart net is sent to after carrying out EVI encapsulation;Wherein, the EVI data messages are:Second edge equipment is received in this website
The data message sent of Layer 2 switch after, it is found that the VLAN of the message for the inactive VLAN of oneself is that first edge is set
Standby active vlan, then it is sent to after EVI encapsulation is carried out to the message on auxiliary EVI tunnels.
Preferably, in step 402, first edge equipment is by the auxiliary of the active vlan of the EVI examples of self maintained
EVI tunnel ports state is changed to further comprise after Up by Block:
First edge equipment finds the keep Alive Packet time-out of the EVI examples from second edge equipment, then at itself
The all activated VLAN of the EVI examples of second edge equipment is activated, and by the activation of the EVI examples of self maintained
VLAN auxiliary EVI tunnel port states are updated to Block.
Preferably, in step 401, created between the first edge equipment and second edge equipment in the dual-homed websites of EVI
Auxiliary EVI further comprises after tunnel:
Before the keep Alive Packet time-out of the EVI examples from second edge equipment, first edge equipment receives this website
After the data message that interior Layer 2 switch is sent, it is found that the VLAN of the message for the inactive VLAN of oneself is second edge
The active vlan of equipment, then it is sent to after EVI encapsulation is carried out to the message on auxiliary EVI tunnels, to cause:Second edge equipment
IP kernel heart net is sent to after carrying out EVI decapsulations to the message, wherein, the data message is:Second edge equipment it is described
Two layers of port Down of the active vlan of EVI examples, and second edge equipment is by the auxiliary of the active vlan of the EVI examples
After EVI tunnel port states are changed to Up by Block, what the Layer 2 switch was sent;And from second edge equipment
During the keep Alive Packet time-out of the EVI examples, all inactive VLAN of first edge device activation itself the EVI examples,
And after the data message that the Layer 2 switch received in this website is sent, IP is sent to after carrying out EVI encapsulation to the message
Core net.
The dual-homed site disasters switching method flow charts of EVI that Fig. 5 provides for the another embodiment of the application, its specific steps
It is as follows:
Step 501:In the dual-homed websites of EVI, the two edge of table equipment in website (are set to first edge equipment and
Two edge devices) between create auxiliary EVI tunnels.
Step 502:For each EVI examples of itself, first, second edge device is safeguarded in the EVI examples respectively
The two layers of port status and auxiliary EVI tunnel port states of active vlan and inactive VLAN.
Wherein, two layers of port status of active vlan are initialized as Up, at the beginning of the auxiliary EVI tunnel port states of active vlan
Beginning turns to Block;Inactive VLAN two layers of port status are initialized as Up when two layers of link are normal, and inactive VLAN's is auxiliary
It is Up to help EVI tunnel ports state initialization.
Wherein, active vlan and inactive VLAN two layers of port status are initialized as Up, are set based on first and second edge
Downlink normal situation when standby initial.
Such as:If only enabling an EVI example on first and second edge device in the dual-homed websites of EVI, then for being somebody's turn to do
The status list for the extension VLAN that the edge device of EVI examples first and second is safeguarded is all as shown in table 1:
Table 1
It is emphasized that being directed to an EVI example, edge device is tieed up for all activated VLAN unifications of the EVI examples
Two layers of port status and an auxiliary EVI tunnel port state are protected, for the unified dimensions of all inactive VLAN of the EVI examples
Protect two layers of port status and an auxiliary EVI tunnel port state.
When two layers of port are the combinations of multiple ports corresponding to all activated VLAN of the EVI examples, as long as the then group
The state of a port in conjunction is Up, and two layers of port status corresponding to active vlan are just Up in table 1;Only in the combination
When the state of all of the port is all Down, two layers of port status corresponding to active vlan are just Down in table 1.Inactive VLAN pairs
The two layers of same setting of port status answered.
Step 503:First edge equipment finds two layers of port Down of the active vlan of the EVI examples of itself, then will
The auxiliary EVI tunnel port states of the active vlan of the EVI examples of self maintained are changed to Up by Block.
Before the keep Alive Packet time-out of the EVI examples from second edge equipment, the EVI of first edge plant maintenance
The auxiliary EVI tunnel ports state of the active vlan of example is all Up.
That is, the status list of the extension VLAN of the EVI examples of first edge plant maintenance is changed to table 2 below:
Table 2
Step 504:Before the keep Alive Packet time-out of the EVI examples from second edge equipment, when first edge equipment
When receiving the EVI data messages from IP kernel heart net, EVI decapsulations are carried out to the message, the VLAN for finding message is oneself
Active vlan, and two layers of port Down of the active vlan, then after carrying out EVI encapsulation to the message, by aiding in EVI tunnels
It is sent to second edge equipment.
Due to two layers of port Down of the active vlan of the EVI examples, and for keep-alive between first and second edge device
EVI IS-IS hello packets must be forwarded by two layers of port, thus first and second edge device hereafter will be unable into
The keep Alive Packet interaction of the row EVI examples.
Step 505:Before the keep Alive Packet time-out of the EVI examples from first edge equipment, second edge equipment from
Auxiliary EVI tunnels receive the EVI data messages, and EVI decapsulations are carried out to the message, and the VLAN for finding message is that the non-of oneself swashs
VLAN living, then by the message in site-local L 2 broadcast.
Step 506:It is originally lower to hang between first and second edge device before the keep Alive Packet time-out of the EVI examples of interaction
The first interchanger under two layers of port of the active vlan of the EVI examples of first edge equipment receives local first main frame
The data message sent, the VLAN of the message are the active vlan of first edge equipment, and the target MAC (Media Access Control) address of message is distally directed
The message is sent to second edge equipment by the main frame in website, the first interchanger.
Step 507:Before the keep Alive Packet time-out of the EVI examples from first edge equipment, second edge equipment connects
Receive the data message that the first interchanger is sent, find oneself un-activation and the first edge device activation message
VLAN, then after carrying out EVI encapsulation to the message, by aiding in EVI tunnels to be sent to first edge equipment.
Step 508:First edge equipment receives the EVI data messages from auxiliary EVI tunnels, and EVI solutions are carried out to the message
IP kernel heart net is sent to after encapsulation.
Step 509:First and second edge device finds the keep Alive Packet time-out of the EVI examples from end edges equipment,
Then itself all inactive VLAN of the EVI examples of end edges equipment are being activated, and updating the EVI examples of self maintained
Extension VLAN two layers of port status and auxiliary EVI tunnel port states, when second edge equipment receives the first exchange
The data message from the first main frame that machine is sent, during main frame in the distally directed website of target MAC (Media Access Control) address of message, the second side
Edge equipment is sent to IP kernel heart net after carrying out EVI encapsulation to the message.
That is, first and second edge device finds the keep Alive Packet time-out of the EVI examples from end edges equipment, will
All inactive VLAN of the EVI examples of itself are activated.
Specifically, the extension VLAN of the EVI examples of second edge plant maintenance status list is updated to such as the institute of table 3
Show:
Extend VLAN | Two layers of port status | Aid in EVI tunnel port states |
Active vlan | Up | Block |
Table 3
That is, compared with table 1, second edge equipment deletes list item corresponding to inactive VLAN.
The extension VLAN of the EVI examples of first edge plant maintenance status list is updated to as shown in table 4:
Extend VLAN | Two layers of port status | Aid in EVI tunnel port states |
Active vlan | Down | Block |
Table 4
That is, compared with table 2, first edge equipment deletes list item corresponding to inactive VLAN, while by active vlan pair
The auxiliary EVI tunnel port states answered are changed to Block by Up.
It can be seen that the inactive VLAN due to the EVI examples being all not present on first and second edge device, so they are all
The status list for active vlan of the EVI examples need to only be safeguarded.
It should be noted that keep Alive Packet time-out of the first edge equipment in the EVI examples from second edge equipment
When, auxiliary EVI tunnel ports state is updated to Block by Up, so doing can prevent first and second edge device for this
The loop triggered in website when the two layers of link while Down of same Layer 2 switch, is exemplified below:
By taking Fig. 6 as an example, if SW3 failures, then, first, the keep-alive of the EVI examples of interaction between first and second edge device
Before message time-out, all extension VLAN of EVI examples activation, unactivated state keep constant on first and second edge device,
Therefore the EVI broadcasting data messages sent from IP kernel heart net will not produce loop after reaching website 1;And set at first and second edge
Between standby after the keep Alive Packet time-out of the EVI examples of interaction, first and second edge device can all activate the active vlan of other side,
That is, first and second edge device all have activated all extension VLAN of the EVI examples, now, in order to prevent sending from IP kernel heart net
EVI broadcasting data messages reach website 1 after produce loop, it is necessary to by the auxiliary EVI tunnel ports on first and second edge device
State is all set to Block, i.e. after original inactive VLAN is activated due to keep Alive Packet time-out, is setting active vlan
Auxiliary EVI tunnel port states when, first to check two layers of port status, if two layers of port status are down, EVI will be aided in
Tunnel port state is set to Block.
The application example of the application given below:
As shown in fig. 7, in website 1, SW1, SW2, SW3 access Switch A and SwitchB simultaneously, wherein, make on SW1
It can enable on VLAN 100, SW2 and VLAN 300 is enabled on VLAN 200, SW3, when initial, Switch A have activated
VLAN 100, VLAN 200, VLAN 300 is have activated on Switch B.In website 2, Switch D have activated VLAN 300.Then:
First, when initial
Active vlan and inactive VLAN two layers of port status, the auxiliary EVI tunnel port shapes safeguarded on Switch A
State is as shown in Table 5-1:
Table 5-1
Active vlan and inactive VLAN two layers of port status, the auxiliary EVI tunnel port shapes safeguarded on Switch B
State is as shown in table 5-2:
Table 5-2
2nd, 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 the keep Alive Packet time-out from Switch B, the table 5-1 that Switch A are safeguarded will not update.
Before the keep Alive Packet time-out from Switch A, when Switch B receive the EVI datagrams from IP kernel heart net
Wen Shi, after carrying out EVI decapsulations to message, if the VLAN for finding message is VLAN300, due to oneself chain between SW3
Road Down, therefore message can not be directly forwarded to SW3, therefore be message encapsulation auxiliary EVI tunnels head, then message is sent
After giving Switch A, Switch A to receive message, EVI decapsulations are carried out to message, find the VLAN of message:VLAN 300 is certainly
Oneself inactive VLAN, then the message is subjected to L 2 broadcast in website 1.
Between Switch A, B before the keep Alive Packet time-out of interaction, it is when the main frame 1 hung under SW3 sends a VLAN
During the message of the distally directed main frame 2 of VLAN 300, destination address, after SW3 receives the message, because oneself is between Switch B
Link Down, therefore, SW3 can issue the message Switch A;After Switch A receive the message, message is found
VLAN:The active vlan that VLAN 300 is Switch B for the inactive VLAN of oneself, then encapsulate auxiliary EVI tunnels for message
Head, message is sent to Switch B;Switch B receive the message, carry out EVI decapsulations to the message, find message
VLAN:VLAN 300 is the active vlan of oneself, and the destination address of message is far-end address, then carries out EVI encapsulation to message
Afterwards, it is sent to IP kernel heart net.
3rd, when the keep Alive Packet time-out of interaction between Switch A, B
Switch A, Switch B are in the keep Alive Packet from other side to constantly, not receiving the EVI IS- that other side sends
IS hello packet, then by the active vlan of opposite end all in local activation, now, table 5-1 is updated to table 6 below -1 by SwitchA:
Table 6-1
Table 6-2 is updated to table 7 below -2 by Switch B:
Table 7-2
The advantageous effects of the embodiment of the present application are as follows:
By creating auxiliary EVI tunnels between the two edge of table equipment in the dual-homed websites of EVI, and set in an edge of table
After two layers of port Down of standby active vlan, after the EVI data messages EVI received from core net is decapsulated, by auxiliary
Help EVI tunnels to be sent to end edges equipment, while by from local, VLAN be oneself un-activation and end edges equipment swashs
Data message living, by aiding in EVI tunnels to be sent to end edges equipment so that before keep-alive time-out, flow can not in
It is disconnected.
The composition schematic diagram for the dual-homed site disasters switching devices of EVI that Fig. 8 provides for the embodiment of the present application, the device position
In on the edge device in the dual-homed websites of EVI, the device includes:EVI tunnel creations module and fault processing module are aided in, its
In:
Aid in EVI tunnel creation modules:Auxiliary EVI tunnels are created between the end edges equipment in this website.
Fault processing module:It was found that two layers of port failure Down of the active vlan of the EVI examples of this edge device one, then will
The auxiliary EVI tunnel port states of the active vlan of the EVI examples are changed to Up by Block, from the end edges
The EVI data messages from IP kernel heart net are received before the keep Alive Packet time-out of the EVI examples of equipment, the message is carried out
EVI is decapsulated, and the VLAN for finding message is active vlan, then after carrying out EVI encapsulation to the message, by aiding in EVI tunnels to send out
Give the end edges equipment.
Preferably, fault processing module finds two layers of port failure of the active vlan of EVI examples described in this edge device
Down includes:
When two layers of port are the combinations of multiple ports corresponding to the active vlan of the EVI examples, find in the combination
The state of all of the port when being all Down, determine two layers of port Down of the active vlan of the EVI examples.
Preferably, fault processing module by the auxiliary EVI tunnel ports state of the active vlan of the EVI examples by
Block is changed to be further used for after Up, in the keep Alive Packet time-out of the EVI examples from the end edges equipment
The preceding EVI data messages that the end edges equipment in this website is received from auxiliary EVI tunnels and is sent, EVI is carried out to the message
Decapsulation, the VLAN for finding message are that the target MAC (Media Access Control) address of active vlan and message is far-end address, then carry out EVI to message
IP kernel heart net is sent to after encapsulation;Wherein, the EVI data messages are:The end edges equipment is received in this website
After the data message that Layer 2 switch is sent, find the VLAN of the message for pair that the inactive VLAN of oneself is in this website
The active vlan of end margin equipment, then it is sent to after EVI encapsulation is carried out to the message on auxiliary EVI tunnels.
Preferably, fault processing module by the auxiliary EVI tunnel ports state of the active vlan of the EVI examples by
Block is changed to be further used for after Up, it is found that the keep Alive Packet of the EVI examples from the end edges equipment surpasses
When, then activate all inactive VLAN of the EVI examples on this edge device, and by the active vlan of the EVI examples
Auxiliary EVI tunnel port states be updated to Block.
Preferably, fault processing module is further used for, in the keep-alive report of the EVI examples from the end edges equipment
Before literary time-out, after receiving the data message that the Layer 2 switch in this website is sent, the VLAN for finding the message is this edge
The inactive VLAN of equipment and be the active vlan of the end edges equipment, then to the message carry out EVI encapsulation after be sent to
Aid on EVI tunnels, to cause:The end edges equipment is sent to IP kernel heart net after carrying out EVI decapsulations to the message, its
In, the data message is:Two layers of port Down of the active vlan of the EVI examples of the end edges equipment, and institute
State after the auxiliary EVI tunnel port states of the active vlan of the EVI examples are changed to Up by end edges equipment by Block,
What the Layer 2 switch was sent;And in the keep Alive Packet time-out of the EVI examples from the end edges equipment,
All inactive VLAN of the EVI examples on this edge device are activated, and are receiving the hair of the Layer 2 switch in this website
After the data message come, IP kernel heart net is sent to after carrying out EVI encapsulation to the message.
The edge device in the dual-homed websites of EVI that the embodiment of the present application provides can be that the programmable of software and hardware combining sets
Standby, for hardware view, the hardware structure schematic diagram of edge device specifically may refer to Fig. 9.Fig. 9 carries for the embodiment of the present application
The hardware architecture diagram of the edge device comprising the dual-homed site disasters switching devices of EVI supplied.The edge device includes:
Machinable medium, CPU and other hardware, wherein:
Machinable medium:Store instruction code;The operation that the instruction code is completed when being performed by CPU is mainly
The function that the dual-homed site disasters switching devices of EVI are completed.
CPU:Communicated with machinable medium, read and perform the instruction stored in machinable medium
Code, complete the function that the dual-homed site disasters switching devices of above-mentioned EVI are completed.
When the dual-homed site disasters switching devices of above-mentioned EVI are as device on a logical meaning, it is to pass through CPU
Run what corresponding computer program instructions in machinable medium were formed.When corresponding computer program instructions are performed
When, the dual-homed site disasters switching devices of EVI of formation are used to switch according to the dual-homed site disasters of EVI in above-described embodiment
Method performs corresponding operating.
Machinable medium can be any electronics, magnetic, optics or other physical storage devices, can include or
Storage information, such as executable instruction, data, etc..For example, machinable medium can be:RAM(Radom Access
Memory, random access memory), volatile memory, nonvolatile memory, flash memory, memory driver (such as hard drive
Device), solid state hard disc, any kind of storage dish (such as CD, dvd), either similar storage medium or their group
Close.
Any machinable medium described herein can be considered as non-transitory.
The preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application
God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.
Claims (10)
1. a kind of Ethernet virtualization interconnection dual-homed site disasters switching methods of EVI, it is characterised in that this method includes:
Auxiliary EVI tunnels are created between first edge equipment and second edge equipment in the dual-homed websites of EVI;
First edge equipment finds two layers of port failure Down of the active vlan of itself EVI example, then by the institute of self maintained
The auxiliary EVI tunnel port states for stating the active vlan of EVI examples are changed to Up by Block;
First edge equipment receives before the keep Alive Packet time-out of the EVI examples from second edge equipment and comes from the IP kernel heart
The EVI data messages of net, EVI decapsulations are carried out to the message, the VLAN for finding message is active vlan, then the message is carried out
After EVI encapsulation, by aiding in EVI tunnels to be sent to second edge equipment.
2. according to the method for claim 1, it is characterised in that the first edge equipment finds itself EVI example
Two layers of port failure Down of active vlan include:
When two layers of port are the combinations of multiple ports corresponding to the active vlan of the EVI examples, first edge equipment is found
When the state of all of the port in the combination is all Down, two layers of port Down of the active vlan of the EVI examples are determined.
3. according to the method for claim 1, it is characterised in that the first edge equipment is by the EVI of self maintained
The auxiliary EVI tunnel ports state of the active vlan of example is changed to further comprise after Up by Block:
First edge equipment is before the keep Alive Packet time-out of the EVI examples from second edge equipment from auxiliary EVI tunnels
The upper EVI data messages for receiving second edge equipment and sending, carry out EVI decapsulations, the VLAN for finding message is sharp to the message
The target MAC (Media Access Control) address of VLAN living and message is far-end address, then is sent to IP kernel heart net after carrying out EVI encapsulation to message;Wherein,
The EVI data messages are:After second edge equipment receives the data message that the Layer 2 switch in this website is sent, find
The VLAN of the message is the active vlan that the inactive VLAN of oneself is first edge equipment, then carries out EVI envelopes to the message
It is sent to after dress on auxiliary EVI tunnels.
4. method according to any one of claims 1 to 3, it is characterised in that the first edge equipment is by self maintained
The auxiliary EVI tunnel ports state of the active vlan of the EVI examples is changed to further comprise after Up by Block:
First edge equipment finds the keep Alive Packet time-out of the EVI examples from second edge equipment, then is activated at itself
All inactive VLAN of the EVI examples, by the auxiliary EVI tunnels end of the active vlan of the EVI examples of self maintained
Mouth state is updated to Block.
5. according to the method for claim 1, it is characterised in that first edge equipment in the dual-homed websites of EVI with
Auxiliary EVI tunnels are created between second edge equipment afterwards to further comprise:
Before the keep Alive Packet time-out of the EVI examples from second edge equipment, first edge equipment is received in this website
After the data message that Layer 2 switch is sent, it is found that the VLAN of the message for the inactive VLAN of oneself is second edge equipment
Active vlan, then be sent to after EVI encapsulation is carried out to the message on auxiliary EVI tunnels, to cause:Second edge equipment is to this
Message is sent to IP kernel heart net after carrying out EVI decapsulations, wherein, the data message is:The EVI of second edge equipment is real
Two layers of port Down of the active vlan of example, and second edge equipment is by the auxiliary EVI tunnels of the active vlan of the EVI examples
After port status is changed to Up by Block, what the Layer 2 switch was sent;
And in the keep Alive Packet time-out of the EVI examples from second edge equipment, first edge device activation itself institute
All inactive VLAN of EVI examples are stated, and after the data message that the Layer 2 switch received in this website is sent, to this
Message is sent to IP kernel heart net after carrying out EVI encapsulation.
6. a kind of Ethernet virtualization interconnection dual-homed site disasters switching devices of EVI, the edge in the dual-homed websites of EVI
In equipment, it is characterised in that the device includes:
Aid in EVI tunnel creation modules:Auxiliary EVI tunnels are created between the end edges equipment in this website;
Fault processing module:It was found that two layers of port failure Down of the active vlan of this edge device EVI examples, then by described in
The auxiliary EVI tunnel port states of the active vlan of EVI examples are changed to Up by Block, from the end edges equipment
The EVI examples keep Alive Packet time-out before receive the EVI data messages from IP kernel heart net, to the message carry out EVI solutions
Encapsulation, the VLAN for finding message is active vlan, then after carrying out EVI encapsulation to the message, by aiding in EVI tunnels to be sent to institute
State end edges equipment.
7. device according to claim 6, it is characterised in that the fault processing module is found described in this edge device
Two layers of port failure Down of the active vlan of EVI examples include:
When two layers of port are the combinations of multiple ports corresponding to the active vlan of the EVI examples, the institute in the combination is found
When thering is the state of port to be all Down, two layers of port Down of the active vlan of the EVI examples are determined.
8. device according to claim 6, it is characterised in that the fault processing module is by the activation of the EVI examples
VLAN auxiliary EVI tunnel ports state is changed to be further used for after Up by Block,
Before the keep Alive Packet time-out of the EVI examples from the end edges equipment this is received from auxiliary EVI tunnels
The EVI data messages that end edges equipment in website is sent, EVI decapsulations are carried out to the message, the VLAN for finding message is
The target MAC (Media Access Control) address of active vlan and message is far-end address, then is sent to IP kernel heart net after carrying out EVI encapsulation to message;Its
In, the EVI data messages are:The end edges equipment receives the data message that the Layer 2 switch in this website is sent
Afterwards, the VLAN of the message is found as the active vlan that the inactive VLAN of oneself is end edges equipment in this website, then
It is sent to after EVI encapsulation is carried out to the message on auxiliary EVI tunnels.
9. according to any described device of claim 6 to 8, it is characterised in that the fault processing module is by the EVI examples
The auxiliary EVI tunnel ports state of active vlan be changed to be further used for after Up by Block,
It was found that the keep Alive Packet time-out of the EVI examples from the end edges equipment, then activate on this edge device
All inactive VLAN of the EVI examples, the auxiliary EVI tunnel ports state of the active vlan of the EVI examples is updated
For Block.
10. according to any described device of claim 6 to 8, it is characterised in that the fault processing module is further used for,
Before the keep Alive Packet time-out of the EVI examples from the end edges equipment, the Layer2 switching in this website is received
After the data message that machine is sent, it is found that the VLAN of the message for the inactive VLAN of this edge device is that the end edges are set
Standby active vlan, then it is sent to after EVI encapsulation is carried out to the message on auxiliary EVI tunnels, to cause:The end edges are set
IP kernel heart net is sent to after the standby progress EVI decapsulations to the message, wherein, the data message is:The end edges equipment
The EVI examples active vlan two layers of port Down, and the end edges equipment is by the activation of the EVI examples
After VLAN auxiliary EVI tunnel port states are changed to Up by Block, what the Layer 2 switch was sent;
And in the keep Alive Packet time-out of the EVI examples from the end edges equipment, activate institute on this edge device
All inactive VLAN of EVI examples are stated, and after the data message that the Layer 2 switch received in this website is sent, to this
Message is sent to IP kernel heart net after carrying out EVI encapsulation.
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 CN104468233A (en) | 2015-03-25 |
CN104468233B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110224844B (en) * | 2019-07-26 | 2021-01-15 | 宙安科技河北有限公司 | Scheduling method and system of virtual private network |
CN113765823A (en) * | 2021-09-29 | 2021-12-07 | 新华三信息安全技术有限公司 | Message forwarding method and device |
CN115065614B (en) * | 2022-06-22 | 2023-10-13 | 杭州云合智网技术有限公司 | Method for identifying multi-activity service connectivity of VPWS |
Citations (5)
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) |
CN104135420A (en) * | 2014-07-31 | 2014-11-05 | 华为技术有限公司 | A method, apparatus and system for forwarding message |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140226531A1 (en) * | 2013-02-14 | 2014-08-14 | Telefonaktiebolaget L M Ericsson (Publ) | Multicast support for EVPN-SPBM based on the mLDP signaling protocol |
-
2014
- 2014-12-23 CN CN201410809583.2A patent/CN104468233B/en active Active
Patent Citations (6)
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) |
CN104135420A (en) * | 2014-07-31 | 2014-11-05 | 华为技术有限公司 | A method, apparatus and system for forwarding message |
Also Published As
Publication number | Publication date |
---|---|
CN104468233A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105634770B (en) | The method and apparatus for disposing virtual extended local area network | |
EP3490197B1 (en) | Message forwarding | |
US20180351858A1 (en) | Virtual machine migration | |
US20080008168A1 (en) | Methods and apparatus for providing optimal identification and processing of layer 3 control channels | |
CN101924699B (en) | Message forwarding method, system and provider edge equipment | |
BR112012022549B1 (en) | METHOD AND SYSTEM TO MAKE ACCESSIBILITY OF THE DESTINATION ROUTE IN THE ACCESS RING OF THE PACKAGE TRANSPORT NETWORK | |
US20150131655A1 (en) | Optimized Multicast Routing in a Clos-Like Network | |
CN109729012A (en) | A kind of unicast message transmission method and device | |
ES2765804T3 (en) | Forwarding table entry setting method and apparatus | |
CN106034052A (en) | System and method for monitoring two-layer traffic among virtual machines | |
ES2731882T3 (en) | Management of connectivity failures in a communications network | |
CN104468233B (en) | Ethernet virtualization interconnects dual-homed site disasters switching method and device | |
CN106059946A (en) | Message forwarding method and message forwarding device | |
CN107040441A (en) | Data transmission method, apparatus and system across data center | |
CN108337158A (en) | Unicast message retransmission method and device | |
CN105763439B (en) | The interconnected method and device of data center in a kind of multilink transparent internet | |
US10757066B2 (en) | Active-active access to transparent interconnection of lots of links (TRILL) edges | |
CN104009919B (en) | Message forwarding method and device | |
US20120269056A1 (en) | Method, device, and system for protecting semi-ring network | |
CN103475560B (en) | User message processing method and device | |
CN103873339B (en) | The distribution method and device of a kind of virtual gateway router | |
CN106385366A (en) | TRILL network management method and device | |
CN104734874B (en) | A kind of method and device of definite network failure | |
CN107294857B (en) | Multicast distribution processing method, device and system | |
CN103746917A (en) | Network data link layer routing method |
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 |