CN110050445A - Send and receive the method, apparatus and system of message - Google Patents

Send and receive the method, apparatus and system of message Download PDF

Info

Publication number
CN110050445A
CN110050445A CN201680091456.0A CN201680091456A CN110050445A CN 110050445 A CN110050445 A CN 110050445A CN 201680091456 A CN201680091456 A CN 201680091456A CN 110050445 A CN110050445 A CN 110050445A
Authority
CN
China
Prior art keywords
link
equipment
mode
pws
mac
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
CN201680091456.0A
Other languages
Chinese (zh)
Other versions
CN110050445B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN110050445A publication Critical patent/CN110050445A/en
Application granted granted Critical
Publication of CN110050445B publication Critical patent/CN110050445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/66Layer 2 routing, e.g. in Ethernet based MAN's
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3

Landscapes

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

Abstract

The application provides a kind of methods, devices and systems for sending and receiving message.Applied to EVPN, user side equipment is respectively connected to by least three links into the scene of at least three PE equipment, and at least three links form one group of link, this group of link is link section, and at least three PE equipment include the first PE equipment.The described method includes: when the redundant mode of the link section is more modes living, first PE equipment generates and sends first mode notice message to far-end PE equipment, first mode notice message includes the mark of the more modes and the link section living, and the mark of link section is for link section described in unique identification.First mode notice message can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section for noticing the far-end PE equipment, the part of links in the link section.The far-end PE equipment receives the first mode notice message sent from the first PE equipment.

Description

Send and receive the method, apparatus and system of message Technical field
The present embodiments relate to the communications field more particularly to a kind of method, apparatus and system for sending and receiving message.
Background technique
Ethernet Virtual Private Line network (English: Ethernet Virtual Private Network, it EVPN is) a kind of in multiprotocol label switching (English: Multi-Protocol Label Switching, MPLS) Virtual Private Line network (English: Virtual Private Network, VPN) technology of double layer network interconnection is provided on network.Currently, EVPN is used in the network design of major operator as the mainstream scheme that two layer services carry.EVPN technology uses Border Gateway Protocol (English: Border Gateway Protocol, BGP) the agreement as control plane, carry out Provider Edge (English: Provider Edge, PE the) (English: Media Access Control of the media access control between equipment, MAC) learn, MAC address learning and issuing process are transferred to control plane from traditional data plane, to which the MAC Address diffusion of flow flooding mode be greatly reduced, and ustomer premises access equipment can be supported to belong to access EVPN more, load balancing is realized convenient for management MAC Address.
User side equipment is connected usually using access ways such as ethernet links (for example, Virtual Local Area Network (English: Virtual Local Area Network, VLAN)) with PE equipment, accesses EVPN.From the foregoing, it will be observed that the considerable advantage of EVPN scheme first is that realize user side equipment more ownership access.However, the notice of redundant mode mostly living cannot be supported between PE equipment, so that the advantage of EVPN technology cannot be played effectively in the access EVPN technology such as current ethernet link.
Summary of the invention
The method, apparatus and system provided in an embodiment of the present invention for sending and receiving message, solve use Family side apparatus belongs in access EVPN more, does not support the redundant mode more lived, thus the problem of cannot effectively playing the advantage of EVPN technology, cannot support more single prepare mores standby or how living living.
To solve the above-mentioned problems, first aspect of the embodiment of the present invention provides a kind of method for sending message, applied to Ethernet Virtual Private Line network EVPN, user side equipment is respectively connected to by least three links into the scene of at least three Provider Edge PE equipment, at least three links form one group of link, this group of link is link section, and at least three PE equipment includes the first PE equipment, which comprises the first PE equipment obtains the redundant mode of the link section;When the redundant mode of the link section is more modes living, the first PE equipment is to far-end PE equipment sending mode notice message, the mode notice message includes indicating that the redundant mode of the link section is the information of more modes living and the mark of the link section, the mark of the link section is for link section described in unique identification, more modes living indicate that the part of links in the link section can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section.
More modes living are noticed to the far-end PE equipment by at least three PE equipment, the embodiment of the invention provides one kind to belong to the method that more redundant mode notices living are supported in access EVPN scene more, to effectively play the advantage of EVPN technology.
In the first possible implementation of the first aspect, further include: the first PE equipment sends target MAC (Media Access Control) address and next-hop network address to the far-end PE equipment, the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment, and the next-hop network address is the network address of the first PE equipment.
In the second possible implementation of the first aspect, further include: the first PE equipment sends MAC route messages to the far-end PE equipment, the MAC route messages include target MAC (Media Access Control) address and next-hop network address, the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment, and the next-hop network address is the network address of the first PE equipment.
MAC route messages are sent to the far-end PE equipment by the PE equipment being connected in at least three PE equipment with active links; the embodiment of the invention provides a kind of methods that more live loads are shared; not only the transmittability of bigger bandwidth was provided by load balancing, but also improves load using backup protection Share the reliability of forwarding.
In a third possible implementation of the first aspect, when the redundant mode of the link section is more modes living, the first PE equipment obtains the state of the first link between the user side equipment and the first PE equipment, and the state of first link is active or inactive;Correspondingly, the mode notice message further includes state and the next-hop network address of first link, the next-hop network address is the network address of the first PE equipment;The first PE equipment also sends MAC route messages to the far-end PE equipment, and the MAC route messages include target MAC (Media Access Control) address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment.
Corresponding link state is also noticed to the far-end PE equipment by at least three PE equipment, the embodiment of the invention provides a kind of methods that more live loads are shared, and can realize load balancing quickly, keep load balancing more balanced.
The third possible implementation with reference to first aspect, in a fourth possible implementation of the first aspect, the link is ethernet link, the link section is ethernet segment ES, the redundant mode of the link section is the redundant mode of the ES, and first link is the first ethernet link;Correspondingly, when the state of first ethernet link is to enliven, for the mode notice message for noticing the far-end PE equipment, the part ethernet link in the ES can be used for transmitting data flow, wherein, first ethernet link can be used for transmitting data flow;Or when the state of first ethernet link is inactive, the mode notice message is for noticing the far-end PE equipment, part ethernet link in the ES can be used for transmitting data flow, wherein first ethernet link may not be usable for transmitting data flow.
The state of the more modes and ethernet link living is noticed to the far-end PE equipment by at least three PE equipment; the embodiment of the invention provides a kind of ethernet links to belong to the method that more redundant modes living are supported in access EVPN scene more; to support more prepare mores living single standby or mostly living; not only the ethernet link transmittability of bigger bandwidth was provided by load balancing, but also improves the reliability of load balancing forwarding using backup protection.This method can realize ethernet link load balancing quickly, to keep the effect of ethernet link load balancing more balanced.
With reference to first aspect or first aspect the first to any possible implementation in second, in the fifth possible implementation of the first aspect, the mode notice message is that Border Gateway Protocol (BGP) updates Update message, the BGP Update message carries Ethernet and finds that Ethernet A-D is routed automatically, and the Ethernet A-D routing includes that ethernet segment identifies ESI field;The BGP Update message also carries ESI tag extension group attribute, and ESI tag extension group attribute includes sign of flag field, and the Flag field is used to carry the redundant mode of the ES.
By carrying redundant mode in BGP message, the embodiment of the present invention can efficiently use the notice of existing protocol realization ethernet link redundant mode.
With reference to first aspect or the first or the third or the 4th kind of possible implementation of first aspect, in the sixth possible implementation of the first aspect, the mode notice message is that Border Gateway Protocol (BGP) updates Update message, the BGP Update message carries Ethernet and finds that Ethernet A-D is routed automatically, and the Ethernet A-D routing includes that ethernet segment identifies ESI field;The BGP Update message also carries ESI tag extension group attribute, and ESI tag extension group attribute includes sign of flag field, and the Flag field is used to carry the redundant mode of the ES and the state of first ethernet link.
By carrying redundant mode in BGP message, the embodiment of the present invention can efficiently use the notice of existing protocol realization ethernet link redundant mode and link state.
The third possible implementation with reference to first aspect, in a seventh possible implementation of the first aspect, the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, the redundant mode of the link section is the redundant mode of the PWS, and first link is the first PW;Correspondingly, when the state of the first PW is to enliven, the mode notice message is for noticing the far-end PE equipment, and the part PW in the PWS can be used for transmitting data flow, wherein the first PW can be used for transmitting data flow;Or when the state of the first PW is inactive, the mode notice message is for noticing the far-end PE equipment, and the part PW in the PWS can be used for transmitting data flow, wherein the first PW may not be usable for transmitting data flow.
More modes living and PW are noticed to the far-end PE equipment by at least three PE equipment State; the embodiment of the invention provides a kind of PW to belong to the method that more redundant modes living are supported in access EVPN scene more; to support more prepare mores living single standby or mostly living; not only the PW transmittability of bigger bandwidth was provided by load balancing, but also improves the reliability of load balancing forwarding using backup protection.This method can realize PW load balancing quickly, to keep the effect of PW load balancing more balanced.
In the 8th kind of possible implementation of first aspect, the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS;When the redundant mode of the PWS is full mode living, the first PE equipment is to far-end PE equipment sending mode notice message, the mode notice message includes the mark of the full mode living and the link section, the mark of the link section indicates that all PW in the PWS may be used to transmitting data flow for link section described in unique identification, the full mode living.
The full mode living is noticed to the far-end PE equipment by at least three PE equipment, the embodiment of the invention provides a kind of PW to belong to the method that full redundant mode living is supported in access EVPN scene more, to provide the PW transmittability of bigger bandwidth by load balancing.
The 7th kind of possible implementation with reference to first aspect, in the 9th kind of possible implementation of first aspect, the mode notice message further includes the state of the first PW, and the state of the first PW is active.
The state of the full mode living and PW is noticed to the far-end PE equipment by at least three PE equipment, the embodiment of the invention provides a kind of PW to belong to the method that full redundant mode living is supported in access EVPN scene more, to provide the PW transmittability of bigger bandwidth by load balancing, and it can realize load balancing, quickly to which the effect of load balancing is more balanced.
In the tenth kind of possible implementation of first aspect, the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS;When the redundant mode of the PWS is single mode living, the first PE equipment is to far-end PE equipment sending mode notice message, the mode notice message includes the mark of the single mode and the link section living, the mark of the link section indicates that an only PW can be used for transmitting data flow in the PWS for link section described in unique identification, single mode living.
Single mode living is noticed to the far-end PE equipment by at least three PE equipment, the embodiment of the invention provides a kind of PW to belong to the method that single redundant mode living is supported in access EVPN scene more, so as to support the list of PW living single standby or single prepare more living.
A kind of possible implementation of the tenth with reference to first aspect, in the tenth kind of possible implementation of first aspect, the first PE equipment also obtains the state of the first PW, and the state of the first PW is active or inactive;The mode notice message further includes the state of the first PW;When the state of the first PW is to enliven, the mode notice message is for noticing the far-end PE equipment, and an only PW can be used for transmitting data flow in the PWS, wherein the first PW can be used for transmitting data flow;Or when the state of the first PW is inactive, the mode notice message is for noticing the far-end PE equipment, and an only PW can be used for transmitting data flow in the PWS, wherein the first PW may not be usable for transmitting data flow.
The state of the single mode and PW living is noticed to the far-end PE equipment by at least three PE equipment, the embodiment of the invention provides a kind of PW to belong to the method that single redundant mode living is supported in access EVPN scene more, so as to support the list of PW living single standby or single prepare more living.
The 7th kind with reference to first aspect is to a kind of the tenth any possible implementation, in a kind of the tenth possible implementation of first aspect, the mode notice message is that Border Gateway Protocol (BGP) updates Update message, the BGP Update message carries Ethernet and finds that Ethernet A-D is routed automatically, the Ethernet A-D routing includes the field of instruction PWSI, and the field of the instruction PWSI is ethernet segment mark ESI field or a field newly increased;The BGP Update message also carries ESI tag extension group attribute, ESI tag extension group attribute includes sign of flag field, and the Flag field is used to carry the state of the redundant mode of the PWS or the redundant mode for carrying the PWS and the first PW.
By carrying redundant mode in BGP message, the embodiment of the present invention can efficiently use the notice of existing protocol realization ethernet link redundant mode.
The 7th kind with reference to first aspect is to a kind of the tenth any possible implementation, in the 12nd kind of possible implementation of first aspect, the mode notice message be Border Gateway Protocol (BGP) more New Update message, the BGP Update message carries Ethernet and finds that Ethernet A-D is routed automatically, the Ethernet A-D routing includes the field of instruction PWSI, and the field of the instruction PWSI is ethernet segment mark ESI field or a field newly increased;The BGP Update message also carries ESI tag extension group attribute, and ESI tag extension group attribute includes sign of flag field, and the Flag field is used to carry the redundant mode of the PWS and the state of the first PW.
By carrying redundant mode in BGP message, the embodiment of the present invention can efficiently use the notice of existing protocol realization PW redundant mode and PW state.
Second aspect of the embodiment of the present invention provides a kind of method for receiving message, applied to Ethernet Virtual Private Line network EVPN, user side equipment is respectively connected to by least three links into the scene of at least three Provider Edge PE equipment, at least three links form one group of link, this group of link is link section, the at least three PE equipment includes the first PE equipment, the described method includes: far-end PE equipment receives the first mode notice message sent from the first PE equipment, the first mode notice message includes the redundant mode of the link section and the mark of the link section, the mark of the link section is for link section described in unique identification, the redundant mode of the link section is more modes living;The remote equipment PE obtains the mark of the link section, and when the redundant mode of the link section is more modes living, it can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section according to the part of links in the link sections that modes confirm that the mark of the link section is identified of living more.
More modes living of at least three PE equipment notice are received by the far-end PE equipment, the embodiment of the invention provides one kind to belong to the method that more redundant mode notices living are supported in access EVPN scene more, so as to effectively play the advantage of EVPN technology.
In the first possible implementation of the second aspect, the at least three PE equipment further includes the 2nd PE equipment, the method also includes: when the state of the second link between the state of the first link between the first PE equipment and the user side equipment and the 2nd PE equipment and the user side equipment is all to enliven, the far-end PE equipment receives the first MAC route messages and the 2nd MAC route messages from the first PE equipment and the 2nd PE equipment transmission respectively, the first MAC route messages include target MAC (Media Access Control) address and the first next-hop network address, the 2nd MAC routing disappears Breath includes the target MAC (Media Access Control) address and the second next-hop network address;The target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment, and first next-hop network address is the network address of the first PE equipment, and second next-hop network address is the network address of the 2nd PE equipment;The far-end PE equipment determines that the first link described in the link section and second link can with load balancing forward the data flow for going to the purpose MAC according to more mode, the mark of the link section, the first MAC route messages and the 2nd MAC route messages living in the first mode notice message, the far-end PE equipment.
The MAC route messages for the PE equipment being connected in at least three PE equipment with active links are received by the far-end PE equipment; the embodiment of the invention provides a kind of methods that more live loads are shared; not only the transmittability of bigger bandwidth was provided by load balancing, but also improves the reliability of load balancing forwarding using backup protection.
In conjunction with the first possible implementation of second aspect, in a second possible implementation of the second aspect, the far-end PE equipment is according to more modes living in the first mode notice message, the mark of the link section, the first MAC route messages and the 2nd MAC route messages, it includes: the far-end PE equipment according to more modes living in the first mode notice message that the far-end PE equipment, which determines that the first link described in the link section and second link can with load balancing forward the data flow for going to the purpose MAC, the mark of the link section, the target MAC (Media Access Control) address, first next-hop network address and second next-hop network address, generate MAC forwarding-table item, the MAC forwarding-table item include the target MAC (Media Access Control) address and Outgoing interface list, the outgoing interface list includes the first outgoing interface of the far-end PE equipment and the second outgoing interface of the remote equipment, and the far-end PE equipment is forwarded what the data stream load for going to the purpose MAC was shared from first outgoing interface and second outgoing interface;First outgoing interface is obtained according to first next-hop network address, and second outgoing interface is obtained according to second next-hop network address.
In the third possible implementation of the second aspect, the method also includes: the first mode notice message further includes the state of the first link, and the state of first link is active or inactive;The far-end PE equipment is according to more mode, the mark of the link section and first links living State determine whether first link between the first PE equipment and the user side equipment can be used for transmitting data flow.
The corresponding link state of at least three PE equipment notice is received by the far-end PE equipment, the embodiment of the invention provides a kind of methods that more live loads are shared, and can realize load balancing quickly, keep the effect of load balancing more balanced.
In conjunction with the third possible implementation of second aspect, in the fourth possible implementation of the second aspect, the at least three PE equipment further includes the 2nd PE equipment, the method also includes: far-end PE equipment receives the second mode notice message sent from the 2nd PE equipment, and the second mode notice message includes that the redundant mode of the link section is that mostly work modes, the states of second link are the active and described link segment identification;The far-end PE equipment determines that second link between the 2nd PE equipment and the user side equipment can be used for transmitting data flow according to the states for living mode, the mark of the link section and second link in the second mode notice message more;When the state of first link is to enliven, the far-end PE equipment determines that the first link described in the link section and second link can with load balancing transmitting data flows.
In conjunction with the 4th kind of possible implementation of second aspect, in a fifth possible implementation of the second aspect, when the state of first link is to enliven, the far-end PE equipment determines that the first link described in the link section and second link can with load balancing transmitting data flow includes: the first mode notice message further includes the first next-hop network address, and first next-hop network address is the network address of the first PE equipment;The second mode notice message further includes the second next-hop network address, and second next-hop network address is the network address of the 2nd PE equipment;The far-end PE equipment is according to more modes living, the link segment identification, the state of first link is active, the state of second link is active, first next-hop network address and second next-hop network address, generate the mapping relations of link information and next-hop network address information, the mapping relations indicate that first link and second link in the link section that the link segment identification is identified can be with the transmitting data flows of load balancing, the data flow reaches first link by the first PE equipment that first next-hop network address identifies, the data flow passes through the second next-hop network address label The 2nd PE equipment known reaches second link;Correspondingly, the far-end PE equipment also receives the MAC route messages from the first PE equipment, and the MAC route messages include target MAC (Media Access Control) address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment;The far-end PE equipment generates MAC forwarding-table item also according to the target MAC (Media Access Control) address and the mapping relations, the MAC forwarding-table item includes the target MAC (Media Access Control) address and outgoing interface list, the outgoing interface list includes the first outgoing interface of the far-end PE equipment and the second outgoing interface of the remote equipment, and the far-end PE equipment is forwarded what the data stream load for going to the purpose MAC was shared from first outgoing interface and second outgoing interface;First outgoing interface is obtained according to first next-hop network address, and second outgoing interface is obtained according to second next-hop network address.
In conjunction with second aspect the third to the 4th kind of any possible implementation, in the sixth possible implementation of the second aspect, the link is ethernet link, the link section is ethernet segment ES, the redundant mode of the link section is the redundant mode of the ES, and first link is the first ethernet link;Correspondingly, it includes: when the state of first ethernet link is to enliven that the far-end PE equipment determines whether first link between the first PE equipment and the user side equipment can be used for transmitting data flow according to the states for living mode, the mark of the link section and first link more, the far-end PE equipment determines that first ethernet link as an active links in the ES, can be used for transmitting data flow;Or when the state of first ethernet link is inactive, the far-end PE equipment determines first ethernet link as an inactive link in the ES, it is not possible to be used for transmitting data flow.
The state of the more modes and ethernet link living of at least three PE equipment notice is received by the far-end PE equipment; the embodiment of the invention provides a kind of ethernet links to belong to the method that more redundant modes living are supported in access EVPN scene more; to support more prepare mores living single standby or mostly living; not only the ethernet link transmittability of bigger bandwidth was provided by load balancing, but also improves the reliability of load balancing forwarding using backup protection.This method can realize ethernet link load balancing quickly, to keep the effect of ethernet link load balancing more balanced.
In conjunction with second aspect the first to the 6th kind of any possible implementation, in second aspect In 7th kind of possible implementation, the first mode notice message is that Border Gateway Protocol (BGP) updates Update message, the BGP Update message carries Ethernet and finds that Ethernet A-D is routed automatically, and the Ethernet A-D routing includes that ethernet segment identifies ESI field;The BGP Update message also carries ESI tag extension group attribute, ESI tag extension group attribute includes sign of flag field, and the Flag field is used to carry the state of the redundant mode of the ES or the redundant mode for carrying the ES and first ethernet link.
By carrying redundant mode in BGP message, the embodiment of the present invention can efficiently use the notice of existing protocol realization ethernet link redundant mode or the notice of ethernet link redundant mode and ethernet link state.
In conjunction with second aspect the third to the 4th kind of any possible implementation, in the 8th kind of possible implementation of second aspect, the link is pseudo-wire PW, the link section is pseudo- line segment PWS, the redundant mode of the link section is the redundant mode of the PWS, and first link is the first PW;Correspondingly, it includes: when the state of the first PW is to enliven that the far-end PE equipment determines whether first link between the first PE equipment and the user side equipment can be used for transmitting data flow according to the states for living mode, the mark of the link section and first link more, the far-end PE equipment determines that the first PW as one article of active links in the PWS, can be used for transmitting data flow;Or when the state of the first PW is inactive, the far-end PE equipment determines the first PW as one article of inactive link in the PWS, it is not possible to be used for transmitting data flow.
The state of the more modes and PW living of at least three PE equipment notice is received by the far-end PE equipment; the embodiment of the invention provides a kind of PW to belong to the method that more redundant modes living are supported in access EVPN scene more; to support more prepare mores living single standby or mostly living; not only the PW transmittability of bigger bandwidth was provided by load balancing, but also improves the reliability of load balancing forwarding using backup protection.This method can realize PW load balancing quickly, to keep the effect of PW load balancing more balanced.
In the 9th kind of possible implementation of second aspect, the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS, described The mark for being identified as the PWS of link;For the far-end PE when the redundant mode of the link section is full mode living, all PW in the PWS that the mark of the PWS according to the identity validation of the full mode living and the PWS is identified can be used for transmitting data flow.
The full mode living of at least three PE equipment notice is received by the far-end PE equipment, the embodiment of the invention provides a kind of PW to belong to the method that full redundant mode living is supported in access EVPN scene more, to provide the PW transmittability of bigger bandwidth by load balancing.
In conjunction with the third possible implementation of second aspect, in the tenth kind of possible implementation of second aspect, the link is pseudo-wire PW, the link section is pseudo- line segment PWS, the redundant mode of the link section is the redundant mode of the PWS, the mark for being identified as the PWS of the link, first link are the first PW, and the state of the first PW is active;For the far-end PE when the redundant mode of the link section is full mode living, all PW in the PWS according to the identity validation of the full mode living and the PWS may be used to transmitting data flow.
The state of the full mode living and PW of at least three PE equipment notice is received by the far-end PE equipment, the embodiment of the invention provides a kind of PW to belong to the method that full redundant mode living is supported in access EVPN scene more, to provide the PW transmittability of bigger bandwidth by load balancing, and load balancing can be realized quickly, keeps effect more balanced.
In a kind of the tenth possible implementation of second aspect, the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS, the mark for being identified as the PWS of the link;For the far-end PE when the redundant mode of the link section is single mode living, an only PW can be used for transmitting data flow in the PWS that the mark of the PWS according to the identity validation of single mode living and the PWS is identified.
Single mode living of at least three PE equipment notice is received by the far-end PE equipment, the embodiment of the invention provides a kind of PW to belong to the method that single redundant mode living is supported in access EVPN scene more, so as to support the list of PW living single standby or single prepare more living.
In conjunction with the third possible implementation of second aspect, in the 12nd kind of possible implementation of second aspect, the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, the link The redundant mode of section is the redundant mode of the PWS, and the mark for being identified as the PWS of the link, first link is the first PW, and the state of the first PW is active or inactive;The far-end PE is that the first PW actively and in the PWS that is identified of the mark of PWS described in the identity validation of the PWS can be used for transmitting data flow according to single mode living, the state of the first PW when the state that the redundant mode of the link section is single living mode and the first PW is to enliven.
In conjunction with the first or the 9th kind of second aspect or a kind of the tenth implementation, in the 13rd kind of possible implementation of second aspect, the mode notice message is that Border Gateway Protocol (BGP) updates Update message, the BGP Update message carries Ethernet and finds that Ethernet A-D is routed automatically, the Ethernet A-D routing includes the field of instruction PWSI, and the field of the instruction PWSI is ethernet segment mark ESI field or a field newly increased;The BGP Update message also carries ESI tag extension group attribute, and ESI tag extension group attribute includes sign of flag field, and the Flag field is used to carry the redundant mode of the PWS.
By carrying redundant mode in BGP message, the embodiment of the present invention can efficiently use the notice of existing protocol realization PW redundant mode.
In conjunction with the implementation of the third or the 4th kind or the 8th kind or the 9th kind or the 12nd kind of second aspect, in the 14th kind of possible implementation of second aspect, the mode notice message is that Border Gateway Protocol (BGP) updates Update message, the BGP Update message carries Ethernet and finds that Ethernet A-D is routed automatically, the Ethernet A-D routing includes the field of instruction PWSI, and the field of the instruction PWSI is ethernet segment mark ESI field or a field newly increased;The BGP Update message also carries ESI tag extension group attribute, and ESI tag extension group attribute includes sign of flag field, and the Flag field is used to carry the redundant mode of the PWS and the state of the first PW.
By carrying redundant mode in BGP message, the embodiment of the present invention can efficiently use the notice of existing protocol realization PW redundant mode and PW state.
The third aspect, the present invention provide a kind of first PE equipment, and the first PE equipment is used to execute the method in any possible implementation of first aspect or first aspect.Specifically, described first PE equipment includes the module for executing the method in any possible implementation of first aspect or first aspect.
Fourth aspect, the present invention provide a kind of first PE equipment, and the first PE equipment includes: processor, transmitter, random access memory, read-only memory and bus.Wherein, processor is respectively coupled to transmitter, random access memory and read-only memory by bus.Wherein, when needing to run the first PE equipment, system is guided to be started by the bootloader in the basic input output system or embedded system that are solidificated in read-only memory, the first PE equipment of guidance enters normal operating condition.After the first PE equipment enters normal operating condition, application program and operating system are run in random access memory, so that the processor executes the method in any possible implementation of first aspect or first aspect.
5th aspect, the present invention provides a kind of computer-readable medium, and for storing computer program, which includes the instruction for executing the method in any possible implementation of first aspect or first aspect.
6th aspect provides a kind of first PE equipment, and the first PE equipment includes: that master control borad and interface board can also include further network board.The first PE equipment is used to execute the method in any possible implementation of first aspect or first aspect.Specifically, the first PE equipment includes the module for executing the method in any possible implementation of first aspect or first aspect.
7th aspect provides a kind of first PE equipment, and the first PE equipment includes controller and the first PE forwarding device.The first PE forwarding device includes: interface board, can also include network board further.The first PE equipment is used to execute the function of the interface board in the 6th aspect, further, the function of network board in the 6th aspect can also be performed.The controller includes receiver, processor, transmitter, random access memory, read-only memory and bus.Wherein, processor is respectively coupled to receiver, transmitter, random access memory and read-only memory by bus.Wherein, when needing to run controller, system is guided to be started by the bootloader in the basic input output system or embedded system that are solidificated in read-only memory, guidance controller enters normal Operating status.After controller enters normal operating condition, application program and operating system are run in random access memory, so that the processor executes the function of master control borad in the 6th aspect.
Eighth aspect, the present invention provide a kind of far-end PE equipment, and the far-end PE equipment is used to execute the method in any possible implementation of second aspect or second aspect.Specifically, the far-end PE equipment includes the module for executing the method in any possible implementation of second aspect or second aspect.
9th aspect, the present invention provide a kind of far-end PE equipment, and the far-end PE equipment includes: receiver, processor, transmitter, random access memory, read-only memory and bus.Wherein, processor is respectively coupled to receiver, transmitter, random access memory and read-only memory by bus.Wherein, when needing to run far-end PE equipment, system is guided to be started by the bootloader in the basic input output system or embedded system that are solidificated in read-only memory, guidance far-end PE equipment enters normal operating condition.After far-end PE equipment enters normal operating condition, application program and operating system are run in random access memory, so that the processor executes the method in any possible implementation of second aspect or second aspect.
Tenth aspect, the present invention provides a kind of computer-readable medium, and for storing computer program, which includes the instruction for executing the method in any possible implementation of second aspect or second aspect.
On the one hand tenth, provides a kind of far-end PE equipment, the far-end PE equipment includes: that master control borad and interface board can also include further network board.The far-end PE equipment is used to execute the method in any possible implementation of second aspect or second aspect.Specifically, the far-end PE equipment includes the module for executing the method in any possible implementation of second aspect or second aspect.
12nd aspect, provides a kind of far-end PE equipment, the far-end PE equipment includes controller and far-end PE forwarding device, wherein the far-end PE forwarding device includes: interface board, can also include network board further.Further the function of network board in the tenth one side can also be performed in the function that the far-end PE forwarding device is used to execute the interface board in the tenth one side.The control Device processed includes receiver, processor, transmitter, random access memory, read-only memory and bus.Wherein, processor is respectively coupled to receiver, transmitter, random access memory and read-only memory by bus.Wherein, when needing to run controller, system is guided to be started by the bootloader in the basic input output system or embedded system that are solidificated in read-only memory, guidance controller enters normal operating condition.After controller enters normal operating condition, application program and operating system are run in random access memory, so that the processor executes the function of master control borad in the tenth one side.
13rd aspect, provides a kind of system, and the system comprises the third aspect far-end PE equipment any to the 12nd aspect to the 7th aspect any the first PE equipment and eighth aspect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, the drawings to be used in the description of the embodiments or prior art will be briefly described below.It should be evident that is reflected in following accompanying drawings is only that a part of the embodiments of the present invention without any creative labor, can also be obtained according to these attached drawings other embodiments of the invention for those of ordinary skill in the art.And all these embodiments or embodiment are all within protection scope of the present invention.
Fig. 1 a is that a kind of ethernet link of the embodiment of the present invention returns the network diagram of access EVPN more;
Fig. 1 b is that a kind of PW of the embodiment of the present invention returns the network diagram of access EVPN more;
Fig. 2 is a kind of redundant mode notifying method process interaction schematic diagram in the embodiment of the present invention;
Fig. 3 a is a kind of redundant mode notice procedures interaction schematic diagram for not carrying ethernet link state in the embodiment of the present invention;
Fig. 3 b is a kind of redundant mode notice procedures interaction schematic diagram for carrying ethernet link state in the embodiment of the present invention;
Fig. 3 c is a kind of MP_REACH_NLRI field format schematic diagram in the embodiment of the present invention;
Fig. 3 d is a kind of EVPN NLRI field format schematic diagram in the embodiment of the present invention;
Fig. 3 e is a kind of Ethernet A-D route field form schematic diagram in the embodiment of the present invention;
Fig. 3 f is a kind of ESI Label Extended community field form schematic diagram in the embodiment of the present invention;
Fig. 4 a is a kind of redundant mode notice procedures interaction schematic diagram for not carrying PW state in the embodiment of the present invention;
Fig. 4 b is a kind of redundant mode notice procedures interaction schematic diagram for carrying PW state in the embodiment of the present invention;
Fig. 4 c is ESI field format schematic diagram in the embodiment of the present invention;
Fig. 5 a is a kind of structural schematic diagram of first PE equipment provided in an embodiment of the present invention;
Fig. 5 b is the structural schematic diagram of another first PE equipment and controller provided in an embodiment of the present invention;
Fig. 5 c is the structural schematic diagram of another the first PE equipment provided in an embodiment of the present invention;
Fig. 5 d is the structural schematic diagram of another the first PE equipment provided in an embodiment of the present invention;
Fig. 6 a is a kind of structural schematic diagram of far-end PE equipment provided in an embodiment of the present invention;
Fig. 6 b is the structural schematic diagram of another far-end PE equipment and controller provided in an embodiment of the present invention;
Fig. 6 c is the structural schematic diagram of another far-end PE equipment provided in an embodiment of the present invention;
Fig. 6 d is the structural schematic diagram of another far-end PE equipment provided in an embodiment of the present invention;
Fig. 7 is one of embodiment of the present invention network system schematic diagram;
Specific embodiment
Below in conjunction with attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art's every other embodiment obtained under that premise of not paying creative labor, shall fall within the protection scope of the present invention.
The network architecture and business scenario of description of the embodiment of the present invention are the technical solutions in order to more clearly illustrate the embodiment of the present invention, the restriction for technical solution provided in an embodiment of the present invention is not constituted, those of ordinary skill in the art are it is found that with the differentiation of the network architecture and going out for new business scene Existing, technical solution provided in an embodiment of the present invention is equally applicable for similar technical problem.
The technical solution that the present invention describes can be adapted in the EVPN based on BGP MPLS.EVPN technology, which uses, is similar to BGP/MPLS Internet protocol (English: Internet Protocol, IP) the mechanism of VPN, by extending bgp protocol, using the reachability information after extension, MAC address learning and issuing process between the double layer network of different websites is made to be transferred to control plane from data plane.The function of L2VPN is realized by learning MAC Address in control plane.Learn MAC Address in control plane, can solve data plane carry out user side equipment caused by MAC address learning belong to more realize it is difficult, can not holding load the problems such as sharing.
It is needed for different application demands and different network designs, the deployment that user side equipment belongs to access EVPN more generally includes ethernet link and access EVPN and pseudo-wire (English: Pseudo Wire, PW) is returned to return access two kinds of scenes of EVPN more more.One user side equipment is known as user side equipment by the deployment that multilink is respectively coupled to multiple network equipments and belongs to access more.User side equipment can be customer edge (English: Customer Edge, CE) equipment or lower layer PE (English: Underlayer PE, UPE) equipment in different deployment scenarios.The following detailed description of both scenes.
Fig. 1 a shows the scene that typical ethernet link returns access EVPN more, and CE1 passes through ethernet link (English: Ethernet Link, EL) 1, EL2 and EL3 respectively and is connected to PE1-1, PE1-2 and PE1-3.One ethernet segment (English: Ethernet Segment, ES) is formed by one group of ethernet link that this three ethernet links are constituted.Ethernet segment mark (English: Ethernet Segment Identifier, ESI) is a unique non-zero mark, for identifying ethernet segment ES.The MAC Address of UE1 is flooded to PE1-1, PE1-2 and PE1-3 by CE1, thus MAC Address of PE1-1, PE1-2 and PE1-3 study to the CE1 being connected with them UE1 sent, and PE2 will pass through PE1-1, PE1-2 or PE1-3 and connect with CE1.Therefore from CE1 apart from close angle or from the MAC Address of the UE1 as the local terminal of PE1-1, PE1-2 and PE1-3 or the angle of local (English: Local) MAC Address for, PE1-1, PE1-2 and PE1-3 are proximal end PE.Similarly on the contrary, PE2 is distal end (English from for angle of the CE1 apart from remote angle or from the MAC Address of the UE1 as the Local MAC Address of PE1-1, PE1-2 and PE1-3 Text: remote) PE equipment.The MAC routing in website (English: site) 1 and site2 of route messages notice VPN1 is noticed between PE1-1, PE1-2, PE1-3 and PE2 by BGP MAC, such as, user equipment (English: User Equipment in site1, UE) the MAC Address of 1 MAC Address and the UE2 in site2, to realize the intercommunication of the UE1 and UE2 in VPN1.Moreover, can realize intercommunication by more home links between CE1 and PE1-1, PE1-2 and PE1-3 between UE1 and UE2.
However, although the considerable advantage of EVPN scheme first is that realize user side equipment more ownership access, but in current ethernet link access EVPN technology, (English: Ethernet Auto-Discovery is found by BGP Ethernet automatically between PE equipment, Ethernet A-D) message, single redundant mode living or entirely living can only be noticed, redundant mode mostly living can not be supported to notice, the advantage that EVPN technology cannot effectively be played cannot support more prepare mores living single standby or mostly living.
Belonging in deployment scenario ethernet link more, so-called singly living redundant mode (referred to as single mode living) refer to only have in ethernet link section an ethernet link state be it is active, the state of other one or more of ethernet links is inactive.Active state means that the ethernet link can be used for carrying, transmitting data flow.Under the scene of main-apparatus protection, it is typically used as primary ethernet link.Correspondingly, the state of ethernet link can also be inactive, and an inactive state means that the ethernet link may not be usable for carrying, transmitting data flow, be typically used as spare ethernet link.When primary ethernet link failure, spare ethernet link can be switched to carry, transmitting data flow.So, deployment scenario under list mode living may include single work (there was only an EL in ES), list is lived, and list is standby (to have two EL in ES, one state is active, another state is inactive) and singly prepare more living (has at least three EL in ES, one state be it is active, in addition at least two states be it is inactive).Be explained further in conjunction with Fig. 1 a, if only have in the ES Ethernet link EL1 be it is active, be used as primary EL, and other EL2 and EL3 be all it is inactive, be used as backup EL, then this redundant mode is single living double standby (belonging to single prepare more of living).
Belonging in deployment scenario ethernet link more, so-called living redundant mode (referred to as mode living entirely) entirely refer to the state of ethernet link all in ethernet link section be all it is active, i.e., it is not non-live The ethernet link of jump state.The ethernet link of all these active states may be implemented to forward data stream with carrying out load balancing, to provide the transmittability of bigger bandwidth.But the scene of mode living is not supported to back up entirely, i.e., without that when one or more primary ethernet link breaks down, spare ethernet link can not be switched to and carry out redundancy protecting as spare ethernet link.It is explained further in conjunction with Fig. 1 a, if all three Ethernet links EL1, EL2 and EL3 in the ES are that actively, then without backup EL, then this redundant mode is full mode living.
Thus; although primary ethernet link that single mode living has at least one spare ethernet link active to single is protected; but the ethernet link for carrying data flow only has one, can not carry out load balancing, cannot neatly provide the transmittability of bigger bandwidth.Although and live full mode can holding load share, the transmittability of bigger bandwidth is provided, is not protected without spare ethernet link, when the failure of primary ethernet link, can not masterslave switchover, reliability is poor.
The present invention by belonging to the more modes living of extension in scene more ethernet link; and more modes living are communicated in far-end PE; to instruct the PE equipment of distal end to be sent to what data stream load was shared in the PE equipment of proximal end; further utilize the ethernet link between proximal end PE equipment and CE; realize the forwarding of load balancing; backup protection can also be carried out with inactive ethernet link simultaneously, the transmittability of bigger bandwidth not only be provided by load balancing, but also improve reliability using backup protection.
It is worth noting that, belonging in deployment scenario ethernet link more, so-called more living redundant mode (referred to as more modes living) refer to the state of the part ethernet link in ethernet link section be it is active, the state of another part ethernet link is inactive.The ethernet link (being used as primary ethernet link) of these active states may be implemented to forward data stream with carrying out load balancing, to provide the transmittability of bigger bandwidth.And the ethernet link of another part an inactive state is used as backup, when one or more primary ethernet link breaks down, can be switched to these spare ethernet links and carry out redundancy protecting.It is explained further in conjunction with Fig. 1 a, if two in the ES ethernet link EL1 and EL2 are active state, EL3 is the forwarding that an inactive state, then EL1 and EL2 are joined together to data stream progress load balancing, and EL3 provides backup protection for EL1 or EL2.
Fig. 1 b shows the scene that PW returns access EVPN more.Under this layering deployment scenario, PE equipment UPE and upper layer PE (English: Superstratum PE, SPE) two classes have been subdivided into.The UPE is the convergence device of user, that is, the equipment for being directly connected to CE, also referred to as user side PE.The SPE is the equipment for connecting UPE and being located at network internal, also referred to as exchange PE.PW can be described as pseudo-wire, alternatively referred to as virtual link.It will be appreciated by those skilled in the art that the meaning of these terms.In the scene shown in Fig. 1 b, user-end provider edge passes through PW1, PW2, PW3 and PW4 respectively and is connected to SPE1-1, SPE1-2, SPE1-3 and SPE1-4.One group of PW link being made of this four PW is referred to as a pseudo- line segment (English: Pseudo Wire Segment, PWS).Pseudo-wire segment identification (English: Pseudo Wire Segment Identifier, PWSI) is a unique non-zero mark, for identifying a pseudo- line segment.The MAC Address (for Local MAC Address) of UE1 is by CE1, then UPE is flooded to SPE1-1, SPE1-2, SPE1-3 and SPE1-4, to the MAC Address of SPE1-1, SPE1-2, SPE1-3 and SPE1-4 study to the UPE being connected with them UE1 sent, and PE2 will pass through SPE1-1, SPE1-2, SPE1-3 or SPE1-4 and connect with UPE.Therefore from for angle of the UPE or CE1 apart from close angle or from the MAC Address of the UE1 as the Local MAC Address of SPE1-1, SPE1-2, SPE1-3 and SPE1-4, SPE1-1, SPE1-2, SPE1-3 and SPE1-4 are proximal end PE.Similarly on the contrary, PE2 is far-end PE equipment from for angle of the UPE apart from remote angle or from the MAC Address of the UE1 as the Local MAC Address of SPE1-1, SPE1-2, SPE1-3 and SPE1-4.The MAC noticed between SPE1-1, SPE1-2, SPE1-3, SPE1-4 and PE2 by bgp protocol in website (English: site) 1 and site2 of VPN1 is routed, such as, user equipment (English: User Equipment in site1, UE) the MAC Address of 1 MAC Address and the UE2 in site2, to realize the intercommunication of the UE1 and UE2 in VPN1.Moreover, can realize intercommunication by more home links between UPE and SPE1-1, SPE1-2, SPE1-3 and SPE1-4 between UE1 and UE2.
However, although the considerable advantage of EVPN scheme first is that realize user side equipment more ownership access, but in PW access EVPN technology, single work, more redundant modes living or entirely living cannot be noticed between PE equipment, the advantage that EVPN supports more ownership accesses cannot be effectively played, cannot support to live more List prepare more list single standby or list prepare more living living standby perhaps mostly living, can not support modes mostly living and entirely under modes living to the progress PW load balancing forwarding of data stream.
Belonging in deployment scenario PW more, the meaning and description more than so-called single mode of living, full mode living and more modes living and above-mentioned ethernet link in ownership deployment scenario is close, ethernet link is only become PW, in order to succinct, foregoing description is please referred to, details are not described herein again.
More mode, full mode living and single modes living living are communicated in far-end PE more by the present invention by belonging to extension in scene more mode, full mode living and single modes living living PW.To; under more modes living; the notice instructs the PE equipment of distal end to be sent to what data stream load was shared in the SPE equipment of proximal end; further utilize the PW between proximal end SPE equipment and UPE; realize the forwarding of load balancing; backup protection can also be carried out with inactive PW simultaneously, the transmittability of bigger bandwidth was not only provided by PW load balancing, but also improve the reliability of PW load balancing forwarding using backup protection.Under full mode living, the notice instructs the PE equipment of distal end to be sent to what data stream load was shared in all proximal end SPE equipment, further utilize all proximal end SPE equipment all PW between UPE respectively, it realizes maximum PW load balancing forwarding, provides the maximum bandwidth within the scope of transmittability.Under singly mode living; the notice instructs the PE equipment of distal end to send data flow in a proximal end SPE equipment; further utilize the PW of the active state between proximal end SPE equipment and UPE; carry out the forwarding of data flow; backup protection can also be carried out to it with inactive PW simultaneously, improve reliability using backup protection.
It should be noted that CE equipment, PE equipment, user-end provider edge and SPE equipment can be router or interchanger.The usual side of CE equipment is connected with PE or user-end provider edge, and the other side is connected with UE, realizes user equipment transfer, access carrier network.UE may include the various handheld devices with wireless communication function, mobile unit, wearable device, computer equipment or the other processing equipments for being connected to radio modem, and various forms of user equipmenies, mobile station (English: Mobile Station, MS), terminal (English: terminal), terminal device (English: Terminal Equipment, TE) etc..For convenience of description, in the application, apparatus mentioned above is referred to as user equipment or UE.
It should also be noted that, PE and PE equipment is the same meaning in various embodiments of the present invention, can use mutually.Similarly, CE and CE equipment, UPE and user-end provider edge and SPE and SPE equipment can also use mutually.Heretofore described data flow can be known unicast data flow.
Described above is several possible application scenarios of the present invention, embodiment of the present invention will be further described based on this below.
Fig. 2 is a kind of method flow schematic diagram of more mode notices living provided in an embodiment of the present invention.This method is applied to Ethernet Virtual Private Line network, user side equipment is respectively connected to by least three links into the scene of at least three Provider Edge PE equipment, at least three links form one group of link, this group of link is link section, and at least three PE equipment includes the first PE equipment.
Scheme provided in an embodiment of the present invention includes 201 parts, 202 parts and 203 parts, and 201 parts and 202 parts execute in the first PE equipment, and 203 parts execute in far-end PE equipment, illustrate separately below.
In 201 parts, the first PE equipment obtains the redundant mode of the link section.
The redundant mode of the link section can be more modes living, full mode living or single mode living.The mode for the redundant mode that the first PE equipment obtains the link section can include but is not limited to following several:
Mode one, network administrator are by order line in advance by the redundant mode of the link section (for example, 1 represents more modes living, 2 represent full mode living, and 3 represent single mode living) configuration in the first PE equipment.
Mode two, the first PE equipment receive the message that other control management equipments are sent, and the redundant mode of the link section is carried in the message.First PE equipment is configured according to the redundant mode of the carrying in the message.
Redundant mode generating algorithm described in mode three, the first PE equipment self-operating automatically generates the redundant mode according to the algorithm software, and completes to configure according to the redundant mode of generation.
Mode four, in the software run on developing the first PE equipment, be provided with the default value of redundant mode parameter in software code in advance, such as mode is more living modes.
In 202 and 203 parts, when the redundant mode of the link section is more modes living, the first PE equipment generates and sends first mode notice message to far-end PE equipment, the first mode notice message includes the mark of the more modes and the link section living, and the mark of the link section is for link section described in unique identification.The first mode notice message can be used for forwarding known unicast data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section for noticing the far-end PE equipment, the part of links in the link section.The far-end PE equipment receives the first mode notice message sent from the first PE equipment.
At least three PE equipment further includes the 2nd PE equipment and the 3rd PE equipment, the 2nd PE equipment and the 3rd PE equipment also obtain the redundant mode of the link section respectively, and (mode of acquisition is identical as the first PE equipment, it please refers to, details are not described herein again), then it generates respectively and sends second mode notice message and the third mode notice message to the far-end PE equipment, the second mode notice message and the third mode notice message also respectively include the mark of the more modes and the link section living.The second mode notice message and the third mode notice message are also respectively used to notice the far-end PE equipment, part of links in the link section can be used for forwarding known unicast data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section.The far-end PE equipment receives the second mode notice message sent from the 2nd PE equipment and the third mode notice message from the 3rd PE equipment transmission.To in EVPN, realize the notice of more modes living between PE equipment, help to support more prepare mores living single standby or mostly living.It should be understood that at least three PE equipment can also include the 4th PE equipment, the 5th PE equipment etc. in actual deployment.
In addition, the PE equipment being connected in at least three PE equipment with the link of active state, can also send MAC route messages to far-end PE equipment, the MAC route messages include the MAC Address of UE, and the UE accesses the EVPN by the user side equipment.If the state of first link and second link is all active, the state of the third link is inactive, after then the first PE equipment and the 2nd PE equipment receive the MAC broadcasting packet (MAC Address that the source MAC in the message is the UE) that user side equipment is sent, the MAC Address of the UE is encapsulated into the first MAC route messages and the 2nd MAC route messages is advertised to far-end PE respectively.Because the state of third link is non- It is active, so no need to send MAC route messages for the 3rd PE equipment being connected with the third link.The far-end PE equipment receives the first MAC route messages from the first PE equipment and the 2nd MAC route messages from the 2nd PE equipment respectively, and using the first PE equipment and the 2nd PE equipment as the next-hop node for the MAC Address (for purpose MAC Address) for going to the UE, and then using first link being connected with the first PE equipment and second link being connected with the 2nd PE equipment, the transmitting data flow of load balancing is realized.This method needs the far-end PE equipment all active links could be used to carry out the transmitting data flow of load balancing jointly after the MAC route messages that all PE equipment being connected with active links received in at least three PE equipment are sent.It is, when the data flow of the UE is gone in forwarding, first link can only be used when the far-end PE equipment only receives the first MAC route messages that the first PE equipment is sent.When the far-end PE equipment continues to receive the 2nd MAC route messages that the 2nd PE equipment is sent, and the data flow of the UE is gone in forwarding, the forwarding of load balancing could be carried out using first link and second link simultaneously.
When a failure (for example, described second link failure) in first link and second link, spare third link is enabled.The 2nd PE equipment sends MAC route withdraw message to the remote equipment, and the 3rd PE equipment sends the 3rd MAC route messages to the remote equipment.First link described in the far-end PE equipment utilization and third link continue the transmitting data flow of load balancing.To not only provide the transmittability of bigger bandwidth by load balancing, but also the reliability of load balancing forwarding is improved using backup protection.
Described above is a kind of mode notifying method for not carrying link state, and here is a kind of mode notifying method for carrying link state.In one example, when the redundant mode of the link section is more modes living, the first PE equipment also obtains the state of the first link between the user side equipment and the first PE equipment, and the state of first link is active or inactive.Correspondingly, the first mode notice message further includes the state of first link.In the same way, the 2nd PE equipment and the 3rd PE equipment also obtain the second chain between the user side equipment and the 2nd PE equipment respectively The state of third link between the state on road and the user side equipment and the 3rd PE equipment, the state of second link are that the state of the active perhaps inactive third link is active or inactive.Correspondingly, the second mode notice message further includes the state of second link, the third mode notice message further includes the state of the third link.
The far-end PE equipment receives the first mode notice message from the first PE equipment from first interface, receives the second mode notice message from the 2nd PE equipment and the third mode notice message from third interface from the 3rd PE equipment from second interface.If the state of first link carried in the first mode notice message is that the state of second link carried in the active and second mode notice message is active, and the state of the third link carried in the third mode notice message is inactive, then the far-end PE equipment determines that first link and second link can combine the forwarding for carrying out load balancing, and the third link is for backing up first link or second link.
In addition, the PE equipment being connected in at least three PE equipment with the link of active state, can also send MAC route messages to far-end PE equipment, the MAC route messages include the MAC Address of UE, and the UE accesses the EVPN by the user side equipment.Therefore, after first PE equipment and the 2nd PE equipment receive the MAC broadcasting packet (MAC Address that the source MAC in the message is the UE) that user side equipment is sent, the MAC Address of the UE is encapsulated into the first MAC route messages and the 2nd MAC route messages is advertised to far-end PE respectively.Because the state of third link be it is inactive, no need to send MAC route messages for the 3rd PE equipment being connected with the third link.After the far-end PE equipment receives the first MAC route messages from the first PE equipment, the MAC Address of the UE is obtained.The far-end PE second link according to above-mentioned first link having determined can be used as the both links of load balancing, and generating using the MAC Address of the UE is purpose MAC Address, the first interface and the second interface as the MAC forwarding-table item of outgoing interface.Namely, in the far-end PE equipment, using the first PE equipment and the 2nd PE equipment as the next-hop node for the MAC Address for going to the UE, and then using first link being connected with the first PE equipment and second link being connected with the 2nd PE equipment, turning for load balancing is realized Send out data flow.
In the example of the notice link state, by carrying the status information of link in mode notice message, so that the far-end PE equipment be allow to determine to can be used in the active links of load balancing forwarding in advance.Then, in the MAC route messages that any one the PE equipment received in at least three PE equipment is sent, the far-end PE equipment can completely generate the MAC forwarding-table item for load balancing, all link transmitting data flows that can be used for load balancing can be used, load balancing can be realized quickly, the effect for improving load balancing, keeps load balancing more balanced.
When a failure (for example, described second link failure) in first link and second link, spare third link is enabled.The 2nd PE equipment sends fourth mode notice message to the remote equipment, and the state of second link carried in the fourth mode notice message is inactive.The 3rd PE equipment sends the 5th mode notice message to the remote equipment, and the state of the third link carried in the 5th mode notice message is active.The outgoing interface that the far-end PE equipment updates the MAC forwarding-table item is the first interface and the third interface.First link described in the far-end PE equipment utilization and third link continue the transmitting data flow of load balancing.To not only provide the transmittability of bigger bandwidth by load balancing, but also the reliability of load balancing forwarding is improved using backup protection.
It is worth noting that citing is the standby deployment way of dual-active list in the above-mentioned two methods embodiment that do not notice link state and notice link state.In actual deployment, it can also be the double standby deployment way of dual-active.For example, there is four links, wherein the first link and the second link are active state (being used as active link), third link and the 4th link are an inactive state (being used as reserve link).When primary the first link and second link all failures, it can be switched to spare third link and the 4th chain road simultaneously, continue the forwarding that load balancing is carried out with third link and the 4th link, concrete implementation mode, it is similar with the standby embodiment of dual-active list, the 4th link between the 4th PE equipment and user side equipment and the 4th PE equipment is only increased, the processing step and process in the 4th PE equipment are similar with the 3rd PE equipment, and details are not described herein again.The standby deployment way of dual-active list is compared, the double standby deployment way reliabilities of dual-active are higher.It should also be noted that, more living single standby can be with Standby including dual-active list, three living single standby, four living single standby etc., more work refer to the link active more than or equal to two.More prepare mores living may include more two standby, more work three living are standby, more work four are standby etc., and prepare more refers to more than or equal to two backup links.
Figure 2 above part describes more mode notices living in EVPN and realizes the embodiment that more live loads are shared, it should be noted that, the link can be ethernet link, and perhaps the PW link section can be ethernet link section perhaps the pseudo- line segment link segment identification can be ESI or PWSI.Method shown in Fig. 2 specifically can be applied in two kinds of deployment scenarios shown in Fig. 1 a and Fig. 1 b.It will be based on Fig. 2 the embodiment described below, and Fig. 1 a, Fig. 3 a and Fig. 3 b and Fig. 1 b, Fig. 4 a and Fig. 4 b is combined to describe to access the embodiment under EVPN and PW access two kinds of scenes of EVPN in ethernet link respectively.
For the scene of the access of the ethernet link shown in Fig. 1 a EVPN, Fig. 3 a shows that one kind provided in an embodiment of the present invention does not carry the mode how living notice of link state and the method flow of load balancing interacts schematic diagram.As shown in Figure 1a, CE1 passes through EL1, EL2 and EL3 respectively and more returns and be linked into PE1-1, PE1-2 and PE1-3, and UE1 is linked into EVPN by CE1, far-end PE PE2.EL1, EL2 and EL3 constitute an ethernet segment, and ESI is the mark of the ethernet segment.Shown in Fig. 3 a, following steps are executed on PE1-1:
3a-1101, the redundant mode for obtaining ES are more modes living (consistent described in the mode of acquisition and the part Fig. 2, details are not described herein again).
3a-1102, first mode notice message is generated, the first mode notice message includes more modes living and the ESI.For the first mode notice message for noticing PE2, the part ethernet link in the ES can be used for forwarding the data flow of known unicast.
3a-1103, the first mode notice message is sent to PE2.
The step similar on PE1-1 is executed on PE1-2 and PE1-3, principle is identical, is briefly described as follows herein, specifically please refers to the relevant description of above-mentioned PE1-1, repeats no more.
The redundant mode that PE1-2 and PE1-3 obtains ES respectively is more mode (mode and figure of acquisition living Consistent described in 2 parts, details are not described herein again).
PE1-2 generates second mode notice message, and the second mode notice message includes mode, the EL2 of living for active state and the ESI more.For the second mode notice message for noticing PE2, the part ethernet link in the ES can be used for forwarding the data flow of known unicast.And the second mode notice message is sent to PE2.
PE1-3 generates the third mode notice message, and the third mode notice message includes more modes living and the ESI.For the third mode notice message for noticing PE2, the part ethernet link in the ES can be used for forwarding the data flow of known unicast.And the third mode notice message is sent to PE2.
Following steps are executed on PE2:
3a-201, the first mode notice message from PE1-1 is received from interface (English: Interface, Intf) 1, the first mode notice message includes more modes living and the ESI.PE2 confirms that the redundant mode for the ES that the ESI is identified is more modes living.
3a-202, the second mode notice message from PE1-2 is received from Intf 2, the second mode notice message includes more modes living and the ESI.PE2 confirms that the redundant mode for the ES that the ESI is identified is more modes living.
3a-203, the third mode notice message from PE1-3 is received from Intf 3, the third mode notice message includes more modes living and the ESI.PE2 confirms that the redundant mode for the ES that the ESI is identified is more modes living.
Furthermore, the PE1-1 and PE1-2 being connected with EL1 and EL2 in active state, it will receive the MAC broadcasting packet (for carrying out mac learning) that CE1 is sent, the source MAC of the MAC broadcasting packet is the MAC Address of UE1, and target MAC (Media Access Control) address is broadcast address.PE1-1 and PE1-2 can also be generated respectively and be sent MAC route messages to PE2, and specific step is as follows.
PE1-1 can also execute step:
3a-1104, the first MAC route messages are generated, the first MAC route messages include UE1 MAC Address and next-hop network address 1, loopback (English: loopback) address that next-hop network address 1 is PE1-1.It should be noted that, loop-back address of the present invention is the IP address configured on the loopback interface of the network equipment (such as router, interchanger), be typically used as network device identity (such as, the address IPv4 of 32 bitmasks: 10.10.1.1/32), it will be appreciated by those skilled in the art that.
3a-1105, the first MAC route messages are sent.
PE1-2 can also execute step:
3a-1204, the 2nd MAC route messages are generated, the 2nd MAC route messages include MAC Address and the next-hop network address 2 of UE1, and next-hop network address 2 is the loop-back address of PE1-2.
3a-1205, the 2nd MAC route messages are sent.
PE2 can also execute step:
3a-204, the first MAC route messages from PE1-1 are received from Intf 1.PE2 is according to the next-hop network address 1 (for the loop-back address of PE1-1) carried in the first MAC route messages, using PE1-1 as the next-hop node for going to UE1.The control plane (for example, control panel of PE2) of PE2 generates MAC route table items (as shown in table 1), and the target MAC (Media Access Control) address of the MAC route table items is the MAC Address of the UE1, and next-hop network address is the loop-back address of PE1-1.Then, the control plane of PE2 generates MAC forwarding-table item (as shown in table 2) according to the MAC route table items, and sends the MAC forwarding-table item to the forwarding surface (for example, conversion board of PE2) of PE2.The target MAC (Media Access Control) address of the MAC forwarding-table item is the destination address (MAC Address of the i.e. described UE1) in the MAC route table items, and the outgoing interface of the MAC forwarding-table item is Intf1.The acquisition methods of the Intf1 may is that first, PE2 searches forwarding equivalence class (English: Forwarding Equivalence Class using the address loopback of the PE1-1 in the MAC route table items as purpose IP address (being also occurrence or key value), FEC) to next-hop label forwarding item (English: Next Hop Label Forwarding Entry, NHLFE) mapping table (being referred to as also FTN mapping table or FTN forwarding table) obtains the tunnel in the tunnel that outgoing interface corresponding with the address loopback of PE1-1 is PE2 to PE1-1 Mark (English: Tunnel Identifier, Tunnel ID);Then, tunnel forwarding table is searched with the Tunnel ID, obtaining outgoing interface corresponding with the Tunnel ID is Intf 1 (i.e. interface of the tunnel of PE2 to the PE1-1 on PE2).It should be noted that, the tunnel can be label switched path (Label Switched Path, LSP) tunnel is also possible to tunnel Resource Reservation Protocol-traffic engineering (Resource Reservation Protocol-Traffic Engineering, RSVP-TE) etc..The tunnel is for carrying known unicast data flow, for sake of simplicity, do not showed that in the embodiment of the present invention attached drawing 1a and 1b, it will be appreciated by those skilled in the art that.
Table 1:MAC routing table
Purpose MAC Next-hop network address list
The MAC Address of UE1 The address loopback of PE1-1
Table 2:MAC forwarding table
Purpose MAC Outgoing interface list
The MAC Address of UE1 Intf 1
When PE2 receives known unicast data flow (MAC Address that the target MAC (Media Access Control) address carried in data message is UE1) for going to UE1 from CE2, PE2 searches the MAC forwarding table (such as table 2), and acquisition outgoing interface is Intf1.Then PE2 forwards the message in the data flow from Intf 1, reaches PE1-1 by the tunnel of PE2 to PE1-1, to be forwarded using EL1 to UE1.
3a-205, the 2nd MAC route messages from PE1-2 are received from Intf 2.Similarly with above-mentioned 3a-204 step, PE2 is using PE1-2 as the next-hop node for going to UE1.The control plane of PE2 increases the loop-back address of PE1-2 in the next-hop network address list in the MAC routing table (as shown in table 1-1).Then, the control plane of PE2 obtains Intf 2 according to the loop-back address of PE1-2, and increases Intf 2 in the outgoing interface list of MAC forwarding-table item (as shown in table 2-1).
Table 1-1:MAC routing table
Table 2-1:MAC forwarding table
Purpose MAC Outgoing interface list
The MAC Address of UE1 Intf 1、Intf 2
At this point, the MAC forwarding-table item is for instructing PE2 to forward the data flow (known unicast data flow) for going to the UE1 by 2 load balancing of Intf 1 and Intf.For example, the message 1 in the data flow is forwarded away from Intf 1, PE1-1 is reached by the tunnel of PE2 to PE1-1, to forward using EL1 to UE1.Message 2 in the data flow is forwarded away from Intf 2, reaches PE1-2 by the tunnel of PE2 to PE1-2, to be forwarded using EL2 to UE1.
From the above it can be seen that PE2 carries out the transmitting data flow of load balancing using all active links after receiving the MAC route messages that PE1-1 and PE1-2 are sent jointly.When PE2 only receives the first MAC route messages that PE1-1 is sent, and the data flow of the UE is gone in forwarding, EL1 can only be used.When PE2 continues to receive the 2nd MAC route messages that PE1-2 is sent, and the data flow of the UE is gone in forwarding, the forwarding of load balancing could be carried out using EL1 and EL2 simultaneously.
In one example, described first and second and three mode notice message be bgp update (English: update) message (alternatively referred to as BGP Update message), the BGP Update message includes that Ethernet finds routing (English: Ethernet Auto-Discovery, Ethernet A-D Route) automatically.The Ethernet finds that routing belongs to one of the EVPN Network Layer Reachable Information (English: Network Layer Reachability Information, NLRI) that bgp protocol defines route-type automatically.The EVPN NLRI is carried on multiprotocol network layer up in information (English: Multiprotocol Reachable NLRI, MP_REACH_NLRI) attribute.MP_REACH_NLRI attribute is the attribute defined in BGP Update message, and specific format is as shown in Figure 3c, which includes Address-Family Identifier (English: Address Family Identifier, AFI) field and subaddressing race mark (English: Subsequent Address Family Identifier, SAFI) field.The value of the AFI field is used to indicate L2VPN, for example 25.The value of the SAFI field is used to indicate EVPN, for example 70.The MP_REACH_NLRI attribute further includes next-hop network address size (English: Length of Next Hop Network Address) and next-hop network address (English: Network Address of Next Hop) field.The next-hop network address field is used to carry the network address (such as address loopback) of next-hop node described in above-described embodiment.The MP_REACH_NLRI attribute further includes NLRI field, indicates the EVPN in L2VPN in conjunction with the value of above-mentioned AFI and SAFI, which is EVPN NLRI field.As shown in Figure 3d, which includes route-type (English: Route Type) field of 1 byte, length (English: the Length) field and elongated route-type details (English: Route Type specific) field of 1 byte.Wherein, which includes that the Ethernet finds to route automatically, for example, value is 1.The Route Type specific field carries the details that the Ethernet finds routing automatically.As shown in Figure 3 e, the Ethernet finds that routing includes 8 byte route-distinguishers (English: Route Distinguisher automatically, RD) field, 10 byte ethernet segment mark (English: Ethernet Segment Identifier, ESI) fields, 4 byte Ethernet tag identifier (English: Ethernet Tag ID) fields and 3 byte MPLS label (English: Label) fields.
Find also ESI Label extended community (English: Extended Community) attribute that routing is noticed together automatically with the Ethernet, format is as illustrated in figure 3f.The ESI Label Extended Community includes 1 byte Type (English: Type) field, 1 byte subtype (English: Sub-Type) field, 1 byte flag (English: Flags) field, 2 bytes reservation (English: Reserved) fields and 3 byte ESI Label fields.Wherein, Flags field is used to refer to the redundant mode in the case of more belonging to, for example, indicating single mode living when the value of Flags is 0x00 (0x represents hexadecimal);When the value of Flags is 0x01, full mode living is indicated;The value of spread F lags of the present invention increases the support to more modes living, such as value to indicate more modes living when 0x02 (0x represents hexadecimal).It should be noted that value herein is only illustrated, it can also be other numerical value, limiting the invention.
In another example, above-mentioned first and second MAC route messages are BGP Update message, which includes MAC/IP notice routing (English: Advertisement Route).Another route-type that the Route Type that MAC/IP notice routing belongs in the EVPN NLRI field of above-mentioned example description (as shown in Figure 3d) is defined, for carrying out the notice of MAC/IP reachable address information.Find that routing is similar automatically with Ethernet, the EVPN NLRI that the MAC/IP notices route-type is also to be carried in above-mentioned MP_REACH_NLRI attribute, and the next-hop network address field which includes is used to carry the network address (such as address loopback) of next-hop node described in above-described embodiment.It is consistent in description and above-mentioned example as described in the MP_REACH_NLRI attribute and the EVPN NLRI etc., it please refers to, details are not described herein again.
It should be noted that, related EVPN NLRI, Ethernet find routing, ESI Label Extended Community automatically in the present invention, and the details of MAC/IP notice routing, please refer to Internet engineering task force (Internet Engineering Task Force, that IETF) issues consults on (English: Request For Comments, RFC) 7432, the content of the document part related to this is incorporated herein in this by way of introduction as whole duplication, here for succinct, repeat no more.
By the publication of notice and the MAC routing of ES mode mostly living, realizes ES and return under scene more, the known unicast data flow for going to UE1 is forwarded by EL1 and EL2 load balancing, provides the transmittability of bigger bandwidth.When any bar failure in EL1 and EL2, EL3 can be switched to and carry out backup protection, improve the reliability of EL load balancing forwarding.
For the scene of the access of the ethernet link shown in Fig. 1 a EVPN, Fig. 3 b shows a kind of method flow interaction schematic diagram of mode how living notice and load balancing for carrying link state provided in an embodiment of the present invention.As shown in Figure 1a, CE1 passes through EL1, EL2 and EL3 respectively and more returns and be linked into PE1-1, PE1-2 and PE1-3, and UE1 is linked into EVPN by CE1, far-end PE PE2.EL1, EL2 and EL3 constitute an ethernet segment, and ESI is the mark of the ethernet segment.Shown in Fig. 3 b, Following steps are executed on PE1-1:
3b-1101, the redundant mode for obtaining ES are more modes living (consistent described in the mode of acquisition and the part Fig. 2, details are not described herein again).
3b-1102, the state for obtaining EL1 can be active state or an inactive state (detailed description, please participate in the part Fig. 2), for example, the state of EL1 is active state.
3b-1103, first mode notice message is generated, the first mode notice message includes mode, the EL1 of living for active state and the ESI more.The first mode notice message is for noticing PE2, and the part ethernet link in the ES can be used for forwarding the data flow of known unicast, wherein EL1 can be used for forwarding the data flow of known unicast.It should be noted that the first mode notice message is for noticing PE2 when the state of the EL1 is inactive, part ethernet link in the ES can be used for forwarding the data flow of known unicast, wherein, EL1 may not be usable for the data flow of forwarding known unicast, and be used as backup link.
The first mode notice message further includes next-hop network address 1, and next-hop network address 1 is the loop-back address (such as IP address: 10.10.1.1/32) of PE1-1.
3b-1104, the first mode notice message is sent to PE2.
The step similar with PE1-1 is executed on PE1-2 and PE1-3, principle is identical, is briefly described as follows herein, specifically please refers to the relevant description of above-mentioned PE1-1, repeats no more.
The redundant mode that PE1-2 and PE1-3 obtains ES respectively is more modes living.
PE1-2 and PE1-3 obtains the state of EL2 and EL3 respectively, can be active state or an inactive state, for example, the state of EL2 be it is active, the state of EL3 is inactive.
PE1-2 generates second mode notice message, and the second mode notice message includes mode, the EL2 of living for active state and the ESI more.The second mode notice message is for noticing PE2, and the part ethernet link in the ES can be used for forwarding the data flow of known unicast, wherein EL2 can be used for forwarding the data flow of known unicast.The second mode notice message further includes next-hop network address 2, and next-hop network address 2 is the loop-back address (such as IP address: 20.20.1.1/32) of PE1-2. PE1-2 sends the second mode notice message to PE2.
PE1-3 generates the third mode notice message, and the third mode notice message includes mode, the EL3 of living for an inactive state and the ESI more.For the third mode notice message for noticing PE2, the part ethernet link in the ES can be used for forwarding the data flow of known unicast, wherein EL3 may not be usable for the data flow of forwarding known unicast.The third mode notice message further includes next-hop network address 3, and next-hop network address 3 is the loop-back address (such as IP address: 30.30.1.1/32) of PE1-3.PE1-3 sends the third mode notice message to PE2.
Following steps are executed on PE2:
3b-201, the first mode notice message from PE1-1 is received from Intf 1, the first mode notice message includes mode, the EL1 of living for active state and the ESI more.PE2 confirms that the redundant mode for the ES that the ESI is identified is more modes living, and the EL1 being connected with PE1-1 is that the bar state in the ES is active ethernet link, can be used for forwarding the data flow of known unicast.
3b-202, the second mode notice message from PE1-2 is received from Intf 2, the second mode notice message includes mode, the EL2 of living for active state and the ESI more.PE2 confirms that the redundant mode for the ES that the ESI is identified is more modes living, and the EL2 being connected with PE1-2 is that the bar state in the ES is active ethernet link, can be used for forwarding the data flow of known unicast.
3b-203, the third mode notice message from PE1-3 is received from Intf 3, the third mode notice message includes mode, the EL3 of living for an inactive state and the ESI more.PE2 confirms that the redundant mode for the ES that the ESI is identified is more modes living, and the EL3 being connected with PE1-3 is that the bar state in the ES is inactive ethernet link, it is not possible to for forwarding the data flow of known unicast.
3b-204, according to described first and second and three mode notice message obtain EL1, EL2 and EL3 and have the identical ESI, thus belong to identical ES.More modes living that PE2 is respectively carried in mode notice message also according to described first and second and three determine that the redundant mode of the ES is more modes living.PE2 is further active state according to EL1 and EL2, EL3 is an inactive state, determines that the EL1 and the EL2 in the ES are used as the link of load balancing forwarding, the EL3 As backup link.The next-hop network address information that PE2 is respectively carried in mode notice message also according to described first and second and three, generates and saves the mapping relations of link information Yu next-hop node information, such as shown in table 3.The mapping relations are used to indicate the incidence relation between the information of each of the links in link section and the next-hop node information of forwarding device (such as PE2) forwarding data packets.The link information may include link segment identification, link identification, link state etc..The next-hop node information may include the network address (e.g., network address is IP address) of next-hop node, usually the address loopback.It is worth noting that the network address of next-hop node and the network address of next-hop are the same meaning in various embodiments of the present invention, can use mutually.
Table 3: the mapping relations of link information and next-hop network address information
Link segment identification Ethernet link mark State Next-hop node information
ESI EL1 It is active The address loopback of PE1-1
ESI EL2 It is active The address loopback of PE1-2
ESI EL3 It is inactive The address loopback of PE1-3
Furthermore, the PE1-1 and PE1-2 being connected with EL1 and EL2 in active state, it will receive the MAC broadcasting packet (for carrying out mac learning) that CE1 is sent, the source MAC of the MAC broadcasting packet is the MAC Address of UE1, and target MAC (Media Access Control) address is broadcast address.PE1-1 and PE1-2 can also be generated respectively and be sent MAC route messages to PE2, and specific step is as follows.
PE1-1 can also execute step:
3b-1104, the first MAC route messages are generated, the first MAC route messages include the MAC Address of UE1.
3b-1105, the first MAC route messages are sent.
PE1-2 can also execute step:
3b-1204, the 2nd MAC route messages are generated, the 2nd MAC route messages include the MAC Address of UE1.
3b-1205, the 2nd MAC route messages are sent.
PE2 can also execute step:
3b-205, the first MAC route messages that PE1-1 is sent are received from Intf1, the MAC Address of UE1 is carried in the first MAC route messages.PE2 control plane (such as, the control panel of PE2) according to the mapping relations (such as table 3) of the MAC Address of the UE1 and the link information and next-hop network address information generation MAC forwarding-table item (such as table 4), the target MAC (Media Access Control) address of the MAC forwarding-table item is the MAC Address of the UE1, and the outgoing interface of the MAC forwarding-table item is Intf 1 and Intf 2.Intf 1 and Intf 2 are PE2 to be obtained according to the address loopback of the address loopback and PE1-2 in the corresponding PE1-1 of the EL1 and EL2 of active state.Specific preparation method please refers to the description of above-mentioned 3a-204 step, similarly with it, for sake of simplicity, details are not described herein again.
The MAC forwarding-table item is for instructing PE2 to forward the data flow (known unicast data flow) for going to the UE1 by 2 load balancing of Intf 1 and Intf.For example, the message 1 in the data flow is forwarded away from Intf 1, PE1-1 is reached by the tunnel of PE2 to PE1-1, to forward using EL1 to UE1.Message 2 in the data flow is forwarded away from Intf 2, reaches PE1-2 by the tunnel of PE2 to PE1-2, to be forwarded using EL2 to UE1.
Table 4:MAC forwarding table
Purpose MAC Outgoing interface
The MAC Address of UE1 Intf 1、Intf 2
Then, PE2 can also receive the 2nd MAC route messages that PE1-2 is sent from Intf 2, but the message does not influence the generation of the MAC forwarding table of load balancing at this time.It should be understood that being herein a citing, PE2 first can also receive the 2nd MAC route messages that PE1-2 is sent from Intf 2, then receive the first MAC route messages that PE1-1 is sent from Intf 1.When receiving the 2nd MAC route messages that PE1-2 is sent from Intf 2, just similarly generate MAC forwarding table shown in table 4.
From the above, PE2 is in the MAC route messages that any one of an endpoint PE1-1 for receiving active links EL1 and an endpoint PE1-2 of active links EL2 equipment are sent, PE2 can completely generate the MAC forwarding-table item (without waiting for receiving the corresponding endpoint of all active links send MAC route messages) for load balancing, all link EL1 and EL2 transmitting data flows that can be used for load balancing can be used, load balancing can be realized quickly, the effect for improving load balancing, keeps load balancing more balanced.
In one example, described first and second and three mode notice message be BGP Update message, the BGP Update message include Ethernet find to route automatically.Associated description is consistent with the description that the mode how living that the above-mentioned part Fig. 3 a does not carry link state is noticed, and please refers to, details are not described herein again.Unlike, the embodiment of the present invention will also notice the state of ethernet link.In a kind of specific embodiment, realized by the value of the Flags field in extension ESI Label Extended Community.Such as, increase a value and is used to indicate more modes living and link state as actively (such as Flags value is 0x02,0x represents hexadecimal), it is further added by that a value is used to indicate more living modes and link state is inactive (such as Flags value is 0x03, and 0x represents hexadecimal).It should be noted that value herein is only illustrated, it can also be other numerical value, limiting the invention.
In another example, above-mentioned first and second MAC route messages are BGP Update message, which includes MAC/IP notice routing.Associated description is consistent with the description that the mode how living that the above-mentioned part Fig. 3 a does not carry link state is noticed, and please refers to, details are not described herein again.
Next, for the scene of the access of the PW shown in Fig. 1 b EVPN, Fig. 4 a shows that one kind provided in an embodiment of the present invention does not carry the mode how living notice of link state and the method flow of load balancing interacts schematic diagram.As shown in Figure 1 b, UPE passes through PW1, PW2, PW3 and PW4 respectively and more returns and be linked into SPE1-1, SPE1-2, SPE1-3 and SPE1-4, and UE1 is linked into EVPN by CE1 and UPE, far-end PE PE2.PW1, PW2, PW3 and PW4 constitute a PWS, and PWSI is the mark of the PWS.Shown in Fig. 4 a, following steps are executed on SPE1-1:
4a-1101, the redundant mode for obtaining PWS are more modes living (mode of acquisition is consistent with the part Fig. 2 acquisition mode of redundant mode of ES, and details are not described herein again).
4a-1102, first mode notice message is generated, the first mode notice message includes more modes living and the PWSI.For the first mode notice message for noticing PE2, the part PW in the PWS can be used for forwarding the data flow of known unicast.
4a-1103, the first mode notice message is sent to PE2.
Similar following steps are executed on SPE1-2:
4a-1201, the redundant mode for obtaining PWS are more modes living (mode of acquisition is consistent with the part Fig. 2 acquisition mode of redundant mode of ES, and details are not described herein again).
4a-1202, second mode notice message is generated, the second mode notice message includes mode, the PW2 of living for active state and the PWSI more.For the second mode notice message for noticing PE2, the part PW in the PWS can be used for forwarding the data flow of known unicast.
4a-1203, the second mode notice message is sent to PE2.
Similar following steps are executed on SPE1-3:
4a-1301, the redundant mode for obtaining PWS are more modes living (mode of acquisition is consistent with the part Fig. 2 acquisition mode of redundant mode of ES, and details are not described herein again).
4a-1302, the third mode notice message is generated, the third mode notice message includes more modes living and the PWSI.For the third mode notice message for noticing PE2, the part PW in the PWS can be used for forwarding the data flow of known unicast.
4a-1303, the third mode notice message is sent to PE2.
Similar following steps are executed on SPE1-4:
4a-1401, the redundant mode for obtaining PWS are more modes living (mode of acquisition is consistent with the part Fig. 2 acquisition mode of redundant mode of ES, and details are not described herein again).
4a-1402, fourth mode notice message is generated, the fourth mode notice message includes described more Mode living and the PWSI.For the fourth mode notice message for noticing PE2, the part PW in the PWS can be used for forwarding the data flow of known unicast.
4a-1403, the fourth mode notice message is sent to PE2.
Following steps are executed on PE2:
4a-201, the first mode notice message from SPE1-1 is received from interface (English: Interface, Intf) 1, the first mode notice message includes more modes living and the PWSI.PE2 confirms that the redundant mode for the PWS that the PWSI is identified is more modes living.
4a-202, the second mode notice message from SPE1-2 is received from Intf 2, the second mode notice message includes more modes living and the PWSI.PE2 confirms that the redundant mode for the PWS that the PWSI is identified is more modes living.
4a-203, the third mode notice message from SPE1-3 is received from Intf 3, the third mode notice message includes more modes living and the PWSI.PE2 confirms that the redundant mode for the PWS that the PWSI is identified is more modes living.
4a-204, the fourth mode notice message from SPE1-4 is received from Intf 4, the fourth mode notice message includes more modes living and the PWSI.PE2 confirms that the redundant mode for the PWS that the PWSI is identified is more modes living.
Furthermore, with the SPE1-2 PW1 in active state the SPE1-1 being connected and be connected with the PW2 in active state, it will receive the MAC broadcasting packet that CE1 is sent (for carrying out mac learning), the source MAC of the MAC broadcasting packet is the MAC Address of UE1, and target MAC (Media Access Control) address is broadcast address.SPE1-1 and SPE1-2 can also be generated respectively and be sent MAC route messages to PE2, and specific step is as follows.
SPE1-1 can also execute step:
4a-1104, the first MAC route messages are generated, the first MAC route messages include MAC Address and the next-hop network address 1 of UE1, loopback (English: loopback) address that next-hop network address 1 is SPE1-1.It should be noted that loop-back address of the present invention be the network equipment (such as Router, interchanger etc.) loopback interface on the IP address that configures, be typically used as network device identity (for example, the address IPv4 of 32 bitmasks: 10.10.1.1/32), it will be appreciated by those skilled in the art that.
4a-1105, the first MAC route messages are sent.
SPE1-2 can also execute step:
4a-1204, the 2nd MAC route messages are generated, the 2nd MAC route messages include MAC Address and the next-hop network address 2 of UE1, and next-hop network address 2 is the loop-back address of SPE1-2.
4a-1205, the 2nd MAC route messages are sent.
PE2 can also execute step:
4a-204, the first MAC route messages from SPE1-1 are received from Intf 1.The loop-back address that PE2 is SPE1-1 according to the next-hop network address 1(carried in the first MAC route messages), using SPE1-1 as the next-hop node for going to UE1.The control plane (for example, control panel of PE2) of PE2 generates MAC route table items (as shown in table 5), and the target MAC (Media Access Control) address of the MAC route table items is the MAC Address of the UE1, and next-hop network address is the loop-back address of SPE1-1.Then, the control plane of PE2 generates MAC forwarding-table item (as shown in table 6) according to the MAC route table items, and sends the MAC forwarding-table item to the forwarding surface (for example, conversion board of PE2) of PE2.The target MAC (Media Access Control) address of the MAC forwarding-table item is the destination address (MAC Address of the i.e. described UE1) in the MAC route table items, and the outgoing interface of the MAC forwarding-table item is Intf1.Principle described in the acquisition methods of the Intf1 access the embodiment under EVPN scene (such as Fig. 3 a) with above-mentioned ethernet link is consistent, please refers to, for sake of simplicity, details are not described herein again.Table 5:MAC routing table
Purpose MAC Next-hop network address list
The MAC Address of UE1 The address loopback of SPE1-1
Table 6:MAC forwarding table
Purpose MAC Outgoing interface list
The MAC Address of UE1 Intf 1
When PE2 receives known unicast data flow (MAC Address that the target MAC (Media Access Control) address carried in data message is UE1) for going to UE1 from CE2, PE2 searches the MAC forwarding table (such as table 6), and acquisition outgoing interface is Intf1.Then PE2 forwards the message in the known unicast data flow from Intf 1, reaches SPE1-1 by the tunnel of PE2 to SPE1-1, to be forwarded using PW1 to UE1.
4a-205, the 2nd MAC route messages from SPE1-2 are received from Intf 2.Similarly with above-mentioned 4a-204 step, PE2 is using SPE1-2 as the next-hop node for going to UE1.The control plane of PE2 increases the loop-back address (as shown in Table 5-1) of SPE1-2 in the next-hop network address list in the MAC routing table.Then, the control plane of PE2 obtains Intf 2 according to the loop-back address of SPE1-2, and increases Intf 2 (as shown in Table 6-1) in the outgoing interface list of MAC forwarding-table item.
Table 5-1:MAC routing table
Table 6-1:MAC forwarding table
Purpose MAC Outgoing interface list
The MAC Address of UE1 Intf 1、Intf 2
At this point, the MAC forwarding-table item is for instructing PE2 to forward the data flow (known unicast data flow) for going to the UE1 by 2 load balancing of Intf 1 and Intf.For example, the message 1 in the data flow is forwarded away from Intf 1, SPE1-1 is reached by the tunnel of PE2 to SPE1-1, to forward using PW1 to UE1.Message 2 in the data flow is forwarded away from Intf 2, is led to The tunnel for crossing PE2 to SPE1-2 reaches SPE1-2, to be forwarded using PW2 to UE1.
From the above it can be seen that this method needs PE2 after receiving the MAC route messages that SPE1-1 and SPE1-2 are sent, all active links could be used to carry out the transmitting data flow of load balancing jointly.When PE2 only receives the first MAC route messages that SPE1-1 is sent, and the data flow of the UE is gone in forwarding, PW1 can only be used.When PE2 continues to receive the 2nd MAC route messages that SPE1-2 is sent, and the data flow of the UE is gone in forwarding, the forwarding of load balancing could be carried out using PW1 and PW2 simultaneously.It is, this method realizes that load balancing forwarding has certain delay.
In one example, described first and second and three mode notice message be BGP Update message, the BGP Update message include Ethernet find to route automatically.Associated description is consistent with the description that the mode how living that the above-mentioned part Fig. 3 a does not carry link state is noticed, and please refers to, details are not described herein again.Unlike, find that the ESI field in routing is extended, and increases PW type automatically to Ethernet as shown in Figure 3 e.The format of ESI field as illustrated in fig. 4 c, the ESI value (English: Value) of T field and 9 bytes including 1 byte.T field (i.e. ESI the type field) is used to specify the format of ESI Value.The value that T field is extended in the embodiment of the present invention increases support to virtual link (PW), such as when value is 0x06 (0x represents hexadecimal), indicates that the type of link or link section is PW.It only illustrates it should be noted that expressing PWSI with the value of extension ESI the type field herein, can also be and redefine a PWSI field, to identify PW link section.Limiting the invention for these examples.
Find the also ESI Label Extended Community attribute that routing is noticed together automatically with the Ethernet.The present invention extends the value of Flags in the ESI Label Extended Community attribute, increases the support to more modes living, such as value to indicate more modes living when 0x02 (0x represents hexadecimal).Associated description is consistent with the description that the mode how living that the above-mentioned part Fig. 3 a does not carry link state is noticed, and please refers to, details are not described herein again.It should be noted that the value of Flags is only illustrated herein, it can also be other numerical value, limiting the invention.
In another example, above-mentioned first and second MAC route messages are BGP Update message, which includes MAC/IP notice routing.Associated description and the part above-mentioned Fig. 3 a are not How living the description for carrying the mode notice of link state be consistent, please refers to, details are not described herein again.
By the publication of notice and the MAC routing of PWS mode mostly living, realizes PW and return under scene more, the known unicast data flow for going to UE1 is forwarded by PW1 and PW2 load balancing, provides the transmittability of bigger bandwidth.When any bar failure in PW1 and PW2, any bar that can be switched to PW3 or PW4 carries out standby protection, improves the reliability of PW load balancing forwarding.
Above-mentioned Fig. 4 a shows mode how living notice and the load sharing method that one kind provided in an embodiment of the present invention does not carry link state, is based on this, it is also necessary to describe the mono- mode living of PW and full mode notice living and load sharing method.The mono- mode living of PW and full mode notice living do not carry how living the mode notifying method of link state be similar with above-mentioned, the difference is that the redundant mode type carried in mode notice message is single mode or mode living entirely of living.
Under the mono- mode situation living of PW, as shown in Figure 1 b, for example, PW1 is active state, PW2, PW3 and PW4 are an inactive state.Respectively into first, second and third that PE2 is sent and four mode notice messages, the redundant mode of carrying is single mode living by SPE1-1, SPE1-2, SPE1-3 and SPE1-4.PE2 determines the PWS for single mode living according at least one the described mode notice message received.SPE1-1 (being the endpoint of the PW1 in active state) can also send MAC route messages (MAC Address for carrying UE1) to PE2.After PE2 receives the MAC route messages, according to the singly mode living, the MAC Address of UE1 and next-hop network address (address loopback of SPE1-1), MAC forwarding-table item is generated.The destination address of the MAC forwarding-table item is the MAC Address of UE1, and outgoing interface is Intf 1.Specific steps flow chart, the process with above-mentioned Fig. 4 a mode description mostly living is identical principle, is please referred to, for sake of simplicity, repeating no more.It by the publication of notice and the MAC routing of the mono- mode living of PWS, realizes PW and returns under scene more, the known unicast data flow of UE1 is gone to by a PW forwarding.When PW1 failure, it can be switched to any bar of PW2, PW3 or PW4, backup protection is realized, improve reliability.
It lives under mode situation entirely in PW, as shown in Figure 1 b, for example, PW1, PW2, PW3 and PW4 are active state, SPE1-1, SPE1-2, SPE1-3 and SPE1-4 are sent out to PE2 respectively Send first, second and third and four in mode notice message, and the redundant mode of carrying is full mode living.PE2 determines that the PWS is full mode living according at least one the described mode notice message received.SPE1-1, SPE1-2, SPE1-3 and SPE1-4 (being the endpoint of PW1, PW2, PW3 and PW4 in active state respectively) can also be respectively to PE2 transmissions first, second and third and four MAC route messages (MAC Address for carrying UE1).After PE2 receives this all four MAC route messages, according to the full mode living, the MAC Address of UE1 and four next-hop network addresses (address loopback of SPE1-1, the address loopback of SPE1-2, the address loopback of SPE1-3 and the address loopback of SPE1-4), MAC route table items (generating in the control panel of PE2) is generated.The target MAC (Media Access Control) address of the MAC route table items is the MAC Address of UE1, and next-hop network address list includes the address loopback of the address loopback of SPE1-1, the address loopback of SPE1-2, the address loopback of SPE1-3 and SPE1-4.Corresponding outgoing interface list is obtained further according to the address loopback of the address loopback of SPE1-1, the address loopback of SPE1-2, the address loopback of SPE1-3 and SPE1-4 as Intf 1, Intf 2, Intf 3 and Intf 4.The control panel of PE2 generates MAC forwarding-table item, and destination address is the MAC Address of UE1, and outgoing interface is Intf 1, Intf 2, Intf 3 and Intf 4.Specific steps flow chart, the process with above-mentioned Fig. 4 a mode description mostly living is identical principle, is please referred to, for sake of simplicity, repeating no more.The publication of notice and the MAC routing of mode of being lived entirely by PWS, realizes the known unicast data flow that UE1 is gone to by the forwarding of PW load balancing.
For the scene of the access of the PW shown in Fig. 1 b EVPN, Fig. 4 b shows a kind of method flow interaction schematic diagram of mode how living notice and load balancing for carrying link state provided in an embodiment of the present invention.As shown in Figure 1 b, UPE passes through PW1, PW2, PW3 and PW4 respectively and more returns and be linked into SPE1-1, SPE1-2, SPE1-3 and SPE1-4, UE1 by CE1, then UPE is linked into EVPN, far-end PE PE2.PW1, PW2, PW3 and PW4 constitute one PW sections, and PWSI is the PW sections of mark.As shown in Figure 3b, following steps are executed on SPE1-1:
4b-1101, the redundant mode for obtaining PWS are more mode (mode of acquisition and parts Fig. 2 living The mode for obtaining the redundant mode of ES is consistent, and details are not described herein again).
4b-1102, the state for obtaining PW1 can be active state or an inactive state (detailed description, please participate in the part Fig. 2), for example, the state of PW1 is active state.
4b-1103, first mode notice message is generated, the first mode notice message includes mode, the PW1 of living for active state and the PWSI more.The first mode notice message is for noticing PE2, and the part PW in the PWS can be used for forwarding the data flow of known unicast, wherein PW1 can be used for forwarding the data flow of known unicast.It should be noted that the first mode notice message is for noticing PE2 when the state of the PW1 is inactive, part PW in the PWS can be used for forwarding the data flow of known unicast, wherein, PW1 may not be usable for the data flow of forwarding known unicast, and be used as backup link.
The first mode notice message further includes next-hop network address 1, and next-hop network address 1 is the loop-back address (such as IP address: 10.10.1.1/32) of SPE1-1.
4b-1104, the first mode notice message is sent to PE2.
The step similar with SPE1-1 is executed on SPE1-2, SPE1-3 and SPE1-4, principle is identical, refers to above-mentioned SPE1-1, is briefly described as follows herein, repeats no more.
The redundant mode that SPE1-2, SPE1-3 and SPE1-4 obtain PWS respectively is more modes living.
SPE1-2, SPE1-3 and SPE1-4 obtain the state of PW2, PW3 and PW4 respectively, can be active state or an inactive state, for example, the state of PW2 be it is active, the state of PW3 be it is inactive, the state of PW4 is inactive.
SPE1-2 generates second mode notice message, and the second mode notice message includes mode, the PW2 of living for active state and the PWSI more.The second mode notice message is for noticing PE2, and the part PW in the PWS can be used for forwarding the data flow of known unicast, wherein PW2 can be used for forwarding the data flow of known unicast.The second mode notice message further includes next-hop network address 2, and next-hop network address 2 is the loop-back address (such as IP address: 20.20.1.1/32) of SPE1-2.SPE1-2 sends the second mode notice message to PE2.
SPE1-3 generates the third mode notice message, and the third mode notice message includes mode, the PW3 of living for an inactive state and the PWSI more.For the third mode notice message for noticing PE2, the part PW in the PWS can be used for forwarding the data flow of known unicast, wherein PW3 may not be usable for the data flow of forwarding known unicast.The third mode notice message further includes next-hop network address 3, and next-hop network address 3 is the loop-back address (such as IP address: 30.30.1.1/32) of SPE1-3.SPE1-3 sends the third mode notice message to PE2.
SPE1-4 generates fourth mode notice message, and the fourth mode notice message includes mode, the PW4 of living for an inactive state and the PWSI more.For the fourth mode notice message for noticing PE2, the part PW in the PWS can be used for forwarding the data flow of known unicast, wherein PW4 may not be usable for the data flow of forwarding known unicast.The fourth mode notice message further includes next-hop network address 4, and next-hop network address 4 is the loop-back address (such as IP address: 40.40.1.1/32) of SPE1-4.SPE1-4 sends the fourth mode notice message to PE2.
Following steps are executed on PE2:
4b-201, the first mode notice message from SPE1-1 is received from Intf 1, the first mode notice message includes mode, the PW1 of living for active state and the PWSI more.PE2 confirms that the redundant mode for the PWS that the PWSI is identified is more modes living, and the PW1 being connected with SPE1-1 is that the bar state in the PWS is active PW, can be used for forwarding the data flow of known unicast.
4b-202, the second mode notice message from SPE1-2 is received from Intf 2, the second mode notice message includes mode, the PW2 of living for active state and the PWSI more.PE2 confirms that the redundant mode for the PWS that the PWSI is identified is more modes living, and the PW2 being connected with SPE1-2 is that the bar state in the PWS is active PW, can be used for forwarding the data flow of known unicast.
4b-203, the third mode notice message from SPE1-3 is received from Intf 3, the third mode notice message includes mode, the PW3 of living for an inactive state and the PWSI more.PE2 The redundant mode for confirming the PWS that the PWSI is identified is more modes living, and the PW3 being connected with SPE1-3 is that the bar state in the PWS is inactive PW, it is not possible to for forwarding the data flow of known unicast, and be used as backup link.
4b-204, the fourth mode notice message from SPE1-4 is received from Intf 4, the fourth mode notice message includes mode, the PW4 of living for an inactive state and the PWSI more.PE2 confirms that the redundant mode for the PWS that the PWSI is identified is more modes living, and the PW4 being connected with SPE1-4 is that the bar state in the PWS is inactive PW, it is not possible to for forwarding the data flow of known unicast, and be used as backup link.
4b-205, according to described first and second and three mode notice message obtain PW1, PW2, PW3 and PW4 and have the identical PWSI, thus belong to identical PWS.More modes living that PE2 is respectively carried in mode notice message also according to described first, second and third and four determine that the redundant mode of the PWS is more modes living.It is an inactive state that PE2, which is further active state, PW3 and PW4 according to PW1 and PW2, determines that the PW1 and the PW2 in the PWS are used as the link of load balancing forwarding, the PW3 and PW4 are used as backup link.The next-hop network address information that PE2 is respectively carried in mode notice message also according to described first, second and third and four, generates and saves the mapping relations of link information Yu next-hop node information, such as shown in table 7.The mapping relations are used to indicate the incidence relation between the information of each of the links in link section and the next-hop node information of forwarding device (such as PE2) forwarding data packets.The link information may include link segment identification, link identification, link state etc..The next-hop node information may include the IP address of next-hop node, usually the address loopback.
Table 7: the mapping relations of link information and next-hop network address information
Furthermore, the SPE1-1 and SPE1-2 being connected with PW1 and PW2 in active state, it will receive the MAC broadcasting packet (for carrying out mac learning) that CE1 is sent, the source MAC of the MAC broadcasting packet is the MAC Address of UE1, and target MAC (Media Access Control) address is broadcast address.SPE1-1 and SPE1-2 can also be generated respectively and be sent MAC route messages to PE2, and specific step is as follows.
SPE1-1 can also execute step:
4b-1105, the first MAC route messages are generated, the first MAC route messages include the MAC Address of UE1.
4b-1106, the first MAC route messages are sent.
SPE1-2 can also execute step:
4b-1205, the 2nd MAC route messages are generated, the 2nd MAC route messages include the MAC Address of UE1.
4b-1206, the 2nd MAC route messages are sent.
PE2 can also execute step:
4b-206, the first MAC route messages that SPE1-1 is sent are received from Intf1, the MAC Address of UE1 is carried in the first MAC route messages.PE2 control plane (such as, the control panel of PE2) according to the mapping relations (such as table 7) of the MAC Address of the UE1 and the link information and next-hop network address information generation MAC forwarding-table item (such as table 8), the target MAC (Media Access Control) address of the MAC forwarding-table item is the MAC Address of the UE1, and the outgoing interface of the MAC forwarding-table item is Intf 1 and Intf 2.Intf 1 and Intf 2 is PE2 according to the PW1 for being in active state The address loopback of SPE1-1 corresponding with PW2 and the address loopback of SPE1-2 obtain.Specific preparation method please refers to the description of above-mentioned 4a-204 step, similarly with it, for sake of simplicity, details are not described herein again.
The MAC forwarding-table item is for instructing PE2 to forward the data flow (known unicast data flow) for going to the UE1 by 2 load balancing of Intf 1 and Intf.For example, the message 1 in the data flow is forwarded away from Intf 1, SPE1-1 is reached by the tunnel of PE2 to SPE1-1, to forward using PW1 to UE1.Message 2 in the data flow is forwarded away from Intf 2, reaches SPE1-2 by the tunnel of PE2 to SPE1-2, to be forwarded using PW2 to UE1.
Table 8:MAC forwarding table
Purpose MAC Outgoing interface
The MAC Address of UE1 Intf 1、Intf 2
Then, PE2 can also receive the 2nd MAC route messages that SPE1-2 is sent from Intf 2, but the message does not influence the generation of the MAC forwarding table of load balancing at this time.It should be understood that being herein a citing, PE2 first can also receive the 2nd MAC route messages that SPE1-2 is sent from Intf 2, then receive the first MAC route messages that SPE1-1 is sent from Intf 1.When receiving the 2nd MAC route messages that SPE1-2 is sent from Intf 2, MAC forwarding table shown in table 8 is just similarly generated.
From the above, PE2 is in the MAC route messages that any one of an endpoint SPE1-1 for receiving active links PW1 and an endpoint SPE1-2 of active links PW2 equipment are sent, PE2 can completely generate the MAC forwarding-table item (without waiting for receiving the corresponding endpoint of all active links send MAC route messages) for load balancing, all link PW1 and PW2 transmitting data flows that can be used for load balancing can be used, load balancing can be realized quickly, the effect for improving load balancing, keeps load balancing more balanced.
In one example, described first, second and third and four mode notice message be BGP Update message, the BGP Update message include Ethernet find to route automatically.Associated description and above-mentioned figure The description that the part 3a does not carry the mode how living notice of link state is consistent, extends to ESI Type and supports PW or PWS consistent with the description of the part above-mentioned Fig. 4 a, please refers to, details are not described herein again.Unlike, the embodiment of the present invention will also notice the state of PW.In a kind of specific embodiment, realized by the value of the Flags field in extension ESI Label Extended Community.For example, one value of increase is used to indicate more modes living and link state, actively (such as Flags value is 0x02), to be further added by, a value is used to indicate modes mostly living and link state is inactive (such as Flags value is 0x03).It should be noted that value herein is only illustrated, it can also be other numerical value, limiting the invention.In another specific embodiment, a link state field can also be newly increased in other fields of ESI Label Extended Community or message format, to carry active state or an inactive state, herein without limitation.
In another example, above-mentioned first and second MAC route messages are BGP Update message, which includes MAC/IP notice routing.Associated description is consistent with the description that the mode how living that the above-mentioned part Fig. 3 a does not carry link state is noticed, and please refers to, details are not described herein again.
Above-mentioned Fig. 4 b shows a kind of mode how living notice for carrying link state provided in an embodiment of the present invention and load sharing method, is based on this, it is also necessary to describe the mono- mode living of PW and full mode notice living and load sharing method.How living the mono- mode living of PW and full mode notice living be similar with the mode notifying method of above-mentioned carrying link state, the difference is that the redundant mode type carried in mode notice message is single mode living or mode of living entirely.
Under the mono- mode situation living of PW, as shown in Figure 1 b, for example, PW1 is active state, PW2, PW3 and PW4 are an inactive state.Respectively into first, second and third that PE2 is sent and four mode notice messages, the redundant mode of carrying is single mode living by SPE1-1, SPE1-2, SPE1-3 and SPE1-4.Wherein, active state the state of PW1 (instruction be active) is also carried in the first mode notice message, this second and third and four mode notice messages in also carrying an inactive state (indicating respectively that the state of PW2, PW3 and PW4 are inactive) respectively.PE2 according to receive this first, second and third and four mode notice messages, determine that the PWS for single mode living, and generates the mapping relations (as shown in table 9) of link information Yu next-hop network address information.SPE1-1 (is in active state The endpoint of PW1) MAC route messages (MAC Address for carrying UE1) can be also sent to PE2.After PE2 receives the MAC route messages, according to singly live mode, the MAC Address of UE1 and the mapping relations of link information as shown in table 9 and next-hop network address information, MAC forwarding-table item is generated.The destination address of the MAC forwarding-table item is the MAC Address of UE1, and outgoing interface is Intf 1.Specific steps flow chart, the process with above-mentioned Fig. 4 b mode description mostly living is identical principle, is please referred to, for sake of simplicity, repeating no more.It by the publication of notice and the MAC routing of the mono- mode living of PWS, realizes PW and returns under scene more, the known unicast data flow of UE1 is gone to by a PW forwarding.When PW1 failure, it can be switched to any bar of PW2, PW3 or PW4, backup protection is realized, improve reliability.
In a kind of specific embodiment, single mode living and Link State Notification are supported by the value of the Flags field in extension ESI Label Extended Community.For example, one value of increase is used to indicate single mode living and link state, actively (such as Flags value is 0x04), to be further added by, a value is used to indicate list mode living and link state is inactive (such as Flags value is 0x05).It should be noted that value herein is only illustrated, it can also be other numerical value, limiting the invention.
In another specific embodiment, a link state field can also be newly increased in other fields of ESI Label Extended Community or message format, to carry active state or an inactive state, herein without limitation.
Table 9: the mapping relations of link information and next-hop network address information
It lives under mode situation entirely in PW, as shown in Figure 1 b, for example, PW1, PW2, PW3 and PW4 are active state, respectively into first, second and third that PE2 is sent and four mode notice messages, the redundant mode of carrying is full mode living by SPE1-1, SPE1-2, SPE1-3 and SPE1-4.Wherein, this first, second and third and four also carries active state (indicating respectively that the state of PW1, PW2, PW3 and PW4 are inactive) in mode notice message respectively.PE2 according to receive this first, second and third and four mode notice messages, determine that the PWS is full mode living, and generate the mapping relations (as shown in table 10) of link information Yu next-hop network address information.SPE1-1, SPE1-2, SPE1-3 and SPE1-4 (being the endpoint of PW1, PW2, PW3 and PW4 in active state respectively) can also be respectively to PE2 transmissions first, second and third and four MAC route messages (MAC Address for carrying UE1).After PE2 receives one in this four MAC route messages, MAC route table items (generating in the control panel of PE2) can be generated according to full mode, the MAC Address of UE1 and the mapping relations of link information as shown in table 10 and next-hop network address information living.The target MAC (Media Access Control) address of the MAC route table items is the MAC Address of UE1, and next-hop network address list includes the address loopback of the address loopback of SPE1-1, the address loopback of SPE1-2, the address loopback of SPE1-3 and SPE1-4.Corresponding outgoing interface list is obtained further according to the address loopback of the address loopback of SPE1-1, the address loopback of SPE1-2, the address loopback of SPE1-3 and SPE1-4 as Intf 1, Intf 2, Intf 3 and Intf 4.The control panel of PE2 generates MAC forwarding-table item, and destination address is the MAC Address of UE1, and outgoing interface is Intf 1, Intf 2, Intf 3 and Intf 4.Specific steps flow chart, the process with above-mentioned Fig. 4 b mode description mostly living is identical principle, is please referred to, for sake of simplicity, repeating no more.After as long as the method receives a MAC route messages, the MAC forwarding-table item for load balancing can completely be generated, all link PW1, PW2, PW3 and PW4 transmitting data flows that can be used for load balancing can be used, load balancing can be realized quickly, the effect for improving load balancing, keeps load balancing more balanced.
In a kind of specific embodiment, live full mode and Link State Notification are supported by the value of the Flags field in extension ESI Label Extended Community.For example, one value of increase is used to indicate full mode living and link state is that actively (such as Flags value is 0x046, and being further added by a value and being used to indicate mode living and link state entirely is inactive (such as Flags value is 0x07).It should be noted that value herein is only illustrated, it can also be other numerical value, limiting the invention.
In another specific embodiment, a link state field can also be newly increased in other fields of ESI Label Extended Community or message format, to carry active state or an inactive state, herein without limitation.
Table 10: the mapping relations of link information and next-hop network address information
It should be understood that, as described in being introduced the scene above to Fig. 1 a and 1b, first PE equipment is according to different networking situations, can be ethernet link access EVPN networking (Fig. 1 a) in PE equipment (such as, PE1-1, PE1-2, PE1-3), the SPE equipment (e.g., SPE1-1, SPE1-2, SPE1-3, SPE1-4) being also possible in PW access EVPN networking (Fig. 1 b).The far-end PE equipment is the PE2 in PE equipment, such as Fig. 1 a and Fig. 1 b.Substantially, the first PE equipment and far-end PE equipment are a kind of network equipment, such as router or interchanger.
Fig. 5 a shows a kind of possible structural schematic diagram of the first PE equipment involved in above-described embodiment.First PE equipment 500A includes: master control borad 510, interface board 530, network board 520 and interface board 540.Master control borad 510 is for completing the functions such as system administration, plant maintenance, protocol processes.Network board 520 is used to complete the data exchange between each interface board (interface board is also referred to as line card or business board).Interface board 530 and 540 realizes the forwarding of data packet for providing various businesses interface (for example, pos interface, GE interface, atm interface etc.).It is connected by system bus with System Backplane between master control borad 510, interface board 530 and 540 and network board 520 and realizes intercommunication.Central processing unit 531 on interface board 530 is used to carry out interface board control management and communicate with the central processing unit on master control borad.
Central processing unit 511 on master control borad 510 is used to obtain the redundant mode of the link section, generates mode notice message, and be issued to interface board 530 or 540.When the redundant mode of the link section is more modes living, the mode notice message includes indicating that the redundant mode of the link section is the information of more modes living and the mark of the link section, the mark of the link section is for link section described in unique identification, more modes living indicate that the part of links in the link section can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section.Physical interface card 533 on interface board 530 is used to send the mode notice message to far-end PE equipment.
It is used to obtain the redundant mode of the link section based on the central processing unit 511 on master control borad 510, in a kind of specific embodiment, the central processing unit 511 on master control borad 510 is also used to generate MAC route messages, and is issued to interface board 530 or 540.The MAC route messages include target MAC (Media Access Control) address and next-hop network address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment, and the next-hop network address is the network address of the first PE equipment.Physical interface card 533 on interface board 530 is also used to send the MAC route messages to far-end PE equipment.
It is used to obtain the redundant mode of the link section based on the central processing unit 511 on master control borad 510, in another specific embodiment, when the redundant mode of the link section is more modes living, the central processing unit 511 is also used to obtain the first chain between the user side equipment and the first PE equipment The state on road, the state of first link are active or inactive.Correspondingly, the mode notice message further includes state and the next-hop network address of first link, the next-hop network address is the network address of the first PE equipment.The central processing unit 511 is also used to generate MAC route messages, and is issued to interface board 530 or 540.The MAC route messages include target MAC (Media Access Control) address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment.
Physical interface card 533 on interface board 530 is also used to send the MAC route messages to far-end PE equipment.
It is also used to obtain the state of the first link between the user side equipment and the first PE equipment based on the central processing unit 511 on master control borad 510, in a kind of specific embodiment, the link is ethernet link, the link section is ethernet segment ES, the redundant mode of the link section is the redundant mode of the ES, and first link is the first ethernet link.When the state of first ethernet link is to enliven, the mode notice message is for noticing the far-end PE equipment, and the part ethernet link in the ES can be used for transmitting data flow, wherein first ethernet link can be used for transmitting data flow.Or, when the state of first ethernet link is inactive, for the mode notice message for noticing the far-end PE equipment, the part ethernet link in the ES can be used for transmitting data flow, wherein, first ethernet link may not be usable for transmitting data flow.
It is also used to obtain the state of the first link between the user side equipment and the first PE equipment based on the central processing unit 511 on master control borad 510, in another specific embodiment, the link is pseudo-wire PW, the link section is pseudo- line segment PWS, the redundant mode of the link section is the redundant mode of the PWS, and first link is the first PW.When the state of the first PW is to enliven, the mode notice message is for noticing the far-end PE equipment, and the part PW in the PWS can be used for transmitting data flow, wherein the first PW can be used for transmitting data flow.Alternatively, the mode notice message is for noticing the far-end PE equipment, and the part PW in the PWS can be used for transmitting data flow, wherein the first PW may not be usable for transmitting data flow when the state of the first PW is inactive.
It is used to obtain the redundant mode of the link section based on the central processing unit 511 on master control borad 510, In a kind of specific embodiment, the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS.When the redundant mode of the PWS is full mode living, the mode notice message includes indicating that the redundant mode of the PWS is the information of full mode living and the mark of the PWS, the mark of the PWS indicates that all PW in the PWS may be used to transmitting data flow for PWS described in unique identification, the full mode living.
It is used to obtain the redundant mode of the link section based on the central processing unit 511 on master control borad 510, in another specific embodiment, the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS.When the redundant mode of the PWS is single mode living, the mode notice message includes indicating that the redundant mode of the PWS is the information of single mode living and the mark of the PWS, the mark of the PWS indicates that an only PW can be used for transmitting data flow in the PWS for PWS described in unique identification, single mode living.
It should be understood that the operation in the embodiment of the present invention on interface board 540 is consistent with the operation of the interface board 530, for sake of simplicity, repeating no more.It should be understood that, the first PE equipment 500A of the present embodiment can correspond to the first PE equipment in embodiment corresponding to above-mentioned Fig. 1 a to Fig. 4 c, function possessed by the first PE equipment in embodiment corresponding to Fig. 1 a to Fig. 4 c and/or the various steps implemented may be implemented in master control borad 510, interface board 530 and/or 540 in first PE equipment 500A, for sake of simplicity, details are not described herein.In addition, the present embodiment and following example are only illustrated by taking the first PE equipment in link section as an example, the 2nd PE equipment, the 3rd PE equipment in the link section, or more PE equipment have function identical with the first PE equipment, no longer repeat one by one herein.
In addition, it should be noted that, master control borad may have one or more, it may include main control board and slave control board when having muti-piece.Interface board may have one or more, and the data-handling capacity of the first PE equipment is stronger, and the interface board provided is more.Physical interface card on interface board can also have one or more.Network board may not have, it is also possible to have one or more, having can realize that Load Sharing Redundancy backs up jointly when muti-piece.Under centralized forwarding plane, the first PE equipment can not need network board, and interface board undertakes the processing function of the business datum of whole system.Under distributed forwarding framework, the first PE equipment can have at least one piece of network board, realize the number between muti-piece interface board by network board According to exchange, the data exchange and processing capacity of large capacity are provided.So the data access and processing capacity of the first PE equipment of distributed structure/architecture are greater than the equipment of centralized architecture.Which kind of framework is specifically used, specific networking deployment scenario is depended on, does not do any restriction herein.
Figure 5b shows that the another embodiment structural schematic diagrams of the first PE equipment involved in above-described embodiment.This product form of first PE equipment 500B is suitable for the network architecture (for example, software defined network (English: Software Defined Network, SDN)) based on control and forward separating.In SDN, the master control borad 510 of first PE equipment 500A as shown in Figure 5 a is separated from the device, new independent physical equipment (controller 1510 i.e. as shown in Figure 5 b) is formed, it is remaining to form another independent physical equipment (the first PE forwarding device 1500 i.e. as shown in Figure 5 b).Controller 1510 is interacted with the first PE forwarding device 1500 by control channel protocol realization.Control channel agreement can be open flows (English: OpenFlow) agreement, path computing communication protocol (English: Path Computation Element Communication Protocol, PCEP), Border Gateway Protocol (English: Border Gateway Protocol, BGP), route system interface (English: Interface to the Routing System, I2RS) etc..That is, compared with the embodiment corresponding to above-mentioned reality Fig. 5 a, the first PE equipment 500B in this implementation includes the controller 1510 and the first PE forwarding device 1500 separated, i.e., in this embodiment, the first PE equipment 500B can also regard a system as.
Controller 1510, which can be, realizes that either dedicated hardware configuration is realized based on general physical server, in a design example, the controller includes receiver, processor, transmitter, random access memory, read-only memory and bus (not shown).Wherein, processor is respectively coupled to receiver, transmitter, random access memory and read-only memory by bus.Wherein, when needing to run controller, system is guided to be started by the bootloader in the basic input output system or embedded system that are solidificated in read-only memory, guidance controller enters normal operating condition.After controller enters normal operating condition, application program and operating system are run in random access memory, so that the processor executes the functional and step of master control borad 510 in above-mentioned Fig. 5 a.
First PE forwarding device 1500 can be to be realized based on dedicated hardware configuration, and function and structure and the function and structure of interface board 530, interface board 540 and network board 520 in above-mentioned Fig. 5 a are consistent, and executes corresponding function and step.It is also possible to the virtual first PE forwarding device realized based on general physical server and network function virtualization (English: Netwrk Function Virtulization, NFV) technology, the virtual first PE forwarding device is virtual router.Under the scene of virtual first PE forwarding device, the first PE forwarding device mentioned in above-mentioned the first PE forwarding device embodiment of entity includes that interface board, network board and processor may be considered it under virtual environment and are based on general physical server and distribute to interface resource, Internet resources and process resource used in the virtual first PE forwarding device.Implement first embodiment for forwarding the function of PE equipment or step that can specifically refer to following FIG. 5 d using the function or step of common physical server implementation the first forwarding PE equipment, or using common physical server and using NFV technology.
It should be understood that, various functions, step that the first PE equipment in embodiment corresponding to Fig. 1 a to Fig. 4 c and Fig. 5 a is implemented may be implemented in controller 1510 and the first PE forwarding device 1500 in the present embodiment in the first PE equipment 500B, for sake of simplicity, details are not described herein.
Fig. 5 c shows the structural schematic diagram of another embodiment of the first PE equipment involved in above-described embodiment.First PE equipment 500C includes: processing unit 504C and transmission unit 506C.
Processing unit 504C is used to obtain the redundant mode of the link section, generates mode notice message.When the redundant mode of the link section is more modes living, the mode notice message includes indicating that the redundant mode of the link section is the information of more modes living and the mark of the link section, the mark of the link section is for link section described in unique identification, more modes living indicate that the part of links in the link section can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section.Transmission unit 506C is used to send the mode notice message to far-end PE equipment.
It is used to obtain the redundant mode of the link section based on processing unit 504C, in a kind of specific embodiment, processing unit 504C is also used to generate MAC route messages.The MAC route messages include target MAC (Media Access Control) address and next-hop network address, and the target MAC (Media Access Control) address is to access the user side The MAC Address of the terminal device of equipment, the next-hop network address are the network address of the first PE equipment.Transmission unit 506C is also used to send the MAC route messages to far-end PE equipment.
It is used to obtain the redundant mode of the link section based on processing unit 504C, in another specific embodiment, when the redundant mode of the link section is more modes living, processing unit 504C is also used to obtain the state of the first link between the user side equipment and the first PE equipment, and the state of first link is active or inactive.Correspondingly, the mode notice message further includes state and the next-hop network address of first link, the next-hop network address is the network address of the first PE equipment.Processing unit 504C is also used to generate MAC route messages.The MAC route messages include target MAC (Media Access Control) address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment.Unit 506C is received and sent to be also used to send the MAC route messages to far-end PE equipment.
It is also used to obtain the state of the first link between the user side equipment and the first PE equipment based on processing unit 504C, in a kind of specific embodiment, the link is ethernet link, and Fig. 1 a, Fig. 3 b, function and/or the various steps implemented possessed by the first PE equipment in embodiment corresponding to Fig. 5 a and Fig. 5 b specifically may be implemented.
It is also used to obtain the state of the first link between the user side equipment and the first PE equipment based on processing unit 504C, in another specific embodiment, the link is pseudo-wire PW, and Fig. 1 b, Fig. 4 b, function and/or the various steps implemented possessed by the first PE equipment in embodiment corresponding to Fig. 5 a and Fig. 5 b specifically may be implemented.
When the link is pseudo-wire PW, the link section is pseudo- line segment PWS, when the redundant mode of the link section is the redundant mode of the PWS, it is used to obtain the redundant mode of the link section based on processing unit 504C, the redundant mode can also be complete living mode or single mode living, and Fig. 1 b, Fig. 4 a, Fig. 4 b, function and/or the various steps implemented possessed by the first PE equipment in embodiment corresponding to Fig. 5 a and Fig. 5 b specifically may be implemented.
First PE equipment 500C of the embodiment of the present invention can be implemented various implementation functions in the first PE equipment in embodiment corresponding to above-mentioned Fig. 1 a to Fig. 5 b and the step of, for sake of simplicity, details are not described herein.
Fig. 5 d shows the structural schematic diagram of the another embodiment of the first PE equipment involved in above-described embodiment.In this embodiment, the functions or operations step (i.e. the first PE's described in above-described embodiment is known as functions or operations step) of the first PE equipment is implemented by one or more processors in general a computer or server by executing the program code in memory.Under this embodiment, the first PE equipment 500D includes: receiver 510D, processor 520D, transmitter 530D, random access memory 540D, read-only memory 550D and bus 560D.Wherein, processor 520D is respectively coupled to receiver 510D, transmitter 530D, random access memory 540D and read-only memory 550D by bus 560D.Wherein, when needing to run the first PE equipment 500D, system is guided to be started by the bootloader in the basic input output system or embedded system that are solidificated in read-only memory 550D, the first PE equipment 500D of guidance enters normal operating condition.After the first PE equipment 500D enters normal operating condition, the application program and operating system in random access memory 540D are operated in, so that:
Processor 520D is used to obtain the redundant mode of the link section, generates mode notice message.Transmitter 530D is used to send the mode notice message to far-end PE equipment.
First PE equipment 500D of the embodiment of the present invention can correspond to the first PE equipment in embodiment corresponding to above-mentioned Fig. 1 a to Fig. 4 c, also, function and/or the various steps and method implemented possessed by the first PE equipment in embodiment corresponding to Fig. 1 a to Fig. 4 c may be implemented in processor 520D, the transmitter 530D etc. in the first PE equipment 500D.The processor 520D is used to execute all operations of the processing unit 504C of the first PE equipment described in Fig. 5 c, and the transmitter 530D is used to execute all operations of the transmission unit 506C of the first PE equipment described in Fig. 5 c.For sake of simplicity, details are not described herein.
It should be noted that, the present embodiment can also virtualize the virtual first PE equipment that NFV technology is realized based on general physical server combination network function, the virtual first PE equipment is virtual router, and second can be fictionalized, three, N number of PE (according to actual needs) PE equipment.The virtual first PE equipment can be the virtual machine (English: Virtual Machine, VM) for the program that operation has for providing transmission message function, the deploying virtual machine on hardware device (for example, physical server). Virtual machine refer to by software simulate with complete hardware system function, operate in complete computer in a completely isolated environment.Those skilled in the art fictionalize multiple PE equipment with the above function in combination with NFV technology by reading the application on common physical server.Details are not described herein again.
Fig. 6 a shows a kind of structural schematic diagram of embodiment of far-end PE equipment involved in above-described embodiment.Far-end PE equipment 600A includes: master control borad 610, interface board 630, network board 620 and interface board 640.Master control borad 610 is for completing the functions such as system administration, plant maintenance, protocol processes.Network board 620 is used to complete the data exchange between each interface board (interface board is also referred to as line card or business board).Interface board 630 and 640 realizes the fast-forwarding of data packet for providing various businesses interface (for example, pos interface, GE interface, atm interface etc.).It is connected by system bus with System Backplane between master control borad 610, interface board 630 and 640 and network board 620 and realizes intercommunication.Central processing unit 631 on interface board 630 is used to carry out interface board control management and communicate with the central processing unit on master control borad.
Physical interface card 633 on interface board 630 is used to receive the first mode notice message sent from the first PE equipment, the first mode notice message includes the redundant mode of the link section and the mark of the link section, and the mark of the link section is for link section described in unique identification;
Central processing unit 611 on master control borad 610 is used to obtain the mark of the link section, and when the redundant mode of the link section is more modes living, it can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section according to the part of links in the link sections that modes confirm that the mark of the link section is identified of living more.
It is used to receive the first mode notice message sent from the first PE equipment based on the physical interface card 633 on interface board 630, in a kind of specific embodiment, at least three PE equipment further includes the 2nd PE equipment.When the state of the second link between the state of the first link between the first PE equipment and the user side equipment and the 2nd PE equipment and the user side equipment is all to enliven, physical interface card 633 is also used to receive the first MAC route messages and the 2nd MAC route messages from the first PE equipment and the 2nd PE equipment transmission respectively.The first MAC route messages packet Target MAC (Media Access Control) address and the first next-hop network address are included, the 2nd MAC route messages include the target MAC (Media Access Control) address and the second next-hop network address.The target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment, and first next-hop network address is the network address of the first PE equipment, and second next-hop network address is the network address of the 2nd PE equipment.
Central processing unit 611 on master control borad 610 is also used to determine that the first link described in the link section and second link can with load balancing forward the data flow for going to the purpose MAC according to more mode, the mark of the link section, the first MAC route messages and the 2nd MAC route messages living in the first mode notice message.
Specifically, central processing unit 611 on master control borad 610 is according to more modes living in the first mode notice message, the mark of the link section, the target MAC (Media Access Control) address, first next-hop network address and second next-hop network address, generate MAC forwarding-table item, the MAC forwarding-table item includes the target MAC (Media Access Control) address and outgoing interface list, the outgoing interface list includes the first outgoing interface of the far-end PE equipment and the second outgoing interface of the remote equipment, first outgoing interface is obtained according to first next-hop network address, second outgoing interface is obtained according to second next-hop network address.Central processing unit 611 on master control borad 610 is stored by the forwarding-table item memory 634 that the central processing unit 631 on interface board 630 is sent on interface board 630.The MAC forwarding-table item includes the target MAC (Media Access Control) address and outgoing interface list, the outgoing interface list includes the first outgoing interface (such as interface on physical interface card 633) of the far-end PE equipment and the second outgoing interface (such as another interface on physical interface card 633) of the remote equipment, network processing unit 632 on interface board 630 searches the MAC forwarding-table item, forwards what the data stream load for going to the purpose MAC was shared from first outgoing interface and second outgoing interface.
It is used to receive the first mode notice message sent from the first PE equipment based on the physical interface card 633 on interface board 630, in another specific embodiment, the first mode notice message further includes the state of the first link, and the state of first link is active or inactive.Central processing unit 611 on master control borad 610 is also used to determine first link between the first PE equipment and the user side equipment according to the states for living mode, the mark of the link section and first link more Whether transmitting data flow can be used for.
Further, the at least three PE equipment further includes the 2nd PE equipment, physical interface card 633 is also used to receive the second mode notice message sent from the 2nd PE equipment, and the second mode notice message includes that the redundant mode of the link section is that mostly work modes, the states of second link are the active and described link segment identification.Central processing unit 611 on master control borad 610 is also used to determine that second link between the 2nd PE equipment and the user side equipment can be used for transmitting data flow according to the states for living mode, the mark of the link section and second link in the second mode notice message more.When the state of first link is to enliven, the processing unit is also used to determine that the first link described in the link section and second link can with load balancing transmitting data flows.
The first mode notice message further includes the first next-hop network address, and first next-hop network address is the network address of the first PE equipment.The second mode notice message further includes the second next-hop network address, and second next-hop network address is the network address of the 2nd PE equipment.When the state of first link is to enliven, central processing unit 611 on master control borad 610 is also used to according to more modes living, the link segment identification, the state of first link is active, the state of second link is active, first next-hop network address and second next-hop network address, generate the mapping relations of link information and next-hop network address information, the mapping relations indicate that first link and second link in the link section that the link segment identification is identified can be with the transmitting data flows of load balancing, the data flow reaches first link by the first PE equipment that first next-hop network address identifies, the data flow reaches second link by the 2nd PE equipment that second next-hop network address identifies.
Correspondingly, physical interface card 633 is also used to receive the MAC route messages from the first PE equipment, and the MAC route messages include target MAC (Media Access Control) address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment.Central processing unit 611 on master control borad 610 is also used to generate MAC forwarding-table item according to the target MAC (Media Access Control) address and the mapping relations, and is stored by the forwarding-table item memory 634 that the central processing unit 631 on interface board 630 is sent on interface board 630.The MAC forwarding-table item includes the target MAC (Media Access Control) address and outgoing interface list, described Outgoing interface list includes the first outgoing interface (such as interface on physical interface card 633) of the far-end PE equipment and the second outgoing interface (such as another interface on physical interface card 633) of the remote equipment, network processing unit 632 on interface board 630 searches the MAC forwarding-table item, forwards what the data stream load for going to the purpose MAC was shared from first outgoing interface and second outgoing interface.First outgoing interface is obtained according to first next-hop network address, and second outgoing interface is obtained according to second next-hop network address.
Based on the first mode notice message further include the state of the first link or at least three PE equipment further includes the 2nd PE equipment, in a kind of specific embodiment, the link is ethernet link, the link section is ethernet segment ES, the redundant mode of the link section is the redundant mode of the ES, and first link is the first ethernet link.When the state of first ethernet link is to enliven, the central processing unit 611 on master control borad 610 is also used to determine that first ethernet link as an active links in the ES, can be used for transmitting data flow.Alternatively, central processing unit 611 on master control borad 610 is also used to determine first ethernet link as an inactive link in the ES, it is not possible to be used for transmitting data flow when the state of first ethernet link is inactive.
Based on the first mode notice message further include the state of the first link or at least three PE equipment further includes the 2nd PE equipment, in another specific embodiment, the link is pseudo-wire PW, the link section is pseudo- line segment PWS, the redundant mode of the link section is the redundant mode of the PWS, and first link is the first PW.When the state of the first PW is to enliven, the central processing unit 611 on master control borad 610 is also used to determine that the first PW as one article of active links in the PWS, can be used for transmitting data flow.Alternatively, central processing unit 611 on master control borad 610 is also used to determine the first PW as one article of inactive link in the PWS, it is not possible to be used for transmitting data flow when the state of the first PW is inactive.
It is used to receive the first mode notice message sent from the first PE equipment based on the physical interface card 633 on interface board 630, the link is pseudo-wire PW, the link section is pseudo- line segment PWS, the redundant mode of the link section is the redundant mode of the PWS, the mark for being identified as the PWS of the link.
In a kind of specific embodiment, when the redundant mode of the PWS is full mode living, the central processing unit 611 on master control borad 610 is also used to confirm according to the full mode living that all PW in the PWS that the mark of the PWS is identified can be used for transmitting data flow.
In another specific embodiment, the mode notice message further includes the status information of the first PW, when the redundant mode of the PWS is that mode living and the state of the first PW are to enliven entirely, the central processing unit 611 on master control borad 610 is also used to confirm that all PW in the PWS that the mark of the PWS is identified can be used for transmitting data flow.
In another specific embodiment, when the redundant mode of the PWS is single mode living, the central processing unit 611 on master control borad 610 is also used to can be used for transmitting data flow according to an only PW in single PWS that mode confirms that the mark of the PWS is identified that lives.
In another specific embodiment, the mode notice message further includes the status information of the first PW, when the redundant mode of the PWS is that singly mode living and the state of the first PW are to enliven, the central processing unit 611 on master control borad 610 is also used to determine that the first PW in the PWS that the mark of the PWS is identified can be used for transmitting data flow.
It should be understood that the operation in the embodiment of the present invention on interface board 640 is consistent with the operation of the interface board 630, for sake of simplicity, repeating no more.It should be understood that, the far-end PE equipment 600A of the embodiment of the present invention can correspond to the far-end PE equipment in embodiment corresponding to above-mentioned Fig. 1 a to Fig. 4 c, the various steps that master control borad 610, interface board 630 and/or 640 in far-end PE equipment 600A may be implemented function possessed by the far-end PE equipment in embodiment corresponding to Fig. 1 a to Fig. 4 c and/or implemented, for sake of simplicity, details are not described herein.In addition, the present embodiment and following example are only illustrated by taking the first PE equipment in link section as an example, the 2nd PE equipment, the 3rd PE equipment in the link section, or more PE equipment have function identical with the first PE equipment, no longer repeat one by one herein.
In addition, it should be noted that, master control borad may have one or more, it may include main control board and slave control board when having muti-piece.Interface board may have one or more, and the data-handling capacity of far-end PE equipment is stronger, and the interface board provided is more.Physical interface card on interface board can also have one or more.Network board may not have, it is also possible to there is one or more, it can be jointly real when having muti-piece Existing Load Sharing Redundancy backup.Under centralized forwarding plane, far-end PE equipment can not need network board, and interface board undertakes the processing function of the business datum of whole system.Under distributed forwarding framework, far-end PE equipment can have at least one piece of network board, realize the data exchange between muti-piece interface board by network board, provide the data exchange and processing capacity of large capacity.So the data access and processing capacity of the far-end PE equipment of distributed structure/architecture are greater than the equipment of centralized architecture.Which kind of framework is specifically used, specific networking deployment scenario is depended on, does not do any restriction herein.
Fig. 6 b shows the alternatively possible structural schematic diagram of far-end PE equipment involved in above-described embodiment.This product form of far-end PE equipment 600B is suitable for the network architecture (for example, SDN) based on control and forward separating.In SDN, the master control borad 610 of far-end PE equipment 600A as shown in Figure 6 a is separated from the device, new independent physical equipment (controller 1610 i.e. as shown in Figure 6 b) is formed, it is remaining to form another independent physical equipment (far-end PE forwarding device 1600 i.e. as shown in Figure 6 b).Controller 1610 is interacted with far-end PE forwarding device 1600 by control channel protocol realization.Control channel agreement can be OpenFlow agreement, PCEP, BGP, I2RS etc..That is, compared with the embodiment corresponding to above-mentioned reality Fig. 5 a, the first PE equipment 500B in this implementation includes the controller 1510 and the first PE forwarding device 1500 separated, i.e., in this embodiment, the first PE equipment 500B can also regard a system as.
Controller 1610, which can be, realizes that either dedicated hardware configuration is realized based on general physical server, in a design example, the controller includes receiver, processor, transmitter, random access memory, read-only memory and bus (not shown).Wherein, processor is respectively coupled to receiver, transmitter, random access memory and read-only memory by bus.Wherein, when needing to run controller, system is guided to be started by the bootloader in the basic input output system or embedded system that are solidificated in read-only memory, guidance controller enters normal operating condition.After controller enters normal operating condition, application program and operating system are run in random access memory, so that the processor executes the functional and step of master control borad 610 in above-mentioned Fig. 6 a.In another specific embodiment, controller shown in Fig. 6 b is also possible to based on general physical services The Virtual Controller that device and NFV technology are realized, the Virtual Controller, which can be operation, to be had for providing the VM for the program for receiving message function, and the VM is deployed on hardware device (for example, physical server).This virtual controller executes the function and operation that controller 1610 is all shown in Fig. 6 b.
Far-end PE forwarding device 1600 can be to be realized based on dedicated hardware configuration, and function and structure and the function and structure of interface board 630, interface board 640 and network board 620 in above-mentioned Fig. 6 a are consistent, and executes corresponding function and step.It is also possible to the virtual remote PE equipment realized based on general physical server and NFV technology, the virtual remote PE equipment is virtual router.Under the scene of virtual remote PE equipment, the far-end PE forwarding device mentioned in above-mentioned entity far-end PE forwarding device embodiment includes that interface board, network board and processor may be considered it under virtual environment and are based on general physical server and distribute to interface resource, Internet resources and process resource used in virtual remote PE forwarding device.Using the function or step of the common physical server implementation far-end PE equipment, or using common physical server and implements the function of the far-end PE equipment or step using NFV technology and can specifically refer to the embodiment of following FIG. 6 d.
It should be understood that, the various functions and step that the far-end PE equipment in embodiment corresponding to Fig. 1 a to Fig. 4 c and Fig. 6 a is implemented may be implemented in controller 1610 and the far-end PE forwarding device 1600 in the present embodiment in far-end PE equipment 600B, for sake of simplicity, details are not described herein.
Fig. 6 c shows another possible structural schematic diagram of far-end PE equipment involved in above-described embodiment.Far-end PE equipment 600C includes: receiving unit 602C and processing unit 604C.
Receiving unit 602C is used to receive the first mode notice message sent from the first PE equipment, the first mode notice message includes the redundant mode of the link section and the mark of the link section, and the mark of the link section is for link section described in unique identification;
Processing unit 604C is used to obtain the mark of the link section, and when the redundant mode of the link section is more modes living, it can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section according to the part of links in the link sections that modes confirm that the mark of the link section is identified of living more.
It is used to receive the first mode notice message sent from the first PE equipment based on receiving unit 602C, in a kind of specific embodiment, at least three PE equipment further includes the 2nd PE equipment.When the state of the second link between the state of the first link between the first PE equipment and the user side equipment and the 2nd PE equipment and the user side equipment is all to enliven, receiving unit 602C is also used to receive the first MAC route messages and the 2nd MAC route messages from the first PE equipment and the 2nd PE equipment transmission respectively.The description of the first MAC route messages and the 2nd MAC route messages is consistent with above-mentioned Fig. 6 a illustrated embodiment, repeats no more.
Processing unit 604C is also used to determine that the first link described in the link section and second link can with load balancing forward the data flow for going to the purpose MAC according to more mode, the mark of the link section, the first MAC route messages and the 2nd MAC route messages living in the first mode notice message.
Optionally, the processing unit 604C is according to more modes living in the first mode notice message, the mark of the link section, the target MAC (Media Access Control) address, first next-hop network address and second next-hop network address, generate MAC forwarding-table item, the MAC forwarding-table item includes the target MAC (Media Access Control) address and outgoing interface list, the outgoing interface list includes the first outgoing interface of the far-end PE equipment and the second outgoing interface of the remote equipment, first outgoing interface is obtained according to first next-hop network address, second outgoing interface is obtained according to second next-hop network address.The far-end PE equipment further includes storage unit, and the storage unit is for saving the MAC forwarding-table item.The far-end PE equipment further includes transmission unit, and the transmission unit is forwarded what the data stream load for going to the purpose MAC was shared from first outgoing interface and second outgoing interface.
It is used to receive the first mode notice message sent from the first PE equipment based on receiving unit 602C, in another specific embodiment, the first mode notice message further includes the state of the first link, and the state of first link is active or inactive.Processing unit 604C is also used to determine whether first link between the first PE equipment and the user side equipment can be used for transmitting data flow according to the states for living mode, the mark of the link section and first link more.
Further, at least three PE equipment further includes the 2nd PE equipment, and receiving unit 602C is also For receiving the second mode notice message sent from the 2nd PE equipment, the second mode notice message includes that the redundant mode of the link section is that mostly work modes, the states of second link are the active and described link segment identification.Processing unit 604C is also used to determine that second link between the 2nd PE equipment and the user side equipment can be used for transmitting data flow according to the states for living mode, the mark of the link section and second link in the second mode notice message more.When the state of first link is to enliven, the processing unit is also used to determine that the first link described in the link section and second link can with load balancing transmitting data flows.
The first mode notice message further includes the first next-hop network address, and first next-hop network address is the network address of the first PE equipment.The second mode notice message further includes the second next-hop network address, and second next-hop network address is the network address of the 2nd PE equipment.When the state of first link is to enliven, processing unit 604C is also used to be active, the second link state according to live mode, the link segment identification, the states of first link to be active, first next-hop network address and second next-hop network address more, the mapping relations of link information and next-hop network address information are generated, the mapping relations indicate that first link and second link in the link section that the link segment identification is identified can be with the transmitting data flows of load balancing.The data flow reaches first link by the first PE equipment that first next-hop network address identifies, and the data flow reaches second link by the 2nd PE equipment that second next-hop network address identifies.
Correspondingly, receiving unit 602C is also used to receive the MAC route messages from the first PE equipment, and the MAC route messages include target MAC (Media Access Control) address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment.Processing unit 604C is also used to generate MAC forwarding-table item according to the target MAC (Media Access Control) address and the mapping relations.The far-end PE equipment 600C further includes storage unit, and the storage unit is for saving the MAC forwarding-table item.The MAC forwarding-table item includes the target MAC (Media Access Control) address and outgoing interface list, the outgoing interface list includes the first outgoing interface of the far-end PE equipment and the second outgoing interface of the remote equipment, processing unit 604C is also used to search the MAC forwarding-table item, obtains first outgoing interface and second outgoing interface.It is described Far-end PE equipment further includes transmission unit, and the transmission unit by what the data stream load for going to the purpose MAC was shared from first outgoing interface and second outgoing interface for forwarding.First outgoing interface is obtained according to first next-hop network address, and second outgoing interface is obtained according to second next-hop network address.
Based on the first mode notice message further include the state of the first link or at least three PE equipment further includes the 2nd PE equipment, in a kind of specific embodiment, the link is ethernet link, the link section is ethernet segment ES, the redundant mode of the link section is the redundant mode of the ES, and first link is the first ethernet link.When the state of first ethernet link is to enliven, processing unit 604C is also used to determine that first ethernet link as an active links in the ES, can be used for transmitting data flow.Alternatively, processing unit 604C is also used to determine first ethernet link as an inactive link in the ES, it is not possible to be used for transmitting data flow when the state of first ethernet link is inactive.
Based on the first mode notice message further include the state of the first link or at least three PE equipment further includes the 2nd PE equipment, in another specific embodiment, the link is pseudo-wire PW, the link section is pseudo- line segment PWS, the redundant mode of the link section is the redundant mode of the PWS, and first link is the first PW.When the state of the first PW is to enliven, processing unit 604C is also used to determine that the first PW as one article of active links in the PWS, can be used for transmitting data flow.Alternatively, processing unit 604C is also used to determine the first PW as one article of inactive link in the PWS, it is not possible to be used for transmitting data flow when the state of the first PW is inactive.
It is used to receive the first mode notice message sent from the first PE equipment based on receiving unit 602C, the link is pseudo-wire PW, the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS, the mark for being identified as the PWS of the link.
In a kind of specific embodiment, when the redundant mode of the PWS is full mode living, processing unit 604C is also used to confirm according to the full mode living that all PW in the PWS that the mark of the PWS is identified can be used for transmitting data flow.
In another specific embodiment, the mode notice message further includes the state of the first PW Information, when the redundant mode of the PWS is that mode living and the state of the first PW are to enliven entirely, processing unit 604C is also used to confirm that all PW in the PWS that the mark of the PWS is identified can be used for transmitting data flow.
In another specific embodiment, when the redundant mode of the PWS is single mode living, processing unit 604C is also used to can be used for transmitting data flow according to an only PW in single PWS that mode confirms that the mark of the PWS is identified that lives.
In another specific embodiment, the mode notice message further includes the status information of the first PW, when the redundant mode of the PWS is that singly mode living and the state of the first PW are to enliven, processing unit 604C is also used to determine that the first PW in the PWS that the mark of the PWS is identified can be used for transmitting data flow.
Various implementation functions and step in the far-end PE equipment in embodiment corresponding to Fig. 1 a to Fig. 6 b may be implemented in the far-end PE equipment 600C of the embodiment of the present invention, for sake of simplicity, details are not described herein.
FIG. 6d shows that another possible structural schematic diagrams of far-end PE equipment involved in above-described embodiment.In this embodiment, the functions or operations step (i.e. the first PE's described in above-described embodiment is known as functions or operations step) of the first PE equipment is implemented by one or more processors in general a computer or server by executing the program code in memory.Under this embodiment, far-end PE equipment 600D includes: receiver 610D, processor 620D, transmitter 630D, random access memory 640D, read-only memory 650D and bus 660D.Wherein, processor 620D is respectively coupled to receiver 610D, transmitter 630D, random access memory 640D and read-only memory 650D by bus 660D.Wherein, when needing to run far-end PE equipment 600D, system is guided to be started by the bootloader in the basic input output system or embedded system that are solidificated in read-only memory 650D, guidance far-end PE equipment 600D enters normal operating condition.After far-end PE equipment 600D enters normal operating condition, application program and operating system in random access memory 640D are operated in, so that:
Receiver 610D is used to receive the first mode notice message sent from the first PE equipment.
Processor 620D is used to obtain the mark of the link section, and when the redundant mode of the link section is more modes living, the part of links in link section that the mark of the link section according to the identity validation of more modes living and the link section is identified can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section.
The various functions and step that the far-end PE equipment in embodiment corresponding to Fig. 1 a to Fig. 4 c is implemented may be implemented in the far-end PE equipment 600D of the embodiment of the present invention.Function possessed by the far-end PE equipment in embodiment corresponding to Fig. 1 a to Fig. 4 c and/or the various steps and method implemented may be implemented in processor 620D, transmitter 630D etc. in far-end PE equipment 600D.The processor 620D is used to execute all operations of the processing unit 604C of far-end PE equipment described in Fig. 6 c, and the receiver 610D is used to execute all operations of the receiving unit 602C of far-end PE equipment described in Fig. 6 c.For sake of simplicity, details are not described herein.
It should be noted that, the present embodiment can also virtualize the virtual remote PE equipment that NFV technology is realized based on general physical server combination network function, the virtual remote PE equipment is virtual router, and second can be fictionalized, three, N number of (according to actual needs) far-end PE equipment.The virtual remote PE equipment can be the virtual machine (English: Virtual Machine, VM) for the program that operation has for providing reception message function, the deploying virtual machine on hardware device (for example, physical server).Virtual machine refer to by software simulate with complete hardware system function, operate in complete computer in a completely isolated environment.Those skilled in the art fictionalize multiple PE equipment with the above function in combination with NFV technology by reading the application on common physical server.Details are not described herein again.
Fig. 7 is a kind of system schematic for sending and receiving message provided in an embodiment of the present invention.As shown in fig. 7, system 700 includes the first PE equipment 710 and far-end PE equipment 720.First PE equipment 710 is above-mentioned Fig. 5 a, any first PE equipment or virtual first PE equipment described in 5b, 5c, 5d, and far-end PE equipment 720 is above-mentioned Fig. 6 a, any far-end PE equipment or virtual remote PE equipment described in 6b, 6c, 6d.Detailed description in relation to equipment each in system refers to the related Sections such as above-mentioned Fig. 5 a-5d and Fig. 6 a-6d, and details are not described herein again.
It should be understood that Fig. 6 a, 6b, 6c and 6d illustrate only the first PE equipment and simplifying for controller is designed.Fig. 6 a, 6b, 6c and 6d illustrate only far-end PE equipment and simplifying for controller is designed.In practical applications; first PE equipment and far-end PE equipment can separately include any number of receiver, transmitter, processor, memory, master control borad, interface board, network board, physical interface card etc., and all the first PE equipment and far-end PE equipment of the invention may be implemented all within protection scope of the present invention.
It should be understood that, those skilled in the art are on the basis of reading present specification, it can carry out not needing to pay creative combination for optional feature, step or method described in the embodiment of the present application, disclosed embodiments are belonged to, only because description or the simple of style of writing do not repeat to repeat various combination.
It should be understood that the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It should be understood that, in various embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant that the order of the execution order, and the execution sequence of each process should be determined by its function and internal logic, and the implementation process of the embodiments of the invention shall not be constituted with any limitation.
Those of ordinary skill in the art may be aware that unit described in conjunction with the examples disclosed in the embodiments of the present disclosure and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Professional technician can use different methods to achieve the described function each specific application, but such implementation should not be considered as beyond the scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, system, the specific work process of device and unit of foregoing description can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods may be implemented in other ways.For example, Installation practice described above is only It is schematically, for example, the division of the unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, and component shown as a unit may or may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, the functional units in various embodiments of the present invention may be integrated into one processing unit, it is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units.
If the function is realized in the form of SFU software functional unit and when sold or used as an independent product, can store in a computer readable storage medium.Based on this understanding, substantially the part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products technical solution of the present invention in other words, the computer software product is stored in a storage medium, it uses including some instructions so that a computer equipment (can be personal computer, server or the network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), the various media that can store program code such as magnetic or disk.
It is described above; only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and anyone skilled in the art is in the technical scope disclosed by the present invention; it can easily think of the change or the replacement, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (33)

  1. A method of sending message, it is characterized in that, applied to Ethernet Virtual Private Line network EVPN, user side equipment is respectively connected to by least three links into the scene of at least three Provider Edge PE equipment, at least three links form one group of link, this group of link is link section, and at least three PE equipment includes the first PE equipment, which comprises
    The first PE equipment obtains the redundant mode of the link section;
    When the redundant mode of the link section is more modes living, the first PE equipment is to far-end PE equipment sending mode notice message, the mode notice message includes the mark of the more modes and the link section living, the mark of the link section is for link section described in unique identification, more modes living indicate that the part of links in the link section can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section.
  2. The method according to claim 1, wherein the method also includes:
    The first PE equipment sends MAC route messages to the far-end PE equipment, the MAC route messages include target MAC (Media Access Control) address and next-hop network address, the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment, and the next-hop network address is the network address of the first PE equipment.
  3. The method according to claim 1, wherein the method also includes:
    When the redundant mode of the link section is more modes living, the first PE equipment obtains the state of the first link between the user side equipment and the first PE equipment, and the state of first link is active or inactive;
    Correspondingly, the mode notice message further includes state and the next-hop network address of first link, the next-hop network address is the network address of the first PE equipment;
    The first PE equipment also sends MAC route messages to the far-end PE equipment, and the MAC route messages include target MAC (Media Access Control) address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment.
  4. According to the method described in claim 3, the link section is ethernet segment ES, and the redundant mode of the link section is the redundant mode of the ES, and first link is the first ethernet link it is characterized in that, the link is ethernet link;Correspondingly,
    When the state of first ethernet link is to enliven, the mode notice message is for noticing the far-end PE equipment, and the part ethernet link in the ES can be used for transmitting data flow, wherein first ethernet link can be used for transmitting data flow;Or
    When the state of first ethernet link is inactive, the mode notice message is for noticing the far-end PE equipment, part ethernet link in the ES can be used for transmitting data flow, wherein first ethernet link may not be usable for transmitting data flow.
  5. According to the method described in claim 3, the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS, and first link is the first PW it is characterized in that, the link is pseudo-wire PW;Correspondingly,
    When the state of the first PW is to enliven, the mode notice message is for noticing the far-end PE equipment, and the part PW in the PWS can be used for transmitting data flow, wherein the first PW can be used for transmitting data flow;Or
    When the state of the first PW is inactive, the mode notice message is for noticing the far-end PE equipment, and the part PW in the PWS can be used for transmitting data flow, wherein the first PW may not be usable for transmitting data flow.
  6. The method according to claim 1, wherein the link is pseudo-wire PW, the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS;
    When the redundant mode of the PWS is full mode living, the first PE equipment is to far-end PE equipment sending mode notice message, the mode notice message includes the mark of the full mode living and the link section, the mark of the link section indicates that all PW in the PWS may be used to transmitting data flow for link section described in unique identification, the full mode living.
  7. The method according to claim 1, wherein the link is pseudo-wire PW, the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS;
    When the redundant mode of the PWS is single mode living, the first PE equipment is to far-end PE equipment sending mode notice message, the mode notice message includes the mark of the single mode and the link section living, the mark of the link section indicates that an only PW can be used for transmitting data flow in the PWS for link section described in unique identification, single mode living;.
  8. A method of receiving message, it is characterized in that, applied to Ethernet Virtual Private Line network EVPN, user side equipment is respectively connected to by least three links into the scene of at least three Provider Edge PE equipment, at least three links form one group of link, this group of link is link section, and at least three PE equipment includes the first PE equipment, which comprises
    Far-end PE equipment receives the first mode notice message sent from the first PE equipment, and the first mode notice message includes the redundant mode of the link section and the mark of the link section, and the mark of the link section is for link section described in unique identification;
    The remote equipment PE obtains the mark of the link section, and when the redundant mode of the link section is more modes living, it can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section according to the part of links in the link sections that modes confirm that the mark of the link section is identified of living more.
  9. According to the method described in claim 8, it is characterized in that, at least three PE equipment further includes the 2nd PE equipment, the method also includes:
    When the state of the second link between the state of the first link between the first PE equipment and the user side equipment and the 2nd PE equipment and the user side equipment is all to enliven, the far-end PE equipment receives the first MAC route messages and the 2nd MAC route messages from the first PE equipment and the 2nd PE equipment transmission respectively, the first MAC route messages include target MAC (Media Access Control) address and the first next-hop network address, and the 2nd MAC route messages include the target MAC (Media Access Control) address and the second next-hop network address;The target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment, and first next-hop network address is the network address of the first PE equipment, and second next-hop network address is the network address of the 2nd PE equipment;
    The far-end PE equipment is according to the more modes, the chain living in the first mode notice message The mark in section, the first MAC route messages and the 2nd MAC route messages, the far-end PE equipment determine that the first link described in the link section and second link can with load balancing forward the data flow for going to the purpose MAC.
  10. According to the method described in claim 8, it is characterized in that, the method also includes:
    The first mode notice message further includes the state of the first link, and the state of first link is active or inactive;
    The far-end PE equipment determines whether first link between the first PE equipment and the user side equipment can be used for transmitting data flow according to the states for living mode, the mark of the link section and first link more.
  11. According to the method described in claim 10, it is characterized in that, at least three PE equipment further includes the 2nd PE equipment, the method also includes:
    Far-end PE equipment receives the second mode notice message sent from the 2nd PE equipment, and the second mode notice message includes that the redundant mode of the link section is that mostly work modes, the states of second link are the active and described link segment identification;
    The far-end PE equipment determines that second link between the 2nd PE equipment and the user side equipment can be used for transmitting data flow according to the states for living mode, the mark of the link section and second link in the second mode notice message more;
    When the state of first link is to enliven, the far-end PE equipment determines that the first link described in the link section and second link can with load balancing transmitting data flows.
  12. According to the method for claim 11, which is characterized in that when the state of first link is to enliven, the far-end PE equipment determines the first link described in the link section and second link can with load balancing transmitting data flow include:
    The first mode notice message further includes the first next-hop network address, and first next-hop network address is the network address of the first PE equipment;The second mode notice message further includes the second next-hop network address, and second next-hop network address is the network address of the 2nd PE equipment;
    The far-end PE equipment is according to more living modes, the link segment identification, first link State is active, the state of second link is active, first next-hop network address and second next-hop network address, generate the mapping relations of link information and next-hop network address information, the mapping relations indicate that first link and second link in the link section that the link segment identification is identified can be with the transmitting data flows of load balancing, the data flow reaches first link by the first PE equipment that first next-hop network address identifies, the data flow reaches second link by the 2nd PE equipment that second next-hop network address identifies;
    Correspondingly, the far-end PE equipment also receives the MAC route messages from the first PE equipment, and the MAC route messages include target MAC (Media Access Control) address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment;
    The far-end PE equipment generates MAC forwarding-table item also according to the target MAC (Media Access Control) address and the mapping relations, the MAC forwarding-table item includes the target MAC (Media Access Control) address and outgoing interface list, the outgoing interface list includes the first outgoing interface of the far-end PE equipment and the second outgoing interface of the remote equipment, and the far-end PE equipment is forwarded what the data stream load for going to the purpose MAC was shared from first outgoing interface and second outgoing interface;First outgoing interface is obtained according to first next-hop network address, and second outgoing interface is obtained according to second next-hop network address.
  13. 0 to 12 any method according to claim 1, which is characterized in that the link is ethernet link, and the link section is ethernet segment ES, and the redundant mode of the link section is the redundant mode of the ES, and first link is the first ethernet link;Correspondingly, the far-end PE equipment determines whether first link between the first PE equipment and the user side equipment can be used for transmitting data flow and include: according to the states for living mode, the mark of the link section and first link more
    When the state of first ethernet link is to enliven, the far-end PE equipment determines that first ethernet link as an active links in the ES, can be used for transmitting data flow;Or
    When the state of first ethernet link is inactive, the far-end PE equipment determines first ethernet link as an inactive link in the ES, it is not possible to be used for transmitting data flow.
  14. 0 to 12 any method according to claim 1, which is characterized in that the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the PWS Redundant mode, first link be the first PW;Correspondingly, the far-end PE equipment determines whether first link between the first PE equipment and the user side equipment can be used for transmitting data flow and include: according to the states for living mode, the mark of the link section and first link more
    When the state of the first PW is to enliven, the far-end PE equipment determines that the first PW as one article of active links in the PWS, can be used for transmitting data flow;Or
    When the state of the first PW is inactive, the far-end PE equipment determines the first PW as one article of inactive link in the PWS, it is not possible to be used for transmitting data flow.
  15. According to the method described in claim 8, the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS, the mark for being identified as the PWS of the link it is characterized in that, the link is pseudo-wire PW;
    For the far-end PE when the redundant mode of the link section is full mode living, all PW in the PWS that the mark of the PWS according to the identity validation of the full mode living and the PWS is identified can be used for transmitting data flow.
  16. According to the method described in claim 8, the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS, the mark for being identified as the PWS of the link it is characterized in that, the link is pseudo-wire PW;
    For the far-end PE when the redundant mode of the link section is single mode living, an only PW can be used for transmitting data flow in the PWS that the mark of the PWS according to the identity validation of single mode living and the PWS is identified.
  17. A kind of first Provider Edge PE equipment, it is characterized in that, applied to Ethernet Virtual Private Line network EVPN, user side equipment is respectively connected to by least three links into the scene of at least three Provider Edge PE equipment, at least three links form one group of link, this group of link is link section, and at least three PE equipment includes the first PE equipment, and the first PE equipment includes:
    Processing unit for obtaining the redundant mode of the link section, and generates mode notice message;When the redundant mode of the link section is more modes living, the mode notice message includes indicating that the redundant mode of the link section is the information of more modes living and the mark of the link section, and the mark of the link section is used The link section described in unique identification, more modes living indicate that the part of links in the link section can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section;
    Transmission unit, for sending the mode notice message to far-end PE equipment.
  18. First PE equipment according to claim 17, which is characterized in that the transmission unit is also used to:
    MAC route messages are sent to the far-end PE equipment, the MAC route messages include target MAC (Media Access Control) address and next-hop network address, the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment, and the next-hop network address is the network address of the first PE equipment.
  19. First PE equipment according to claim 17, which is characterized in that the processing unit is also used to:
    When the redundant mode of the link section is more modes living, the state of the first link between the user side equipment and the first PE equipment is obtained, the state of first link is active or inactive;
    Correspondingly, the mode notice message further includes state and the next-hop network address of first link, the next-hop network address is the network address of the first PE equipment;
    The transmission unit is also used to send MAC route messages to the far-end PE equipment, and the MAC route messages include target MAC (Media Access Control) address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment.
  20. First PE equipment according to claim 19, which is characterized in that the link is ethernet link, and the link section is ethernet segment ES, and the redundant mode of the link section is the redundant mode of the ES, and first link is the first ethernet link;Correspondingly,
    When the state of first ethernet link is to enliven, the mode notice message is for noticing the far-end PE equipment, and the part ethernet link in the ES can be used for transmitting data flow, wherein first ethernet link can be used for transmitting data flow;Or
    When the state of first ethernet link is inactive, for the mode notice message for noticing the far-end PE equipment, the part ethernet link in the ES can be used for transmitting data flow, wherein First ethernet link may not be usable for transmitting data flow.
  21. First PE equipment according to claim 19, which is characterized in that the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS, and first link is the first PW;Correspondingly,
    When the state of the first PW is to enliven, the mode notice message is for noticing the far-end PE equipment, and the part PW in the PWS can be used for transmitting data flow, wherein the first PW can be used for transmitting data flow;Or
    When the state of the first PW is inactive, the mode notice message is for noticing the far-end PE equipment, and the part PW in the PWS can be used for transmitting data flow, wherein the first PW may not be usable for transmitting data flow.
  22. First PE equipment according to claim 17, which is characterized in that the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS;
    When the redundant mode of the PWS is full mode living, the mode notice message includes indicating that the redundant mode of the PWS is the information of full mode living and the mark of the PWS, the mark of the PWS indicates that all PW in the PWS may be used to transmitting data flow for PWS described in unique identification, the full mode living.
  23. First PE equipment according to claim 17, which is characterized in that the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS;
    When the redundant mode of the PWS is single mode living, the mode notice message includes indicating that the redundant mode of the PWS is the information of single mode living and the mark of the PWS, the mark of the PWS indicates that an only PW can be used for transmitting data flow in the PWS for PWS described in unique identification, single mode living.
  24. A kind of far-end PE equipment, which is characterized in that be applied to Ethernet Virtual Private Line network EVPN, user side equipment is respectively connected to by least three links to the field of at least three Provider Edge PE equipment Jing Zhong, at least three links form one group of link, this group of link is link section, and at least three PE equipment includes the first PE equipment, and the far-end PE equipment includes:
    Receiving unit, for receiving the first mode notice message sent from the first PE equipment, the first mode notice message includes the redundant mode of the link section and the mark of the link section, and the mark of the link section is for link section described in unique identification;
    Processing unit, for obtaining the mark of the link section, and when the redundant mode of the link section is more modes living, it can be used for transmitting data flow, the maximum link quantity that the quantity of the part of links is greater than 1 and is less than in the link section according to the part of links in the link sections that modes confirm that the mark of the link section is identified of living more.
  25. Far-end PE equipment according to claim 24, which is characterized in that at least three PE equipment further includes the 2nd PE equipment, and the receiving unit is also used to:
    When the state of the second link between the state of the first link between the first PE equipment and the user side equipment and the 2nd PE equipment and the user side equipment is all to enliven, the first MAC route messages and the 2nd MAC route messages from the first PE equipment and the 2nd PE equipment transmission are received respectively, the first MAC route messages include target MAC (Media Access Control) address and the first next-hop network address, and the 2nd MAC route messages include the target MAC (Media Access Control) address and the second next-hop network address;The target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment, and first next-hop network address is the network address of the first PE equipment, and second next-hop network address is the network address of the 2nd PE equipment;
    The processing unit is also used to determine that the first link described in the link section and second link can with load balancing forward the data flow for going to the purpose MAC according to more mode, the mark of the link section, the first MAC route messages and the 2nd MAC route messages living in the first mode notice message.
  26. Far-end PE equipment according to claim 24, which is characterized in that the first mode notice message further includes the state of the first link, and the state of first link is active or inactive;
    The processing unit is also used to according to the more modes, the mark of the link section and described first living The state of link determines whether first link between the first PE equipment and the user side equipment can be used for transmitting data flow.
  27. Far-end PE equipment according to claim 26, which is characterized in that at least three PE equipment further includes the 2nd PE equipment, and the receiving unit is also used to:
    The second mode notice message sent from the 2nd PE equipment is received, the second mode notice message includes that the redundant mode of the link section is that mostly work modes, the states of second link are the active and described link segment identification;
    The processing unit is also used to determine that second link between the 2nd PE equipment and the user side equipment can be used for transmitting data flow according to the states for living mode, the mark of the link section and second link in the second mode notice message more;
    When the state of first link is to enliven, the processing unit is also used to determine that the first link described in the link section and second link can with load balancing transmitting data flows.
  28. Far-end PE equipment according to claim 27, it is characterized in that, when the state of first link is to enliven, the processing unit is also used to determine the first link described in the link section and second link can with load balancing transmitting data flow include:
    The first mode notice message further includes the first next-hop network address, and first next-hop network address is the network address of the first PE equipment;The second mode notice message further includes the second next-hop network address, and second next-hop network address is the network address of the 2nd PE equipment;
    The processing unit is according to more modes living, the link segment identification, the state of first link is active, the state of second link is active, first next-hop network address and second next-hop network address, generate the mapping relations of link information and next-hop network address information, the mapping relations indicate that first link and second link in the link section that the link segment identification is identified can be with the transmitting data flows of load balancing, the data flow reaches first link by the first PE equipment that first next-hop network address identifies, the data flow reaches second link by the 2nd PE equipment that second next-hop network address identifies;
    Correspondingly, the receiving unit is also used to receive the routing of the MAC from the first PE equipment and disappears Breath, the MAC route messages include target MAC (Media Access Control) address, and the target MAC (Media Access Control) address is the MAC Address for accessing the terminal device of the user side equipment;
    The processing unit generates MAC forwarding-table item also according to the target MAC (Media Access Control) address and the mapping relations, the MAC forwarding-table item includes the target MAC (Media Access Control) address and outgoing interface list, the outgoing interface list includes the first outgoing interface of the far-end PE equipment and the second outgoing interface of the remote equipment, first outgoing interface is obtained according to first next-hop network address, and second outgoing interface is obtained according to second next-hop network address;
    The far-end PE equipment further includes transmission unit, and the transmission unit for forwarding the data stream load for going to the purpose MAC with sharing from first outgoing interface and second outgoing interface;
    The far-end PE equipment further includes storage unit, the storage unit be used for save the link information and next-hop network address information mapping relations and the MAC forwarding-table item.
  29. According to any far-end PE equipment of claim 26 to 28, it is characterized in that, the link is ethernet link, the link section is ethernet segment ES, the redundant mode of the link section is the redundant mode of the ES, and first link is the first ethernet link;Correspondingly, whether first links that the processing unit is also used to according to the state confirmation of more work modes, the mark of the link section and first link between the first PE equipment and the user side equipment, which can be used for transmitting data flow, includes:
    When the state of first ethernet link is to enliven, the processing unit is also used to determine that first ethernet link as an active links in the ES, can be used for transmitting data flow;Or
    When the state of first ethernet link is inactive, the processing unit is also used to determine first ethernet link as an inactive link in the ES, it is not possible to be used for transmitting data flow.
  30. According to any far-end PE equipment of claim 26 to 28, which is characterized in that the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS, and first link is the first PW;Correspondingly, the processing unit is also used to determine described first according to the states for living mode, the mark of the link section and first link more Whether first link between PE equipment and the user side equipment, which can be used for transmitting data flow, includes:
    When the state of the first PW is to enliven, the processing unit is also used to determine that the first PW as one article of active links in the PWS, can be used for transmitting data flow;Or
    When the state of the first PW is inactive, the processing unit is also used to determine the first PW as one article of inactive link in the PWS, it is not possible to be used for transmitting data flow.
  31. Far-end PE equipment according to claim 24, which is characterized in that the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS, the mark for being identified as the PWS of the link;
    When the redundant mode of the PWS is full mode living, all PW in the PWS that the mark that the processing unit is also used to the PWS according to the identity validation of the full mode living and the PWS is identified can be used for transmitting data flow.
  32. Far-end PE equipment according to claim 24, which is characterized in that the link is pseudo-wire PW, and the link section is pseudo- line segment PWS, and the redundant mode of the link section is the redundant mode of the PWS, the mark for being identified as the PWS of the link;
    When the redundant mode of the PWS is single mode living, an only PW can be used for transmitting data flow in the PWS that the mark that the processing unit is also used to the PWS according to the identity validation of single mode living and the PWS is identified.
  33. A kind of system sending and receiving message, which is characterized in that the system comprises the described in any item first PE equipment of such as claim 17 to 23 and such as the described in any item far-end PE equipment of claim 24 to 32.
CN201680091456.0A 2016-12-09 2016-12-09 Method, device and system for sending and receiving message Active CN110050445B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/109300 WO2018103099A1 (en) 2016-12-09 2016-12-09 Method, device and system for sending and receiving message

Publications (2)

Publication Number Publication Date
CN110050445A true CN110050445A (en) 2019-07-23
CN110050445B CN110050445B (en) 2021-01-05

Family

ID=62491681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680091456.0A Active CN110050445B (en) 2016-12-09 2016-12-09 Method, device and system for sending and receiving message

Country Status (2)

Country Link
CN (1) CN110050445B (en)
WO (1) WO2018103099A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277482A (en) * 2020-01-13 2020-06-12 新华三大数据技术有限公司 Message processing method and device
CN114205297A (en) * 2020-08-28 2022-03-18 华为技术有限公司 Traffic forwarding processing method and equipment
CN114785725A (en) * 2022-01-06 2022-07-22 新华三技术有限公司 Micro-segmentation strategy routing learning method, message forwarding method and device
WO2022246693A1 (en) * 2021-05-26 2022-12-01 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for path switchover management
WO2024082462A1 (en) * 2022-10-21 2024-04-25 锐捷网络股份有限公司 Service forwarding method and apparatus, and electronic device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039765B (en) * 2019-06-03 2023-05-30 中兴通讯股份有限公司 Method for transmitting route information, method and device for selecting route
CN110336750B (en) * 2019-07-19 2021-10-12 新华三技术有限公司合肥分公司 Data forwarding method and device and service providing side edge equipment
CN112242958B (en) * 2019-07-19 2022-09-09 华为技术有限公司 Load sharing method and device
CN110543390B (en) * 2019-09-19 2024-07-09 深圳市友华通信技术有限公司 Quick response method, device and communication equipment for interrupt reconnection
CN114363114B (en) * 2020-09-29 2023-07-07 华为技术有限公司 Method and device for forwarding traffic
CN116302619B (en) * 2023-05-18 2023-09-05 成方金融科技有限公司 Cross-site multi-activity processing method, device, apparatus and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120147737A1 (en) * 2010-12-10 2012-06-14 Cisco Technology, Inc. System and method for providing improved failover performance for pseudowires
CN104253759A (en) * 2013-06-30 2014-12-31 华为技术有限公司 Method, device and system for forwarding messages
US20150006757A1 (en) * 2013-06-26 2015-01-01 Cisco Technology, Inc. Virtual private wire services using e-vpn
CN105743689A (en) * 2014-12-31 2016-07-06 瞻博网络公司 Fast convergence on link failure in multi-homed ethernet virtual private networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120147737A1 (en) * 2010-12-10 2012-06-14 Cisco Technology, Inc. System and method for providing improved failover performance for pseudowires
US20150006757A1 (en) * 2013-06-26 2015-01-01 Cisco Technology, Inc. Virtual private wire services using e-vpn
CN104253759A (en) * 2013-06-30 2014-12-31 华为技术有限公司 Method, device and system for forwarding messages
CN105743689A (en) * 2014-12-31 2016-07-06 瞻博网络公司 Fast convergence on link failure in multi-homed ethernet virtual private networks

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277482A (en) * 2020-01-13 2020-06-12 新华三大数据技术有限公司 Message processing method and device
CN114205297A (en) * 2020-08-28 2022-03-18 华为技术有限公司 Traffic forwarding processing method and equipment
CN114205297B (en) * 2020-08-28 2024-05-17 华为技术有限公司 Traffic forwarding processing method and equipment
WO2022246693A1 (en) * 2021-05-26 2022-12-01 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for path switchover management
CN114785725A (en) * 2022-01-06 2022-07-22 新华三技术有限公司 Micro-segmentation strategy routing learning method, message forwarding method and device
CN114785725B (en) * 2022-01-06 2023-10-20 新华三技术有限公司 Micro-segmentation strategy route learning method, message forwarding method and device
WO2024082462A1 (en) * 2022-10-21 2024-04-25 锐捷网络股份有限公司 Service forwarding method and apparatus, and electronic device

Also Published As

Publication number Publication date
WO2018103099A1 (en) 2018-06-14
CN110050445B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN111510379B (en) EVPN message processing method, device and system
CN110050445A (en) Send and receive the method, apparatus and system of message
CN108574630B (en) EVPN message processing method, device and system
EP3378193B1 (en) Designated forwarder (df) election and re-election on provider edge (pe) failure in all-active redundancy topology
CN108989212B (en) Multiple next hop routing protocol signaling and relationships thereof
US10868756B2 (en) Explicit control of aggregation links via IS-IS
US10158566B2 (en) Shortest path bridge with MPLS labels
US11283672B2 (en) Forwarding detection of an aggregated interface
RU2704714C1 (en) Technologies using ospf for providing maximum depth of node and/or communication link segment identifier
WO2021258754A1 (en) Message indication method and apparatus, and device and storage medium
US11108683B2 (en) Techniques for preferred path local switching in EVPN-VPWS
WO2017118880A1 (en) Faster convergence on primary provider edge (pe) failure in a single-active redundancy topology
CN103326940A (en) Method for forwarding message in network and edge device of operator
CN104253736A (en) PE (provider edge) equipment and method for notifying same of information
CN108141392A (en) The method and apparatus that pseudowire load is shared
EP3029888B1 (en) Method and device for implementing hierarchical virtual private lan service
CN103326915A (en) Method, device and system for achieving three-layer VPN
EP3437265A1 (en) Pseudo-wire signaling framework using interior gateway protocols
CN103634210B (en) Find the method and apparatus of the opposite end PE equipment of VPLS example
CN115460107A (en) Route detection method, device, system and storage medium
WO2012159351A1 (en) Tag allocating method, device 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
GR01 Patent grant
GR01 Patent grant