CN111385182A - Traffic transmission method and device and physical topological structure - Google Patents

Traffic transmission method and device and physical topological structure Download PDF

Info

Publication number
CN111385182A
CN111385182A CN201811643610.8A CN201811643610A CN111385182A CN 111385182 A CN111385182 A CN 111385182A CN 201811643610 A CN201811643610 A CN 201811643610A CN 111385182 A CN111385182 A CN 111385182A
Authority
CN
China
Prior art keywords
lag
mode
election
result
determines
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811643610.8A
Other languages
Chinese (zh)
Other versions
CN111385182B (en
Inventor
陈齐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201811643610.8A priority Critical patent/CN111385182B/en
Priority to PCT/CN2019/130141 priority patent/WO2020135888A1/en
Publication of CN111385182A publication Critical patent/CN111385182A/en
Application granted granted Critical
Publication of CN111385182B publication Critical patent/CN111385182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a traffic transmission method and device and a physical topological structure. Specifically, the method comprises the following steps: determining an inter-device aggregation link group (MC-LAG) configuration information and protocol information of a Provider Edge (PE) according to the configured MC-LAG configuration information and protocol information of the PE; the PE performs DF election and determines an initial DF election result on an access link port AC; according to the LAG mode and the initial election result, the PE makes a decision on a DF election result on the AC; and the PE determines the final role of the access link port AC according to the DF election result after decision making. The invention solves the problem of inconsistent bidirectional service paths between CE and PE caused by different granularities of MC-LAG active/standby election and ES DF election, and makes DF election mechanism in ES multi-homing access scene more perfect.

Description

Traffic transmission method and device and physical topological structure
Technical Field
The invention relates to the field of communication, in particular to a traffic transmission method and device and a physical topological structure.
Background
EVPN technology is a main technology for data center two-layer interconnection, and IETF defines the control plane in RFC7432 while defining the data plane of MPLS EVPN in detail. Subsequently, based on RFC7432, IETF defines the control plane and forwarding plane of VxLAN EVPN in detail through "draft-IETF-less-EVPN-overlay-08", and RFC7623 defines the control plane and forwarding plane of PBB EVPN in detail. Whether MPLS EVPN, VxLAN EVPN or PBB EVPN, there is a corresponding description for the scenario of ES multi-homed access to PE, and a typical networking is as shown in FIG. 1.
RFC7432 uniquely identifies an ES with a multi-homed access feature in EVPN routes using the ESI (ethernet Segment identifier) field, whereas an ES with only a single homed access feature is represented by an ESI value of 0. A certain ES has more accesses to a plurality of PEs (provider edges), each PE accessed by the ES is called an adjacent PE of the ES, and ESI of the same ES on each adjacent PE is the same.
RFC7432 defines five classes of EVPN routes, the fourth of which is known as Ethernet SegmentRoute, also known as RT-4 route, and is used in MPLS EVPN, VxLAN EVPN, and PBBEVPN for DF elections.
One function of DF election is to, in a scenario where an ES is multi-homed to a PE, elect one of adjacent PEs as a DF and the other adjacent PEs as non-DF in order to prevent a multi-packet situation caused by a BUM (Broadcast/un-konwn Unicast/Multicast) packet from a remote PE entering the ES through multiple adjacent PEs of the ES at the same time, where only the DF can forward the BUM packet to the ES.
Another function of DF election is that in a scenario where ES is multi-homed to PE, when ES is in Single-Active mode, DF should be taken as Primary PE according to the standard requirement.
The Primary PE is responsible for serving as a Primary node for service forwarding, and other adjacent PEs are responsible for serving as standby nodes for service forwarding.
The DF election mechanism defined in the current standard is mainly to elect one of the adjacent PEs as DF and the other adjacent PEs as non-DF in the plurality of adjacent PEs of the ES by RT-4 routing through a set of election algorithms.
In fact, since DF elections are granular at < ES, VLAN >, different adjacent PEs may be elected as DF for different VLANs (virtual Local Area networks) of the same ES. In other words, different acs (attachmentcircuits) (corresponding to < ES, VLAN >) on the same ES, which is the same PE, may have different DF roles. For example, for AC1 (for < ESI1, VLAN1>) and AC2 (for < ESI1, VLAN2>) on PE1 and PE2, AC1 on PE1 is DF and AC2 is non-DF, and correspondingly, AC1 on PE2 is non-DF and AC2 is DF as shown in FIG. 2.
In the ES Multi-homing scenario, where dual-homing is the most common scenario, two neighboring PEs will typically be configured in MC-LAG (Multi-sessions Link Aggregation Group) fashion. When the MC-LAG is in a primary/standby mode and the ES is in a Single-Active mode, the primary/standby role and the DF role of the MC-LAG and the DF role of the ES are different in granularity, which may cause inconsistency of the primary/standby role and the DF role of the MC-LAG of the adjacent PE, further cause inconsistency of the bidirectional service path between the ce (customer edge) and the PE, and cause influence on service forwarding.
Disclosure of Invention
Embodiments of the present invention provide a traffic transmission method and apparatus, a physical topology structure, to at least solve a problem in the related art that bidirectional service paths between a CE and a PE are inconsistent due to different granularities of MC-LAG primary and standby elections and DF elections of an ES.
According to an embodiment of the present invention, there is provided a traffic transmission method, including: determining an inter-device aggregation link group (MC-LAG) configuration information and protocol information of a Provider Edge (PE) according to the configured MC-LAG configuration information and protocol information of the PE; the PE performs DF election and determines an initial DF election result on an access link port AC; according to the LAG mode and the initial election result, the PE makes a decision on a DF election result on the AC; and the PE determines the final role of the access link port AC according to the DF election result after decision making.
Optionally, when the LAG mode is a load sharing mode, the initial DF election result is the same as the DF election result after the decision.
Optionally, when the LAG mode is the active-standby mode, the method further includes: and the PE determines the main/standby mode information of the PE according to the MC-LAG configuration information and the protocol information.
Optionally, when the LAG mode is the active-standby mode, according to the LAG mode and the initial election result, the PE making a decision on the DF election result on the AC includes: when the master/standby mode information is a master mode, the PE determines that the DF role of the AC on the PE is DF; and when the main/standby mode information is in the standby mode, the PE determines that the DF role of the AC on the PE is non-DF.
Optionally, when the PE determines that the DF role of the AC on the PE is DF, the PE performs traffic transmission as a master device.
According to an embodiment of the present invention, there is provided a traffic transmission apparatus including: located in a provider edge device PE, comprising: a determining module, configured to determine an LAG mode of the PE according to configured MC-LAG configuration information and protocol information of an inter-device aggregation link group; the selecting module is used for performing DF selecting and determining an initial DF selecting result on an access link port AC; a decision module for making a decision on the DF election result on the AC according to the LAG mode and the initial election result; and the judging module is used for determining the final role of the access link port AC according to the DF election result after decision making.
According to an embodiment of the present invention, there is provided a physical topology based on EVPN service, including: a first provider edge PE, a second PE, a third PE, a first customer edge CE, and a second CE, wherein the first CE has dual-homed access to the first PE and the second PE, and the second CE has access to the third PE, comprising: the first PE and the second PE are used for determining corresponding LAG modes according to the MC-LAG configuration information and the protocol information of the inter-device aggregation link group configured by the first PE and the second PE respectively; DF election is respectively carried out, and an initial DF election result on an access link port AC is determined; the first PE negotiates with the second PE according to the corresponding LAG mode and the initial DF election result; and according to the negotiation result, the first PE and the second PE make a decision on the DF election result on the AC, and the final role of the access link port AC is determined according to the DF election result after the decision.
Optionally, when the LAG mode of the first PE and the second PE is the load sharing mode, the first PE and the second PE maintain the initial DF election result.
Optionally, when the LAG mode of the first PE and the second PE is the active/standby mode, the first PE and the second PE are further configured to determine active/standby mode information according to the MC-LAG configuration information and the protocol information, respectively.
Optionally, when a negotiation result of the first PE and the second PE is that the first PE is in a master mode and the second PE is in a standby mode, the first PE determines that a DF role of the AC on the first PE is DF and the second PE determines that the DF role of the AC on the second PE is non-DF, and when the first PE and the link to which the first PE belongs are not in failure, the first CE and the second CE perform traffic transmission through the first PE and the third PE. Otherwise, the first CE and the second CE perform traffic transmission via the second PE and the third PE.
Optionally, a negotiation result of the first PE and the second PE is that the second PE is a master mode, when the first PE is a standby mode, the first PE determines that a DF role of the AC on the first PE is non-DF, the second PE determines that the DF role of the AC on the second PE is DF, and when the second PE and the link to which the second PE belongs are not in failure, the first CE and the second CE perform traffic transmission through the second PE and the third PE. Otherwise, the first CE and the second CE perform traffic transmission via the first PE and the third PE.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the LAG mode of the PE is considered on DF election, and meanwhile, negotiation with other PEs capable of transmitting in a physical topological structure is required, so that the problem of inconsistency of bidirectional service paths between CE and PE caused by different granularities of MC-LAG active/standby election and ES DF election can be solved, and the DF election mechanism in an ES multi-homing access scene is more complete.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flow chart of a method for transmitting traffic according to an embodiment of the present invention;
fig. 2 is a block diagram of a traffic transmission apparatus according to an embodiment of the present invention;
FIG. 3 is a block diagram of a physical topology according to an embodiment of the present invention;
FIG. 4 is a block diagram of another physical topology according to an embodiment of the present invention;
fig. 5 is a block diagram of another physical topology according to an embodiment of the invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
In this embodiment, a method for transmitting traffic is provided, and fig. 1 is a flowchart of a method for transmitting traffic according to an embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
step S102, a Provider Edge (PE) determines an LAG mode of the PE according to configured MC-LAG configuration information and protocol information of an inter-multi-device aggregation link group;
step S104, the PE performs DF election and determines an initial DF election result on an access link port AC;
step S106, according to the LAG mode and the initial election result, the PE makes a decision on a DF election result on the AC;
and step S108, the PE determines the final role of the access link port AC according to the DF election result after decision making.
Optionally, when the LAG mode is a load sharing mode, the initial DF election result is the same as the DF election result after the decision.
Optionally, when the LAG mode is the active-standby mode, the method further includes: and the PE determines the main/standby mode information of the PE according to the MC-LAG configuration information and the protocol information.
Optionally, when the LAG mode is the active-standby mode, according to the LAG mode and the initial election result, the PE making a decision on the DF election result on the AC includes: when the master/standby mode information is a master mode, the PE determines that the DF role of the AC on the PE is DF; and when the main/standby mode information is in the standby mode, the PE determines that the DF role of the AC on the PE is non-DF.
Optionally, when the PE determines that the DF role of the AC on the PE is DF, the PE performs traffic transmission as a master device.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a traffic transmission device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 2 is a block diagram of a traffic transmission apparatus according to an embodiment of the present invention, and as shown in fig. 2, the apparatus includes:
a determining module 22, configured to determine an LAG mode of the PE according to configured MC-LAG configuration information and protocol information of an inter-multiple device aggregation link group;
an election module 24, configured to perform DF elections and determine an initial DF election result on an access link port AC;
a decision module 26, configured to make a decision on a DF election result on the AC according to the LAG mode and the initial election result;
and the judging module 28 is configured to determine a final role of the access link port AC according to the decided DF election result.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
In this embodiment, a physical topology structure is further provided, and the physical topology structure is used for implementing the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted.
Fig. 3 is a block diagram of a physical topology according to an embodiment of the present invention, as shown in fig. 3, the physical topology includes: a first provider edge PE31, a second PE32, a third PE33, a first customer edge CE34, and a second CE35, wherein the first CE34 has dual homing access to the first PE31 and the second PE32, and the second CE35 has access to the third PE 33; the first PE31 and the second PE32 are configured to determine a corresponding LAG mode according to the MC-LAG configuration information and the protocol information of the inter-device aggregation link group configured by each PE; DF election is respectively carried out, and an initial DF election result on an access link port AC is determined; the first PE31 negotiates with the second PE32 according to the corresponding LAG mode and the initial DF election result; and according to the negotiation result, the first PE31 and the second PE make a decision on the DF election result on the AC, and determine the final role (DF or non-DF) of the access link port AC according to the DF election result after the decision.
Optionally, when the LAG mode of the first PE31 and the second PE32 is the load sharing mode, the first PE and the second PE do not change the initial DF election result.
Optionally, when the LAG modes of the first PE31 and the second PE32 are the active/standby modes, the first PE31 and the second PE32 are further configured to determine active/standby mode information according to the MC-LAG configuration information and the protocol information, respectively.
Optionally, when the negotiation result of the first PE31 and the second PE32 is that the first PE31 is in the master mode and the second PE32 is in the standby mode, the first PE31 determines that the DF role of the AC on the first PE31 is DF, the second PE32 determines that the DF role of the AC on the second PE32 is non-DF, and when the first PE31 and the corresponding link do not have a failure, the first CE34 and the second CE35 perform traffic transmission via the first PE31 and the third PE 33. Otherwise, the first CE34 and the second CE35 transmit traffic via the second PE32 and the third PE33
Optionally, a negotiation result of the first PE31 and the second PE32 is that the second PE32 is in a master mode, when the first PE31 is in a standby mode, the first PE31 determines that a DF role of an AC on the first PE31 is non-DF, the second PE32 determines that the DF role of an AC on the second PE32 is DF, and when the second PE32 and the corresponding link do not have a failure, the first CE34 and the second CE35 perform traffic transmission via the second PE32 and the third PE 33. Otherwise, the first CE34 and the second CE35 perform traffic transmission via the first PE31 and the third PE 33.
In order to better understand the above technical solution, the following scenarios are also provided in this embodiment for understanding:
scene 1:
fig. 4 is a block diagram of another physical topology according to an embodiment of the invention. Taking MPLS EVPN as an example, MC-LAG is a master/standby mode, and ES is a Single-Active mode, the DF election and service forwarding flows are as follows:
as shown in fig. 4, a basic MPLS EVPN service is deployed in PE1, PE2, and PE3, where CE1 is dually accessed to PE1 and PE2, corresponding to ES being ESI1, a Single-Active mode is adopted, LAG is configured on CE1, MC-LAG is configured on PE1 and PE2, and a master-slave mode is adopted;
1. calculating DF roles of corresponding AC1 on PE1 and PE2 according to the RT-4 route, and assuming that AC1 on PE1 is non-DF and AC1 on PE2 is DF;
2. according to the configuration information of the MC-LAG, the operation result of the LACP and the negotiation result between the PE1 and the PE2, the main and standby roles of the PE1 and the PE2 are calculated, wherein the PE1 is used as a main role, and the PE2 is used as a standby role;
3. deciding a final DF election result according to the input information of the MC-LAG module and the EVPN control module, wherein AC1 on PE1 is DF, and AC1 on PE2 is non-DF;
4. in the direction from CE1 to CE2, since PE1 is the master of LAG, the traffic is sent from PE1, PE1 to PE3, and finally from PE3 to CE2, which are all sent from CE 1;
5. from CE2 to CE1, since AC1 on PE1 is DF, traffic is sent from CE2 to PE3, from PE3 to PE1, and finally from PE1 to CE 1;
detailed description of the preferred embodiment 2
Fig. 5 is a block diagram of another physical topology according to an embodiment of the invention. Taking VxLAN EVPN as an example, MC-LAG is in a load sharing mode, ES is in an All-Active mode, and DF election and service forwarding flows are as follows:
as shown in fig. 5, a basic VxLAN EVPN service is deployed in PE1, PE2, and PE3, where CE1 is dually accessed to PE1 and PE2, corresponding to ES being ESI1, an All-Active mode is adopted, LAG is configured on CE1, MC-LAG is configured on PE1 and PE2, and a load sharing mode is adopted;
1. according to the RT-4 routing, the DF roles of the corresponding AC1 on PE1 and PE2 are calculated, and the AC1 on PE1 is assumed to be non-DF, and the AC1 on PE2 is assumed to be DF.
And 2, MC-LAG modules on the PE1 and the PE2 calculate the main and standby roles of the PE1 and the PE2 according to the configuration information of the MC-LAG and the operation result of the LACP, and because the MC-LAG modules are in a load sharing mode, the PE1 and the PE2 are both main roles.
And 3, DF role decision modules on PE1 and PE2 decide a final DF election result according to the input information of the MC-LAG module and the EVPN control module, wherein AC1 on PE1 is non-DF, and AC1 on PE2 is DF.
4. From CE1 to CE2, because LAG is in load sharing mode, the service will be sent to PE1 and PE2 according to the Hash result, then sent to PE3 from PE1 and PE2, and finally sent to CE2 from PE 3;
5. from CE2 to CE1, because of All-Active mode, the traffic is sent from CE2 to PE3, then to PE1 and PE2 according to Hash result, and finally from PE1 and PE2 to CE 1.
Example 4
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, determining the LAG mode of the PE by the provider edge PE according to the configured MC-LAG configuration information and protocol information of the inter-multi-device aggregation link group;
s2, the PE performs DF election and determines the initial DF election result on the access link port AC;
s3, according to the LAG mode and the initial election result, the PE makes a decision on the DF election result on the AC;
s4, the PE determines the final role of the access link port AC according to the DF election result after decision.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, determining the LAG mode of the PE by the provider edge PE according to the configured MC-LAG configuration information and protocol information of the inter-multi-device aggregation link group;
s2, the PE performs DF election and determines the initial DF election result on the access link port AC;
s3, according to the LAG mode and the initial election result, the PE makes a decision on the DF election result on the AC;
s4, the PE determines the final role of the access link port AC according to the DF election result after decision.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. A method for transmitting traffic, comprising:
determining an inter-device aggregation link group (MC-LAG) configuration information and protocol information of a Provider Edge (PE) according to the configured MC-LAG configuration information and protocol information of the PE;
the PE performs DF election and determines an initial DF election result on an access link port AC;
according to the LAG mode and the initial election result, the PE makes a decision on a DF election result on the AC;
and the PE determines the final role of the access link port AC according to the DF election result after decision making.
2. The method of claim 1, wherein said initial DF election result is the same as said decided DF election result if said LAG mode is load sharing mode.
3. The method according to claim 1, wherein in case the LAG mode is a primary/standby mode, the method further comprises:
and the PE determines the main/standby mode information of the PE according to the MC-LAG configuration information and the protocol information.
4. The method of claim 3, wherein, in case the LAG mode is a master standby mode, the PE making a decision on the DF election result on the AC according to the LAG mode and the initial election result comprises:
when the master/standby mode information is a master mode, the PE determines that the DF role of the AC on the PE is DF;
and when the main/standby mode information is in the standby mode, the PE determines that the DF role of the AC on the PE is non-DF.
5. The method of claim 4, wherein when the PE determines that the DF role for the AC on the PE is DF, the PE performs traffic transmission as a master.
6. A traffic transmission apparatus, located in a provider edge PE, comprising:
a determining module, configured to determine an LAG mode of the PE according to configured MC-LAG configuration information and protocol information of an inter-device aggregation link group;
the selecting module is used for performing DF selecting and determining an initial DF selecting result on an access link port AC;
a decision module for making a decision on the DF election result on the AC according to the LAG mode and the initial election result;
and the judging module is used for determining the final role of the access link port AC according to the DF election result after decision making.
7. A physical topology based on EVPN traffic, comprising: a first provider edge PE, a second PE, a third PE, a first customer edge CE, and a second CE, wherein the first CE has dual-homed access to the first PE and the second PE, and the second CE has access to the third PE, comprising:
the first PE and the second PE are used for determining corresponding LAG modes according to the MC-LAG configuration information and the protocol information of the inter-device aggregation link group configured by the first PE and the second PE respectively; DF election is respectively carried out, and an initial DF election result on an access link port AC is determined;
the first PE negotiates with the second PE according to the corresponding LAG mode and the initial DF election result; and according to the negotiation result, the first PE and the second PE make a decision on the DF election result on the AC, and the final role of the access link port AC is determined according to the DF election result after the decision.
8. The physical topology of claim 7, wherein the first PE and the second PE maintain the initial DF election result when the LAG mode of the first PE and the second PE is a load sharing mode.
9. The physical topology of claim 7, wherein when the LAG mode of the first PE and the second PE is the active-standby mode, the first PE and the second PE are further configured to determine active-standby mode information according to the MC-LAG configuration information and the protocol information, respectively.
10. The physical topology of claim 9, wherein when a negotiation result of the first PE and the second PE is that the first PE is in a master mode and the second PE is in a standby mode, the first PE determines that a DF role of the AC on the first PE is DF and the second PE determines that the DF role of the AC on the second PE is non-DF, and when the first PE and the corresponding link have no failure, the first CE and the second CE perform traffic transmission via the first PE and the third PE. Otherwise, the first CE and the second CE perform traffic transmission via the second PE and the third PE.
11. The physical topology of claim 9, wherein a negotiation result of the first PE and the second PE is that the second PE is in a master mode, and when the first PE is in a standby mode, the first PE determines that a DF role of the AC on the first PE is non-DF, and the second PE determines that the DF role of the AC on the second PE is DF, and when the second PE and the corresponding link do not have a failure, the first CE and the second CE perform traffic transmission via the second PE and the third PE. Otherwise, the first CE and the second CE perform traffic transmission via the first PE and the third PE.
12. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 5 when executed.
13. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 5.
CN201811643610.8A 2018-12-29 2018-12-29 Traffic transmission method, device and system Active CN111385182B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811643610.8A CN111385182B (en) 2018-12-29 2018-12-29 Traffic transmission method, device and system
PCT/CN2019/130141 WO2020135888A1 (en) 2018-12-29 2019-12-30 Flow transmission method and device and physical topological structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811643610.8A CN111385182B (en) 2018-12-29 2018-12-29 Traffic transmission method, device and system

Publications (2)

Publication Number Publication Date
CN111385182A true CN111385182A (en) 2020-07-07
CN111385182B CN111385182B (en) 2022-04-29

Family

ID=71127547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811643610.8A Active CN111385182B (en) 2018-12-29 2018-12-29 Traffic transmission method, device and system

Country Status (2)

Country Link
CN (1) CN111385182B (en)
WO (1) WO2020135888A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159659A (en) * 2007-11-23 2008-04-09 清华大学 Method for multicast employing single static bidirectional sharing tree in flexible wire type tunnel
CN101826983A (en) * 2010-04-02 2010-09-08 中兴通讯股份有限公司 Dual-homing protection switching method, device and system
CN102088400A (en) * 2009-12-03 2011-06-08 华为技术有限公司 Provider edge (PE) equipment in virtual special network and switching method
CN102694718A (en) * 2011-03-25 2012-09-26 华为技术有限公司 Virtual private LAN service (VPLS) rapid rerouting method and equipment thereof
US8787149B1 (en) * 2012-02-01 2014-07-22 Juniper Networks, Inc. MAC address synchronization for multi-homing with multichassis link aggregation
CN108696416A (en) * 2017-04-12 2018-10-23 中兴通讯股份有限公司 A kind of VXLAN is mono- to return and dual homed hybrid access method, device and PE equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8004968B2 (en) * 2008-12-24 2011-08-23 Cisco Technology, Inc. Provider edge-controlled redundancy using pseudo link aggregation control protocol
CN108696414A (en) * 2017-04-05 2018-10-23 中兴通讯股份有限公司 Return cut-in method, device and more home nodes more
CN107566265B (en) * 2017-10-16 2018-08-21 中国联合网络通信有限公司广东省分公司 A kind of EVPN VXLAN gateway ESI redundancy cut-in methods under symmetrical forwarding model

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159659A (en) * 2007-11-23 2008-04-09 清华大学 Method for multicast employing single static bidirectional sharing tree in flexible wire type tunnel
CN102088400A (en) * 2009-12-03 2011-06-08 华为技术有限公司 Provider edge (PE) equipment in virtual special network and switching method
CN101826983A (en) * 2010-04-02 2010-09-08 中兴通讯股份有限公司 Dual-homing protection switching method, device and system
CN102694718A (en) * 2011-03-25 2012-09-26 华为技术有限公司 Virtual private LAN service (VPLS) rapid rerouting method and equipment thereof
US8787149B1 (en) * 2012-02-01 2014-07-22 Juniper Networks, Inc. MAC address synchronization for multi-homing with multichassis link aggregation
CN108696416A (en) * 2017-04-12 2018-10-23 中兴通讯股份有限公司 A kind of VXLAN is mono- to return and dual homed hybrid access method, device and PE equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
钟耿辉: "《基于VXLAN的EVPN技术研究与实现》", 《计算机技术与发展》 *

Also Published As

Publication number Publication date
WO2020135888A1 (en) 2020-07-02
CN111385182B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN110166356B (en) Method and network equipment for sending message
US10164782B2 (en) Method and system for constructing a loop free multicast tree in a data-center fabric
US10547538B2 (en) Packet forwarding method and apparatus
CA2882535C (en) Control device discovery in networks having separate control and forwarding devices
EP2544409B1 (en) Generic monitoring packet handling mechanism for OpenFlow 1.1
US8094584B2 (en) Node, network system, frame transfer method, and frame transfer program
US10148595B2 (en) Handling dynamic port/LAG changes without breaking communication in an extended bridge
US9678840B2 (en) Fast failover for application performance based WAN path optimization with multiple border routers
US11811511B2 (en) Method, apparatus, and system for communication between controllers in TSN
US9722861B2 (en) Fault-resilient broadcast, multicast, and unicast services
CN105340230A (en) Virtual chassis topology management
US20230300070A1 (en) Packet Sending Method, Device, and System
CN113037527B (en) Network slice creation method, message forwarding method and device thereof
CN113923092A (en) Processing method and controller for appointed forwarder and provider edge device
US9716651B2 (en) Distributed link aggregation group service handover method and device
WO2020114017A1 (en) Data center traffic exchange method and apparatus, device and storage medium
US20140112203A1 (en) Enhanced Fine-Grained Overlay Transport Virtualization Multi-Homing Using per-network Authoritative Edge Device Synchronization
WO2020244304A1 (en) Method for sending routing information, method and apparatus for routing selection
US20150036508A1 (en) Method and Apparatus For Gateway Selection In Multilevel SPB Network
EP3468286A1 (en) Method, device and system for data transmission, physical residential gateway and access node
CN111385182B (en) Traffic transmission method, device and system
CN113572685B (en) Information reporting method, information processing method, device and equipment
CN116074236A (en) Message forwarding method and device
CN111491334B (en) Load sharing method, device, system, single board and storage medium
CN108111419B (en) Path selection method and device

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