CN106878183A - Flow forwarding method and device - Google Patents

Flow forwarding method and device Download PDF

Info

Publication number
CN106878183A
CN106878183A CN201710047652.4A CN201710047652A CN106878183A CN 106878183 A CN106878183 A CN 106878183A CN 201710047652 A CN201710047652 A CN 201710047652A CN 106878183 A CN106878183 A CN 106878183A
Authority
CN
China
Prior art keywords
systems
equipment
vxlan tunnels
vtep
vtep 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.)
Pending
Application number
CN201710047652.4A
Other languages
Chinese (zh)
Inventor
黄李伟
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710047652.4A priority Critical patent/CN106878183A/en
Publication of CN106878183A publication Critical patent/CN106878183A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application provides a kind of flow forwarding method and device, and methods described is applied in a VTEP equipment, and methods described includes:If detect the expansible Virtual Local Area Network VXLAN tunnel fails associated with a VTEP equipment, judge whether the VXLAN tunnels associate with the 2nd VTEP equipment in distribution polymerization DR systems, wherein the first VETP equipment is not belonging to same DR systems with the 2nd VETP equipment;If so, then judging the VXLAN tunnels with the presence or absence of corresponding multiple next-hops to the 2nd VTEP equipment in the DR systems;If in the presence of choosing available next-hop and flow be transmitted into the 2nd VETP equipment.Therefore, the application can reduce and VXLAN tunnel fails occurs and cause the situation of flow interrupt, so as to improve the reliability of EVPN networks.

Description

Flow forwarding method and device
Technical field
The application is related to network communication technology field, more particularly to a kind of flow forwarding method and device.
Background technology
EVPN (Ethernet Virtual Private Network, Ethernet VPN) is a kind of two layers VPN technologies, on the control plane using BGP (Border Gateway Protocol, Border Gateway Protocol) notice route letters Breath, is turned on datum plane using VXLAN (Virtual eXtensible LAN, expansible Virtual Local Area Network) packaged type Hair user's message.
Mainly include in basic EVPN group-network constructions:VM (Virtual Machine, virtual machine), CE (Customer Edge, customer edge) equipment and VTEP equipment (VXLAN Tunnel End Point, VXLAN endpoint of a tunnel).
At present, in order to improve the reliability of EVPN networks, it will usually the application distribution formula polymerization technique in EVPN networks, such as Shown in Fig. 1.In networking as shown in Figure 1, VTEP B and VTEP C constitute a DR (Distributed Relay, distribution Polymerization) system, the link between VTEP B and VTEP C is IPL links (Intra-Portal Link, distributed polymeric internal Link), VTEP B and VTEP C are connected by distribution aggregation port AGG1 with CE A equipment.
But, even if applying distributed polymerization technique in EVPN networks, the reliability of the EVPN networks also need into One step is improved.
The content of the invention
The application provides a kind of flow forwarding method and device, is also needed with the reliability for solving EVPN networks in the prior art The problem further to improve.
According to the first aspect of the embodiment of the present application, there is provided a kind of flow forwarding method, methods described is applied to first Expansible Virtual Local Area Network endpoint of a tunnel VTEP equipment, methods described includes:
If detecting the expansible Virtual Local Area Network VXLAN tunnel fails associated with a VTEP equipment When, judge whether the VXLAN tunnels associate with the 2nd VTEP equipment in distribution polymerization DR systems, wherein described first VETP equipment is not belonging to same DR systems with the 2nd VETP equipment;
If so, then judging the VXLAN tunnels with the presence or absence of corresponding multiple to the 2nd VTEP equipment in the DR systems Next-hop;If in the presence of choosing available next-hop and flow be transmitted into the 2nd VETP equipment.
According to the second aspect of the embodiment of the present application, there is provided a kind of flow forwarding device, described device is applied to first In expansible Virtual Local Area Network endpoint of a tunnel VTEP equipment, described device includes:
First judging unit, if for detecting the expansible Virtual Local Area Network associated with a VTEP equipment During VXLAN tunnel fails, judge whether the VXLAN tunnels close with the 2nd VTEP equipment in the distributed DR systems that are polymerized Connection, wherein the first VETP equipment is not belonging to same DR systems with the 2nd VETP equipment;
Second judging unit, if during the VXLAN tunnels and DR systems are judged for first judging unit second VTEP equipment is associated, then judge the VXLAN tunnels with the presence or absence of corresponding multiple to the 2nd VTEP equipment in the DR systems Next-hop;
Flow retransmission unit, if judging that the VXLAN tunnels have corresponding multiple and arrive for second judging unit The next-hop of the 2nd VTEP equipment in the DR systems, then choose available next-hop flow be transmitted into the 2nd VETP and set It is standby.
Using the embodiment of the present application, if the VXLAN tunnel fails associated with a VTEP equipment are detected, and should There is corresponding multiple next-hops to the 2nd VTEP equipment in DR systems in VXLAN tunnels, then can choose available next-hop Flow is transmitted to the 2nd VETP equipment, can so be reduced and VXLAN tunnel fails occurred and cause the feelings of flow interrupt Shape, so as to improve the reliability of EVPN networks.
Brief description of the drawings
Fig. 1 is the configuration diagram of EVPN networks;
Fig. 2 is one embodiment flow chart of the application flow forwarding method;
Fig. 3 is another embodiment flow chart of the application flow forwarding method;
Fig. 4 is a kind of hardware architecture diagram of equipment where the application flow forwarding device;
Fig. 5 is one embodiment block diagram of the application flow forwarding device.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent all implementation methods consistent with the application.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps May be combined containing one or more associated any or all of project listed.
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 being distinguished from each other open same type of information.For example, not departing from In the case of the application scope, 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 linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
Referring to Fig. 1, Fig. 1 is the configuration diagram of EVPN networks.Distributed polymerization technique is applied in the EVPN networks.Such as Shown in Fig. 1.In networking as shown in Figure 1, VTEP B and VTEP C constitute a DR (Distributed Relay, distribution Polymerization) system, the link between VTEP B and VTEP C is IPL links (Intra-Portal Link, distributed polymeric internal Link), VTEP B and VTEP C are connected by distribution aggregation port AGG1 with CE A equipment.
After VTEP B receive the access message of CE A transmissions, study accesses source MAC A-A-A in message, and leads to Cross bgp protocol and source MAC A-A-A is synchronized to VTEP D, so that VTEP D set up the forwarding-table item of CE A;And, by source MAC Address A-A-A is synchronized to VTEP C.
But, after VTEP C receive synchronous source MAC A-A-A, will not be to VTEP D synchronizations, so as VTEP B And the link between VTEP D breaks down or VTEP B break down, then VTEP B are synchronized to the source MAC A- of VTEP D The forwarding-table item of A-A is deleted, and so as to cause the forwarding-table item without CE A on VTEP D, flow interrupt is caused, so as to reduce The reliability of EVPN networks.
In order to solve the above problems, a kind of flow forwarding method is provided in the embodiment of the present application, and one kind can be answered With the flow forwarding device of the method.
Fig. 2 is one embodiment flow chart of the application flow forwarding method, and the method is applied in a VTEP equipment, The method includes:
Step 210, if detect the VXLAN tunnel fails associated with a VTEP equipment, judges VXLAN tunnels Whether associated with the 2nd VTEP equipment in DR systems, wherein a VETP equipment is not belonging to same DR systems with the 2nd VETP equipment System.
In the embodiment of the present application, a VTEP equipment can be a VTEP equipment in DR systems, it is also possible to not be DR A VTEP equipment in system;And the 2nd VTEP equipment refers to the VTEP equipment in DR systems, and with a VETP equipment It is not belonging to same DR systems.
Such as:In Fig. 1, VTEP D are a VTEP equipment, and VTEP B and VTEP C are the 2nd VETP equipment.
In one embodiment, when judging whether VXLAN tunnels associate with the 2nd VTEP equipment in DR systems, can be with In the following ways:
Judge whether the corresponding forwarding-table item in VXLAN tunnels carries the mark for representing DR systems;
If, it is determined that VXLAN tunnels are associated with the 2nd VTEP equipment in DR systems;
If not, it is determined that VXLAN tunnels are not associated with the 2nd VTEP equipment in DR systems.
Wherein, the corresponding forwarding-table item in VXLAN tunnels can pre-set static entry, or learn Dynamic entry.In addition, for representing that the mark of DR systems can be the mark that pre-sets, such as:MLAG(Multi- Chassis Link Aggregation, distributed aggregated links) mark.
In one embodiment, the method for obtaining the corresponding forwarding-table item for carrying DR marks in VXLAN tunnels, can adopt With the following methods:
The address synchronization message that the 2nd VTEP equipment in DR systems sends is received, address synchronization message is carried for table Show the mark of DR systems;
Corresponding VXLAN tunnels are determined according to address sync message, and the corresponding forwarding-table item addition in VXLAN tunnels is used In the mark for representing DR systems.
Step 220, if so, then judging XLAN tunnels with the presence or absence of corresponding multiple to the 2nd VTEP equipment in DR systems Next-hop;If in the presence of choosing available next-hop and flow be transmitted into the 2nd VETP equipment.
In one embodiment, XLAN tunnels are being judged with the presence or absence of corresponding multiple to the 2nd VTEP equipment in DR systems Next-hop when, can be in the following ways:
Whether next-hop number is more than 1 in judging the corresponding forwarding-table item in VXLAN tunnels;
If, it is determined that there is the available next-hop of the 2nd VTEP equipment in the corresponding system to DR in VXLAN tunnels;
If not, it is determined that available next-hop of the VXLAN tunnels in the absence of the 2nd VTEP equipment in the corresponding system to DR.
In one embodiment, when flow is transmitted to the 2nd VETP equipment by the available next-hop of selection, can use In the following manner:
Available next-hop is chosen from the corresponding forwarding-table item in VXLAN tunnels;
Flow is transmitted to by the 2nd VETP equipment by selected next-hop.
Shown in ginseng Fig. 1, after VTEP B receive the access message of CE A transmissions, study accesses source MAC in message A-A-A, and source MAC A-A-A is synchronized to by VTEP D by address synchronization message, and address synchronization message carries MLAG Mark.
After VTEP D receive the address synchronization message for carrying MLAG marks, source can be determined according to the address synchronization message The corresponding VXLAN tunnels of MAC Address A-A-A, and to the corresponding forwarding-table item addition MLAG marks in VXLAN tunnels.Wherein, The corresponding forwarding-table item in VXLAN tunnels includes 2 next-hops, and a next-hop is pointed to VTEP B, another next-hop and pointed to VTEP C, and next-hop number is 2.
If detecting the VXLAN tunnel fails associated with VTEP D, such as, and the link between VTEP B and VTEP D Break down, then the next-hop that sensing VTEP C can be chosen from the corresponding forwarding-table item in VXLAN tunnels carries out flow forwarding.
As seen from the above-described embodiment, if detecting the VXLAN tunnel fails associated with a VTEP equipment, and should There is corresponding multiple next-hops to the 2nd VTEP equipment in DR systems in VXLAN tunnels, then can choose available next-hop Flow is transmitted to the 2nd VETP equipment, can so be reduced and VXLAN tunnel fails occurred and cause the feelings of flow interrupt Shape, so as to improve the reliability of EVPN networks.
Fig. 3 is another embodiment flow chart of the application flow forwarding method, and the method is applied to a VTEP equipment On, the method includes:
Step 310, detects the VXLAN tunnel fails associated with a VTEP equipment.
Step 320, judges whether the corresponding forwarding-table item in VXLAN tunnels carries the mark for representing DR systems;If so, Perform step 330;If it is not, then performing step 380.
Step 330, determines that VXLAN tunnels are associated with the 2nd VTEP equipment in DR systems, wherein a VETP equipment with 2nd VETP equipment is not belonging to same DR systems.
In the embodiment of the present application, a VTEP equipment can be a VTEP equipment in DR systems, it is also possible to not be DR A VTEP equipment in system;And the 2nd VTEP equipment refers to the VTEP equipment in DR systems, and with a VETP equipment It is not belonging to same DR systems.
Such as:In Fig. 1, VTEP D are a VTEP equipment, and VTEP B and VTEP C are the 2nd VETP equipment.
Step 340, whether next-hop number is more than 1 in judging the corresponding forwarding-table item in VXLAN tunnels.If so, then performing Step 350;If it is not, then performing step 390.
Step 350, determines that VXLAN tunnels have the available next-hop of the 2nd VTEP equipment in the corresponding system to DR.
Step 360, available next-hop is chosen from the corresponding forwarding-table item in VXLAN tunnels.
Step 370, the 2nd VETP equipment is transmitted to by selected next-hop by flow, and flow terminates.
Step 380, determines that VXLAN tunnels are not associated with the 2nd VTEP equipment in DR systems, and flow terminates.
Step 390, determine VXLAN tunnels in the absence of in the corresponding system to DR the 2nd VTEP equipment it is available next Jump, flow terminates.
Before above-mentioned steps 310, the application flow forwarding method can also include:
Receive DR systems in the 2nd VTEP equipment send address synchronization message, the address synchronization message carry for Represent the mark of DR systems;
Corresponding VXLAN tunnels are determined according to the address synchronization message that the 2nd VTEP equipment sends, and to VXLAN tunnels pair The forwarding-table item answered adds the mark for representing DR systems.
In the embodiment of the present application, the address synchronization message that the 2nd VTEP equipment sends can be BGP messages.
Such as:The reserved field or new field of BGP messages include the mark for representing DR systems.
As seen from the above-described embodiment, if detecting the VXLAN tunnel fails associated with a VTEP equipment, and should The corresponding forwarding-table item in VXLAN tunnels carries the mark for representing DR systems, then can choose available from the forwarding-table item Next-hop, and flow forwarding is carried out by selected next-hop, can also so reduce there are VXLAN tunnel fails and Cause the situation of flow interrupt, and then improve the reliability of EVPN networks.
It is corresponding with aforementioned flow retransmission method embodiment, present invention also provides the embodiment of flow forwarding device.
The embodiment of the application flow forwarding device can be applied in VTEP equipment.Device embodiment can be by software Realize, it is also possible to realized by way of hardware or software and hardware combining.As a example by implemented in software, as on a logical meaning Device, be in by the processor of equipment where it, corresponding computer program instructions in nonvolatile memory are read Deposit what middle operation was formed.From for hardware view, as shown in figure 4, one kind of equipment where the application flow forwarding device is hard Part structural representation, in addition to the processor shown in Fig. 4, network interface, internal memory and nonvolatile memory, in embodiment Equipment where device can also generally include other hardware, such as be responsible for the forwarding chip for the treatment of message;From hardware configuration The equipment is also possible to be distributed equipment for upper, potentially includes multiple interface cards, to carry out network ground in hardware view The extension of location conversion.
It is one embodiment block diagram of the application flow forwarding device referring to Fig. 5, the device is applied to a VTEP and sets It is standby, and for performing the flow forwarding method shown in Fig. 2, the device can include:First judging unit 51, the second judging unit 52 and flow retransmission unit 53.
First judging unit 51, if for detecting the expansible Virtual Local Area Network associated with a VTEP equipment During VXLAN tunnel fails, judge whether the VXLAN tunnels close with the 2nd VTEP equipment in the distributed DR systems that are polymerized Connection, wherein the first VETP equipment is not belonging to same DR systems with the 2nd VETP equipment;
Second judging unit 52, if judging the in the VXLAN tunnels and DR systems for first judging unit Two VTEP equipment are associated, then judge that the VXLAN tunnels set with the presence or absence of corresponding multiple to the 2nd VTEP in the DR systems Standby next-hop;
Flow retransmission unit 53, if judging that the VXLAN tunnels have corresponding multiple for second judging unit The next-hop of the 2nd VTEP equipment in the DR systems, then choose available next-hop and flow be transmitted into the 2nd VETP Equipment.
As seen from the above-described embodiment, if detecting the VXLAN tunnel fails associated with a VTEP equipment, and should There is corresponding multiple next-hops to the 2nd VTEP equipment in DR systems in VXLAN tunnels, then can choose available next-hop Flow is transmitted to the 2nd VETP equipment, can so be reduced and VXLAN tunnel fails occurred and cause the feelings of flow interrupt Shape, so as to improve the reliability of EVPN networks.
In an optional implementation, the first judging unit 51 can include:First judgment sub-unit, first determine Subelement and the second determination subelement (not shown in Fig. 5).
First judgment sub-unit, if for detecting the expansible Virtual Local Area Network associated with a VTEP equipment During VXLAN tunnel fails, judge whether the forwarding-table item carries the mark for representing DR systems;
First determination subelement, if judging that the forwarding-table item is carried for representing DR for first judgment sub-unit The mark of system, it is determined that the VXLAN tunnels are associated with the 2nd VTEP equipment in DR systems;
Second determination subelement, if judging that the forwarding-table item is not carried for table for first judgment sub-unit Show the mark of DR systems, it is determined that the VXLAN tunnels are not associated with the 2nd VTEP equipment in DR systems.
In an optional implementation, described device can also include:Receiving unit and tunnel determination unit (Fig. 5 Not shown in).
Receiving unit, the address synchronization message for receiving the transmission of the 2nd VTEP equipment in DR systems, the address is same Step message carries the mark for representing DR systems;
Tunnel determination unit, for determining corresponding VXLAN tunnels according to the address synchronization message, and to described The corresponding forwarding-table item addition mark for representing DR systems in VXLAN tunnels.
In an optional implementation, the second judging unit 52 can include:Second judgment sub-unit, the 3rd determine Subelement and the 4th determination subelement (not shown in Fig. 5).
Second judgment sub-unit, if judging the in the VXLAN tunnels and DR systems for first judging unit Two VTEP equipment are associated, then whether next-hop number is more than 1 in judging the corresponding forwarding-table item in the VXLAN tunnels;
3rd determination subelement, if judging that the next-hop number is more than 1 for second judgment sub-unit, it is determined that There is the corresponding available next-hop to the 2nd VTEP equipment in the DR systems in the VXLAN tunnels.
4th determination subelement, if judging that the next-hop number is less than or equal to 1 for second judgment sub-unit, Determine that the VXLAN tunnels do not exist the corresponding available next-hop to the 2nd VTEP equipment in the DR systems.
In an optional implementation, the flow retransmission unit 53 can include:Choose subelement and flow turns Hair subelement (not shown in Fig. 5).
Subelement is chosen, if it is corresponding multiple to institute to judge that the VXLAN tunnels are present for second judging unit State the next-hop of the 2nd VTEP equipment in DR systems, then chosen from the corresponding forwarding-table item in the VXLAN tunnels it is available under One jumps;
Flow forwards subelement, for flow to be transmitted into the 2nd VETP equipment by selected next-hop.
As seen from the above-described embodiment, if detecting the VXLAN tunnel fails associated with a VTEP equipment, and should The corresponding forwarding-table item in VXLAN tunnels carries the mark for representing DR systems, then can choose available from the forwarding-table item Next-hop, and flow forwarding is carried out by selected next-hop, can also so reduce there are VXLAN tunnel fails and Cause the situation of flow interrupt, and then improve the reliability of EVPN networks.
The function of unit and the implementation process of effect correspond to step in specifically referring to the above method in said apparatus Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematical, wherein described as separating component The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Selection some or all of module therein is needed 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 preferred embodiment of the application is the foregoing is only, is not used to limit the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.

Claims (10)

1. a kind of flow forwarding method, it is characterised in that methods described is applied to the first expansible Virtual Local Area Network tunnel end In point VTEP equipment, methods described includes:
If detect the expansible Virtual Local Area Network VXLAN tunnel fails associated with a VTEP equipment, sentence Whether the disconnected VXLAN tunnels associate with the 2nd VTEP equipment in distribution polymerization DR systems, wherein first VETP sets It is standby to be not belonging to same DR systems with the 2nd VETP equipment;
If so, then judging the VXLAN tunnels with the presence or absence of under corresponding multiple to the 2nd VTEP equipment in the DR systems One jumps;If in the presence of choosing available next-hop and flow be transmitted into the 2nd VETP equipment.
2. method according to claim 1, it is characterised in that it is described judge the VXLAN tunnels whether with DR systems in The 2nd VTEP equipment association, including:
Judge whether the corresponding forwarding-table item in the VXLAN tunnels carries the mark for representing DR systems;
If, it is determined that the VXLAN tunnels are associated with the 2nd VTEP equipment in DR systems;
If not, it is determined that the VXLAN tunnels are not associated with the 2nd VTEP equipment in DR systems.
3. method according to claim 1, it is characterised in that methods described also includes:
The address synchronization message that the 2nd VTEP equipment in DR systems sends is received, the address synchronization message is carried for table Show the mark of DR systems;
Corresponding VXLAN tunnels are determined according to the address synchronization message, and the corresponding forwarding-table item in the VXLAN tunnels is added Plus the mark for representing DR systems.
4. method according to claim 1, it is characterised in that the judgement VXLAN tunnels are with the presence or absence of corresponding Multiple next-hops to the 2nd VTEP equipment in the DR systems, including:
Whether next-hop number is more than 1 in judging the corresponding forwarding-table item in the VXLAN tunnels;
If, it is determined that the VXLAN tunnels exist it is corresponding in the DR systems the 2nd VTEP equipment it is available next Jump;
If not, it is determined that the VXLAN tunnels in the absence of it is corresponding in the DR systems the 2nd VTEP equipment it is available under One jumps.
5. method according to claim 1, it is characterised in that be transmitted to for flow described by the available next-hop of selection 2nd VETP equipment, including:
Available next-hop is chosen from the corresponding forwarding-table item in the VXLAN tunnels;
Flow is transmitted to by the 2nd VETP equipment by selected next-hop.
6. a kind of flow forwarding device, it is characterised in that described device is applied to the first expansible Virtual Local Area Network tunnel end In point VTEP equipment, described device includes:
First judging unit, if for detecting the expansible Virtual Local Area Network VXLAN associated with a VTEP equipment During tunnel fails, judge whether the VXLAN tunnels associate with the 2nd VTEP equipment in distribution polymerization DR systems, its Described in a VETP equipment be not belonging to same DR systems with the 2nd VETP equipment;
Second judging unit, if judging the 2nd VTEP in the VXLAN tunnels and DR systems for first judging unit Equipment is associated, then judge the VXLAN tunnels with the presence or absence of under corresponding multiple to the 2nd VTEP equipment in the DR systems One jumps;
Flow retransmission unit, if it is corresponding multiple described in judge that the VXLAN tunnels are present for second judging unit The next-hop of the 2nd VTEP equipment in DR systems, then choose available next-hop and flow be transmitted into the 2nd VETP equipment.
7. device according to claim 6, it is characterised in that first judging unit includes:
First judgment sub-unit, if for detecting the expansible Virtual Local Area Network associated with a VTEP equipment During VXLAN tunnel fails, judge whether the forwarding-table item carries the mark for representing DR systems;
First determination subelement, if judging that the forwarding-table item is carried for representing DR systems for first judgment sub-unit Mark, it is determined that the VXLAN tunnels are associated with the 2nd VTEP equipment in DR systems;
Second determination subelement, if judging that the forwarding-table item is not carried for representing DR for first judgment sub-unit The mark of system, it is determined that the VXLAN tunnels are not associated with the 2nd VTEP equipment in DR systems.
8. device according to claim 6, it is characterised in that described device also includes:
Receiving unit, the address synchronization message for receiving the transmission of the 2nd VTEP equipment in DR systems, the address synchronization report Text carries the mark for representing DR systems;
Tunnel determination unit, for determining corresponding VXLAN tunnels according to the address synchronization message, and to the VXLAN tunnels The corresponding forwarding-table item addition mark for representing DR systems in road.
9. device according to claim 6, it is characterised in that second judging unit includes:
Second judgment sub-unit, if during the VXLAN tunnels and DR systems are judged for first judging unit second VTEP equipment is associated, then whether next-hop number is more than 1 in judging the corresponding forwarding-table item in the VXLAN tunnels;
3rd determination subelement, if judging that the next-hop number is more than 1 for second judgment sub-unit, it is determined that described There is the corresponding available next-hop to the 2nd VTEP equipment in the DR systems in VXLAN tunnels.
4th determination subelement, if judging that the next-hop number is less than or equal to 1 for second judgment sub-unit, it is determined that The VXLAN tunnels do not exist the corresponding available next-hop to the 2nd VTEP equipment in the DR systems.
10. device according to claim 6, it is characterised in that the flow retransmission unit includes:
Subelement is chosen, if it is corresponding multiple to the DR to judge that the VXLAN tunnels are present for second judging unit The next-hop of the 2nd VTEP equipment in system, then choose available next-hop from the corresponding forwarding-table item in the VXLAN tunnels;
Flow forwards subelement, for flow to be transmitted into the 2nd VETP equipment by selected next-hop.
CN201710047652.4A 2017-01-22 2017-01-22 Flow forwarding method and device Pending CN106878183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710047652.4A CN106878183A (en) 2017-01-22 2017-01-22 Flow forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710047652.4A CN106878183A (en) 2017-01-22 2017-01-22 Flow forwarding method and device

Publications (1)

Publication Number Publication Date
CN106878183A true CN106878183A (en) 2017-06-20

Family

ID=59159077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710047652.4A Pending CN106878183A (en) 2017-01-22 2017-01-22 Flow forwarding method and device

Country Status (1)

Country Link
CN (1) CN106878183A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547373A (en) * 2017-07-17 2018-01-05 新华三技术有限公司 A kind of message forwarding method, device, equipment and machinable medium
CN107547402A (en) * 2017-07-19 2018-01-05 新华三技术有限公司 A kind of forwarding table generation method and device
CN107682261A (en) * 2017-10-24 2018-02-09 新华三技术有限公司 Flow forwarding method and device
CN108199967A (en) * 2018-03-30 2018-06-22 新华三技术有限公司 Route processing method and device
CN108259300A (en) * 2017-06-30 2018-07-06 新华三技术有限公司 Forward the method and device of broadcasting packet
CN108259299A (en) * 2017-06-23 2018-07-06 新华三技术有限公司 A kind of forwarding-table item generation method, device and machine readable storage medium
CN108337158A (en) * 2018-01-23 2018-07-27 新华三技术有限公司 Unicast message retransmission method and device
CN108768845A (en) * 2018-04-03 2018-11-06 新华三技术有限公司 A kind of multi-homed host route synchronization method and device
CN108900414A (en) * 2018-06-08 2018-11-27 新华三技术有限公司 Forwarding table generation method and device
CN109067634A (en) * 2018-09-28 2018-12-21 新华三技术有限公司 A kind of forwarding-table item creation method and device
CN109672619A (en) * 2017-10-17 2019-04-23 华为技术有限公司 A kind of method, equipment and system handling message
CN112187609A (en) * 2020-09-21 2021-01-05 新华三信息安全技术有限公司 Table entry generation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577417A (en) * 2014-11-06 2016-05-11 杭州华三通信技术有限公司 VXLAN (virtual extensible local area network)-based massage forwarding method and device
US20160149751A1 (en) * 2014-11-21 2016-05-26 Cisco Technology, Inc. Recovering from virtual port channel peer failure
CN106130819A (en) * 2016-07-04 2016-11-16 锐捷网络股份有限公司 The detection method of VTEP exception and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577417A (en) * 2014-11-06 2016-05-11 杭州华三通信技术有限公司 VXLAN (virtual extensible local area network)-based massage forwarding method and device
US20160149751A1 (en) * 2014-11-21 2016-05-26 Cisco Technology, Inc. Recovering from virtual port channel peer failure
CN106130819A (en) * 2016-07-04 2016-11-16 锐捷网络股份有限公司 The detection method of VTEP exception and device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11196589B2 (en) 2017-06-23 2021-12-07 New H3C Technologies Co., Ltd. Forwarding entry generation
CN108259299A (en) * 2017-06-23 2018-07-06 新华三技术有限公司 A kind of forwarding-table item generation method, device and machine readable storage medium
CN108259299B (en) * 2017-06-23 2020-04-03 新华三技术有限公司 Forwarding table item generating method and device and machine-readable storage medium
CN108259300A (en) * 2017-06-30 2018-07-06 新华三技术有限公司 Forward the method and device of broadcasting packet
CN107547373A (en) * 2017-07-17 2018-01-05 新华三技术有限公司 A kind of message forwarding method, device, equipment and machinable medium
CN107547373B (en) * 2017-07-17 2021-06-25 新华三技术有限公司 Message forwarding method, device, equipment and machine readable storage medium
CN107547402A (en) * 2017-07-19 2018-01-05 新华三技术有限公司 A kind of forwarding table generation method and device
CN109672619A (en) * 2017-10-17 2019-04-23 华为技术有限公司 A kind of method, equipment and system handling message
US11349687B2 (en) 2017-10-17 2022-05-31 Huawei Technologies Co., Ltd. Packet processing method, device, and system
CN109672619B (en) * 2017-10-17 2021-08-20 华为技术有限公司 Method, device and system for processing message
CN107682261A (en) * 2017-10-24 2018-02-09 新华三技术有限公司 Flow forwarding method and device
CN108337158B (en) * 2018-01-23 2020-12-04 新华三技术有限公司 Unicast message forwarding method and device
CN108337158A (en) * 2018-01-23 2018-07-27 新华三技术有限公司 Unicast message retransmission method and device
CN108199967A (en) * 2018-03-30 2018-06-22 新华三技术有限公司 Route processing method and device
CN108199967B (en) * 2018-03-30 2020-08-11 新华三技术有限公司 Route processing method and device
CN108768845B (en) * 2018-04-03 2021-04-27 新华三技术有限公司 Multi-homing host routing synchronization method and device
CN108768845A (en) * 2018-04-03 2018-11-06 新华三技术有限公司 A kind of multi-homed host route synchronization method and device
CN108900414A (en) * 2018-06-08 2018-11-27 新华三技术有限公司 Forwarding table generation method and device
CN109067634B (en) * 2018-09-28 2021-02-05 新华三技术有限公司 Forwarding table item creating method and device
CN109067634A (en) * 2018-09-28 2018-12-21 新华三技术有限公司 A kind of forwarding-table item creation method and device
CN112187609A (en) * 2020-09-21 2021-01-05 新华三信息安全技术有限公司 Table entry generation method and device
CN112187609B (en) * 2020-09-21 2022-01-25 新华三信息安全技术有限公司 Table entry generation method and device

Similar Documents

Publication Publication Date Title
CN106878183A (en) Flow forwarding method and device
CN106878166B (en) Route notification method and device
CN104243318B (en) MAC address learning method and device in VXLAN networks
CN106878047B (en) Fault handling method and device
CN108574614B (en) Message processing method, device and network system
CN106878048A (en) Fault handling method and device
CN104506408B (en) The method and device of data transfer based on SDN
CN105577417B (en) Message forwarding method and device based on VXLAN network
CN104243630B (en) MAC address learning method and device in VXLAN networks
CN111865779B (en) Route synchronization method and cross-device link aggregation group
CN105763440B (en) A kind of method and apparatus of message forwarding
CN104378299B (en) Flow table item processing method and device
CN101651630A (en) Switching method and switching device based on link fault
CN103581025B (en) Method and system for processing routing information and equipment
CN104184708B (en) Suppress the method and edge device ED of MAC Address attack in EVI networks
CN106559280A (en) Bidirectional forwarding detection (BFD) method and device
CN106533736A (en) Network device reboot method and apparatus
CN109218107A (en) Link switch-over method, device, the network equipment and network system
CN106341249A (en) Redundant port switching method and device
CN108259304A (en) A kind of forwarding-table item synchronous method and device
EP3255838B1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
CN107171840A (en) A kind of pretection switch method and apparatus based on ERPS agreements
CN109756419B (en) Routing information distribution method and device and RR
CN105592490B (en) A kind of route switching method and equipment
EP2858302A1 (en) Connectivity check method of service stream link, related apparatus and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170620

RJ01 Rejection of invention patent application after publication