[go: up one dir, main page]

CN101917324A - Communication method, device and equipment for two-layer virtual private network - Google Patents

Communication method, device and equipment for two-layer virtual private network Download PDF

Info

Publication number
CN101917324A
CN101917324A CN2010102631024A CN201010263102A CN101917324A CN 101917324 A CN101917324 A CN 101917324A CN 2010102631024 A CN2010102631024 A CN 2010102631024A CN 201010263102 A CN201010263102 A CN 201010263102A CN 101917324 A CN101917324 A CN 101917324A
Authority
CN
China
Prior art keywords
label
message
provider edge
edge equipment
protocols
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
CN2010102631024A
Other languages
Chinese (zh)
Other versions
CN101917324B (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.)
Beijing Zhigu Tech Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2010102631024A priority Critical patent/CN101917324B/en
Publication of CN101917324A publication Critical patent/CN101917324A/en
Application granted granted Critical
Publication of CN101917324B publication Critical patent/CN101917324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a communication method, a communication device and equipment for a two-layer virtual private network. In the invention, the method comprises the following steps of: receiving a first control signaling sent by first operator edge equipment in the two-layer virtual private network, and determining a first type protocol to which the first control signaling belongs; and sending a second control signaling, corresponding to the first control signaling and in a second type protocol corresponding to the first type protocol, to second operator edge equipment in the two-layer virtual private network according to the determined first type protocol. In the invention, under the condition that the two sets of operator edge equipment in the two-layer virtual private network adopt different network protocols, the communication between control planes of the two sets of operator edge equipment is realized.

Description

A kind of communication means of Layer 2 virtual private network, device and equipment
Technical field
The present invention relates to field of network communication, relate in particular to a kind of communication means, device and equipment of Layer 2 virtual private network.
Background technology
Layer 2 virtual private network (L2VPN) technology has three types at present: virtual dedicated line (VirtualPrivate Wirle Service, VPWS), virtual special local area network (Virtual private LAN service, VPLS) and (the IP-Only LAN Service of IP private local area network, IPLS), wherein point-to-point L2VPN is that the virtual private line technology is at 2 provider edge equipment (Provider Edge, PE) set up pseudo-end to end circuit (Pseudo Wire between, PW) or virtual circuit (Virtual Circuit, VC), provide based on IP/ multiprotocol label switching (Multi-Protocol Label Switching, MPLS) Layer 2 virtual private network of network (Virtual Private Network, VPN) service, make operator can be on the MPLS network two layer services of emulation different medium, comprise asynchronous transfer mode (Asynchronous TransferMode, ATM), frame relay (Frame Relay, FR), VLAN (Local Area Network, VLAN), Ethernet (Ethernet), point-to-point protocol (Point-to-Point Protocol, PPP) etc.
The basic topology of Layer 2 virtual private network as shown in Figure 1, the router of carrier network edge device and carrier network inside (P) all is the router that is come maintenance management by operator, be positioned at customer edge (the Customer Edge of website A, CE) be that CE1 passes through place in circuit (Attachment Circuit, AC) two layers of link connecting system such as ethernet vlan link, ATM virtual circuit or FR virtual circuit for example, the CE2 that is positioned at website B also inserts this system by place in circuit.As shown in Figure 1, a public network tunnel at first to be arranged through operator backbone equipment between the edge device of operator, that is: label switched path (LabelSwitched Path, LSP); Secondly, in the public network tunnel, set up pseudo-circuit or virtual circuit that a rule is isolated mutually, the Connection Service of two-layer virtual special use is provided for the user.From the message forwarding aspect,, just can in the MPLS network, realize message forwarding as long as be pressed into virtual circuit and public network label respectively; In the control aspect, Layer 2 virtual private network can realize that (Label Distribution Protocol LDP) realizes also can to pass through tag distribution protocol by MP-BGP (MP-BGP4) expansion.Wherein, the Layer 2 virtual private network by the MP-BGP4 expansion realizes is called Kompella L2VPN scheme; L2VPN by the LDP expansion realizes is commonly called Martini L2VPN scheme.
Martini L2VPN scheme is used two layers of label of standard: vpn label is to adopt the LDP of expansion to transmit two layers of information and virtual circuit label as signaling, skin be by generic route encapsulation (Generic Routing Encapsulation, GRE) or the public network tunnel label of distribution such as LDP.
In the Martini L2VPN scheme, have only provider edge equipment need preserve a little information such as mapping of virtual circuit label and label switched path, the router of carrier network inside (P) does not comprise any two-layer VPN information, so autgmentability is fine.When needs increase a pseudo-circuit or virtual circuit newly, only on relevant two ends PE equipment, respectively dispose a folk prescription and get final product to the VC connection, do not influence the operation of network.
The MPLS L2VPN that Kompella L2VPN scheme realizes uses Border Gateway Protocol, and (Border Gateway Protocol BGP) transmits Layer 2 virtual private network information as signaling protocol between provider edge equipment.Kompella takes the mode of tag block, and in advance for each customer edge distributes a tag block, the size of this tag block has determined how many individual connections this CE can set up with other CE.The benefit of doing like this is to allow for VPN to distribute some extra labels, and dilatation is used after waiting until.PE calculates according to these tag block, obtains actual virtual circuit label, is used for the transmission of message.
In the actual sets network process, two provider edge equipments at Layer 2 virtual private network may lay respectively in the network of different operators, may adopt different signaling protocols separately in the control aspect for various reasons, for example the PE equipment of a side adopts the BGP signaling, the PE equipment of opposite side adopts the LDP signaling, and this situation will cause can't realizing intercommunication between the customer edge of both sides.
Summary of the invention
The embodiment of the invention provides a kind of communication means, device and equipment of Layer 2 virtual private network, causes the customer edge of both sides can't realize the problem of intercommunication in order to the control aspect that solves existing Layer 2 virtual private network owing to two provider edge equipments adopt dissimilar signaling protocols.
The communication means of the Layer 2 virtual private network that the embodiment of the invention provides, first provider edge equipment and second provider edge equipment use dissimilar agreements respectively in the Layer 2 virtual private network, comprising:
Receive the first control signaling that first provider edge equipment sends in the Layer 2 virtual private network, determine the affiliated first kind agreement of the described first control signaling;
According to the first kind agreement of determining, second provider edge equipment sends second corresponding with the described first control signaling in second type protocol relative with the described first kind agreement control signaling in Layer 2 virtual private network.
The communicator of the Layer 2 virtual private network that the embodiment of the invention provides comprises:
Receiving element is used for receiving the first control signaling that Layer 2 virtual private network first provider edge equipment sends, and determines the first kind agreement under the described first control signaling;
Transmitting element is used for according to the first kind agreement of determining, second provider edge equipment sends second corresponding with the described first control signaling in second protocol type relative with the described first kind agreement control signaling in Layer 2 virtual private network.
The pseudo-circuit forward node equipment that the embodiment of the invention provides, this equipment comprise the communicator of the above-mentioned Layer 2 virtual private network that the embodiment of the invention provides.
The beneficial effect of the embodiment of the invention is as follows:
The communication means of a kind of Layer 2 virtual private network that the embodiment of the invention provides, device and pseudo-circuit forward node equipment, when receiving the first control signaling that first provider edge equipment sends in the Layer 2 virtual private network, determine the affiliated first kind agreement of the first control signaling; According to the first kind agreement of determining, second provider edge equipment in Layer 2 virtual private network sends second corresponding with the first control signaling in second type protocol relative with the first kind agreement control signaling.By said method, can adopt under the situation of different network protocol at two provider edge equipments of Layer 2 virtual private network, realize the intercommunication of chain of command between two provider edge equipments.
Description of drawings
Fig. 1 is the basic topological schematic diagram of Layer 2 virtual private network in the prior art;
The topological schematic diagram of the Layer 2 virtual private network that Fig. 2 provides for the embodiment of the invention;
The flow chart of the Layer 2 virtual private network communication means that Fig. 3 provides for the embodiment of the invention;
The flow chart of the communication means of Layer 2 virtual private network under first kind of situation that Fig. 4 provides for the embodiment of the invention;
The flow chart of the communication means of Layer 2 virtual private network under second kind of situation that Fig. 5 provides for the embodiment of the invention;
The structural representation of the communicating devices of the Layer 2 virtual private network that Fig. 6 provides for the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of communication means, device and the switch of a kind of Layer 2 virtual private network that the embodiment of the invention is provided is described in detail.
In the communication means of the Layer 2 virtual private network that the embodiment of the invention provides, adopt network topology to realize as Fig. 2, among Fig. 2, the first provider edge equipment PE1 forms Layer 2 virtual private network by the pseudo-circuit forward node S-PE and the second provider edge equipment PE2, the customer edge CE1 that is positioned at website A links to each other with PE1 by place in circuit, the customer edge CE2 that is positioned at website B links to each other with PE2 by place in circuit, wherein, what PE1 adopted is for example Border Gateway Protocol (BGP) of first procotol, and that PE2 adopts is for example tag distribution protocol LDP of second procotol; Perhaps, what PE1 adopted is the LDP agreement, and what PE2 adopted is bgp protocol.In the prior art, because PE1 and PE2 adopt different agreement, PE1 and PE2 can't realize intercommunication on chain of command, the communication means of the Layer 2 virtual private network that the embodiment of the invention provides, by the function of pseudo-circuit forward node S-PE is improved, realize above-mentioned PE1 and the PE2 intercommunication between on the chain of command.
The communication means of the Layer 2 virtual private network that the embodiment of the invention provides as shown in Figure 3, comprises the steps:
The first control signaling that first provider edge equipment sends in S301, the reception Layer 2 virtual private network;
S302, determine the first kind agreement of first control under the signaling;
The first kind agreement that S303, basis are determined, second provider edge equipment sends second corresponding with the described first control signaling in second type protocol relative with the described first kind agreement control signaling in Layer 2 virtual private network.
In order to be illustrated more clearly in the communication means of the Layer 2 virtual private network that the embodiment of the invention provides, below to describe with two kinds of situations respectively:
First kind of situation is that the first provider edge equipment PE1 adopts bgp protocol, and the second provider edge equipment PE2 adopts the LDP agreement;
Second kind of situation is that the first provider edge equipment PE1 adopts the LDP agreement, and the second provider edge equipment PE2 adopts bgp protocol.
The communication means of the Layer 2 virtual private network that the embodiment of the present application provides, need to solve the intercommunication problem of chain of command between PE1 and the PE2, in fact just solve between PE1 and the PE2 with pseudo-line set up with remove relevant control signaling for example multi-protocols can reach the problem of the intercommunication of (MP-REACH) message, multi-protocols unreachable (MP-UNREACH) message, label mapping message and label release message etc., the processing of other message is according to the processing of existing standard agreement.
At first the communication means to the Layer 2 virtual private network under first kind of situation describes.
In the dismounting flow process of setting up flow process and pseudo-circuit that specifically comprises pseudo-circuit between PE1 and the PE2 in such cases again.
Setting up on the chain of command by S-PE and PE2 at PE1 before the flow process of the pseudo-circuit of pseudo-circuit or dismounting, need need finish corresponding basic configuration to PE1, S-PE and PE2, for example: the relevant configuration (PE2 and S-PE are set to LDP peer) of the relevant configuration in the configuration of mpls protocol, public network tunnel, the relevant configuration of bgp protocol (PE1 and S-PE), LDP agreement.
As shown in Figure 4, in that to set up the step of setting up pseudo-circuit between PE-1 and the PE-2 on the chain of command as follows:
Step S401, PE1 send first multi-protocols to S-PE can reach message (MP-REACH), and can reach in these first multi-protocols and to carry the place in circuit interface status information in the message and be normal (UP).
In this step S401, PE1 the Interface status of judging local place in circuit be normally after, because the long-range PE equipment of the BGP example appointment that this locality is pre-configured is S-PE, carrying the interface circuit interface status information to the S-PE transmission is that normal first multi-protocols can reach information.
S402, S-PE receive after first multi-protocols can reach message, judge that first multi-protocols can reach the place in circuit interface status information of carrying in the message and be normal (UP) or fault (DOWN), when judging first multi-protocols and can reach the place in circuit interface status information of carrying in the message, carry out capability negotiation with PE1 for normal (UP).
S-PE is with after the PE1 capability negotiation is consistent, and on the one hand, S-PE continues to carry out following step S403 owing to bound the pseudo-line configuration of the LDP of PE2 in advance; On the other hand, S-PE can reach Network Layer Reachable Information (the Network Layer ReachabilityInformation that carries in the message according to first multi-protocols that receive, NLRI), and local pre-configured Network Layer Reachable Information, calculate first and go into label (IL1) and first outgoing label (OL1) and preservation, the process of calculating the label of coming in and going out can realize with reference to the computational methods of existing RFC 4761 definition.Do not repeat them here.
S403, S-PE to PE2 send with step S401 in first multi-protocols can reach corresponding first label mapping message that belongs to the LDP agreement of message;
S404, PE2 carry out capability negotiation with S-PE after receiving first label mapping message of S-PE transmission;
Among this step S404, because the long-range PE equipment of the LDP example appointment of the local configuration of PE2 is S-PE, PE2 carries out following step S405 after consensus with the PE capacity of equipment;
S405, PE2 generate second label mapping message according to the LDP configuration information of self, and second label mapping message is back to S-PE;
S406, S-PE receive second label mapping message from PE2, and according to the Network Layer Reachable Information of this locality configuration, generate second multi-protocols and can reach message, and second multi-protocols can be reached message are back to first provider edge equipment.
In this step S406, preferably, S402 is corresponding with step, also needs to carry out following step:
According to second label mapping message that receives, get access to second and go into label (IL2) and second outgoing label (OL2) and preservation.
Go into label and second outgoing label with first and carry out the label exchange, go into label and first outgoing label carries out the label exchange second;
Go into the label and second outgoing label (second outgoing label and second before the corresponding label exchange is gone into label respectively) in label exchange back first and be pressed into the public network tunnel label between S-PE and the PE1 before, create the first data forwarding list item and storage;
Go into the label and second outgoing label (first outgoing label and first before the corresponding label exchange is gone into label respectively) in label exchange back second and be pressed into the public network tunnel label between S-PE and the PE2 before, create the second data forwarding list item and storage.
The purpose of setting up the above-mentioned first data forwarding list item and the second data forwarding list item is, when the data surface of Layer 2 virtual private network carries out data forwarding, can transmit according to these two data forwarding-table items, for the intercommunication that also can realize data surface between PE1 and the PE2 provides condition.
Through above-mentioned steps S401~S406, the pseudo-circuit between PE1 and the PE2 is set up successfully.The public network tunnel is divided into two sections of PE1~S-PE and PE2~S-PE, and the pseudo-circuit (or virtual circuit) between PE1~S-PE is carrying on corresponding public network respectively.
As shown in Figure 4, as follows in the step of removing the pseudo-circuit between PE-1 and the PE-2 on the chain of command:
S407, PE1 send first multi-protocols to S-PE can reach message, and it is DOWN that these first multi-protocols can reach the place in circuit interface status information of carrying in the message;
In this step S407, when PE1 is malfunction at the Interface status of finding local place in circuit, can initiate to send that to carry the circuit interface state information be that first multi-protocols of fault can reach message to S-PE to S-PE;
S408, S-PE receive after first agreement that PE1 sends can reach message, judge that it is UP or DOWN that first multi-protocols can reach the place in circuit interface status information of carrying in the message, when judging first multi-protocols and can reach the place in circuit interface status information of carrying in the message and be DOWN, send with these first multi-protocols to PE2 and can reach corresponding first label recovery message of message.
In this step S408, preferably, also need to unload the data forwarding list item (comprising the first data forwarding list item and the second data forwarding list item) of when pseudo-circuit is set up, creating and preserving between first provider edge equipment and second provider edge equipment.
S409, PE2 return first label release message to S-PE after receiving first label recovery message of S-PE.
S410, S-PE receive first label release message that PE2 sends, and return the unreachable message of first multi-protocols (MP_UNREACH) to PE1.
Through above-mentioned steps S407~S410, promptly removed the pseudo-circuit of setting up between PE1 and the PE2.
At the i.e. first provider edge equipment PE1 employing of above-mentioned second situation LDP agreement, the second provider edge equipment PE2 adopts the situation of bgp protocol, the communication means of the Layer 2 virtual private network that the embodiment of the invention provides, as shown in Figure 5, comprise that following pseudo-circuit sets up flow process and pseudo-line disconnection flow process.
Similar with first kind of situation, before flow process as described in Figure 5, also comprise the step that to finish corresponding basic configuration to PE1, S-PE and PE2, comprise the configuration of mpls protocol, the relevant configuration in public network tunnel, the relevant configuration (PE1 and S-PE are set to LDP peer) of LDP agreement, the relevant configuration (PE2 and S-PE) of bgp protocol.
The flow process that pseudo-circuit is set up among Fig. 5 comprises the steps:
S501, PE1 send the 3rd label mapping message that belongs to the LDP agreement to S-PE;
In this step S501, obtain a pair of discrepancy label i.e. the 3rd discrepancy label (IL3) and the 3rd outgoing label (OL3) and preservation according to the 3rd label mapping message;
S502, S-PE receive the 3rd label mapping message that PE1 sends, and carry out capability negotiation with PE1;
S503, S-PE are after the capability negotiation success, according to the 3rd label mapping message that receives, and the Network Layer Reachable Information of local configuration, generate three multi-protocols that belong to BGP corresponding and can reach message, can reach the state information of carrying indication place in circuit interface UP in the message in the 3rd multi-protocols with the 3rd label mapping message; Send the 3rd multi-protocols to second provider edge equipment and can reach message.
S504, PE2 send the 4th multi-protocols to S-PE can reach message;
Because the 3rd multi-protocols can reach the message that message belongs to broadcast nature, S-PE needs passive wait PE2 to respond the 4th multi-protocols can reach message, on carrying out, do not have strict time order and function order between this step S504 and the above-mentioned steps S502, and separate between the step S502.In this step S504, PE2 sends the 4th multi-protocols that carry this Network Layer Reachable Information to S-PE and can reach message according to the Network Layer Reachable Information of the configuration of this locality.
After S505, S-PE receive the 4th multi-protocols and can reach message, return the 4th label mapping message to PE1.
In this step S505, preferably, S-PE can reach Network Layer Reachable Information in the message according to the 4th multi-protocols that receive, and the Network Layer Reachable Information of local configuration, calculates the 4th and goes into label (IL4) and the 4th outgoing label (OL4) and preservation; The computational methods that concrete computational methods can provide with reference to RFC4761 of the prior art.
And S406 is similar with step, goes into label and the 4th outgoing label with the 3rd and carries out the label exchange, goes into label and the 3rd outgoing label carries out the label exchange with the 4th;
Go into label and the 3rd outgoing label (label exchange the 4th outgoing label and the 4th is before gone into label) in label exchange back the 3rd and be pressed into the public network tunnel label between S-PE and the PE1 before, create the 3rd data forwarding list item and storage;
Go into label and the 4th outgoing label (label exchange the 3rd outgoing label and the 3rd is before gone into label) in label exchange back the 4th and be pressed into the public network tunnel label between S-PE and the PE2 before, create the 4th data forwarding list item and storage.
The purpose of setting up above-mentioned the 3rd data forwarding list item and the 4th data forwarding list item is equally, when the data surface of Layer 2 virtual private network carries out data forwarding, can transmit according to these two data forwarding-table items, for the intercommunication that also can realize data surface between PE1 and the PE2 provides condition.
After above-mentioned steps S501~S505, the pseudo-circuit between PE1 and the PE2 is set up successfully.
As shown in Figure 5, as follows in the step of removing pseudo-circuit between PE-1 and the PE-2 on the chain of command:
S506, PE1 send second label to S-PE and reclaim message;
This step S506 triggers when PE1 finds that local place in circuit interface status information breaks down;
S507, S-PE send the corresponding with it unreachable message of second multi-protocols to PE2 after second label that receives the PE1 transmission reclaims message; The pseudo-circuit between PE2 and the S-PE is cancelled in the unreachable message indication of these second multi-protocols;
S508, S-PE return second label release message to PE1.
Above-mentioned steps S506~S508 has finished the dismounting of pseudo-circuit between S-PE and the PE1 equally.
Based on same inventive concept, the embodiment of the invention also provides a kind of communicator device and pseudo-circuit forward node equipment of Layer 2 virtual private network, because this device is similar to the communication means of aforementioned realization Layer 2 virtual private network with the principle that equipment is dealt with problems, therefore the enforcement of this device and equipment can repeat part and repeat no more referring to the enforcement of method.
The communicating devices of the Layer 2 virtual private network that the embodiment of the invention provides as shown in Figure 6, comprising:
Receiving element 601 is used for receiving the first control signaling that Layer 2 virtual private network first provider edge equipment sends, and determines the first kind agreement under the first control signaling;
Transmitting element 602 is used for according to the first kind agreement of determining, second provider edge equipment sends second corresponding with the first control signaling in second protocol type relative with the first kind agreement control signaling in Layer 2 virtual private network.
Further, in the embodiment of the invention, above-mentioned receiving element 601 also is used to receive first multi-protocols that belong to Border Gateway Protocol (BGP) that first provider edge equipment sends and can reaches message; Judge that first multi-protocols can reach the place in circuit interface status information of carrying in the message and be normal (UP) or fault (DOWN);
Accordingly, transmitting element 602 is further used for when the judged result of receiving element 601 is normal (UP), according to the LDP configuration information of this locality configuration, sends first label mapping message that belongs to the LDP agreement to second provider edge equipment; And when judged result is fault (DOWN),, sends first label that belongs to the LDP agreement to second provider edge equipment and reclaim message according to the LDP configuration information of this locality configuration.
Further, receiving element 601 also is used for after transmitting element 602 sends first label mapping message, receives second label mapping message that the LDP configuration information according to himself that second provider edge equipment returns generates;
Transmitting element 602 also is used for the Network Layer Reachable Information according to this locality configuration, generates second multi-protocols and can reach message, and return first provider edge equipment.
Further, receiving element 601 also is used for receiving first label release message that second provider edge equipment returns after transmitting element 602 sends first label recovery message;
Transmitting element 602 also is used for returning the unreachable message of first multi-protocols that pseudo-circuit between first provider edge equipment and second provider edge equipment is removed in indication to first provider edge equipment.
As shown in Figure 6, the communicating devices of the Layer 2 virtual private network that the embodiment of the invention provides also comprises: the first forwarding-table item processing unit 603;
The first forwarding-table item processing unit 603, be used for judging that at receiving element 601 first multi-protocols can reach place in circuit interface status information that message carries for after normal, can reach Network Layer Reachable Information in the message according to first multi-protocols that receive, and the Network Layer Reachable Information of local configuration, calculate first and go into label and first outgoing label and preservation; And after second label mapping message that receiving element 601 receptions second provider edge equipment returns,, obtain second and go into label and second outgoing label and preservation according to second label mapping message; Go into label and second outgoing label with first and carry out the label exchange, go into label and first outgoing label carries out the label exchange second; Before the label and first outgoing label are gone in first after the label exchange, be pressed into the public network tunnel label between the pseudo-circuit forward node and first provider edge equipment, create the first data forwarding list item and storage; Before the label and second outgoing label are gone in second after the label exchange, be pressed into the public network tunnel label between the pseudo-circuit forward node and second provider edge equipment, create the second data forwarding list item and storage.
Further, receiver module 601 also is used to receive the 3rd label mapping message that belongs to LDP that first provider edge equipment sends;
Correspondingly, transmitting element 602, also be used for Network Layer Reachable Information according to the 3rd label mapping message that receives and local configuration, the 3rd multi-protocols that generation belongs to BGP can reach message, can reach the state information of carrying indication place in circuit (AC) interface normal (UP) in the message in the 3rd multi-protocols; Send the 3rd multi-protocols to second provider edge equipment and can reach message.
Further, receiver module 601 also is used to receive second label recovery message that belongs to LDP that first provider edge equipment sends;
Correspondingly, transmitting element 602 also is used to generate the unreachable message of second multi-protocols that belongs to bgp protocol, sends the unreachable message of second multi-protocols to second provider edge equipment.
Further, receiving element 601 also is used to receive the 4th multi-protocols that send from second provider edge equipment and can reaches message;
Correspondingly, transmitting element 602 also is used for can reaching message according to the 4th multi-protocols that receive, and sends the 4th label mapping message to first provider edge equipment.
Further, transmitting element 602 also is used for returning second label release message to first provider edge equipment after sending the unreachable message of second multi-protocols to second provider edge equipment.
As shown in Figure 6, the communicating devices of the Layer 2 virtual private network that the embodiment of the invention provides, also comprise: the second forwarding-table item processing unit 604, be used for after receiving element 601 receives the 3rd label mapping message of first provider edge equipment transmission, according to the 3rd label mapping message that receives, obtain the 3rd and go into label and the 3rd outgoing label and preservation; And receive after the 4th multi-protocols can reach message at receiving element, according to the Network Layer Reachable Information that can reach according to the 4th multi-protocols that receive in the message, and the Network Layer Reachable Information of local configuration, calculate the 4th and go into label and the 4th outgoing label and preserve; Go into label and the 4th outgoing label with the 3rd and carry out the label exchange, go into label and the 3rd outgoing label carries out the label exchange the 4th; Before label and the 3rd outgoing label are gone in label exchange back the 3rd, be pressed into and first provider edge equipment between the public network tunnel label, create the 3rd data forwarding list item and storage; Before label and the 4th outgoing label are gone in label exchange back the 4th, be pressed into the public network tunnel label between the pseudo-circuit forward node and second provider edge equipment, create the 4th data forwarding list item and storage.
The communicator of the above-mentioned Layer 2 virtual private network that the embodiment of the invention provides, in the specific implementation, can be not according to the division of above-mentioned functions module, for example can be divided into the LDP processing module, BGP processing module and message scheduling treatment progress module etc., the LDP processing module, BGP processing module and message scheduling treatment progress module are responsible for realizing the function of above-mentioned sending module and receiver module jointly, the LDP processing module is handled according to existing Martini mode, the BGP processing module is handled according to existing Kompella processing mode, message scheduling treatment progress module is carried out respective handling respectively according to the dissimilar message of LDP processing module or the reception of BGP processing module, and announcement LDP processing module or BGP processing module are sent the corresponding message that pseudo-circuit is set up or removed, send by LDP processing module or BGP processing module again, certainly, in the specific implementation, can also adopt the division implementation of other functional modules, the embodiment of the invention is not done qualification to this.
The embodiment of the invention also provides a kind of pseudo-circuit forward node equipment, has comprised the communicator of the above-mentioned Layer 2 virtual private network that the embodiment of the invention provides in this puppet circuit forward node equipment.
The communication means of a kind of Layer 2 virtual private network that the embodiment of the invention provides, device and pseudo-circuit forward node equipment, when receiving the first control signaling that first provider edge equipment sends in the Layer 2 virtual private network, determine the affiliated first kind agreement of this first control signaling; According to the first kind agreement of determining, second provider edge equipment in Layer 2 virtual private network sends second corresponding with the first control signaling in second type protocol relative with the first kind agreement control signaling.By said method, can adopt under the situation of different network protocol at two provider edge equipments of Layer 2 virtual private network, realize the intercommunication of chain of command between two provider edge equipments.
In addition, the communication means of the Layer 2 virtual private network that the embodiment of the invention provides, device and pseudo-circuit forward node equipment, can reach Network Layer Reachable Information in the message according to the multi-protocols that receive, and the Network Layer Reachable Information of local configuration, calculate come in and go out label and outgoing label and preservation, then according to the label mapping message that receives, obtain another to going into label and outgoing label, go into label and second pair of outgoing label exchanges with first pair, first pair of outgoing label and second pair are gone into label to be exchanged, before going into label and outgoing label, two couple after the exchange is pressed into corresponding public network label again, create forwarding-table item between first provider edge equipment and the pseudo-circuit forward node and the forwarding-table item between second provider edge equipment and the pseudo-circuit forward node, on the chain of command for PE1 and PE2 between the intercommunication of data surface condition is provided.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (19)

1. the communication means of a Layer 2 virtual private network, first provider edge equipment and second provider edge equipment use dissimilar agreements respectively in the Layer 2 virtual private network, it is characterized in that, comprising:
Receive the first control signaling that first provider edge equipment sends in the Layer 2 virtual private network, determine the affiliated first kind agreement of the described first control signaling;
According to the first kind agreement of determining, second provider edge equipment sends second corresponding with the described first control signaling in second type protocol relative with the described first kind agreement control signaling in Layer 2 virtual private network.
2. the method for claim 1 is characterized in that, described first kind agreement is a Border Gateway Protocol (BGP), and described second type protocol is tag distribution protocol LDP; Or
First kind agreement is LDP, and second type protocol is BGP.
3. method as claimed in claim 2, it is characterized in that, when the described first control signaling that receives first multi-protocols that are BGP can reach message, second provider edge equipment sends second corresponding with the described first control signaling in second type protocol control signaling in Layer 2 virtual private network, comprising:
Judge that it is normal UP or fault DOWN that described first multi-protocols can reach the place in circuit interface status information of carrying in the message;
If judged result is UP, then, send first label mapping message that belongs to the LDP agreement to described second provider edge equipment according to the LDP configuration information of this locality configuration;
If judged result is DOWN, then, sends first label that belongs to the LDP agreement to described second provider edge equipment and reclaim message according to the LDP configuration information of this locality configuration.
4. method as claimed in claim 3 is characterized in that, after second provider edge equipment sends the step of first label mapping message, also comprises:
Receive second label mapping message that the LDP configuration information according to himself that second provider edge equipment returns generates;
Network Layer Reachable Information according to this locality configuration generates second multi-protocols and can reach message, and returns to described first provider edge equipment.
5. method as claimed in claim 3 is characterized in that, after the step that sends first label recovery message to second provider edge equipment, also comprises:
After receiving first label release message that second provider edge equipment returns, return the unreachable message of first multi-protocols that pseudo-circuit between first provider edge equipment and second provider edge equipment is removed in indication to described first provider edge equipment.
6. method as claimed in claim 4 is characterized in that, judges that it is after the step of UP that described first multi-protocols can reach the place in circuit interface status information of carrying in the message, also comprises:
Can reach Network Layer Reachable Information in the message according to first multi-protocols that receive, and the Network Layer Reachable Information of local configuration, calculate first and go into the label and first outgoing label and preserve;
After the step of second label mapping message that reception second provider edge equipment returns, also comprise:
According to described second label mapping message, obtain second and go into label and second outgoing label and preservation;
Go into label and described second outgoing label with described first and carry out the label exchange, will described second go into label and described first outgoing label and carry out label and exchange;
Before the label and first outgoing label are gone in first after the label exchange, be pressed into the public network tunnel label between pseudo-circuit forward node and described first provider edge equipment, create the first data forwarding list item and storage;
Before the label and second outgoing label are gone in second after the label exchange, be pressed into the public network tunnel label between pseudo-circuit forward node and described second provider edge equipment, create the second data forwarding list item and storage.
7. method as claimed in claim 3 is characterized in that, judges that it is after the DOWN that described first multi-protocols can reach the place in circuit interface status information of carrying in the message, also comprises:
Unload the data forwarding list item of when pseudo-circuit is set up, creating and preserving between first provider edge equipment and second provider edge equipment.
8. method as claimed in claim 2, it is characterized in that, when the described first control signaling that receives is when belonging to the 3rd label mapping message of LDP, described in Layer 2 virtual private network second provider edge equipment send in second protocol type second control signaling corresponding with the described first control signaling, comprising:
According to the Network Layer Reachable Information of the 3rd label mapping message that receives and local configuration, generate the 3rd multi-protocols that belong to BGP and can reach message, can reach the state information of carrying indication place in circuit interface UP in the message in described the 3rd multi-protocols; Send described the 3rd multi-protocols to described second provider edge equipment and can reach message.
9. method as claimed in claim 2, it is characterized in that, when the described first control signaling that receives second label that is LDP reclaims message, described in Layer 2 virtual private network second provider edge equipment send in second protocol type second control signaling corresponding with the described first control signaling, comprising:
Generation belongs to the unreachable message of second multi-protocols of bgp protocol, sends the unreachable message of described second multi-protocols to described second provider edge equipment.
10. method as claimed in claim 9 is characterized in that, after described second provider edge equipment sends the unreachable message of second multi-protocols, also comprises:
Return second label release message to described first provider edge equipment.
11. the communicator of a Layer 2 virtual private network is characterized in that, comprising:
Receiving element is used for receiving the first control signaling that Layer 2 virtual private network first provider edge equipment sends, and determines the first kind agreement under the described first control signaling;
Transmitting element is used for according to the first kind agreement of determining, second provider edge equipment sends second corresponding with the described first control signaling in second protocol type relative with the described first kind agreement control signaling in Layer 2 virtual private network.
12. device as claimed in claim 11 is characterized in that, described receiving element also is used to receive first multi-protocols that belong to Border Gateway Protocol (BGP) that first provider edge equipment sends and can reaches message; Judge that it is normal UP or fault DOWN that described first multi-protocols can reach the place in circuit AC interface status information of carrying in the message;
Described transmitting element is further used for when the judged result of described receiving element is UP, according to the tag distribution protocol LDP configuration information of this locality configuration, sends first label mapping message that belongs to the LDP agreement to described second provider edge equipment; And when judged result is DOWN,, sends first label that belongs to the LDP agreement to described second provider edge equipment and reclaim message according to the LDP configuration information of this locality configuration.
13. device as claimed in claim 12, it is characterized in that, described receiving element also is used for after described transmitting element sends first label mapping message, receives second label mapping message that the LDP configuration information according to himself that second provider edge equipment returns generates;
Described transmitting element also is used for the Network Layer Reachable Information according to this locality configuration, generates second multi-protocols and can reach message, and return described first provider edge equipment.
14. device as claimed in claim 12 is characterized in that, described receiving element also is used for receiving first label release message that second provider edge equipment returns after described transmitting element sends first label recovery message;
Described transmitting element also is used for returning the unreachable message of first multi-protocols that pseudo-circuit between first provider edge equipment and second provider edge equipment is removed in indication to described first provider edge equipment.
15. device as claimed in claim 13, it is characterized in that, also comprise: the first forwarding-table item processing unit, be used for judging that at described receiving element described first multi-protocols can reach place in circuit interface status information that message carries for after normal, can reach Network Layer Reachable Information in the message according to first multi-protocols that receive, and the Network Layer Reachable Information of local configuration, calculate first and go into label and first outgoing label and preservation; After described receiving element receives second label mapping message that second provider edge equipment returns,, obtain second and go into the label and second outgoing label and preserve according to described second label mapping message; Go into label and described second outgoing label with described first and carry out the label exchange, will described second go into label and described first outgoing label and carry out label and exchange; Before the label and first outgoing label are gone in first after the label exchange, be pressed into the public network tunnel label between pseudo-circuit forward node and described first provider edge equipment, create the first data forwarding list item and storage; Before the label and second outgoing label are gone in second after the label exchange, be pressed into the public network tunnel label between pseudo-circuit forward node and described second provider edge equipment, create the second data forwarding list item and storage.
16. device as claimed in claim 11 is characterized in that, described receiver module also is used to receive the 3rd label mapping message that belongs to LDP that first provider edge equipment sends;
Described transmitting element, also be used for Network Layer Reachable Information according to the 3rd label mapping message that receives and local configuration, the 3rd multi-protocols that generation belongs to Border Gateway Protocol (BGP) can reach message, can reach the state information of carrying indication place in circuit AC interface UP in the message in described the 3rd multi-protocols; Send described the 3rd multi-protocols to described second provider edge equipment and can reach message.
17. device as claimed in claim 11 is characterized in that, described receiver module also is used to receive second label recovery message that belongs to LDP that first provider edge equipment sends;
Described transmitting element also is used to generate the unreachable message of second multi-protocols that belongs to BGP, sends the unreachable message of described second multi-protocols to described second provider edge equipment.
18. device as claimed in claim 17 is characterized in that, described transmitting element also is used for returning second label release message after described second provider edge equipment sends the unreachable message of second multi-protocols to described first provider edge equipment.
19. a pseudo-circuit forward node equipment is characterized in that, comprises the communicator as each described Layer 2 virtual private network of claim 11-18.
CN2010102631024A 2010-08-25 2010-08-25 Communication method, device and equipment for two-layer virtual private network Active CN101917324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102631024A CN101917324B (en) 2010-08-25 2010-08-25 Communication method, device and equipment for two-layer virtual private network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102631024A CN101917324B (en) 2010-08-25 2010-08-25 Communication method, device and equipment for two-layer virtual private network

Publications (2)

Publication Number Publication Date
CN101917324A true CN101917324A (en) 2010-12-15
CN101917324B CN101917324B (en) 2012-06-27

Family

ID=43324719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102631024A Active CN101917324B (en) 2010-08-25 2010-08-25 Communication method, device and equipment for two-layer virtual private network

Country Status (1)

Country Link
CN (1) CN101917324B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340449A (en) * 2011-09-15 2012-02-01 福建星网锐捷网络有限公司 Private network message transmission method, equipment and system
WO2014139373A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Heterogeneous overlay network translation for domain unification
CN106559234A (en) * 2015-09-28 2017-04-05 中兴通讯股份有限公司 Control message sending method and device
CN109218198A (en) * 2018-10-09 2019-01-15 迈普通信技术股份有限公司 Data interactive method, device, MPLS network and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006105718A1 (en) * 2005-04-04 2006-10-12 Huawei Technologies Co., Ltd. A method for realizing the mpls-vpn across the hybrid network
CN1913523A (en) * 2005-08-09 2007-02-14 华为技术有限公司 Method for implementing layer level virtual private exchange service
CN101594310A (en) * 2009-07-14 2009-12-02 华为技术有限公司 Method, device and system for forwarding message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006105718A1 (en) * 2005-04-04 2006-10-12 Huawei Technologies Co., Ltd. A method for realizing the mpls-vpn across the hybrid network
CN1913523A (en) * 2005-08-09 2007-02-14 华为技术有限公司 Method for implementing layer level virtual private exchange service
CN101594310A (en) * 2009-07-14 2009-12-02 华为技术有限公司 Method, device and system for forwarding message

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340449A (en) * 2011-09-15 2012-02-01 福建星网锐捷网络有限公司 Private network message transmission method, equipment and system
CN102340449B (en) * 2011-09-15 2014-07-02 福建星网锐捷网络有限公司 Private network message transmission method, equipment and system
WO2014139373A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Heterogeneous overlay network translation for domain unification
US9197551B2 (en) 2013-03-15 2015-11-24 International Business Machines Corporation Heterogeneous overlay network translation for domain unification
US9973420B2 (en) 2013-03-15 2018-05-15 International Business Machines Corporation Heterogeneous overlay network translation for domain unification
CN106559234A (en) * 2015-09-28 2017-04-05 中兴通讯股份有限公司 Control message sending method and device
CN109218198A (en) * 2018-10-09 2019-01-15 迈普通信技术股份有限公司 Data interactive method, device, MPLS network and storage medium

Also Published As

Publication number Publication date
CN101917324B (en) 2012-06-27

Similar Documents

Publication Publication Date Title
CN101212400B (en) Method and system for negotiating bidirectional forwarding detection session identifier for pseudo wire
CN102571426B (en) Double-homing protection method and device
CN101394361B (en) Packet transmission method, device and system
CN102025646B (en) Link switching method and device thereof
US8179900B2 (en) Edge node redundant system in label switching network
US9184935B2 (en) Network communication method and network node device
CN101433030B (en) Ethernet VLL spoke termination on IP interface
CN103490967A (en) Alias and TRILL message processing method and device
CN105379197A (en) Tunnel establishment method, label allocation method, device, and network system
WO2008092357A1 (en) A method and device for establishing a pseudo wire tunnel and transmitting message using it
CN113542093B (en) Method and apparatus for Ethernet virtual private network
CN101828366A (en) Carrier network connection device and carrier network
CN102739501A (en) Message forwarding method in two or three layer virtual private network (VPN) and system thereof
CN102238057A (en) Ethernet-tree realization method, system, device and network equipment
CN101345686B (en) Processing method, apparatus and system of virtual special local area network service loop
CN105553810A (en) Method and device for forwarding special line service packet
CN101917324B (en) Communication method, device and equipment for two-layer virtual private network
CN102255759B (en) Method and device for transmitting data message based on PW (Packet Writing) redundant backup
EP3255838B1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
CN111885630B (en) Data transmission method and communication device
CN101102321B (en) Implementation method of virtual route redundancy protocol based on layer 3 VLAN technology
CN103634210A (en) Method and apparatus for discovering opposite-end provider edge (PE) device of virtual private LAN service (VPLS) instance
CN101764733B (en) Method for realizing virtual local area network (VLAN) communication by adopting wireless network and device and system thereof
CN104378245B (en) OAM method and device is realized on the AC mouths of L2VPN frameworks
CN102340449B (en) Private network message transmission method, equipment and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING Z-GOOD TECHNOLOGY SERVICE CO., LTD.

Free format text: FORMER OWNER: BEIJING XINGWANG RUIJIE NETWORK TECHNOLOGIES CO., LTD.

Effective date: 20140813

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100036 HAIDIAN, BEIJING TO: 100085 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20140813

Address after: 100085 Beijing city Haidian District No. 33 Xiaoying Road 1 1F06 room

Patentee after: BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD.

Address before: 100036 Beijing Haidian District City 33 Fuxing Road Cuiwei East 1106

Patentee before: Beijing Xingwang Ruijie Network Technologies Co., Ltd.

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20101215

Assignee: Beijing Xingwang Ruijie Network Technologies Co., Ltd.

Assignor: BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD.

Contract record no.: 2014990000854

Denomination of invention: Communication method, device and equipment for two-layer virtual private network

Granted publication date: 20120627

License type: Common License

Record date: 20141105

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model