CN109995651A - A kind of pseudo line establishing method and device - Google Patents

A kind of pseudo line establishing method and device Download PDF

Info

Publication number
CN109995651A
CN109995651A CN201910241584.4A CN201910241584A CN109995651A CN 109995651 A CN109995651 A CN 109995651A CN 201910241584 A CN201910241584 A CN 201910241584A CN 109995651 A CN109995651 A CN 109995651A
Authority
CN
China
Prior art keywords
equipment
wire
pseudo
address information
homed
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
CN201910241584.4A
Other languages
Chinese (zh)
Other versions
CN109995651B (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201910241584.4A priority Critical patent/CN109995651B/en
Publication of CN109995651A publication Critical patent/CN109995651A/en
Application granted granted Critical
Publication of CN109995651B publication Critical patent/CN109995651B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • 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

Abstract

The embodiment of the present disclosure provides a kind of pseudo line establishing method, applied to the first PE equipment for needing to establish main pseudo-wire in EVPN networking in the first dual-homed unit between the second dual-homed unit, second dual-homed unit includes the 3rd PE equipment for needing to establish main pseudo-wire between the first dual-homed unit, it include: the address information and the first main pseudo-wire mark that the first PE equipment is sent to the second dual-homed unit, so that the 3rd PE equipment is identified according to the address information of the first PE equipment and the first main pseudo-wire, the main pseudo-wire by the 3rd PE equipment to the first PE equipment is established;Receive the address information and the main pseudo-wire mark of third of the 3rd PE equipment of the 3rd PE equipment return;According to the address information of the 3rd PE equipment and the main pseudo-wire mark of third, the main pseudo-wire from the first PE equipment to the 3rd PE equipment is established.Therefore, the main pseudo-wire that PE equipment in both ends is established all is symmetrical, in this way, not will detect that network failure when carrying out fault detection by BFD, to avoid main pseudo-wire idle.

Description

A kind of pseudo line establishing method and device
Technical field
This disclosure relates to network communication technology field, more particularly to a kind of pseudo line establishing method and device.
Background technique
EVPN (Ethernet Virtual Private Network, Ethernet Virtual Private Network) is two layers a kind of VPN (Virtual Private Network, virtual LAN) technology.
In EVPN, including CE (Customer Edge, customer network edge) equipment, PE (Provider Edge, service Provider network edge) equipment and PW (Pseudowire, pseudo-wire), wherein CE equipment be directly with service provider network phase User network side apparatus even, PE equipment is the service provider network side apparatus being connected with CE, and PW is between two PE equipment Virtual link, PW can be divided into main PW and standby PW, in general, data are transmitted by main PW, when main PW breaks down, then Data are transmitted by standby PW.
In practical applications, CE equipment can access EVPN networking by the way of dual-homed, that is to say, that in EVPN In, for a CE equipment, networkings can be accessed by two coupled PE equipment, the CE equipment and with its phase Two PE equipment of connection can form a dual-homed unit.
When establishing PW, for a PE equipment in dual-homed unit, if receiving identical ESI Two EVPN route messages of (Ethernet Segment Identifier, connection definition mark) value, show two roads EVPN It by message is sent by two PE equipment in another dual-homed unit, in this case, which can respectively and separately Two PE equipment in one dual-homed unit establish main PW and standby PW, wherein the determination of main PW and standby PW are random.
Summary of the invention
The embodiment of the present disclosure is designed to provide a kind of pseudo line establishing method, to avoid in EVPN, between PE equipment The idle problem of main pseudo-wire.Specific technical solution is as follows:
The embodiment of the present disclosure provides a kind of pseudo line establishing method, applied to the first dual-homed unit in EVPN networking One PE equipment, the first PE equipment be need and the EVPN networking in the second dual-homed unit between establish main pseudo-wire PE equipment, the second dual-homed unit include the 3rd PE equipment, and the 3rd PE equipment is that needs and described first are dual-homed The PE equipment of main pseudo-wire is established between unit, which comprises
The address information of the first PE equipment is sent to the described second dual-homed unit, and indicates that the first PE is set Standby is the first main pseudo-wire mark for needing to establish the PE equipment of main pseudo-wire, so that the 3rd PE equipment is set according to the first PE Standby address information and the first main pseudo-wire mark, establishes the main puppet by the 3rd PE equipment to the first PE equipment Line;
The address information for the 3rd PE equipment that the 3rd PE equipment returns is received, and indicates that the 3rd PE is set The main pseudo-wire mark of the third of the standby PE equipment to need to establish main pseudo-wire;
According to the address information of the 3rd PE equipment and the main pseudo-wire mark of the third, establish from the first PE equipment To the main pseudo-wire of the 3rd PE equipment.
Optionally, the described first dual-homed unit further includes the 2nd PE equipment;
The method, further includes:
The address information of the 2nd PE equipment is sent to the described second dual-homed unit, and indicates that the 2nd PE is set The second of the standby PE equipment that standby pseudo-wire is established for needs is for pseudo-wire mark, so that the 3rd PE equipment is set according to the 2nd PE Standby address information and described second is established for pseudo-wire mark by the standby pseudo- of the 3rd PE equipment to the 2nd PE equipment Line.
Optionally, the described second dual-homed unit further includes the 4th PE equipment;
After the address information for sending the first PE equipment to the described second dual-homed unit, further includes:
The address information for the 4th PE equipment that the 4th PE equipment returns is received, and indicates that the 4th PE is set The 4th of the standby PE equipment that standby pseudo-wire is established for needs is for pseudo-wire mark;
According to the address information of the 4th PE equipment and the described 4th for pseudo-wire mark, establish from the first PE equipment To the standby pseudo-wire of the 4th PE equipment.
Optionally, the described first dual-homed unit further includes the 2nd PE equipment, determines the first PE in the following way Equipment is the PE equipment for needing to establish main pseudo-wire between the second dual-homed unit:
The route messages for the 2nd PE equipment that the 2nd PE equipment is sent are received, carry institute in the route messages State the address information of the 2nd PE equipment;
When meeting preset relation between the address information of the 2nd PE equipment and the address information of the first PE equipment When, determine that the first PE equipment is the PE equipment for needing to establish main pseudo-wire between the second dual-homed unit.
Optionally, the address information that the first PE equipment is sent to the described second dual-homed unit, and indicate The first PE equipment is to need to establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire, comprising:
The address information of the first PE equipment is sent in the EVPN networking using broadcast mode, and described in expression First PE equipment is to need to establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire.
The embodiment of the present disclosure additionally provides a kind of pseudo-wire and establishes device, applied to the first dual-homed unit in EVPN networking First PE equipment, the first PE equipment be need and the EVPN networking in the second dual-homed unit between establish main pseudo-wire PE equipment, the second dual-homed unit include the 3rd PE equipment, the 3rd PE equipment be need with first dual homed Belong to the PE equipment that main pseudo-wire is established between unit, described device includes:
Sending module, for sending the address information of the first PE equipment, Yi Jibiao to the described second dual-homed unit Show that the first PE equipment is to need to establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire, so that the 3rd PE equipment root According to the address information and the first main pseudo-wire mark of the first PE equipment, establish by the 3rd PE equipment to described first The main pseudo-wire of PE equipment;
Receiving module, for receiving the address information for the 3rd PE equipment that the 3rd PE equipment returns, Yi Jibiao Show the main pseudo-wire mark of third that the 3rd PE equipment is the PE equipment for needing to establish main pseudo-wire;
Establish module, for being identified according to the address information of the 3rd PE equipment and the main pseudo-wire of the third, establish from Main pseudo-wire of the first PE equipment to the 3rd PE equipment.
Optionally, the described first dual-homed unit further includes the 2nd PE equipment;
The sending module is also used to send the address information of the 2nd PE equipment to the described second dual-homed unit, And indicate that the 2nd PE equipment is that foundation is needed to identify for the second of the PE equipment of pseudo-wire for pseudo-wire, so that the 3rd PE Equipment, for pseudo-wire mark, is established by the 3rd PE equipment to institute according to the address information of the 2nd PE equipment and described second State the standby pseudo-wire of the 2nd PE equipment.
Optionally, the described second dual-homed unit further includes the 4th PE equipment;
The receiving module is also used to receive the address information for the 4th PE equipment that the 4th PE equipment returns, And indicate that the 4th PE equipment is that foundation is needed to identify for the 4th of the PE equipment of pseudo-wire for pseudo-wire;
It is described to establish module, it is also used to be identified according to the address information of the 4th PE equipment and the described 4th for pseudo-wire, Establish the standby pseudo-wire from the first PE equipment to the 4th PE equipment.
Optionally, the described first dual-homed unit further includes the 2nd PE equipment;Described device further include: determining module;
The receiving module is also used to receive the route messages for the 2nd PE equipment that the 2nd PE equipment is sent, The address information of the 2nd PE equipment is carried in the route messages;
The determining module is also used to believe when the address information of the 2nd PE equipment and the address of the first PE equipment When meeting preset relation between breath, the first PE equipment is determined to need to establish main puppet between the second dual-homed unit The PE equipment of line.
Optionally, the sending module, is also used to:
The address information of the first PE equipment is sent in the EVPN networking using broadcast mode, and described in expression First PE equipment is to need to establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire.
The embodiment of the present disclosure additionally provides a kind of electronic equipment, including processor, communication interface, memory and communication are always Line, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described pseudo line establishing method.
The embodiment of the present disclosure additionally provides a kind of computer readable storage medium, the computer readable storage medium memory Computer program is contained, the computer program realizes any of the above-described pseudo line establishing method when being executed by processor.
The embodiment of the invention also provides a kind of computer program products comprising instruction, when it runs on computers When, so that computer executes any of the above-described pseudo line establishing method.
The pseudo line establishing method and device that the embodiment of the present disclosure provides, applied to the first dual-homed unit in EVPN networking First PE equipment, wherein the first PE equipment be need and EVPN networking in the second dual-homed unit between establish main pseudo-wire PE equipment, the second dual-homed unit include the 3rd PE equipment, and the 3rd PE equipment is to need to establish between the first dual-homed unit The PE equipment of main pseudo-wire firstly, sending the address information of the first PE equipment to the second dual-homed unit, and indicates that the first PE is set Standby is the first main pseudo-wire mark for needing to establish the PE equipment of main pseudo-wire, so that address of the 3rd PE equipment according to the first PE equipment Information and the first main pseudo-wire mark, establish the main pseudo-wire by the 3rd PE equipment to the first PE equipment, then, receive the 3rd PE equipment The address information of the 3rd PE equipment returned, and indicate that the 3rd PE equipment is to need to establish the third master of the PE equipment of main pseudo-wire Pseudo-wire mark is identified according to the address information of the 3rd PE equipment and the main pseudo-wire of third, and foundation is set from the first PE equipment to the 3rd PE Standby main pseudo-wire.
Therefore, for the first PE equipment, it is ensured that is established in the 3rd PE equipment to the first PE equipment is main In the case where pseudo-wire, what the first PE equipment to the 3rd PE equipment was established is also main pseudo-wire, that is to say, that both ends PE equipment is built Vertical main pseudo-wire is all symmetrical, in this way, not will detect that network failure, when carrying out fault detection by BFD so as to keep away It is idle to exempt from main pseudo-wire.Certainly, implement the disclosure any product or method it is not absolutely required to and meanwhile reach above-described All advantages.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Disclosed some embodiments for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is in the related technology, to establish the schematic diagram of main PW and standby PW in EVPN between dual-homed PE equipment;
Fig. 2 is a kind of flow diagram for pseudo line establishing method that the embodiment of the present disclosure provides;
Fig. 3 is to establish the side of pseudo-wire in EVPN networking using the method that the embodiment of the present disclosure provides in a kind of implementation Method schematic diagram;
Fig. 4 is the structural schematic diagram that a kind of pseudo-wire that the embodiment of the present disclosure provides establishes device;
Fig. 5 is the schematic diagram for a kind of electronic equipment that the embodiment of the present disclosure provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete Site preparation description, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.It is based on Embodiment in the disclosure, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment belongs to the range of disclosure protection.
As shown in Figure 1, PE equipment and another dual-homed list in the related technology, in EVPN in a dual-homed unit The schematic diagram of main PW and standby PW are established between PE equipment in member, the first dual-homed unit includes CE1, PE1 and PE2, CE1 difference It is connect with PE1 and PE2, the second dual-homed unit includes CE2, PE3 and PE4, and CE2 is connected respectively at PE3 with PE4, wherein right For PE2 equipment, main PW is the PW of PE2 to PE4, and the PW that standby PW is PE2 to PE3, for PE4 equipment, main PW arrives for PE2 The PW of PE1, the PW that standby PW is PE2 to PE2.
In general, BFD (Bidirectional Forwarding Detection, two-way converting detection can be passed through in EVPN Mechanism) fault detection is carried out, the BFD session between two equipment is established, an end equipment sends BFD detection report according to preset interval Text, after another end equipment receives BFD detection messages, to the device replied response message for sending BFD detection messages, in turn, hair The equipment for sending BFD detection messages can detect Network status according to message receiving time, if receiving time-out, show Network sends failure.
But in the case of fig. 1, when carrying out BFD detection, PE2 can send BFD detection to PE4 by main PW Message, and the response message of PE4 then can be returned to PE1 by main PW, in this way, when carrying out BFD detection, because of BFD detection report Literary two-way converting path is inconsistent, it is likely that leads to the message receiving time time-out between PE2 and PE4, detection will be made to tie Fruit is that the main PW of PE2 to PE4 is in defect state, causes the main PW idle.
In order to solve the above-mentioned technical problem, present disclose provides a kind of pseudo line establishing method, this method be can be applied to First PE equipment of the first dual-homed unit in EVPN networking, the first PE equipment are that needs are dual-homed with second in EVPN networking Establish the PE equipment of main pseudo-wire between unit, the second dual-homed unit includes the 3rd PE equipment, and the 3rd PE equipment is to need and the The PE equipment of main pseudo-wire is established between one dual-homed unit, wherein the first PE equipment can be computer, base station, router etc. Deng the embodiment of the present disclosure does not limit this.
The pseudo line establishing method provided on the whole the embodiment of the present disclosure below is illustrated.
In a kind of implementation, above-mentioned pseudo line establishing method includes:
The address information of the first PE equipment is sent to the second dual-homed unit, and indicates that the first PE equipment is to need to establish The main pseudo-wire mark of the first of the PE equipment of main pseudo-wire, so that the 3rd PE equipment is main according to the address information of the first PE equipment and first Pseudo-wire mark, establishes the main pseudo-wire by the 3rd PE equipment to the first PE equipment;
The address information of the 3rd PE equipment of the 3rd PE equipment return is received, and indicates that the 3rd PE equipment is to need to establish The main pseudo-wire mark of the third of the PE equipment of main pseudo-wire;
According to the address information of the 3rd PE equipment and the main pseudo-wire mark of third, establish from the first PE equipment to the 3rd PE equipment Main pseudo-wire.
As seen from the above, the pseudo line establishing method that the embodiment of the present disclosure provides, for the first PE equipment, it is ensured that The 3rd PE equipment to the first PE equipment establish be main pseudo-wire in the case where, the first PE equipment is established to the 3rd PE equipment Be also main pseudo-wire, that is to say, that the main pseudo-wire that both ends PE equipment is established all be it is symmetrical, in this way, carrying out failure by BFD When detection, network failure not will detect that, so as to avoid main pseudo-wire idle.
Below by specific embodiment, the pseudo line establishing method provided the embodiment of the present disclosure is described in detail.
As shown in Fig. 2, a kind of flow diagram of the pseudo line establishing method provided for the embodiment of the present disclosure, this method application The first PE equipment of the first dual-homed unit in EVPN networking, wherein the first PE equipment is to need and the in EVPN networking The PE equipment of main pseudo-wire is established between two dual-homed units, the second dual-homed unit includes the 3rd PE equipment, and the 3rd PE equipment is Need to establish the PE equipment of main pseudo-wire between the first dual-homed unit, this method comprises the following steps:
S201: sending the address information of the first PE equipment to the second dual-homed unit, and indicates that the first PE equipment is to need Establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire so that the 3rd PE equipment according to the address information of the first PE equipment and First main pseudo-wire mark, establishes the main pseudo-wire by the 3rd PE equipment to the first PE equipment.
In EVPN networking, CE equipment can access EVPN networking by the way of dual-homed, that is to say, that for one For CE equipment, EVPN networkings can be accessed by two coupled PE equipment, the CE equipment and coupled Two PE equipment can form a dual-homed unit.In some scenes, a PE equipment in a dual-homed unit is needed Pseudo-wire is established between two PE equipment of another dual-homed unit, wherein any one in unit dual-homed for one For a PE equipment, the pseudo-wire established between two PE equipment in the dual-homed unit of the PE equipment and opposite side respectively based on it is pseudo- Line and standby pseudo-wire.For ease of description, in the embodiments of the present disclosure, above-mentioned two dual-homed unit is referred to as the first dual homed Belong to unit and the second dual-homed unit.
When first PE equipment sends the address information and the first main pseudo-wire mark of the first PE equipment to the second dual-homed unit, The address information and the first main pseudo-wire mark of the first PE equipment can be sent in EVPN networking using broadcast mode.Alternatively, Pseudo-wire can be first broadcasted in EVPN networking establishes request, after receiving the echo message that the second dual-homed unit is sent, The address information and the first main pseudo-wire mark of the first PE equipment are directly sent to the second dual-homed unit, specifically without limitation.
In this step, the address information of the first PE equipment can be the IP (Internet of the first PE equipment Protocol, Internet protocol) address or MAC (Media Access Control, media access control) address, etc..It indicates First PE equipment is that the first main pseudo-wire mark of the PE equipment for needing to establish main pseudo-wire can be and the address of the first PE equipment letter Breath while the label or message identification for being sent to the second dual-homed unit.First PE equipment can be directly to the second dual-homed unit It sends its address information and indicates that the first PE equipment is the label for needing to establish the PE equipment of main pseudo-wire, alternatively, can also be by the The address information labelling of one PE equipment is peer (equity) address of main pseudo-wire, by the address peer of main pseudo-wire and main pseudo-wire The message identification of the address peer is sent to the second dual-homed unit.
In a kind of implementation, the address information of the first PE equipment is being sent to the second dual-homed unit and is indicating first Before PE equipment is the first main pseudo-wire mark of the PE equipment for needing to establish main pseudo-wire, the transmission of the 2nd PE equipment can be first received The route messages of 2nd PE equipment, wherein the 2nd PE equipment refers to another PE equipment in the first dual-homed unit, and routing disappears The address information of the 2nd PE equipment is carried in breath, for example, the IP address of the 2nd PE equipment or MAC Address, etc., then, first PE equipment can address information and the first PE equipment based on the 2nd PE equipment address information, from the first PE equipment and second The PE equipment for needing that main pseudo-wire is established between the second dual-homed unit is determined in PE equipment.
Wherein, when meeting preset relation between the address information of the 2nd PE equipment and the address information of the first PE equipment, It can determine that the first PE equipment is the PE equipment for needing to establish main pseudo-wire between the second dual-homed unit, in this case, First PE equipment sends the address information of the first PE equipment to the second dual-homed unit again, and indicates that the first PE equipment is to need Establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire.
For example, the address information of the first PE equipment and the 2nd PE equipment can be respectively the first PE equipment and the 2nd PE The IP address of equipment, then, in a kind of implementation, can the first PE equipment IP address than the 2nd PE equipment IP address In the case where small, judge to meet preset relation between the address information of the 2nd PE equipment and the address information of the first PE equipment, into And the first PE equipment is determined as needing to establish the PE equipment of main pseudo-wire between the second dual-homed unit.
Alternatively, the 2nd PE equipment can also be carried in the route messages of the 2nd PE equipment in another implementation VLAN ID (Virtual Local Area Network Identifier, VLAN ID), it is possible to first basis The IP address of first PE equipment and the 2nd PE equipment determines the serial number of the first PE equipment and the 2nd PE equipment, further according to VLAN ID, calculates the remainder that the quantity of the PE equipment in the dual-homed unit of VLAN ID and first is divided by, which is equal to first In the case where the serial number of PE equipment, judge to meet between the address information of the 2nd PE equipment and the address information of the first PE equipment pre- If relationship, and then the first PE equipment is determined as needing to establish the PE equipment of main pseudo-wire between the second dual-homed unit, specifically Without limitation.
Wherein, can also be carried in route messages the 2nd PE equipment ESI (Ethernet Segment Identifier, Ethernet segment mark) value, wherein ESI value is the unique identification of the connection definition of a certain PE equipment and a certain CE equipment, that is, It says, the identical two PE equipment of ESI value is connect with same CE equipment, and in turn, the first PE equipment can be set receiving a certain PE After the route messages that preparation is sent, judge whether the ESI value carried in route messages is identical as the ESI value of the first PE equipment, if It is identical, then the PE equipment is determined as the 2nd PE equipment.
In addition, can also include in route messages PE equipment VPLS (VirtualPrivateLanService, it is virtual specially With LAN service) mark, wherein VPLS mark refers to the mark of the VPLS of the 2nd PE equipment access.
While the 2nd PE equipment sends the route messages of the 2nd PE equipment to the first PE equipment, the first PE equipment also can The route messages for carrying the address information of the first PE equipment are sent to the 2nd PE equipment, in this way, the 2nd PE equipment can also be based on The address information of 2nd PE equipment and the address information of the first PE equipment, determining from the first PE equipment and the 2nd PE equipment needs The PE equipment of main pseudo-wire is established between the second dual-homed unit, if the address information of the 2nd PE equipment and the first PE equipment Preset relation is unsatisfactory between address information, then, it is determined that the 2nd PE equipment is to need to build between the second dual-homed unit The PE equipment of main pseudo-wire is found, in this case, the ground of the 2nd PE equipment is sent from the 2nd PE equipment to the second dual-homed unit Location information, and indicate that the 2nd PE equipment is to need to establish the second main pseudo-wire mark of the PE equipment of main pseudo-wire, so that the 3rd PE Equipment is identified according to the address information of the 2nd PE equipment and the second main pseudo-wire, establishes the master by the 3rd PE equipment to the 2nd PE equipment Pseudo-wire.
In the embodiment of the present disclosure, the 3rd PE equipment is the needs determined from two PE equipment of the second dual-homed unit The PE equipment of main pseudo-wire is established between the first dual-homed unit.
For example, it needs to establish between the second dual-homed unit with from determining in the first PE equipment and the 2nd PE equipment The mode of the PE equipment of main pseudo-wire is similar, determines and needs and the first dual-homed list from two PE equipment of the second dual-homed unit When establishing the PE equipment of main pseudo-wire between member, for any PE equipment in the second dual-homed unit, which can be with Then the route messages for receiving the address information of carrying another PE equipment of another PE equipment transmission are set based on two PE Standby address information determines the PE equipment for needing that main pseudo-wire is established between the first dual-homed unit.
For example, the address information of the PE equipment and another PE equipment can be respectively the PE equipment and another PE The IP address of equipment, then, in a kind of implementation, can the PE equipment IP address than another PE equipment IP address In the case where small, judge to meet preset relation between the address information of the PE equipment and the address information of another PE equipment, into And be determined as needing by the PE equipment establishing the PE equipment of main pseudo-wire between the first dual-homed unit, i.e. the 3rd PE equipment, instead It, if the IP address of the PE equipment is bigger than the IP address of another PE equipment, then, by another PE equipment be determined as need with The 3rd PE equipment of main pseudo-wire is established between first dual-homed unit.
Alternatively, another PE equipment can also be carried in the route messages of another PE equipment in another implementation VLAN ID, it is possible to first according to the PE equipment and the IP address of another PE equipment, determine the PE equipment and another The serial number of PE equipment, further according to VLAN ID, the quantity for calculating the PE equipment in the dual-homed unit of VLAN ID and second is divided by The remainder arrived, by the remainder be equal to the PE equipment serial number in the case where, judge the PE equipment address information and another PE Meet preset relation between the address information of equipment, and then the PE equipment is determined as needing building between the first dual-homed unit The PE equipment of main pseudo-wire, i.e. the 3rd PE equipment are found, conversely, if the remainder is equal to the serial number of another PE equipment, then, it will be another A PE equipment is determined as the 3rd PE equipment for needing to establish main pseudo-wire between the first dual-homed unit, specifically without limitation.
In this way, the second dual-homed unit is after the main pseudo-wire mark of the address information and first that receive the first PE equipment, Can determine the 3rd PE equipment in the second dual-homed unit, the 3rd PE equipment can according to the address information of the first PE equipment and First main pseudo-wire mark, establishes the main pseudo-wire by the 3rd PE equipment to the first PE equipment.
In the embodiment of the present disclosure, the process of the 3rd PE equipment is determined from two PE equipment in the second dual-homed unit, The PE for establishing main pseudo-wire between the second dual-homed unit can be needed to set with from determining in the first PE equipment and the 2nd PE equipment Standby process carries out simultaneously, alternatively, can also the second dual-homed unit receive the first PE equipment transmission address information and It is carried out after first main pseudo-wire mark, specifically without limitation.
S202: receiving the address information for the 3rd PE equipment that the 3rd PE equipment returns, and indicates that the 3rd PE equipment is to need Establish the main pseudo-wire mark of third of the PE equipment of main pseudo-wire.
That is, the 3rd PE equipment in the second dual-homed unit is in the address information for receiving the first PE equipment and After one main pseudo-wire mark, the address information and the main pseudo-wire mark of third of the 3rd PE equipment can be returned to the first PE equipment, In, the 3rd PE equipment returns to the mode of the address information of the 3rd PE equipment, can be the 3rd PE equipment of broadcast in EVPN networking Address information and third main pseudo-wire mark;Alternatively, being also possible to the address information according to the first PE equipment received, directly The message that the address information for carrying the 3rd PE equipment and the main pseudo-wire of third identify is sent to the first PE equipment.
The address information of 3rd PE equipment can be the IP address of third PE equipment or MAC Address, etc..Indicate the 3rd PE Equipment is that the main pseudo-wire mark of third for the PE equipment for needing to establish main pseudo-wire can be with the address information of the 3rd PE equipment simultaneously It is sent to the label or message identification of the first dual-homed unit.3rd PE equipment directly can send its address to the first PE equipment Information and the 3rd PE equipment of expression are the label for needing to establish the PE equipment of main pseudo-wire, alternatively, can also be by the 3rd PE equipment Address information labelling is the address peer of main pseudo-wire, by the message identification of the address peer of main pseudo-wire and the address peer of main pseudo-wire It is sent to the first PE equipment.
S203: it is identified, is established from the first PE equipment to third according to the address information of the 3rd PE equipment and the main pseudo-wire of third The main pseudo-wire of PE equipment.
After the main pseudo-wire mark of the address information and third that receive the 3rd PE equipment, the first PE equipment can be according to the The address information of three PE equipment establishes the main pseudo-wire from the first PE equipment to the 3rd PE equipment, that is to say, that dual-homed from first The PE equipment of unit to the second dual-homed unit PE equipment main pseudo-wire be from the first PE equipment to the 3rd PE equipment, from second The PE equipment of dual-homed unit to the first dual-homed unit PE equipment main pseudo-wire be from the 3rd PE equipment to the first PE equipment, The main pseudo-wire of both direction is symmetrical.
In this step, after the first PE equipment receives the address information and the main pseudo-wire mark of third of the 3rd PE equipment, It is assured that main pseudo-wire that PE equipment from the PE equipment of the second dual-homed unit to the first dual-homed unit is established is from the Three PE equipment to the first PE equipment are based on this, can determine that established from the first PE equipment to the 4th PE equipment is standby pseudo-wire.
That is, the first PE equipment can also receive the address information of the 4th PE equipment, and indicate the 4th PE equipment To need to establish the 4th of the PE equipment for pseudo-wire for pseudo-wire mark, in turn, according to the address information and the 4th of the 4th PE equipment Standby pseudo-wire identifies, and can establish the standby pseudo-wire from the first PE equipment to the 4th PE equipment, thus to from the first PE equipment to third The main pseudo-wire of PE equipment is backed up, and data transmission fails caused by main pseudo-lines fault are reduced.
Wherein, the 4th PE equipment can be in the address information and first for the first PE equipment for receiving the transmission of the first PE equipment After main pseudo-wire mark, the route messages directly identified to the first PE equipment transmission its address information of carrying and the 4th for pseudo-wire, Alternatively, can also be by the 3rd PE equipment and from the main pseudo-wire of the 3rd PE equipment to the first PE equipment, to the first PE device forwards Carry its address information and the 4th for pseudo-wire mark route messages so that the first PE equipment according to the route messages, establish from The standby pseudo-wire of first PE equipment to the 4th PE equipment.
Alternatively, the first PE equipment can established after the main pseudo-wire of the first PE equipment to the 3rd PE equipment, broadcast master The message that pseudo-wire is successfully established, the message that the 4th PE equipment is successfully established in the main pseudo-wire for receiving the first PE device broadcasts it Afterwards, its address information and the 4th is sent for pseudo-wire mark, so that the first PE equipment is according to the 4th PE equipment to the first PE equipment Address information and the 4th establishes the standby pseudo-wire from the first PE equipment to the 4th PE equipment for pseudo-wire mark.
In addition, the 4th PE equipment can also be in the address information and for the first PE equipment for receiving the transmission of the first PE equipment After one main pseudo-wire mark, establish the standby pseudo-wire from the 4th PE equipment to the first PE equipment, then, by this for pseudo-wire to first PE equipment sends the address information and the 4th of the 4th PE equipment for pseudo-wire mark, in this way, the first PE equipment is receiving the 4th PE After equipment is identified by the address information of the 4th PE equipment of standby pseudo-wire transmission and the 4th for pseudo-wire, it can be set according to the 4th PE Standby address information and the 4th establishes the standby pseudo-wire from the first PE equipment to the 4th PE equipment for pseudo-wire mark.
Moreover, the first PE equipment can also send the address information of the 2nd PE equipment, Yi Jibiao to the second dual-homed unit Show that the 2nd PE equipment is that foundation is needed to identify for the second of the PE equipment of pseudo-wire for pseudo-wire, in this way, the 3rd PE equipment can basis The address information of 2nd PE equipment and second establishes the standby pseudo-wire by the 3rd PE equipment to the 2nd PE equipment for pseudo-wire mark.Separately Outside, the address information of the 2nd PE equipment and second for pseudo-wire mark the second dual-homed list can also be sent to by the 2nd PE equipment Member.
It above-mentioned the step of being identified to the address information of the second the 2nd PE equipment of dual-homed unit transmission and second for pseudo-wire, can With with the first PE equipment to the second dual-homed unit send the first PE equipment address information and the first main pseudo-wire mark simultaneously into Row carries out, specifically not alternatively, can also establish after the main pseudo-wire of the first PE equipment to the 3rd PE equipment in the first PE equipment It limits.
For example, it as shown in figure 3, in a kind of implementation, is provided in EVPN networking using the embodiment of the present disclosure Method establishes the method schematic diagram of pseudo-wire.
Firstly, the first PE equipment sends the address information and the first main pseudo-wire of the first PE equipment to the second dual-homed unit Mark, so that the 3rd PE equipment in the second dual-homed unit is according to the address information of the first PE equipment and the first main pseudo-wire mark Know, establishes the main pseudo-wire by the 3rd PE equipment to the first PE equipment, meanwhile, the first PE equipment can also be to the second dual-homed unit The address information and second of the 2nd PE equipment is sent for pseudo-wire mark, so that the 3rd PE equipment root in the second dual-homed unit According to the address information and second of the 2nd PE equipment for pseudo-wire mark, the standby pseudo-wire by the 3rd PE equipment to the 2nd PE equipment is established, Then, the first PE equipment receives the address information and the main pseudo-wire mark of third for the 3rd PE equipment that the 3rd PE equipment returns, root According to the main pseudo-wire mark of the address information and third of the 3rd PE equipment, the main pseudo-wire from the first PE equipment to the 3rd PE equipment is established, Meanwhile the first PE equipment can also receive the 4th PE equipment return the 4th PE equipment address information and the 4th for pseudo-wire mark Know, according to the address information of the 4th PE equipment and the 4th for pseudo-wire mark, establishes from the first PE equipment to the standby of the 4th PE equipment Pseudo-wire, it can be seen that the pseudo-wire of the first PE equipment to the 3rd PE equipment is main pseudo-wire, the puppet of the 3rd PE equipment to the first PE equipment Line is also main pseudo-wire.
In this way, establishing the BFD session between the first PE equipment and the 3rd PE equipment when carrying out fault detection by BFD, pressing BFD detection messages are sent according to preset interval, the BFD detection messages that the first PE equipment is sent reach the 3rd PE by main pseudo-wire and set Standby, the response message of the 3rd PE device replied reaches the first PE equipment by main pseudo-wire, and receiving time is not time out, testing result Normally, main pseudo-wire can be used normally.In turn, data can be transmitted by active/standby pseudo wires according to Data Transport Protocol, citing and Speech, normal data forwarding then can transmit data by standby pseudo-wire by main pseudo-wire, when main pseudo-wire link failure.
As seen from the above, the pseudo line establishing method that the embodiment of the present disclosure provides, for the first PE equipment, it is ensured that The 3rd PE equipment to the first PE equipment establish be main pseudo-wire in the case where, the first PE equipment is established to the 3rd PE equipment Be also main pseudo-wire, that is to say, that the main pseudo-wire that both ends PE equipment is established all be it is symmetrical, in this way, carrying out failure by BFD When detection, network failure not will detect that, so as to avoid main pseudo-wire idle.
As shown in figure 4, the embodiment of the present disclosure, which additionally provides a kind of pseudo-wire, establishes device, it is applied in EVPN networking first pair Belong to unit the first PE equipment, the first PE equipment be needs and EVPN networking in the second dual-homed unit between establish main puppet The PE equipment of line, the second dual-homed unit include the 3rd PE equipment, and the 3rd PE equipment is to need between the first dual-homed unit The PE equipment of main pseudo-wire is established, device includes:
Sending module 401, for sending the address information of the first PE equipment, and expression first to the second dual-homed unit PE equipment is to need to establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire, so that the 3rd PE equipment is according to the first PE equipment Address information and the first main pseudo-wire mark, establish the main pseudo-wire by the 3rd PE equipment to the first PE equipment;
Receiving module 402, the address information of the 3rd PE equipment for receiving the return of the 3rd PE equipment, and indicate third PE equipment is the main pseudo-wire mark of third for the PE equipment for needing to establish main pseudo-wire;
Module 403 is established, for the main pseudo-wire mark of address information and third according to the 3rd PE equipment, is established from the first PE Main pseudo-wire of the equipment to the 3rd PE equipment.
Optionally, the first dual-homed unit further includes the 2nd PE equipment;
Sending module 401, is also used to send the address information of the 2nd PE equipment to the second dual-homed unit, and indicates the Two PE equipment are that foundation is needed to identify for the second of the PE equipment of pseudo-wire for pseudo-wire, so that the 3rd PE equipment is according to the 2nd PE equipment Address information and second for pseudo-wire mark, establish by the 3rd PE equipment to the 2nd PE equipment standby pseudo-wire.
Optionally, the second dual-homed unit further includes the 4th PE equipment;
Receiving module 402, is also used to receive the address information of the 4th PE equipment of the 4th PE equipment return, and indicates the Four PE equipment are that foundation is needed to identify for the 4th of the PE equipment of pseudo-wire for pseudo-wire;
Module 403 is established, is also used to be established for pseudo-wire mark from first according to the address information of the 4th PE equipment and the 4th Standby pseudo-wire of the PE equipment to the 4th PE equipment.
Optionally, the first dual-homed unit further includes the 2nd PE equipment;Device further include: determining module;
Receiving module 402 is also used to receive the route messages of the 2nd PE equipment of the 2nd PE equipment transmission, in route messages Carry the address information of the 2nd PE equipment;
Determining module 404 is also used to when full between the address information of the 2nd PE equipment and the address information of the first PE equipment When sufficient preset relation, determine that the first PE equipment is the PE equipment for needing to establish main pseudo-wire between the second dual-homed unit.
Optionally, sending module 401 are also used to:
The address information of the first PE equipment is sent in EVPN networking using broadcast mode, and indicates that the first PE equipment is Need to establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire.
As seen from the above, the pseudo-wire that the embodiment of the present disclosure provides establishes device, for the first PE equipment, it is ensured that The 3rd PE equipment to the first PE equipment establish be main pseudo-wire in the case where, the first PE equipment is established to the 3rd PE equipment Be also main pseudo-wire, that is to say, that the main pseudo-wire that both ends PE equipment is established all be it is symmetrical, in this way, carrying out failure by BFD When detection, network failure not will detect that, so as to avoid main pseudo-wire idle.
The embodiment of the present disclosure additionally provides a kind of electronic equipment, as shown in figure 5, include processor 501, communication interface 502, Memory 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 are complete by communication bus 504 At mutual communication,
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes following steps:
The address information of the first PE equipment is sent to the second dual-homed unit, and indicates that the first PE equipment is to need to establish The main pseudo-wire mark of the first of the PE equipment of main pseudo-wire, so that the 3rd PE equipment is main according to the address information of the first PE equipment and first Pseudo-wire mark, establishes the main pseudo-wire by the 3rd PE equipment to the first PE equipment;
The address information of the 3rd PE equipment of the 3rd PE equipment return is received, and indicates that the 3rd PE equipment is to need to establish The main pseudo-wire mark of the third of the PE equipment of main pseudo-wire;
According to the address information of the 3rd PE equipment and the main pseudo-wire mark of third, establish from the first PE equipment to the 3rd PE equipment Main pseudo-wire.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
As seen from the above, the pseudo line establishing method that the embodiment of the present disclosure provides, for the first PE equipment, it is ensured that The 3rd PE equipment to the first PE equipment establish be main pseudo-wire in the case where, the first PE equipment is established to the 3rd PE equipment Be also main pseudo-wire, that is to say, that the main pseudo-wire that both ends PE equipment is established all be it is symmetrical, in this way, carrying out failure by BFD When detection, network failure not will detect that, so as to avoid main pseudo-wire idle.
In the another embodiment that the disclosure provides, a kind of computer readable storage medium is additionally provided, which can Read storage medium in be stored with instruction, when run on a computer so that computer execute it is any in above-described embodiment Pseudo line establishing method.
In the another embodiment that the disclosure provides, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes pseudo line establishing method any in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.Computer program product Including one or more computer instructions.When loading on computers and executing computer program instructions, all or part of real estate Raw process or function according to the embodiment of the present application.Computer can be general purpose computer, special purpose computer, computer network, Or other programmable devices.Computer instruction may be stored in a computer readable storage medium, or from a computer Readable storage medium storing program for executing to another computer readable storage medium transmit, for example, computer instruction can from a web-site, Computer, server or data center by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as Infrared, wireless, microwave etc.) mode transmitted to another web-site, computer, server or data center.Computer Readable storage medium storing program for executing can be any usable medium or include one or more usable medium collection that computer can access At the data storage devices such as server, data center.Usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic Band), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, electronic equipment embodiment, storage medium embodiment and computer program product embodiments, since it is substantially similar to Embodiment of the method, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The above is only the preferred embodiments of the disclosure, are not intended to limit the protection scope of the disclosure.It is all in this public affairs Any modification, equivalent replacement, improvement and so within the spirit and principle opened, are all contained in the protection scope of the disclosure.

Claims (12)

1. a kind of pseudo line establishing method, which is characterized in that applied to the first PE equipment of the first dual-homed unit in EVPN networking, The first PE equipment be need and the EVPN networking in the second dual-homed unit between establish the PE equipment of main pseudo-wire, institute Stating the second dual-homed unit includes the 3rd PE equipment, and the 3rd PE equipment is to need to build between the first dual-homed unit Found the PE equipment of main pseudo-wire, which comprises
The address information of the first PE equipment is sent to the described second dual-homed unit, and indicates that the first PE equipment is The the first main pseudo-wire mark for needing to establish the PE equipment of main pseudo-wire, so that the 3rd PE equipment is according to the first PE equipment Address information and the first main pseudo-wire mark, establish the main pseudo-wire by the 3rd PE equipment to the first PE equipment;
The address information for the 3rd PE equipment that the 3rd PE equipment returns is received, and indicates that the 3rd PE equipment is Need to establish the main pseudo-wire mark of third of the PE equipment of main pseudo-wire;
According to the address information of the 3rd PE equipment and the main pseudo-wire mark of the third, establish from the first PE equipment to institute State the main pseudo-wire of the 3rd PE equipment.
2. the method according to claim 1, wherein the first dual-homed unit further includes the 2nd PE equipment;
The method, further includes:
The address information of the 2nd PE equipment is sent to the described second dual-homed unit, and indicates that the 2nd PE equipment is Need to establish the second of the PE equipment of standby pseudo-wire for pseudo-wire mark, so that the 3rd PE equipment is according to the 2nd PE equipment Address information and described second establishes the standby pseudo-wire by the 3rd PE equipment to the 2nd PE equipment for pseudo-wire mark.
3. the method according to claim 1, wherein the second dual-homed unit further includes the 4th PE equipment;
After the address information for sending the first PE equipment to the described second dual-homed unit, further includes:
The address information for the 4th PE equipment that the 4th PE equipment returns is received, and indicates that the 4th PE equipment is Need to establish the 4th of the PE equipment of standby pseudo-wire for pseudo-wire mark;
According to the address information of the 4th PE equipment and the described 4th for pseudo-wire mark, establish from the first PE equipment to institute State the standby pseudo-wire of the 4th PE equipment.
4. the method according to claim 1, wherein the first dual-homed unit further includes the 2nd PE equipment, Determine that the first PE equipment is that the PE for establishing main pseudo-wire between the second dual-homed unit is needed to set in the following way It is standby:
The route messages for the 2nd PE equipment that the 2nd PE equipment is sent are received, described the is carried in the route messages The address information of two PE equipment;
When meeting preset relation between the address information of the 2nd PE equipment and the address information of the first PE equipment, really The fixed first PE equipment is the PE equipment for needing to establish main pseudo-wire between the second dual-homed unit.
5. the method according to claim 1, wherein described send described first to the described second dual-homed unit The address information of PE equipment, and indicate that the first PE equipment is the first main pseudo-wire mark for needing to establish the PE equipment of main pseudo-wire Know, comprising:
The address information of the first PE equipment is sent in the EVPN networking using broadcast mode, and indicates described first PE equipment is to need to establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire.
6. a kind of pseudo-wire establishes device, which is characterized in that applied to the first PE equipment of the first dual-homed unit in EVPN networking, The first PE equipment be need and the EVPN networking in the second dual-homed unit between establish the PE equipment of main pseudo-wire, institute Stating the second dual-homed unit includes the 3rd PE equipment, and the 3rd PE equipment is to need to build between the first dual-homed unit The PE equipment of main pseudo-wire is found, described device includes:
Sending module, for sending the address information of the first PE equipment, and expression institute to the described second dual-homed unit Stating the first PE equipment is to need to establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire, so that the 3rd PE equipment is according to institute The address information and the first main pseudo-wire mark, foundation for stating the first PE equipment are set by the 3rd PE equipment to the first PE Standby main pseudo-wire;
Receiving module, for receiving the address information for the 3rd PE equipment that the 3rd PE equipment returns, and expression institute State the main pseudo-wire mark of third that the 3rd PE equipment is the PE equipment for needing to establish main pseudo-wire;
Module is established, for being identified according to the address information of the 3rd PE equipment and the main pseudo-wire of the third, is established from described Main pseudo-wire of the first PE equipment to the 3rd PE equipment.
7. device according to claim 6, which is characterized in that the first dual-homed unit further includes the 2nd PE equipment;
The sending module is also used to send the address information of the 2nd PE equipment to the described second dual-homed unit, and Indicate that the 2nd PE equipment is that foundation is needed to identify for the second of the PE equipment of pseudo-wire for pseudo-wire, so that the 3rd PE equipment According to the address information of the 2nd PE equipment and described second for pseudo-wire mark, establish by the 3rd PE equipment to described the The standby pseudo-wire of two PE equipment.
8. device according to claim 6, which is characterized in that the second dual-homed unit further includes the 4th PE equipment;
The receiving module is also used to receive the address information for the 4th PE equipment that the 4th PE equipment returns, and Indicate that the 4th PE equipment is that foundation is needed to identify for the 4th of the PE equipment of pseudo-wire for pseudo-wire;
It is described to establish module, it is also used to be established according to the address information of the 4th PE equipment and the described 4th for pseudo-wire mark From the first PE equipment to the standby pseudo-wire of the 4th PE equipment.
9. device according to claim 6, which is characterized in that the first dual-homed unit further includes the 2nd PE equipment; Described device further include: determining module;
The receiving module is also used to receive the route messages for the 2nd PE equipment that the 2nd PE equipment is sent, described The address information of the 2nd PE equipment is carried in route messages;
The determining module, be also used to when the 2nd PE equipment address information and the first PE equipment address information it Between when meeting preset relation, determine that the first PE equipment is to need to establish main pseudo-wire between the second dual-homed unit PE equipment.
10. device according to claim 6, which is characterized in that the sending module is also used to:
The address information of the first PE equipment is sent in the EVPN networking using broadcast mode, and indicates described first PE equipment is to need to establish the first main pseudo-wire mark of the PE equipment of main pseudo-wire.
11. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-5.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-5 any method and step when the computer program is executed by processor.
CN201910241584.4A 2019-03-28 2019-03-28 Pseudo wire establishing method and device Active CN109995651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910241584.4A CN109995651B (en) 2019-03-28 2019-03-28 Pseudo wire establishing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910241584.4A CN109995651B (en) 2019-03-28 2019-03-28 Pseudo wire establishing method and device

Publications (2)

Publication Number Publication Date
CN109995651A true CN109995651A (en) 2019-07-09
CN109995651B CN109995651B (en) 2021-05-14

Family

ID=67131745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910241584.4A Active CN109995651B (en) 2019-03-28 2019-03-28 Pseudo wire establishing method and device

Country Status (1)

Country Link
CN (1) CN109995651B (en)

Cited By (2)

* 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
CN112422307A (en) * 2019-08-22 2021-02-26 华为技术有限公司 Method, equipment and system for coexistence of EVPN and VPLS

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043386A (en) * 2006-06-28 2007-09-26 华为技术有限公司 Method for notifying pseudo-lines fault based on bidirectional transmission detecting protocol
CN101217470A (en) * 2007-12-29 2008-07-09 华为技术有限公司 Method and device for forwarding message
CN101340351A (en) * 2008-08-19 2009-01-07 华为技术有限公司 Data transmission method, apparatus and system in VPLS network
US20100118711A1 (en) * 2008-11-07 2010-05-13 Alcatel Lucent Tools that facilitate diagnostics for mobile backhaul networks
CN101826983A (en) * 2010-04-02 2010-09-08 中兴通讯股份有限公司 Dual-homing protection switching method, device and system
US20100303081A1 (en) * 2009-05-26 2010-12-02 Fujitsu Limited Communication system and method for forwarding a packet among a plurality of edge routers
CN102055719A (en) * 2009-10-29 2011-05-11 中兴通讯股份有限公司 Method and device for protecting point-to-multipoint pseudo-wire
CN104767680A (en) * 2015-04-15 2015-07-08 杭州华三通信技术有限公司 Rapid route switch method and device
CN108494701A (en) * 2018-03-30 2018-09-04 新华三技术有限公司 Load sharing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043386A (en) * 2006-06-28 2007-09-26 华为技术有限公司 Method for notifying pseudo-lines fault based on bidirectional transmission detecting protocol
CN101217470A (en) * 2007-12-29 2008-07-09 华为技术有限公司 Method and device for forwarding message
CN101340351A (en) * 2008-08-19 2009-01-07 华为技术有限公司 Data transmission method, apparatus and system in VPLS network
US20100118711A1 (en) * 2008-11-07 2010-05-13 Alcatel Lucent Tools that facilitate diagnostics for mobile backhaul networks
US20100303081A1 (en) * 2009-05-26 2010-12-02 Fujitsu Limited Communication system and method for forwarding a packet among a plurality of edge routers
CN102055719A (en) * 2009-10-29 2011-05-11 中兴通讯股份有限公司 Method and device for protecting point-to-multipoint pseudo-wire
CN101826983A (en) * 2010-04-02 2010-09-08 中兴通讯股份有限公司 Dual-homing protection switching method, device and system
CN104767680A (en) * 2015-04-15 2015-07-08 杭州华三通信技术有限公司 Rapid route switch method and device
CN108494701A (en) * 2018-03-30 2018-09-04 新华三技术有限公司 Load sharing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422307A (en) * 2019-08-22 2021-02-26 华为技术有限公司 Method, equipment and system for coexistence of EVPN and VPLS
CN112422307B (en) * 2019-08-22 2022-06-14 华为技术有限公司 Method, equipment and system for EVPN and VPLS coexistence dual-activity
EP4016932A4 (en) * 2019-08-22 2022-10-26 Huawei Technologies Co., Ltd. Evpn and vpls coexistence method, apparatus, and system
CN111277482A (en) * 2020-01-13 2020-06-12 新华三大数据技术有限公司 Message processing method and device
CN111277482B (en) * 2020-01-13 2022-01-18 新华三大数据技术有限公司 Message processing method and device

Also Published As

Publication number Publication date
CN109995651B (en) 2021-05-14

Similar Documents

Publication Publication Date Title
US8675522B2 (en) Conveying the VLAN/L2 VSN/bridging-domain of the incoming interface (IIF) when transporting multicast traffic over a shortest path bridged (SPB) network
JP5242591B2 (en) Ethernet (registered trademark) / TMPLS hybrid network OAM frame creation method and corresponding signal
CN109474495B (en) Tunnel detection method and device
CN109873760A (en) Handle the method and apparatus of routing and the method and apparatus of data transmission
CN100484097C (en) Method for judging pseudo wire connection state in packet-switching network and service apparatus thereof
WO2016008322A1 (en) Path connectivity test method and device
CN109951371B (en) Data forwarding method and device
CN103139075B (en) A kind of message transmitting method and equipment
CN103580894A (en) Method, device and system for operation, administration and maintenance (OAM) configuration
US8675658B2 (en) Using multiple IGMP queriers in a layer 2 network
CN109995651A (en) A kind of pseudo line establishing method and device
WO2016124117A1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
CN107547373B (en) Message forwarding method, device, equipment and machine readable storage medium
CN104270282A (en) IP network end-to-end testing method and device
JP2019117972A (en) Network management device, network system, method, and program
US11863394B2 (en) Connectivity detection session creation method, network device, and system
CN109120449B (en) Method and device for detecting link failure
CN109728926B (en) Communication method and network device
CN104009919A (en) Message forwarding method and device
CN104601381B (en) The method and apparatus for preventing flow interrupt
CN110661643B (en) Method, network device and medium for network management
CN103973498A (en) Main path and alternate path selecting method and device for multi-attribution network
CN103716220A (en) Data transmission method and device
CN102664790B (en) Multicast data message forwarding method, system and bridge equipment
CN106209485B (en) A kind of VPN private network chain circuit detecting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant