CN102255759B - Method and device for transmitting data message based on PW (Packet Writing) redundant backup - Google Patents

Method and device for transmitting data message based on PW (Packet Writing) redundant backup Download PDF

Info

Publication number
CN102255759B
CN102255759B CN201110234123.8A CN201110234123A CN102255759B CN 102255759 B CN102255759 B CN 102255759B CN 201110234123 A CN201110234123 A CN 201110234123A CN 102255759 B CN102255759 B CN 102255759B
Authority
CN
China
Prior art keywords
label
equipment
link
data message
list item
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.)
Active
Application number
CN201110234123.8A
Other languages
Chinese (zh)
Other versions
CN102255759A (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
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201110234123.8A priority Critical patent/CN102255759B/en
Publication of CN102255759A publication Critical patent/CN102255759A/en
Application granted granted Critical
Publication of CN102255759B publication Critical patent/CN102255759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for transmitting data message based on PW (Packet Writing) redundant backup, wherein the method comprises the following steps that: a local terminal PE (Provider Edge) device distributes a same VC (Visual C) tag to an active PW link and a standby PW link, and sends the VC tag to an opposite terminal PE device; and the local terminal PE device receives a data message form the opposite terminal PE device via the active PW link or the standby PW link, and sends the data message via the VC tag carried in the data message. In the invention, the error discarding of the data message can be avoided.

Description

A kind of data message transmission method based on PW redundancy backup and equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of data message transmission method based on PW redundancy backup and equipment.
Background technology
MPLS (Multiprotocol Label Switching, multiprotocol label switching) L2VPN (Layer 2 Virtual Private Network, Layer 2 virtual private network) a kind of two-layer VPN service based on MPLS network is provided, make operator in unified MPLS network, the two-layer VPN (as ATM, FR, VLAN, Ethernet, PPP etc.) based on different pieces of information link layer can be provided.For MPLS L2VPN, its sorting technique is: VPWS (Virtual Private Wire Services MPLS L2VPN being divided into point-to-point mode, virtual dedicated line is served) and the VPLS (Virtual Private LAN Services, Virtual Private LAN Service) of point-to-multipoint.
MPLS L2VPN can in MPLS network transparent transmission Layer 2 data, from the angle of user, MPLS network is a Layer2 switching network, can set up two layers of connection between different node.With ATM (Asynchronous Transfer Mode, asynchronous transfer mode) be example, each CE (Customer Edge, user border) equipment (can be router or switch, also can be a main frame) configure VC (the Virtual Circuit of an ATM, virtual circuit), be connected with far-end CE by MPLS network.
It should be noted that, service provider needs two PE (Provider Edge at specific user's network, operator edge) dispose PW (the Pseudo Wire of connection between equipment, virtual link), thus make the message from a CE equipment directly can be transmitted transparently to another CE equipment by PW.Further, if only have a PW between two CE equipment, then when this PW breaks down, communication between CE equipment, cannot be continued, therefore introduce PW redundancy backup mechanism.
The dual homed place PW redundancy backup networking schematic diagram of a kind of MPLS L2VPN PW as shown in Figure 1, has two PW links between CE1 and CE2, under normal circumstances, use primary link (link as PE1-PE2) to communicate between ce1 and ce2; After primary link breaks down, reserve link (link as PE1-P-PE3) between ce1 and ce2, is used to communicate.Wherein, PE by from different opposite ends set up different PW (as PE1 and PE2 set up main PW link, PE1 and PE3 sets up PW link for subsequent use), reach the object of redundancy backup.
The chummage PW redundancy backup networking schematic diagram of a kind of MPLS L2VPN PW as shown in Figure 2, two PW links are had between CE1 and CE2, chummage PW redundancy backup and dual homed place PW redundancy backup unlike, different PW (as set up different PW by different paths between PE1 and PE2) is set up in PE and same opposite end, thus reaches the object of redundancy backup.
In prior art, during dual homed place PW redundancy backup networking as shown in Figure 3, the schematic diagram that the message of primary link and reserve link sends, PE1 and PE2 sets up main PW link, and PE1 and PE3 sets up PW link for subsequent use.When main PW link can be used, the upper packet sending and receiving strategy of PE1 is: PE1 only and PE2 carry out the transmitting-receiving of data message, not to P equipment sending data message, do not receive the data message of coming from P equipment yet.
But for PE2 and PE3, and do not know the above-mentioned strategy of PE1, after setting up PW link with PE1, PE2 and PE3 all thinks that the link of self can receive, send datagram; Therefore, if CE2 is sent datagram to CE1 by PE3, then the data message in this direction can be dropped on PE1.
During chummage PW redundancy backup networking as shown in Figure 4, the schematic diagram that the message of primary link and reserve link sends, PE1 and PE2 mutually using the other side as the active and standby peer of chummage (opposite end), set up PW redundancy backup.When to carry the tunnel of PW be one direction (as PE1 exists tunnel to the direction of PE2 on main PW, there is tunnel to the direction of PE1 in PE2) on PW for subsequent use, if PE2 uses PW chain road direction CE1 for subsequent use to send datagram, then the data message in this direction can be dropped on PE1.
In sum, in prior art, for chummage PW redundancy backup and dual homed place PW redundancy backup, data message can be caused by the abandoning of mistake (as PE1 mistake abandon the data message received from PW link for subsequent use).
Summary of the invention
The invention provides a kind of data message transmission method based on PW redundancy backup and equipment, to ensure that data message can not wrong being dropped.
In order to achieve the above object, the invention provides a kind of data message transmission method based on virtual link PW redundancy backup, be applied in multiprotocol label switching Multiprotocol Label Switching Virtual Private Network VPN, and set up main PW link and PW link for subsequent use between local terminal operator edge PE equipment in this network and opposite end PE equipment; The method comprises the following steps:
Described local end PE equipment is the virtual circuit VC label that described main PW link is identical with PW link assignment for subsequent use, and described VC label is sent to described opposite end PE equipment;
Described local end PE equipment receives the data message carrying described VC label from described opposite end PE equipment by described main PW link or described PW link for subsequent use;
Described local end PE equipment determines the user border CE equipment that described VC label is corresponding, and described data message is sent to described CE equipment.
Described local end PE equipment is the virtual circuit VC label that described main PW link is identical with PW link assignment for subsequent use, also comprises afterwards:
Described in described local end PE equipment utilization, local label list item set up by VC label, records the corresponding relation of the VPN of described VC label and described CE equipment in described local label list item;
Described local end PE equipment determines the user border CE equipment that described VC label is corresponding, specifically comprise: local label list item described in VC label lookup described in described local end PE equipment utilization, determine the VPN corresponding with described VC label by described local label list item, and determine described CE equipment by described VPN.
Described method comprises further: when described main PW link or described PW link for subsequent use generate, do not have the local label list item that described VC label is corresponding if current, described in described local end PE equipment utilization, described local label list item set up by VC label;
Described main PW link and described PW link for subsequent use all deleted time, described local end PE equipment discharges described local label list item corresponding to described VC label.
Described method comprises further: when the data message from described opposite end PE equipment is from described main PW link switching to described PW link for subsequent use, described local end PE equipment receives the data message carrying described VC label from described opposite end PE equipment by described PW link for subsequent use, and utilizes local label list item described in described VC label lookup; Or,
When the data message from described opposite end PE equipment is from described PW link switching for subsequent use to described main PW link, described local end PE equipment receives the data message carrying described VC label from described opposite end PE equipment by described main PW link, and utilizes local label list item described in described VC label lookup.
Described method comprises further: described local end PE equipment reception is from the VC label for described main PW link assignment of opposite end PE equipment and the VC label for described PW link assignment for subsequent use;
Described local end PE equipment utilization is that far-end label list item corresponding to main PW link set up by the VC label of described main PW link assignment, and far-end label list item corresponding to PW link for subsequent use set up by the VC label being utilized as described PW link assignment for subsequent use;
When needs are by described main PW chain road direction opposite end PE equipment sending data message, described data message is sent to described opposite end PE equipment by the far-end label list item that described main PW link is corresponding by described local end PE equipment; Or when needs are by described PW chain road direction opposite end PE equipment sending data message for subsequent use, described data message is sent to described opposite end PE equipment by the far-end label list item that described PW link for subsequent use is corresponding by described local end PE equipment.
Described MPLS VPN comprises: based on the network of chummage PW redundancy backup, the network based on dual homed place PW redundancy backup.
A kind of local end PE equipment, is applied in MPLS VPN, and sets up main PW link and PW link for subsequent use between described local end PE equipment and opposite end PE equipment; Described local end PE equipment comprises:
VC label distribution module, for being the described main PW link VC label identical with PW link assignment for subsequent use;
VC label sending module, for sending to described opposite end PE equipment by described VC label;
Data message receiver module, for receiving the data message carrying described VC label from described opposite end PE equipment by described main PW link or described PW link for subsequent use;
Determination module, for determining the user border CE equipment that described VC label is corresponding;
Data message sending module, for sending to described CE equipment by described data message.
Also comprising: label list item sets up module, for utilizing described VC label to set up local label list item, in described local label list item, recording the corresponding relation of the VPN of described VC label and described CE equipment;
Described determination module, specifically for utilizing local label list item described in described VC label lookup, determines the VPN corresponding with described VC label by described local label list item, and determines described CE equipment by described VPN.
Described label list item sets up module, specifically for when described main PW link or described PW link for subsequent use generate, does not have the local label list item that described VC label is corresponding, then utilize described VC label to set up described local label list item if current;
Described main PW link and described PW link for subsequent use all deleted time, discharge the described local label list item that described VC label is corresponding.
Described data message receiver module, specifically for when the data message from described opposite end PE equipment is from described main PW link switching to described PW link for subsequent use, receive the data message carrying described VC label from described opposite end PE equipment by described PW link for subsequent use; When the data message from described opposite end PE equipment is from described PW link switching for subsequent use to described main PW link, receive the data message carrying described VC label from described opposite end PE equipment by described main PW link.
Also comprise: VC label receiver module and label list item set up module;
Described VC label receiver module, for receive from opposite end PE equipment the VC label for described main PW link assignment and be the VC label of described PW link assignment for subsequent use;
Described label list item sets up module, and far-end label list item corresponding to main PW link set up by the VC label for being utilized as described main PW link assignment, and far-end label list item corresponding to PW link for subsequent use set up by the VC label being utilized as described PW link assignment for subsequent use;
Described data message sending module, also for when needs are by described main PW chain road direction opposite end PE equipment sending data message, described data message is sent to described opposite end PE equipment by the far-end label list item corresponding by described main PW link; Or when needs are by described PW chain road direction opposite end PE equipment sending data message for subsequent use, described data message is sent to described opposite end PE equipment by the far-end label list item corresponding by described PW link for subsequent use.
Described MPLS VPN comprises: based on the network of chummage PW redundancy backup, the network based on dual homed place PW redundancy backup.
Compared with prior art, the present invention at least has the following advantages:
By being the main PW link VC label identical with PW link assignment for subsequent use, can ensure that data message can not being dropped of mistake, the VC label reducing system consumes; And can state advertisement be avoided, reduce equipment room Signalling exchange; When active and standby PW switches, label list item can be upgraded, especially under a large amount of PW list item, can the speed of switching be accelerated, realize switching fast.
Accompanying drawing explanation
Fig. 1 is the dual homed place PW redundancy backup networking schematic diagram of MPLS L2VPN PW in prior art;
Fig. 2 is the chummage PW redundancy backup networking schematic diagram of MPLS L2VPN PW in prior art;
When Fig. 3 is PW redundancy backup networking in dual homed place in prior art, the schematic diagram of the message transmission of primary link and reserve link;
When Fig. 4 is chummage PW redundancy backup networking in prior art, the schematic diagram of the message transmission of primary link and reserve link;
Fig. 5 is dual homed place PW redundancy backup networking schematic diagram in prior art;
Fig. 6 is a kind of data message transmission method flow chart based on PW redundancy backup provided by the invention;
Fig. 7 be in the present invention active and standby PW because of fault switch time, the schematic diagram of dual homed place PW redundancy backup;
Fig. 8 be in the present invention active and standby PW because of fault switch time, the schematic diagram of chummage PW redundancy backup;
Fig. 9 is the manual PW that carries out when switching in the present invention, the schematic diagram of dual homed place PW redundancy backup;
Figure 10 is the structure chart of a kind of PE equipment that the present invention proposes.
Embodiment
In prior art, for chummage PW redundancy backup and dual homed place PW redundancy backup, PE1 can be the main PW link VC label different with PW link assignment for subsequent use, when using main PW link to communicate, PE1 forwards from the data message carrying VC label corresponding to main PW link of opposite end to corresponding CE equipment, and abandons the data message from VC label corresponding to the carrying about standby PW link of opposite end.
For the dual homed place PW redundancy backup networking schematic diagram shown in Fig. 5, PE1 and PE2 sets up main PW link, and PE1 and PE3 sets up PW link for subsequent use, and on the receive direction of PE1, PE1 can be main PW link assignment VC label 1, and is PW link assignment VC label 2 for subsequent use; VC label 1 is informed to PE2 by PE1, and VC label 2 is informed to PE3.
In addition, PE1 can set up local label list item 1 based on VC label 1, and sets up local label list item 2 based on VC label 2; Record VC label 1 and the corresponding relation of VPN in local label list item 1, in local label list item 2, record the corresponding relation of VC label 2 and VPN; VPN in above-mentioned local label list item 1 and local label list item 2 is same VPN, and for determining that data message sends to the forward-path information of CE1.
When using main PW link to communicate, in a receive direction, PE1 can carry out the forwarding (being namely transmitted to corresponding CE equipment) of data message by local label list item 1, and refusal carries out the forwarding of data message by local label list item 2.In order to realize said process, local label list item 1 can be issued to forwarding chip, but not issue local label list item 2 to forwarding chip; Or, local label list item 1 is issued to forwarding chip, local label list item 2 is issued to forwarding chip, but be the mark (representing that this list item does not use) that local label list item 2 arranges specified type; Corresponding realization does not repeat them here.
So that local label list item 1 is issued to forwarding chip, but not issuing local label list item 2 to forwarding chip is example, when being switched to use PW link for subsequent use and communicating, local label list item 2 is issued to forwarding chip, and deletes the local label list item 1 on forwarding chip.
As shown in Figure 5, when CE2 needs to send datagram to CE1, data message can be sent to PE2 or PE3, this data message is L2PDU (Layer 2 Protocol Data Unit, two-layer protocol data cell), is link layer message; On PE2 or PE3, can add Tunnel (tunnel is abbreviated as T) label and VC label (being abbreviated as V) before L2PDU, this T label is used for data-message transmission to PE1, T ' represent that repeating process ectomesoderm label is replaced; On PE2, VC label is set to VC label 1; On PE3, VC label is set to VC label 2.
After data message arrives PE1, PE1 is by T label peeling, and obtain VC label (in practical application, can also by the equipment of before PE1 by T label peeling, now PE1 can directly obtain VC label), if VC label is VC label 1, then can inquire corresponding local label list item 1, obtain VPN information, and utilize this VPN that the L2PDU in data message is sent to CE1; If VC label is VC label 2, then can not inquires corresponding local label list item, now will abandon this data message.
Therefore, data message abandoning by mistake can be caused in prior art.
For the problems referred to above, the present invention proposes a kind of data message transmission method based on PW redundancy backup, and the method is applied in MPLS VPN, and sets up main PW link and PW link for subsequent use between local end PE equipment in this network and opposite end PE equipment.It should be noted that, method provided by the invention can be applicable in the system (as shown in Figure 2) based on chummage PW redundancy backup or the system (as shown in Figure 1) based on dual homed place PW redundancy backup.In the present invention, local end PE equipment and a CE equipment connection, opposite end PE equipment and the 2nd CE equipment connection, and opposite end PE equipment is the main PE equipment with the 2nd CE equipment connection, or be the standby PE equipment with the 2nd CE equipment connection.
In FIG, a CE equipment is CE1, and local end PE equipment is PE1, and the 2nd CE equipment is CE2, and opposite end PE equipment is PE2 and PE3; In the present invention with the link between PE1 and PE2 for main PW link, the link between PE1 and PE3 is PW link for subsequent use is that example is described, then main PE equipment is PE2, and standby PE equipment is PE3.In fig. 2, a CE equipment is CE1, and local end PE equipment is PE1, and the 2nd CE equipment is CE2 (being CE2a and CE2b in figure, for CE2), and opposite end PE equipment is PE2; Namely, in this networking situation, main PE equipment and standby PE equipment are PE2, in the present invention with the link of top between PE1 and PE2 for main PW link, between PE1 and PE2, the link of below is PW link for subsequent use is that example is described.
Based on above-mentioned networking situation, as shown in Figure 6, should comprise the following steps based on the data message transmission method of PW redundancy backup:
Step 601, PE1 is the VC label (as 1024) that main PW link is identical with PW link assignment for subsequent use.
Step 602, VC label is sent to opposite end PE equipment by PE1; Namely VC label is sent to main PE equipment by PE1, and VC label is sent to standby PE equipment.
It should be noted that the process of transmitting in order to realize VC label, needing first to set up signaling session between PE1 and main PE equipment, and exchange VC label information by this signaling session, namely VC label is sent to main PE equipment by signaling session by PE1; In like manner, VC label is sent to standby PE equipment by signaling session by PE1.
For the networking situation shown in Fig. 1, PE1 sends the VC label for main PW link to PE2, and sends the VC label for PW link for subsequent use to PE3; For the networking situation shown in Fig. 2, PE1 sends the VC label for main PW link to PE2, and sends the VC label for PW link for subsequent use to PE2.
In the present invention, PE1 also needs to utilize this VC label to set up local label list item, and record the corresponding relation of the VPN of this VC label (1024) and CE1 in this local label list item, this VPN can determine that data message sends to the forward-path information of CE1.
Concrete, because this local label list item is that main PW link and PW link for subsequent use use jointly, therefore, when Article 1 PW generates, need to generate this local label list item, when in the end a PW deletes, need to discharge this local label list item.Namely, when main PW link or PW link for subsequent use generate, if the local label list item of current not this VC label 1024 correspondence, then PE1 utilizes this VC label to set up local label list item; Main PW link and PW link for subsequent use all deleted time, PE1 discharges local label list item corresponding to this VC label.
Step 603, PE1 receives the data message carrying VC label from opposite end PE equipment by main PW link or PW link for subsequent use.
For the networking situation shown in Fig. 1, PE1 receives the data message (namely from the data message of CE2) from PE2 by main PW link, or PE1 receives the data message (namely from the data message of CE2) from PE3 by PW link for subsequent use; For the networking situation shown in Fig. 2, PE1 receives the data message (namely from the data message of CE2) from PE2 by main PW link, or PE1 receives the data message (namely from the data message of CE2) from PE2 by PW link for subsequent use.
Step 604, PE1 obtains the VC label carried in this data message, determines the CE equipment (i.e. CE1) that this VC label is corresponding, and data message is sent to CE1.Wherein, PE1 can utilize this VC label lookup local label list item, and determines the VPN corresponding with this VC label by local label list item, and by this VPN, data message is sent to CE1.
It should be noted that, when PE1 receives the data message from CE2 by main PW link, VC label is that main PE equipment adds in data message; When PE1 receives the data message from CE2 by PW link for subsequent use, VC label is that standby PE equipment adds in data message.
In the present invention, for the networking situation shown in Fig. 1, because identical VC label 1024 is sent to PE2 and PE3 by PE1 respectively, therefore, for the data message from PE2 or PE3, the VC label carried is 1024, PE1 and 1024 in label list item, finds corresponding VPN by this, thus based on this VPN, data message is sent to CE1.For the networking situation shown in Fig. 2, because identical VC label 1024 is sent to PE2 by main PW link and PW link for subsequent use by PE1 respectively, therefore, for the data message from PE2 by main PW link or PW link for subsequent use, the VC label carried is 1024, PE1 1024 finds corresponding VPN by this in label list item, thus based on this VPN, data message is sent to CE1.
In sum, for the situation of PW redundancy backup, due to the PW only had wherein that reality forwards, therefore PE can be the main PW link VC label identical with PW link assignment for subsequent use.On signaling negotiation, the distribution of VC label belongs to local behavior, and opposite equip. is without the need to being concerned about, therefore distributing same label can not affect signaling negotiation; In forwarding behavior, main PW link and PW link for subsequent use only have on a direction and can receive data message, because VC label is identical, therefore no matter which direction data message is received from, all correctly can process, ensure not obliterated data message, thus make can not mistake abandon data message.
In the present invention, for the process that active and standby PW switches, when the data message from opposite end PE equipment is from main PW link switching to PW link for subsequent use, PE1 receives the data message from opposite end PE equipment by PW link for subsequent use, or, when the data message from opposite end PE equipment is from PW link switching for subsequent use to main PW link, PE1 receives the data message from opposite end PE equipment by main PW link; Therefore, in above-mentioned active and standby PW reversed process, PE1 all determines the VPN corresponding with VC label by above-mentioned label list item, and by VPN, data message is sent to CE1.
Therefore, because main PW link and PW link for subsequent use use identical VC label, after switching between main PW link and PW link for subsequent use, VC label can not change, do not need to upgrade corresponding list item, namely can process the data message from opposite end, thus realize switching fast.
Further, when active and standby PW switches because of fault, dual homed place PW redundancy backup as shown in Figure 7, if main PW link occurs fault, after PE2 detects this fault, notice CE2 switches, and data message is sent to PE1 from PE3, even if now PE1 switches, data message also can not be lost; And this time switch and do not need PE1 to send state advertisement to PE3, do not need PE3 to send state advertisement to PE1 yet, decrease Signalling exchange and lose because of the data message of interaction time impact.
When active and standby PW switches because of fault, chummage PW redundancy backup as shown in Figure 8, if main PW link occurs fault, after PE2 detects this fault, carry out PW and switch, data message is sent to PE1 from PW link for subsequent use, even if now PE1 switches, data message also can not be lost; And this time switch and do not need PE1 to send state advertisement to PE2, do not need PE2 to send state advertisement to PE1 yet, decrease Signalling exchange and lose because of the data message of interaction time impact.
In addition, in active and standby PW Manual Switch process, as shown in Figure 9, PE1 is upper manual carry out PW and switches, and after switching, even if CE2 is still sent datagram by PE2, then due to label list item with switch front the same, data message can not be lost.
It should be noted that, said process is for the process on the receive direction of PE1 (i.e. local end PE equipment), on the sending direction of PE1, can also have following steps:
Step 1, opposite end PE equipment are main PW link assignment VC label (follow-up for VC label A), and are PW link assignment VC label for subsequent use (follow-up for VC label B).
For the networking situation shown in Fig. 1, PE2 is main PW link assignment VC label A, and PE3 is PW link assignment VC label B for subsequent use, and the process that PE2 and PE3 distributes VC label is independently carried out.For the networking situation shown in Fig. 2, PE2 is main PW link assignment VC label A, and is PW link assignment VC label B for subsequent use.
Step 2, PE1 receive from the VC label A of opposite end PE equipment and VC label B.
It should be noted that the process of transmitting in order to realize VC label, needing first to set up signaling session between PE1 and main PE equipment, and exchange VC label information by this signaling session, namely VC label A is sent to PE1 by signaling session by main PE equipment; In like manner, VC label B is sent to PE1 by signaling session by standby PE equipment.
The VC label A that step 3, PE1 are utilized as main PW link assignment sets up far-end label list item corresponding to main PW link (follow-up for far-end label list item 1), and the VC label B being utilized as PW link assignment for subsequent use sets up far-end label list item corresponding to PW link for subsequent use (follow-up for far-end label list item 2).In far-end label list item 1, record VC label A and corresponding tunnel identification information, this tunnel identification information is for determining that data message sends to the tunnel of opposite end PE equipment; In far-end label list item 2, record VC label B and corresponding tunnel identification information.
When needs are by main PW chain road direction opposite end PE equipment sending data message, perform step 4; When needs are by PW chain road direction opposite end PE equipment sending data message for subsequent use, perform step 5.
Data message is sent to opposite end PE equipment by far-end label list item 1 by step 4, PE1.
In specific implementation process, when needs are by main PW chain road direction opposite end PE equipment sending data message, only far-end label list item 1 can be issued to forwarding chip, when data message is sent to opposite end PE equipment by needs, VC label A in far-end label list item 1 is encapsulated in data message (process shown in this process and Fig. 5 is similar, no longer repeat at this), and the data message carrying VC label A is sent to opposite end PE equipment.
Data message is sent to opposite end PE equipment by far-end label list item 2 by step 5, PE1.
In specific implementation process, only far-end label list item 2 can be issued to forwarding chip, when data message is sent to opposite end PE equipment by needs, the VC label B in far-end label list item 2 is encapsulated in data message, and the data message carrying VC label B is sent to opposite end PE equipment.
Based on the inventive concept same with said method, the invention allows for a kind of local end PE equipment, be applied in MPLS VPN, and between described local end PE equipment and opposite end PE equipment, set up main PW link and PW link for subsequent use; As shown in Figure 10, described local end PE equipment comprises:
VC label distribution module 11, for being the described main PW link VC label identical with PW link assignment for subsequent use;
VC label sending module 12, for sending to described opposite end PE equipment by described VC label;
Data message receiver module 13, for receiving the data message carrying described VC label from described opposite end PE equipment by described main PW link or described PW link for subsequent use;
Determination module 14, for determining the user border CE equipment that described VC label is corresponding;
Data message sending module 15, for sending to described CE equipment by described data message.
Described local end PE equipment also comprises:
Label list item sets up module 16, for utilizing described VC label to set up local label list item, records the corresponding relation of the VPN of described VC label and described CE equipment in described local label list item;
Described determination module 14, specifically for utilizing local label list item described in described VC label lookup, determines the VPN corresponding with described VC label by described local label list item, and determines described CE equipment by described VPN.
Described label list item sets up module 16, specifically for when described main PW link or described PW link for subsequent use generate, does not have the local label list item that described VC label is corresponding, then utilize described VC label to set up described local label list item if current; Described main PW link and described PW link for subsequent use all deleted time, discharge the described local label list item that described VC label is corresponding.
Described data message receiver module 13, specifically for when the data message from described opposite end PE equipment is from described main PW link switching to described PW link for subsequent use, receive the data message carrying described VC label from described opposite end PE equipment by described PW link for subsequent use; When the data message from described opposite end PE equipment is from described PW link switching for subsequent use to described main PW link, receive the data message carrying described VC label from described opposite end PE equipment by described main PW link.
Described local end PE equipment also comprises:
VC label receiver module 17, for receive from opposite end PE equipment the VC label for described main PW link assignment and be the VC label of described PW link assignment for subsequent use;
Described label list item sets up module 16, and far-end label list item corresponding to main PW link set up by the VC label for being utilized as described main PW link assignment, and far-end label list item corresponding to PW link for subsequent use set up by the VC label being utilized as described PW link assignment for subsequent use;
Described data message sending module 15, also for when needs are by described main PW chain road direction opposite end PE equipment sending data message, described data message is sent to described opposite end PE equipment by the far-end label list item corresponding by described main PW link; Or when needs are by described PW chain road direction opposite end PE equipment sending data message for subsequent use, described data message is sent to described opposite end PE equipment by the far-end label list item corresponding by described PW link for subsequent use.
In the present invention, described MPLS VPN comprises: based on the network of chummage PW redundancy backup, the network based on dual homed place PW redundancy backup.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
The invention described above sequence number, just to describing, does not represent the quality of embodiment.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (10)

1. the data message transmission method based on virtual link PW redundancy backup, be applied in multiprotocol label switching Multiprotocol Label Switching Virtual Private Network VPN, and set up main PW link and PW link for subsequent use between local terminal operator edge PE equipment in this network and opposite end PE equipment; It is characterized in that, the method comprises the following steps:
Described local end PE equipment is the virtual circuit VC label that described main PW link is identical with PW link assignment for subsequent use, and described VC label is sent to described opposite end PE equipment;
Described local end PE equipment receives the data message carrying described VC label from described opposite end PE equipment by described main PW link or described PW link for subsequent use;
Described local end PE equipment determines the user border CE equipment that described VC label is corresponding, and described data message is sent to described CE equipment;
Wherein, described MPLS VPN comprises: based on the network of chummage PW redundancy backup, the network based on dual homed place PW redundancy backup.
2. the method for claim 1, is characterized in that, described local end PE equipment is the virtual circuit VC label that described main PW link is identical with PW link assignment for subsequent use, also comprises afterwards:
Described in described local end PE equipment utilization, local label list item set up by VC label, records the corresponding relation of the VPN of described VC label and described CE equipment in described local label list item;
Described local end PE equipment determines the user border CE equipment that described VC label is corresponding, specifically comprise: local label list item described in VC label lookup described in described local end PE equipment utilization, determine the VPN corresponding with described VC label by described local label list item, and determine described CE equipment by described VPN.
3. method as claimed in claim 2, it is characterized in that, described method comprises further:
When described main PW link or described PW link for subsequent use generate, do not have the local label list item that described VC label is corresponding if current, described in described local end PE equipment utilization, described local label list item set up by VC label;
Described main PW link and described PW link for subsequent use all deleted time, described local end PE equipment discharges described local label list item corresponding to described VC label.
4. method as claimed in claim 2, it is characterized in that, described method comprises further:
When the data message from described opposite end PE equipment is from described main PW link switching to described PW link for subsequent use, described local end PE equipment receives the data message carrying described VC label from described opposite end PE equipment by described PW link for subsequent use, and utilizes local label list item described in described VC label lookup; Or,
When the data message from described opposite end PE equipment is from described PW link switching for subsequent use to described main PW link, described local end PE equipment receives the data message carrying described VC label from described opposite end PE equipment by described main PW link, and utilizes local label list item described in described VC label lookup.
5. the method for claim 1, is characterized in that, described method comprises further:
Described local end PE equipment receives be the VC label of described main PW link assignment and be the VC label of described PW link assignment for subsequent use from opposite end PE equipment;
Described local end PE equipment utilization is that far-end label list item corresponding to main PW link set up by the VC label of described main PW link assignment, and far-end label list item corresponding to PW link for subsequent use set up by the VC label being utilized as described PW link assignment for subsequent use;
When needs are by described main PW chain road direction opposite end PE equipment sending data message, described data message is sent to described opposite end PE equipment by the far-end label list item that described main PW link is corresponding by described local end PE equipment; Or when needs are by described PW chain road direction opposite end PE equipment sending data message for subsequent use, described data message is sent to described opposite end PE equipment by the far-end label list item that described PW link for subsequent use is corresponding by described local end PE equipment.
6. a local end PE equipment, is applied in MPLS VPN, and sets up main PW link and PW link for subsequent use between described local end PE equipment and opposite end PE equipment; It is characterized in that, described local end PE equipment comprises:
VC label distribution module, for being the described main PW link VC label identical with PW link assignment for subsequent use;
VC label sending module, for sending to described opposite end PE equipment by described VC label;
Data message receiver module, for receiving the data message carrying described VC label from described opposite end PE equipment by described main PW link or described PW link for subsequent use;
Determination module, for determining the user border CE equipment that described VC label is corresponding;
Data message sending module, for sending to described CE equipment by described data message;
Wherein, described MPLS VPN comprises: based on the network of chummage PW redundancy backup, the network based on dual homed place PW redundancy backup.
7. equipment as claimed in claim 6, is characterized in that, also comprise:
Label list item sets up module, for utilizing described VC label to set up local label list item, records the corresponding relation of the VPN of described VC label and described CE equipment in described local label list item;
Described determination module, specifically for utilizing local label list item described in described VC label lookup, determines the VPN corresponding with described VC label by described local label list item, and determines described CE equipment by described VPN.
8. equipment as claimed in claim 7, is characterized in that,
Described label list item sets up module, specifically for when described main PW link or described PW link for subsequent use generate, does not have the local label list item that described VC label is corresponding, then utilize described VC label to set up described local label list item if current;
Described main PW link and described PW link for subsequent use all deleted time, discharge the described local label list item that described VC label is corresponding.
9. equipment as claimed in claim 7, is characterized in that,
Described data message receiver module, specifically for when the data message from described opposite end PE equipment is from described main PW link switching to described PW link for subsequent use, receive the data message carrying described VC label from described opposite end PE equipment by described PW link for subsequent use; When the data message from described opposite end PE equipment is from described PW link switching for subsequent use to described main PW link, receive the data message carrying described VC label from described opposite end PE equipment by described main PW link.
10. equipment as claimed in claim 7, is characterized in that, also comprise: VC label receiver module and label list item set up module;
Described VC label receiver module, for receive from opposite end PE equipment the VC label for described main PW link assignment and be the VC label of described PW link assignment for subsequent use;
Described label list item sets up module, and far-end label list item corresponding to main PW link set up by the VC label for being utilized as described main PW link assignment, and far-end label list item corresponding to PW link for subsequent use set up by the VC label being utilized as described PW link assignment for subsequent use;
Described data message sending module, also for when needs are by described main PW chain road direction opposite end PE equipment sending data message, described data message is sent to described opposite end PE equipment by the far-end label list item corresponding by described main PW link; Or when needs are by described PW chain road direction opposite end PE equipment sending data message for subsequent use, described data message is sent to described opposite end PE equipment by the far-end label list item corresponding by described PW link for subsequent use.
CN201110234123.8A 2011-08-16 2011-08-16 Method and device for transmitting data message based on PW (Packet Writing) redundant backup Active CN102255759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110234123.8A CN102255759B (en) 2011-08-16 2011-08-16 Method and device for transmitting data message based on PW (Packet Writing) redundant backup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110234123.8A CN102255759B (en) 2011-08-16 2011-08-16 Method and device for transmitting data message based on PW (Packet Writing) redundant backup

Publications (2)

Publication Number Publication Date
CN102255759A CN102255759A (en) 2011-11-23
CN102255759B true CN102255759B (en) 2015-05-20

Family

ID=44982764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110234123.8A Active CN102255759B (en) 2011-08-16 2011-08-16 Method and device for transmitting data message based on PW (Packet Writing) redundant backup

Country Status (1)

Country Link
CN (1) CN102255759B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685019B (en) * 2013-12-06 2017-08-22 新华三技术有限公司 A kind of label distribution method and equipment
CN105119824B (en) * 2015-06-30 2018-11-16 华为技术有限公司 A kind of message forwarding method and device
CN111901235A (en) * 2017-12-01 2020-11-06 华为技术有限公司 Method and device for processing route, and method and device for data transmission
CN108337169B (en) * 2017-12-29 2021-02-02 瑞斯康达科技发展股份有限公司 Information query method and provider edge router
CN110601882B (en) * 2019-09-04 2022-08-16 厦门网宿有限公司 Two-layer private network system and configuration method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645836A (en) * 2009-08-25 2010-02-10 杭州华三通信技术有限公司 Packet transmission method and device in multi-protocol label switching network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316239B (en) * 2008-07-23 2011-06-22 中兴通讯股份有限公司 Method for controlling access and forwarding in virtual special LAN service network
CN102025541B (en) * 2010-12-08 2014-12-10 中兴通讯股份有限公司 Method and system for realizing multicast protection
CN102035681B (en) * 2010-12-17 2015-07-22 中兴通讯股份有限公司 Link protection method and system for virtual private network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645836A (en) * 2009-08-25 2010-02-10 杭州华三通信技术有限公司 Packet transmission method and device in multi-protocol label switching network

Also Published As

Publication number Publication date
CN102255759A (en) 2011-11-23

Similar Documents

Publication Publication Date Title
CN101330424B (en) Method, system and apparatus for processing service fault of virtual special network
CN102571426B (en) Double-homing protection method and device
US8179900B2 (en) Edge node redundant system in label switching network
CN101277245B (en) Method, system and apparatus for implementing L2VPN field across
CN102025646B (en) Link switching method and device thereof
CN101645836B (en) Packet transmission method and device in multi-protocol label switching network
CN101155076B (en) Method for checking pseudo wire trouble of two-layer special network
CN103685022A (en) Message forwarding method and service provider network edge equipment
CN100484097C (en) Method for judging pseudo wire connection state in packet-switching network and service apparatus thereof
CN101924654B (en) Point-to-multipoint service-based path switching method and system
CN101217470B (en) Method and device for forwarding message
CN101710877A (en) Method, device and system for processing traffic flow based on pseudowire
CN102664788A (en) CE dual-homed link protection method in MPLS L3VPN and system thereof
CN102333028A (en) Method and communication equipment for sending messages by using layered bi-layer virtual private network
CN104270231B (en) A kind of system and method for realizing binode interconnection pseudo-wire
CN102255759B (en) Method and device for transmitting data message based on PW (Packet Writing) redundant backup
CN102316014B (en) Load sharing method and router under hierarchical virtual dedicated local area network service environment
CN102098202A (en) Virtual private topology control method, device and system
CN103297338B (en) A kind of VPN route advertising method and equipment
CN105591800A (en) Traffic protection method and device
CN102469010B (en) A kind of method and network equipment distributing MPLS label
CN101102321B (en) Implementation method of virtual route redundancy protocol based on layer 3 VLAN technology
CN108462637A (en) One kind being routed back to blanking method, controller and system
CN102143060A (en) Method and device for building primary pseudowire and spare pseudowire
CN101674239A (en) Method and device for providing web service

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address