CN108600072A - A kind of DF electoral machinery and device - Google Patents
A kind of DF electoral machinery and device Download PDFInfo
- Publication number
- CN108600072A CN108600072A CN201810338936.3A CN201810338936A CN108600072A CN 108600072 A CN108600072 A CN 108600072A CN 201810338936 A CN201810338936 A CN 201810338936A CN 108600072 A CN108600072 A CN 108600072A
- Authority
- CN
- China
- Prior art keywords
- vtep
- routings
- target
- election
- mouthfuls
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
A kind of DF electoral machinery of the application offer and device, it may include:Receive the multiple ES routings for carrying the first ESI;After determining that this equipment has DF participation in the election qualifications, according to the AC mouth configuration status that each ES routings carry, in the opposite end VTEP for sending each ES routings, determining has the target VTEP of DF participation in the election qualifications;According to preset DF election regulation, the VTEP of DF is selected as from this equipment and the target VTEP.Using method provided by the present application, it can prevent Business Stream from interrupting.
Description
Technical field
This application involves computer communication field more particularly to a kind of DF electoral machinery and devices.
Background technology
In EVPN (Ethernet Virtual Private Network, Ethernet Virtual Private Network), in order to carry
The bandwidth availability ratio of high link, and enhancing network reliability, the host (either virtualize empty machine) of a usual user or
It is the private network of a user, more VTEP (the VXLAN Tunnel that can be connected to by multilink in EVPN networks
End Point, VXLAN endpoint of a tunnel) in equipment, this is known as more ownership accesses.EVPN belongs to more introduces following concept:
ES (Ethernet Segment, ethernet segment):If a host is accessed different simultaneously by multilink
VTEP equipment, then this multilink is just called ES.
ESI (Ethernet Segment Identifier, ethernet segment identifier):For identify the value of an ES
It is ESI.
DF (Designated Forwarder, specified to turn originator):A corresponding empty machine accesses different VTEP equipment
Situation, in order to allow BUM (Broadcast&Unknown-unicast&Multicast, broadcast & unknown unicast & multicasts), flow is not
There are problems that loop and repeat, one can be elected from the access point with identical ESI values in multiple VTEP equipment
The BUM flows are transmitted to subscriber's main station by DF equipment by the DF equipment.
After the carry out DF elections of Home System more than one, elects and be not configured with and more Home Systems as the VTEP of DF
ESI it is AC mouthfuls corresponding.After the DF receives the service traffics with the AC mouthfuls, the service traffics can not be just forwarded,
The service traffics are caused to be interrupted.
Invention content
In view of this, a kind of DF electoral machinery of the application offer and device.
Specifically, the application is achieved by the following technical solution:
According to the application's in a first aspect, providing a kind of DF electoral machinery, the method is applied to VTEP, the method packet
It includes:
Receive the multiple ES routings for carrying the first ESI;
It is each sending according to the AC mouth configuration status that each ES routings carry after determining that this equipment has DF participation in the election qualifications
In the opposite end VTEP of ES routings, determining has the target VTEP of DF participation in the election qualifications;Wherein, the AC mouth configuration status that ES routings carry
Indicate the configuration status for sending on the opposite end VTEP of ES routings and ESI as the AC mouths of the first ESI;
According to preset DF election regulation, the VTEP of DF is selected as from this equipment and the target VTEP.
Optionally, described this equipment of determination has DF participation in the election qualifications, including:
It checks local with the presence or absence of AC mouthfuls of target local;Target local AC mouthfuls of the ESI is the first ESI;
If in the presence of, it is determined that this equipment has DF participation in the election qualifications.
Optionally, the AC mouthfuls of configuration status includes AC mouthfuls of associated VXLAN ID and S-VID;
The AC mouth configuration status carried according to each ES routings determines tool in the opposite end VTEP for sending each ES routings
There is the target VTEP of DF participation in the election qualifications, including:
The selection target ES routings in multiple ES routings;Wherein, S-VID the and VXLAN ID that the target ES routings carry
It is matched with local AC mouthfuls associated S-VID and VXLAN ID;
The opposite end VTEP for sending the target ES routings is determined as the target VTEP that there is DF to participate in the election of qualification.
Optionally, the method further includes:
Do not deposit described target local AC mouthful if local, it is determined that this equipment does not have DF participation in the election qualifications, not local into
Row DF elections.
Optionally, the method further includes:
After configuring corresponding AC mouthfuls for the 2nd ESI on local user port, ES routings are sent to all neighbours VTEP;
Wherein, the ES routings of transmission carry VXLAN ID and S-VID associated by the 2nd ESI and the AC mouths of the configuration.
Optionally, the preset DF election regulation, including:
This VTEP and the target VTEP are ranked up;
Using the value of the target local AC mouthfuls of associated S-VID as dividend, with the total of this VTEP and target VTEP
Number carries out division arithmetic, obtains the remainder after division arithmetic as divisor;
In this VTEP and the target VTEP after sequence, using the VTEP of remainder described in serial number as DF.
According to the second aspect of the application, a kind of DF voting devices are provided, described device is applied to VTEP, described device packet
It includes:
Receiving unit, for receiving the multiple ES routings for carrying the first ESI;
Determination unit, the AC mouths configuration for after determining that this equipment has DF participation in the election qualifications, being carried according to each ES routings
State, in the opposite end VTEP for sending each ES routings, determining has the target VTEP of DF participation in the election qualifications;Wherein, ES routings carry
AC mouth configuration status indicate send the ES routing opposite end VTEP on and ESI be the first ESI AC mouths configuration shape
State;
Unit is elected, for according to preset DF election regulation, DF to be selected as from this equipment and the target VTEP
VTEP.
Optionally, the determination unit, determine this equipment have DF participate in the election of qualification when, be specifically used for checking it is local whether
There are AC mouthfuls of target locals;Target local AC mouthfuls of the ESI is the first ESI;If in the presence of, it is determined that this equipment has DF
Participation in the election qualification.
Optionally, the AC mouthfuls of configuration status includes AC mouthfuls of associated VXLAN ID and S-VID;
The determination unit, in the AC mouth configuration status carried according to each ES routings, in the opposite end for sending each ES routings
In VTEP, when determining the target VTEP with DF participation in the election qualifications, it is specifically used for the AC mouths configuration carried according to each ES routings
State determines there is the target VTEP of DF participation in the election qualifications in the opposite end VTEP for sending each ES routings, including:On multiple roads ES
It is route by middle selection target ES;Wherein, S-VID the and VXLAN ID and associated S- in AC mouthfuls of local that the target ES routings carry
VID and VXLAN ID matchings;The opposite end VTEP for sending the target ES routings is determined as the target that there is DF to participate in the election of qualification
VTEP。
Optionally, if determination unit is additionally operable to locally not deposit described target local AC mouthfuls, it is determined that this equipment does not have DF
Participation in the election qualification is not carrying out DF elections locally.
Optionally, described device further includes transmission unit, for being corresponded to when for the 2nd ESI configurations on local user port
AC mouths after, to all neighbours VTEP send ES routing;Wherein, the ES routings of transmission carry the 2nd ESI and the configuration
AC mouths associated by VXLAN ID and S-VID.
Optionally, the election unit, specifically for being ranked up to this VTEP and the target VTEP;With the target
The value of local AC mouthfuls of associated S-VID is removed as dividend using the total number of this VTEP and target VTEP as divisor
Method operation obtains the remainder after division arithmetic;In this VTEP and the target VTEP after sequence, by remainder described in serial number
VTEP as DF.
In this application, the AC mouth configuration status that VTEP is carried in being route according to ES sends ES routings to understand
Opposite end VTEP on whether configured with AC mouthful and AC mouthful configuration, so that it is determined that opposite end VTEP whether with DF participation in the election qualification.By
In being equipped with AC mouthfuls on the VTEP for participating in the election of qualification with DF, AC mouthfuls are also configured on DF so electing.So when DF is received
After the BUM flows sent to distal end VTEP, it can be transmitted to VM by AC mouthfuls, do not will produce because the DF elected does not match
The problem of setting AC mouthfuls corresponding with flow, and leading to flow interrupt.
Description of the drawings
Fig. 1 is a kind of EVPN multi-home networkings schematic diagram shown in one exemplary embodiment of the application;
Fig. 2 is a kind of flow chart of DF electoral machinery shown in one exemplary embodiment of the application;
Fig. 3 is a kind of schematic diagram of DF electoral machinery shown in one exemplary embodiment of the application;
Fig. 4 is that the application provides a kind of hardware architecture diagram of DF voting devices place VTEP;
Fig. 5 is a kind of block diagram of DF voting devices shown in one exemplary embodiment of the application.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of consistent device and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, is not intended to be limiting the application.
It is also intended to including majority in the application and "an" of singulative used in the attached claims, " described " and "the"
Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps
Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
It is a kind of EVPN multi-home networkings shown in Fig. 1.In Fig. 1, VM1 more belong to access VTEP1, VTEP2 and
VTEP3.In general, the problem of in order to allow BUM flows there is no loop and repeat, need to select in VTEP1, VTEP2 and VTEP3
Go out DF equipment.
Specifically, after VTEP1 is configured with more ownership access functions, VTEP1 can be to neighbours VTEP (such as VTEP2, VTEP3)
Send ES routings.Similarly, VTEP2, VTEP3 can also send ES routings to neighbor device.
After VTEP1 receives the ES routings that VTEP2 and VTEP3 is sent, it is found that VTEP1, VTEP2 and the VTEP3 belong to
Same more Home Systems can then carry out DF elections in VTEP1, VTEP2 and VTEP3.Similarly, VTEP2 and VTEP3 can also be used
Identical DF election regulation selects DF equipment in these three VTEP.
Assuming that the DF that VTEP1, VTEP2 and VTEP3 are elected is VTEP2, but without configuration and subscriber's main station phase on VTEP2
AC even (Attachment Circuit access circuit) mouth.After VTEP2 receives the BUM flows of VTEP4 transmissions, due to
The AC mouths being connected with subscriber's main station are not configured, VTEP2 can not just be forwarded the BUM flows.
It is a kind of flow chart of DF electoral machinery shown in one exemplary embodiment of the application, DF choosings referring to Fig. 2, Fig. 2
Act method can be applicable on VTEP, it may include step as follows.
Step 201:Receive the multiple ES routings for carrying the first ESI;
ESI can be carried in ES routings, is route when VTEP receives a large amount of ES, the ESI that VTEP is carried in being route according to ES,
Determine that the multiple ES for carrying identical ESI are route.Here, it describes, is taken in the multiple ES for carrying identical ESI are route for convenience
The ESI of band is denoted as the first ESI.
Step 202:After determining that this equipment has DF participation in the election qualifications, the AC mouth configuration status carried is route according to each ES,
In the opposite end VTEP for sending each ES routings, determining has the target VTEP of DF participation in the election qualifications;The AC mouths configuration that ES routings carry
State indicates to send the configuration status for the AC mouths that on the opposite end VTEP of ES routings and ESI is the first ESI.
In the embodiment of the present application, it is that ES routings have increased AC mouthfuls of configuration extended community attributes, the AC mouthfuls of configuration extension group newly
Body attribute record has AC mouthfuls of configuration status.
The AC mouthfuls of configuration status can be by VXLAN ID (VXLAN marks) and S-VID (Service Virtual Local
Area Network Identification, service virtual local area network, i.e. VLAN mark) it indicates.
It should be noted that whether VXLAN ID and S-VID the two explanation of field have AC mouthfuls, and when having AC mouthfuls
AC mouthfuls of configuration status.
For example, it is assumed that opposite end VTEP11 is configured with the AC mouths of the first ESI, the AC mouthfuls is associated with VXLAN10 and S-VID 10,
Then the VXLAN id fields in AC mouths configuration extended community attributes of the VTEP11 in the ES routings sent to this VTEP are 10, will
S-VID fields are 10.
In another example, it is assumed that VTEP11 is that physical port is configured with the first ESI, and is associated with VXLAN10 for the physical port,
But without configuring corresponding AC mouthfuls for the VXLAN10, then AC mouths of the VTEP11 in the ES routings sent to this VTEP is matched
It is 10 to set the VXLAN id fields in extended community attribute, is 0 by S-VID fields.
S-VID is set as 0 and shows not to be that corresponding AC mouthfuls of VXLAN 10 does not match for VXLAN 10 in other words
Set the access port of corresponding VLAN.
After having introduced AC mouthfuls of configuration status this concept, step 202 is described in detail below.
1) VTEP determines whether this equipment has DF participation in the election qualifications.
When realizing, VTEP can check it is local whether there is AC mouthfuls of target local, the ESI of AC mouthfuls of the target local with it is above-mentioned
The first ESI carried in multiple ES routings is identical.
If local there are AC mouthfuls of the target local, VTEP determines that this equipment has DF participation in the election qualifications.
If local be not present AC mouthfuls of the target local, VTEP determines that this equipment does not have DF participation in the election qualifications.At this point, VTEP
It is elected without DF.
2) after VTEP determines that this equipment has DF participation in the election qualifications, the AC mouth configuration status carried is route according to each ES,
In the opposite end VTEP for sending each ES routings, determining has the target VTEP of DF participation in the election qualifications.
When realizing, when there are AC mouthfuls of the target local, VTEP can be in above-mentioned multiple ES routings, the roads selection target ES
By.The VXLAN ID and S-VID and the associated VXLAN ID in AC mouthfuls of the target local and S-VID phases that the ES routings selected carry
Together.
Then, this equipment can determine that the opposite end VTEP for sending target ES routings is the target with DF participation in the election qualifications
VTEP。
Step 203:According to preset DF election regulation, it is selected as DF's from this equipment and the target VTEP
VTEP。
When realizing, VTEP can be selected as the VTEP of DF in this equipment and above-mentioned target VTEP.
Preset DF election regulation can be as follows:
VTEP can be ranked up this VTEP and target VTEP.After sequence, this VTEP and target VTEP are corresponding with therewith
Corresponding serial number.
Then, VTEP can using the value of above-mentioned target local AC mouthfuls of associated S-VID as dividend, with this VTEP and
The total number of target VTEP carries out division arithmetic, obtains the remainder after division arithmetic as divisor.Finally, VTEP can sort
In this VTEP afterwards and the target VTEP, using the VTEP of the serial number remainder as DF.
In the embodiment of the present application, after configuring corresponding AC mouthfuls for the 2nd ESI on local user port, to all neighbours
It occupies VTEP and sends ES routings, DF elections are re-started to trigger neighbours VTEP;Wherein, the ES routings of transmission carry described second
VXLAN ID and S-VID associated by ESI and the AC of configuration mouths.
Seen from the above description, the AC mouth configuration status carried in being route according to ES due to VTEP is sent to understand
Whether configured with AC mouthfuls and AC mouthfuls configurations on the opposite end VTEP of ES routings, so that it is determined that whether opposite end VTEP has DF ginsengs
Select qualification.Due to being equipped with AC mouthfuls on the VTEP for qualification of participating in the election of with DF, AC mouthfuls are also configured on DF so electing.So
After DF receives the BUM flows of distal end VTEP transmissions, it can be transmitted to VM by AC mouthful, do not will produce because of being elected
DF does not configure AC mouthfuls corresponding with flow, and the problem of lead to flow interrupt.
It is a kind of schematic diagram of DF electoral machinery shown in one exemplary embodiment of the application referring to Fig. 3, Fig. 3.
In figure 3, VM31 belongs to access VTEP31, VTEP32 and VTEP33 more.
Configuration about VTEP31:
The IP address of VTEP31 is 1.1.1.1.
AC mouthfuls of AC1 are configured on physical port ten1/0/1 on VTEP31.
Assuming that AC1 is established on physical port ten1/0/1, it is associated with S-VID 10 and VSI vpnb.
The ESI of AC1 is 1.
VSI vpnb are corresponding with VXLAN 10.
The meaning of this AC1 is:The data message entered from physical port ten1/0/1, if the VLAN TAG carried
10, then it can be forwarded into VSI vpnb.AC1 belongs to more Home Systems that ESI is 1.
AC1 is can be seen that from above-mentioned configuration to be associated with VXLAN 10, AC1 is associated with S-VID10.
Configuration about VTEP33:
The IP address of VTEP33 is 3.3.3.3.
AC mouthfuls of AC3 are configured on physical port ten3/0/1 on VTEP33.
Assuming that AC3 is established on physical port ten3/0/1, it is associated with S-VID 10 and VSI vpnb.
The ESI of AC3 is 1.
VSI vpnb are corresponding with VXLAN 10.
The meaning of this AC1 is:The data message entered from physical port ten3/0/1, if the VLAN TAG carried
10, then it can be forwarded into VSI vpnb.In addition, AC3 belongs to more Home Systems that ESI is 1.
AC3 is can be seen that from above-mentioned configuration to be associated with VXLAN 10, AC3 is associated with S-VID10.
Configuration about VTEP32:
The IP address of VTEP32 is 2.2.2.2;
Assuming that physical port ten2/0/1 is associated with VSI vpnb, and the ESI configured on the physical port is 1, the physics
Do not have to configure the AC mouths that ESI is 1 on port.
In addition, VSI vpnb are corresponding with VXLAN 10.
When for VTEP31 AC1 configure ESI after, VTEP31 can to all neighbours VTEP (such as VTEP32, VTEP33,
VTEP34 ES routings (being denoted as ES routings 1)) are sent.The AC mouth configuration status that AC1 is carried in ES routings 1, such as carries AC1
The associated S-VID of associated VXLAN 10 and AC1 10.In addition, also carrying the corresponding ESI of AC1 (such as in ES routings
1)。
When for VTEP33 AC3 configure ESI after, VTEP31 can to all neighbours VTEP (such as VTEP31, VTEP32,
VTEP34 ES routings (being denoted as ES routings 3)) are sent, the AC mouth configuration status of AC3 is carried in ES routings 3, such as carries AC3
The associated S-VID of associated VXLAN 10 and AC3 10.In addition, also carrying the corresponding ESI of AC1 (such as in ES routings
1)。
When for VTEP32 physical port 2/0/1 configure ESI after, VTEP32 can to all neighbours VTEP (such as VTEP31,
VTEP33 ES routings (being denoted as ES routings 2)) are sent.Due to not configuring the AC mouths being associated for VXLAN10, so the roads ES
The AC mouth configuration status carried by 2 li can indicate not to be that VXLAN 10 configures the AC mouths being associated, as taken in ES routings 3
The VXLAN ID of band are VXLAN 10, and the S-VID of carrying is S-VID 0.In addition, it is corresponding also to carry AC1 in ES routings 3
ESI (such as 1).
After VTEP31, which receives ES, route 2 and ES routings 3, the ESI that ES routings 2 route 3 inner carryings with ES is identical, then
VTEP31 determines that VTEP32 and VTEP33 belong to same more Home Systems.
At this point, VTEP31 can check it is local whether there is AC mouthful of local, the AC mouthful ESI configured and ES route 2 and
The ESI (such as ESI is 1) that ES route 3 inner carryings is identical.If there are such AC mouthfuls of local, VTEP31 can determine that this VTEP has
DF participation in the election qualifications, and DF elections can be carried out.
If local be not present AC mouthfuls of the local, it is determined that this VTEP does not have DF participation in the election qualifications, is not carrying out DF locally
Election.
In this example, since there are local AC mouthfuls, i.e. AC1 that ESI is 1 by VTEP31, so VTEP31 has DF participation in the election moneys
Lattice, VTEP31 can perform following election operation.
Routeing 2 and ES routings, 3, VTEP31 for the above-mentioned ES received can obtain what the two ES routings carried
VXLAN ID, S-VID, source IP address, ESI.
For ES routings 2, VTEP31 can check the VXLAN ID (i.e. VXLAN 10) and S- carried in ES routings 2
Whether VID (S-VID 0) is identical as the associated VXLAN ID (i.e. VXLAN 10) of AC1 and S-VID (S-VID 10).
In this example, the associated VXLAN ID and S-VID of the VXLAN ID and S-VID and AC1 not phases that ES routings 2 carry
Together, it is determined that the VTEP (i.e. VTEP32) of the source IP address instruction of ES routings 2 does not have DF participation in the election qualifications.
For ES routings 3, VTEP31 can check the VXLAN ID (i.e. VXLAN 10) and S- carried in ES routings 3
Whether VID (S-VID 10) is identical as the associated VXLAN ID (i.e. VXLAN10) of AC1 and S-VID (S-VID 10).
In this example, the VXLAN ID and S-VID that ES routings 3 carry is identical as the associated VXLAN ID and S-VID of AC1,
VTEP31 then determines that the VTEP (i.e. VTEP33) of the source IP address instruction of ES routings 3 has DF participation in the election qualifications.
Then, VTEP31 produces DF and elects list, as shown in table 1.
ESI | VXLAN ID | S-VID | VTEP IP to be elected | Whether there is participation in the election qualification |
1 | 10 | 10 | 1.1.1.1 | It is |
1 | 10 | 0 | 2.2.2.2 | It is no |
1 | 10 | 10 | 3.3.3.3 | It is |
Table 1
Then, VTEP31 is by above-mentioned list, in the VTEP31 and VTEP33 for participating in the election of qualification with DF, according to preset
DF election regulation conducts an election.
For example, VTEP31 can first be ranked up VTEP31 and VTEP33.Assuming that after VTEP31 and VTEP33 sequences,
The serial number of VTEP31 0, the serial number of VTEP33 1.
VTEP31 can also count the quantity of the VTEP with DF participation in the election qualifications, and in this case, it is 2.
Then VTEP31 can regard the value (i.e. 10) of the associated S-VID of AC1 as dividend, have DF participations in the election with statistics
The quantity (i.e. 2) of the VTEP of qualification be used as divisor, carry out division arithmetic, obtain division arithmetic after remainder (i.e. 10 divided by 2 it is remaining
Number 0).
The VTEP31 of serial number 0 may be selected as DF in VTEP31.
After VTEP33 receives the ES routings 2 of ES routing 1, VTEP32 transmissions of VTEP31 transmissions, due on VTEP33
There are AC3, the ESI carried in ESI and ES 1 and ES of the routing routings 2 of the AC3 is identical, and VTEP33 is executable such as VTEP31 above
The election operation carried out, which is not described herein again.
After VTEP32 receives the ES routings 1 of VTEP31 transmissions, the ES routings 3 that VTEP33 is sent, due on VTEP32
Any AC mouthfuls of the ESI and ES route the ESI that carries in 1 and ES routings 3 and be all different, it is determined that VTEP32 does not have election
Qualification, VTEP32 are not then carrying out DF elections locally.
When VTEP34 receive VTEP31 transmission ES routing 1, VTEP32 send ES routing 2, VTEP33 send ES
After routing 3, due on VTEP34 any AC mouthful of ESI and ES routings 1, the ESI that carries is equal during 2 and ES of ES routings route 3
It differs, it is determined that VTEP34 does not have the right to elect, and VTEP34 is not then carrying out DF elections locally.
In the embodiment of the present application, the ESI (i.e. 1) configured on for the ten2/0/1 on VTEP32 configures AC mouthfuls (here
It is denoted as AC2) after, VTEP32 can send ES routings to neighbours VTEP (such as VTEP31, VTEP33 and VTEP34) and (be denoted as the roads ES here
By 4).The associated VXLAN ID and S-VID of AC2 are carried in ES routings 4, and carry the ESI of AC2.
Neighbours VTEP can re-start above-mentioned election, repeat no more herein after receiving ES routings 4.
Seen from the above description, since VTEP31 can route the AC mouth configuration status that 2, ES route 3 inner carryings according to ES,
To understand whether configured with AC mouthfuls and AC mouthfuls configurations on VTEP31, VTEP33, so that it is determined that whether VTEP32, VTEP33 have
There are DF participation in the election qualifications.
Due to there is no to configure the AC mouths that ESI is 1 on VTEP32, so VTEP32 does not have participation in the election qualification.VTEP32 will not
It is elected as DF.
And due to being equipped with the AC mouths that ESI is 1 on the VTEP31 and VTEP33 of qualification of participating in the election of with DF, so electing
The AC mouths for being certainly 1 configured with ESI on DF.Therefore, after DF receives the BUM flows of distal end VTEP34 transmissions, can pass through
AC mouths on DF are transmitted to VM31, in Business Stream caused by due to not configuring AC mouthfuls without generation VTEP44 but be chosen as DF
Disconnected problem.
Referring to Fig. 4, the application also provides a kind of hardware architecture diagram of VTEP where preventing Business Stream interruption means, the VTEP
Equipment includes:Communication interface 401, processor 402, memory 403 and bus 404;Wherein, communication interface 401, processor 402
Mutual communication is completed by bus 404 with memory 403.
Wherein, processor 402 can be a CPU, and memory 403 can be nonvolatile memory (non-
Volatile memory), and the logical order of DF elections is stored in memory 403, processor 402 can execute storage
The logical order for preventing Business Stream from interrupting stored in device 403, to realize the function of DF elections.
So far, hardware configuration description shown in Fig. 4 is completed.
Fig. 5 is a kind of block diagram of DF voting devices shown in one exemplary embodiment of the application.The device can be applicable to
On VTEP, it may include unit as follows.
Receiving unit 501, for receiving the multiple ES routings for carrying the first ESI;
Determination unit 502, for after determining that this equipment has DF participation in the election qualifications, the AC mouths carried according to each ES routings to be matched
State is set, in the opposite end VTEP for sending each ES routings, determining has the target VTEP of DF participation in the election qualifications;Wherein, ES routings are taken
The AC mouth configuration status of band indicates to send the configuration for the AC mouths that on the opposite end VTEP of ES routings and ESI is the first ESI
State;
Unit 503 is elected, for according to preset DF election regulation, being selected as from this equipment and the target VTEP
The VTEP of DF.
Optionally, the determination unit 502 is specifically used for checking local when determining that this equipment has DF participation in the election qualifications
With the presence or absence of AC mouthfuls of target local;Target local AC mouthfuls of the ESI is the first ESI;If in the presence of, it is determined that this equipment has
There are DF participation in the election qualifications.
Optionally, the AC mouthfuls of configuration status includes AC mouthfuls of associated VXLAN ID and S-VID;
The determination unit 502, in the AC mouth configuration status carried according to each ES routings, in the opposite end for sending each ES routings
In VTEP, when determining the target VTEP with DF participation in the election qualifications, it is specifically used for the AC mouths configuration carried according to each ES routings
State determines there is the target VTEP of DF participation in the election qualifications in the opposite end VTEP for sending each ES routings, including:On multiple roads ES
It is route by middle selection target ES;Wherein, S-VID the and VXLAN ID and associated S- in AC mouthfuls of local that the target ES routings carry
VID and VXLAN ID matchings;The opposite end VTEP for sending the target ES routings is determined as the target that there is DF to participate in the election of qualification
VTEP。
Optionally, the determination unit 502, if being additionally operable to locally not deposit described target local AC mouthfuls, it is determined that this equipment
Without DF participation in the election qualifications, DF elections are not being carried out locally.
Optionally, described device further includes transmission unit 504 (being not shown in Fig. 5), is local user port for working as
The 2nd ESI configurations it is corresponding after AC mouthful, send ES to all neighbours VTEP and route;Wherein, described in the ES routings of transmission carry
VXLAN ID and S-VID associated by 2nd ESI and the AC mouths of the configuration.
Optionally, the election unit 503, specifically for being ranked up to this VTEP and the target VTEP;With described
The value of the AC mouthfuls of associated S-VID in target local is as dividend, using the total number of this VTEP and target VTEP as divisor, into
Row division arithmetic obtains the remainder after division arithmetic;In this VTEP and the target VTEP after sequence, described in serial number
The VTEP of remainder is as DF.
The function of each unit and the realization process of effect specifically refer to and correspond to step in the above method in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also
It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of module therein is selected to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The foregoing is merely the preferred embodiments of the application, not limiting the application, all essences in the application
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of the application protection god.
Claims (12)
1. a kind of DF electoral machinery, which is characterized in that the method is applied to VTEP, the method includes:
Receive the multiple ES routings for carrying the first ESI;
After determining that this equipment has DF participation in the election qualifications, according to the AC mouth configuration status that each ES routings carry, each roads ES are being sent
By opposite end VTEP in determine have DF participate in the election of qualification target VTEP;
According to preset DF election regulation, the VTEP of DF is selected as from this equipment and the target VTEP;
Wherein, the AC mouth configuration status that ES routings carry indicates to send on the opposite end VTEP of ES routings and ESI as described the
The configuration status of the AC mouths of one ESI.
2. according to the method described in claim 1, it is characterized in that, described this equipment of determination have DF participate in the election of qualification, including:
It checks local with the presence or absence of AC mouthfuls of target local;Target local AC mouthfuls of the ESI is the first ESI;
If in the presence of, it is determined that this equipment has DF participation in the election qualifications.
3. according to the method described in claim 2, it is characterized in that, the AC mouthfuls of configuration status includes AC mouthfuls of associated VXLAN
ID and S-VID;
The AC mouth configuration status carried according to each ES routings, in the opposite end VTEP for sending each ES routings, determining has DF
The target VTEP of participation in the election qualification, including:
The selection target ES routings in multiple ES routings;Wherein, the target ES route S-VID the and VXLAN ID carried and this
Ground AC mouthfuls of associated S-VID and VXLAN ID matching;
The opposite end VTEP for sending the target ES routings is determined as the target VTEP that there is DF to participate in the election of qualification.
4. according to the method described in claim 2, it is characterized in that, the method further includes:
If local do not deposit described target local AC mouthfuls, it is determined that this equipment does not have DF participation in the election qualifications, is not carrying out DF locally
Election.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
After configuring corresponding AC mouthfuls for the 2nd ESI on local user port, ES routings are sent to all neighbours VTEP;Its
In, the ES routings of transmission carry VXLAN ID and S-VID associated by the 2nd ESI and the AC mouths of the configuration.
6. according to the method described in claim 1, it is characterized in that, the preset DF election regulation, including:
This VTEP and the target VTEP are ranked up;
Using the value of the target local AC mouthfuls of associated S-VID as dividend, with the total number of this VTEP and target VTEP
As divisor, division arithmetic is carried out, the remainder after division arithmetic is obtained;
In this VTEP and the target VTEP after sequence, using the VTEP of remainder described in serial number as DF.
7. a kind of DF voting devices, which is characterized in that described device is applied to VTEP, and described device includes:
Receiving unit, for receiving the multiple ES routings for carrying the first ESI;
Determination unit, for after determining that this equipment has DF participation in the election qualifications, the AC mouth configuration status carried to be route according to each ES,
In the opposite end VTEP for sending each ES routings, determining has the target VTEP of DF participation in the election qualifications;Wherein, the AC mouths that ES routings carry
Configuration status indicates to send the configuration status for the AC mouths that on the opposite end VTEP of ES routings and ESI is the first ESI;
Unit is elected, for according to preset DF election regulation, being selected as DF's from this equipment and the target VTEP
VTEP。
8. device according to claim 7, which is characterized in that the determination unit is determining this equipment with DF participations in the election
When qualification, it is specifically used for checking local with the presence or absence of AC mouthfuls of target local;Target local AC mouthfuls of the ESI is described first
ESI;If in the presence of, it is determined that this equipment has DF participation in the election qualifications.
9. device according to claim 7, which is characterized in that the AC mouthfuls of configuration status includes AC mouthfuls of associated VXLAN
ID and S-VID;
The determination unit, in the AC mouth configuration status carried according to each ES routings, in the opposite end VTEP for sending each ES routings,
When determining the target VTEP with DF participation in the election qualifications, it is specifically used for the AC mouth configuration status carried according to each ES routings,
In the opposite end VTEP for sending each ES routings, determine that there is the target VTEP of DF participation in the election qualifications, including:It is selected in multiple ES routings
Target ES routings;Wherein, target ES routing carries the S-VID and VXLAN ID and associated S-VID in AC mouthfuls of local and
VXLAN ID matchings;The opposite end VTEP for sending the target ES routings is determined as the target VTEP that there is DF to participate in the election of qualification.
10. device according to claim 8, which is characterized in that if the determination unit is additionally operable to locally not deposit the mesh
Sample AC mouthfuls, it is determined that this equipment do not have DF participate in the election of qualification, not locally carry out DF elections.
11. device according to claim 7, which is characterized in that described device further includes transmission unit, for when for locally
After the 2nd ESI on user port configures corresponding AC mouthfuls, ES routings are sent to all neighbours VTEP;Wherein, the roads ES of transmission
By carrying VXLAN ID and S-VID associated by the AC mouths of the 2nd ESI and the configuration.
12. device according to claim 7, which is characterized in that the election unit is specifically used for this VTEP and described
Target VTEP is ranked up;Using the value of the target local AC mouthfuls of associated S-VID as dividend, with this VTEP and target
The total number of VTEP carries out division arithmetic, obtains the remainder after division arithmetic as divisor;This VTEP after sequence and described
In target VTEP, using the VTEP of remainder described in serial number as DF.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810338936.3A CN108600072B (en) | 2018-04-16 | 2018-04-16 | Designated forwarder DF election method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810338936.3A CN108600072B (en) | 2018-04-16 | 2018-04-16 | Designated forwarder DF election method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108600072A true CN108600072A (en) | 2018-09-28 |
CN108600072B CN108600072B (en) | 2020-12-29 |
Family
ID=63622712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810338936.3A Active CN108600072B (en) | 2018-04-16 | 2018-04-16 | Designated forwarder DF election method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108600072B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113098768A (en) * | 2019-12-23 | 2021-07-09 | 华为技术有限公司 | Equipment management method and related device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752183A (en) * | 2012-07-19 | 2012-10-24 | 杭州华三通信技术有限公司 | rapid convergence method and device for access network |
CN103825836A (en) * | 2013-12-20 | 2014-05-28 | 杭州华三通信技术有限公司 | Method and apparatus for determining appointed VLAN-x forwarder (AVF) |
US20170141963A1 (en) * | 2015-11-18 | 2017-05-18 | Telefonaktiebolaget L M Ericsson (Publ) | Designated forwarder (df) election and re-election on provider edge (pe) failure in all-active redundancy topology |
CN106713005A (en) * | 2015-11-12 | 2017-05-24 | 瞻博网络公司 | Designated forwarder (DF) election based on static DF election procedure |
US20180034667A1 (en) * | 2014-09-29 | 2018-02-01 | Juniper Networks, Inc. | Adaptive load balancing for single active redundancy using evpn designated forwarder election |
-
2018
- 2018-04-16 CN CN201810338936.3A patent/CN108600072B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752183A (en) * | 2012-07-19 | 2012-10-24 | 杭州华三通信技术有限公司 | rapid convergence method and device for access network |
CN103825836A (en) * | 2013-12-20 | 2014-05-28 | 杭州华三通信技术有限公司 | Method and apparatus for determining appointed VLAN-x forwarder (AVF) |
US20180034667A1 (en) * | 2014-09-29 | 2018-02-01 | Juniper Networks, Inc. | Adaptive load balancing for single active redundancy using evpn designated forwarder election |
CN106713005A (en) * | 2015-11-12 | 2017-05-24 | 瞻博网络公司 | Designated forwarder (DF) election based on static DF election procedure |
US20170141963A1 (en) * | 2015-11-18 | 2017-05-18 | Telefonaktiebolaget L M Ericsson (Publ) | Designated forwarder (df) election and re-election on provider edge (pe) failure in all-active redundancy topology |
Non-Patent Citations (2)
Title |
---|
NOKIA,ERICSSON,JUNIPER NETWORKS: "AC-Influenced Designated Forwarder Election for EVPN", 《BESS WORKGROUP INTERNET DRAFT》 * |
陈烨: "基于BGP协议的EVPN实现与研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113098768A (en) * | 2019-12-23 | 2021-07-09 | 华为技术有限公司 | Equipment management method and related device |
CN113098768B (en) * | 2019-12-23 | 2023-05-12 | 华为技术有限公司 | Equipment management method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN108600072B (en) | 2020-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8472443B2 (en) | Port grouping for association with virtual interfaces | |
US8249069B2 (en) | Forwarding multi-destination packets in a network with virtual port channels | |
CN106797351B (en) | System and method for performing logical network forwarding using a controller | |
CN107819663B (en) | Method and device for realizing virtual network function service chain | |
CN104811387B (en) | The equal cost multipath explicitly replicated with position index | |
US20200228636A1 (en) | System and method for supporting shared multicast local identifiers (mild) ranges in a high performance computing environment | |
US7889748B1 (en) | Mapping a port on a packet switch appliance | |
CN104579695B (en) | A kind of data forwarding device and method | |
CN103795623B (en) | A kind of method and apparatus for realizing flow intercommunication between virtual unit | |
US10348847B2 (en) | System and method for supporting proxy based multicast forwarding in a high performance computing environment | |
CN104272684A (en) | Dynamic service insertion in a fabric switch | |
CN105721303B (en) | A kind of route control method, the network equipment and controller | |
JP2017533668A (en) | System and method for supporting partition-aware routing in a multi-tenant cluster environment | |
CN105706391A (en) | Multicast increasing through index localization | |
EP2962432A1 (en) | Multicasting a data message in a multi-site network | |
CN106209636B (en) | Multicast data packet forwarding method and apparatus from VLAN to VXLAN | |
CN108306806B (en) | Message forwarding method and device | |
CN104754025A (en) | Programmable Distributed Networking | |
CN106209648B (en) | Multicast data packet forwarding method and apparatus across virtual expansible local area network | |
CN107819682A (en) | Prevent the data service loop associated with the transponder selection specified | |
CN112468398B (en) | VPN processing method, PE equipment and system | |
WO2021082812A1 (en) | Message sending method and first network device | |
US20120230194A1 (en) | Hash-Based Load Balancing in Large Multi-Hop Networks with Randomized Seed Selection | |
CN106059946A (en) | Message forwarding method and message forwarding device | |
CN107547342A (en) | Message broadcasting method and apparatus based on VXLAN tunnels |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |