CN101645836B - Packet transmission method and device in multi-protocol label switching network - Google Patents

Packet transmission method and device in multi-protocol label switching network Download PDF

Info

Publication number
CN101645836B
CN101645836B CN2009100917683A CN200910091768A CN101645836B CN 101645836 B CN101645836 B CN 101645836B CN 2009100917683 A CN2009100917683 A CN 2009100917683A CN 200910091768 A CN200910091768 A CN 200910091768A CN 101645836 B CN101645836 B CN 101645836B
Authority
CN
China
Prior art keywords
label
tunnel
vpn
grouping
information base
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
CN2009100917683A
Other languages
Chinese (zh)
Other versions
CN101645836A (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 CN2009100917683A priority Critical patent/CN101645836B/en
Publication of CN101645836A publication Critical patent/CN101645836A/en
Application granted granted Critical
Publication of CN101645836B publication Critical patent/CN101645836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a packet transmission method and a device in multi-protocol label switching network (MPLS), wherein the method comprises the following steps: a PW label is distributed on a virtual connection (PW) head node, wherein the same PW label is distributed to mutual active-standby PWs; the PW head node stores the PW label in a sending label transmitting table entry corresponding to VPN bound by the PW; a PW tail node takes the PW label and the corresponding relation between the PW label and the VPN bound by the PW as a receiving label transmitting table and stores the receiving label transmitting table in a receiving label transmitting table corresponding to a tunnel loading the PW; after the PW head node receives a packet, the PW label in the sending label transmitting table entry corresponding to the VPN of the packet is searched; the PW label is added on the packet, and is sent to the PW tail node after being packaged by the current usable tunnel. The invention can conveniently realize flow switching and increase switching speed.

Description

Block transmission method in the multi-protocol label switching network and device
Technical field
The present invention relates to the network communications technology, block transmission method and device in particularly a kind of multiprotocol label (MPLS) network.
Background technology
The label of fixed length encapsulates network layer packet with weak point in multiprotocol label switching (mpls), transmits according to label, has avoided complicated route querying and forwarding.VPN(Virtual Private Network) business can be realized easily through the MPLS technology, and the demand of VPN extensibility and management can be satisfied based on the IP technology.
In the MPLS technology, can adopt virtual connections (PW) technology; Be to connect mutually through PW between Provider Edge (PE) router, as shown in Figure 1, be example with virtual dedicated line (VPWS) framework; PW is carried by the tunnel of lower one deck; The tunnel can be MPLS lsp tunnel or generic route encapsulation (GRE) tunnel, and a tunnel can carry many PW, even reaches thousands of.The middle label of transmitting that PE is last is divided into the transmission label and receives label.PE1 carried the transmission label earlier in this grouping before send dividing into groups through PW, send to PE2 through PW after carrying the tunnel encapsulation of this PW again.After PE2 receives this grouping, peel off tunnel encapsulation and obtain the label that this grouping is carried, in the transmitting of this locality, search the identical corresponding forwarding-table item of reception label of label that carries with this grouping, transmit according to this forwarding-table item and divide into groups.
In order to improve the reliability of network; Usually can dispose a PW in addition, as subsequent use PW, VPWS framework as shown in Figure 2 and hierarchical virtual private local area network shown in Figure 3 service (VPLS) framework; The master just often with PW; Packet traffic sends on leading with PW usually, when leading with the PW fault, packet traffic is switched on the subsequent use PW fast.If the tunnel breaks down, the PW that then carries on this tunnel need switch, and The faster the better to require switch speed.
Because label distribution is to adopt the mode of downstream assignment in the prior art; Just the PE equipment in packet traffic downstream is each PW distributing labels of its connection; And upstream PE devices advertise, after the PE equipment at the upper reaches receives the label announcement, with the transmission label of the label of announcing as this PW correspondence.Because main is different with PW with the corresponding downstream PE equipment of subsequent use PW, as shown in Figure 2, the downstream PE equipment of PE1 is PE2 and PE3; Promptly the master distributes label with PW by PE2, and subsequent use PW distributes label by PE3, and different PE equipment all are from the Label space of this locality configuration, to choose when distributing label; The label of choosing is also inequality usually, and therefore, PE1 is when sending grouping; Switch if active and standby PW takes place, then should carry out the switching of subsequent use PW label, carry out the switching of tunnel encapsulation again.
Above-mentioned label distribution mode makes the method for switching in the prior art mainly adopt following two kinds: first method is when tunnel fails; Retrieve all PW that carry on this tunnel; Each PW that will carry one by one switches on the subsequent use PW, promptly issues the transmission Label Forwarding Information Base of each subsequent use PW one by one.Second method is to be divided into the same group of switching with main with each PW that PW is carried on the same tunnel and subsequent use PW is carried on the same tunnel; When tunnel failure takes place; Same all PW that switch in the group are all switched on the corresponding subsequent use PW, but this also need issue the transmission Label Forwarding Information Base of each subsequent use PW.
But; In above-mentioned two kinds of methods, because the master is also inequality with the transmission label of PW and subsequent use PW correspondence, therefore; Need store two covers simultaneously at forwarding plane and send Label Forwarding Information Base; And when send switching, issue the transmission Label Forwarding Information Base of the subsequent use PW that switches to again, and obviously implement cumbersomely, also influence switch speed.
Summary of the invention
In view of this, the invention provides block transmission method and device in a kind of MPLS network, switch, improve switch speed so that realize flow more easily.
Block transmission method in a kind of MPLS network, this method comprises:
On virtual connections PW head node, distribute the PW label, wherein, active and standby each other PW is assigned with identical PW label;
The PW head node with said PW tag storage in the corresponding transmission label forwarding list item of VPN that said PW binds; The PW tail node is stored in the corresponding reception Label Forwarding Information Base in the tunnel that carries this PW as receiving label forwarding list item with this PW label and with corresponding relation between the VPN that this PW binds;
After the PW head node receives grouping, search the PW label, this PW label is added in divides into groups upward and after adopting current available tunnel to encapsulate to send to the PW tail node corresponding the transmission in the label forwarding list item of the VPN of this grouping;
Said master with PW just often, it is main that to use the tunnel at PW place be current available tunnel; When said main during with the PW fault, the tunnel that subsequent use PW belongs to switches to current available tunnel.
Packet transfer device in a kind of MPLS network, this device comprises: label distribution unit, tag memory cell, grouping Transmit-Receive Unit and packet processing unit;
Said label distribution unit is used to the PW distribution PW label of this device as head node, and wherein, active and standby each other PW distributes identical PW label;
Said tag memory cell is used for the corresponding transmission label forwarding list item of VPN that said PW tag storage is bound at said PW;
Said grouping Transmit-Receive Unit is used for receiving and divides into groups; The grouping that said packet processing unit is provided sends to the tail node of said PW;
Said packet processing unit; Be used for after said packet sending and receiving unit receives grouping; In the corresponding transmission label forwarding list item of the VPN of this grouping, search the PW label, this PW label is added in divides into groups upward and after adopting current available tunnel to encapsulate to offer said grouping Transmit-Receive Unit; Wherein, main with PW just often, with main tunnel with the PW place as current available tunnel; When leading with the PW fault, the tunnel that subsequent use PW is belonged to switches to current available tunnel.
Packet transfer device in a kind of MPLS network, this device comprises: tag memory cell, grouping Transmit-Receive Unit and packet processing unit;
Said tag memory cell; Be used to obtain with the PW label of this device as the PW of tail node; Corresponding relation between the VPN of this PW label and this PW binding is stored in the reception Label Forwarding Information Base in the tunnel that carries this PW as the reception label forwarding list item; The head node that this PW label is said PW distributes, and active and standby each other PW distributes identical PW label;
Said grouping Transmit-Receive Unit is used to receive the grouping that the head node of said PW sends; Receive grouping and VPN information that said packet processing unit provides, this grouping is transmitted through the corresponding VPN interface of this VPN information;
Said packet processing unit; After being used for the said grouping that said grouping Transmit-Receive Unit receives separated tunnel encapsulation; Peel off the PW label that carries in the grouping; In the corresponding reception Label Forwarding Information Base in said tunnel, search the corresponding VPN of this PW label, grouping behind the said PW of the peeling off label and VPN information are offered said grouping Transmit-Receive Unit.
Can find out by above technical scheme; In the method and apparatus provided by the invention; Adopt the mode of upper tag assignment, promptly accomplish the assignment of PW label, make active and standby each other PW be assigned with identical PW label by the PW head node; The PW head node with the PW tag storage of distributing in the corresponding transmission label forwarding list item of VPN that this PW binds, the PW tail node with this PW label and and the VPN that binds of this PW between corresponding relation be stored as the reception label forwarding list item.In this way; Only need a cover to send Label Forwarding Information Base to main with PW and subsequent use PW; When the flow switching takes place, need not to switch the PW label, also need not to carry out issuing of new transmission Label Forwarding Information Base; Only change tunnel encapsulation and get final product, promptly adopt current available tunnel that the grouping that adds the PW label is encapsulated.Obviously, the management of transmitting is simpler, and flow switches convenient, has also improved switch speed greatly.
Description of drawings
Fig. 1 is the PW sketch map in the VPWS framework;
Fig. 2 is the active and standby PW sketch map in the VPWS framework;
Fig. 3 is the active and standby PW sketch map in the Hierarchical Virtual Private LAN Service framework;
Active and standby PW sketch map in the VPWS framework that Fig. 4 provides for the embodiment of the invention;
The method flow diagram that Fig. 5 provides for the embodiment of the invention based on Fig. 4;
The TLV form sketch map that Fig. 6 provides for the embodiment of the invention;
Fig. 7 is the active and standby PW sketch map in the Hierarchical Virtual Private LAN Service framework for what the embodiment of the invention provided;
The structure drawing of device that Fig. 8 provides for the embodiment of the invention as the PW head node;
The structure drawing of device that Fig. 9 provides for the embodiment of the invention as the PW tail node.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, describe the present invention below in conjunction with accompanying drawing and specific embodiment.
Method provided by the present invention mainly comprises: on the PW head node, distribute the PW label, wherein, active and standby each other PW distributes identical PW label; The PW head node with this PW tag storage in the corresponding transmission label forwarding list item of VPN that this PW binds; The PW tail node is stored in the corresponding reception Label Forwarding Information Base in the tunnel of this PW of this carrying as receiving label forwarding list item with this PW label and with corresponding relation between the VPN that this PW binds; After the PW head node receives grouping, in the corresponding transmission label forwarding list item of this grouping, search the PW label, on dividing into groups, add this PW label, send to the PW tail node after adopting current available tunnel to encapsulate.
Because the method for salary distribution of label is the downstream assignment in the prior art; The PW label that makes active and standby each other PW be assigned with is different; Caused as the PE equipment of PW head node and must store two cover transmission Label Forwarding Information Base, and after switching, issued the transmission Label Forwarding Information Base that switches back PW correspondence again.In the present invention, the inventor has proposed a kind of new label distribution mode to this problem, i.e. upper reaches assignment mode, and the upstream equipment of packet traffic is the PW distributing labels, upstream device and upstream equipment are consistent.That is to say, can be that active and standby each other PW distributes identical transmission label as the PE equipment of PW head node.
With structure shown in Figure 4 is that example is described in detail said method; The detailed method flow chart that Fig. 5 provides for the embodiment of the invention; Be that example is described only among this embodiment with the PW of a direction; Flow process on the PW of another direction is identical, and is as shown in Figure 5, and this method can may further comprise the steps:
Step 501:PE1 active and standby each other mainly distributes identical PW label with PW1 with subsequent use PW1, PE1 with this PW tag storage in the transmission label forwarding list item of this main VPN correspondence with PW1 and subsequent use PW1 binding.
Main is mutually redundant two PW with PW1 and subsequent use PW1; Its common VPN interface of binding is the VPN interface 1 among the figure; Suppose that this VPN interface 1 is GE1/1; PE1 is that the PW label that main PW1 of use and subsequent use PW1 distribute is 1024, and then label 1024 is stored in the transmission label forwarding list item of VPN interface 1 correspondence.
In addition, also can comprise the virtual channel sign in the tunnel of VPN interface 1 correspondence in the transmission label forwarding list item of above-mentioned VPN interface 1 correspondence, wherein, the shared virtual channel sign in the tunnel at active and standby each other PW place.In this embodiment, main tunnel 1 and tunnel 2 shared virtual channels signs with PW1 and subsequent use PW1 place suppose that this virtual channel is designated TN, the content of the transmission label forwarding list item of this VPN interface 1 correspondence can for: (Label 1024, TN).Wherein, TN points to current available tunnel, if main normal with PW1, then current available tunnel is tunnel 1, if the master uses the PW fault, then current available tunnel is tunnel 2.That is to say that when the tunnel switching takes place, need not to change the content of sending label forwarding list item, the sensing that only need change the virtual channel sign gets final product.
In this step, PE1 only need store a common transmission label forwarding list item for the master on two tunnels with PW1 and subsequent use PW1.
In addition, when distributing the PW label, PE1 can choose label and distribute from preset contextual tab space, and this preset contextual tab space can be overlapping with every platform Label space, also can be different fully.
Step 502:PE1 sends PW label notification packet and gives PE2 on tunnel 1, on tunnel 2, send PW label notification packet and give PE3.Comprise PW label information, PW sign and Tunnel Identifier in the PW label notification packet.
When PE1 sends PW label notification packet to PE2 on tunnel 1, can comprise PW label information, main in this PW label notification packet with the sign of PW1 and the sign in tunnel 1.When PE2 sends PW label notification packet to PE3 on tunnel 2, can comprise the sign of PW label information, subsequent use PW1 and the sign in tunnel 2 in this PW label notification packet.
PW label notification packet can adopt existing tag distribution protocol mapping (LDP Labelmapping) message, the sign and the tunnel mark of carrying PW label information, PW through expansion type length value (TLV).The form of TLV is as shown in Figure 6, carries among the expansion TLV of PW label information, and this TLV of type (Type) field indication carries the PW label of upper reaches assignment, and value (Value) field is carried concrete PW label information.Carry among the expansion TLV of tunnel mark, this TLV of the type field indication carries tunnel mark, and the Value field is carried concrete tunnel mark.
After step 503:PE2 receives PW label notification packet, be stored as the corresponding reception label forwarding list item in tunnel 1 with this PW label and with corresponding relation between the VPN that PW1 binds.After PE3 receives PW label notification packet, the corresponding relation between the VPN of this PW label and PW2 binding is stored as the corresponding reception label forwarding list item in tunnel 2.
Owing to after receiving grouping as the PE equipment of PW tail node, at first when separating tunnel encapsulation, utilize tunnel label to search overall Label Forwarding Information Base.In order to distinguish the reception Label Forwarding Information Base of setting up among overall Label Forwarding Information Base and the present invention; And after tunnel encapsulation; Can utilize the PW label lookup of internal layer to receive Label Forwarding Information Base, need in the present invention further overall Label Forwarding Information Base to be associated with the reception Label Forwarding Information Base.With PE1 and PE2 is the example explanation, and PE1 is when setting up tunnel 1, and notice PE2 sets up the overall label forwarding list item that receives Label Forwarding Information Base and make foundation and is associated with the reception Label Forwarding Information Base.Detailed process can for:
Carry separate label in the message of the path that PE1 sends (Path) and transmit mark when setting up tunnel 1, this separate label is transmitted mark can be through carrying in session attribute object (Session attribute object) or the label switched path attributes object (LSP attribute object).This separate label is transmitted mark and is had only the tunnel tail node to resolve and handle, and intermediate node is not resolved and handled.After PE2 receives Path message, transmit mark, then set up and receive Label Forwarding Information Base, and will be associated with the reception Label Forwarding Information Base for the tunnel label of this tunnel distributing if get access to separate label.Make PE2 separate after tunnel encapsulation ejects tunnel label, confirm the reception Label Forwarding Information Base that is associated with this tunnel label, and utilize the PW label of internal layer, search this reception Label Forwarding Information Base.
Except the announcement mode of above-mentioned steps; Also can adopt the mode of manual configuration; Be manual configuration PE2 and to go up the reception label of corresponding PW identical with transmission label on the PE1 for PE3; And with this label and and the VPN that binds of this PW between corresponding relation be stored as the reception label forwarding list item; If the label of manual configuration can guarantee that the label in the overall Label Forwarding Information Base does not repeat in this label and the PW tail node, then also can be stored in the overall Label Forwarding Information Base as overall label forwarding list item with this PW label and with VPN that this PW binds.
In this step, suppose to be VPN2 that the VPN that binds with subsequent use PW1 is VPN3 with the main VPN that uses PW1 to bind, the reception label list item that PE2 sets up can for: (Label 1024, VPN2), the reception label list item of PE3 foundation can for: (Label 1024, VPN3).
After step 504:PE1 receives grouping from VPN interface 1; In the transmission label forwarding list item of VPN interface 1 correspondence, search the PW label of VPN interface 1 correspondence; This grouping is added this PW label, if current master is normal with PW1, then current available tunnel is tunnel 1; After carrying out the encapsulation in tunnel 1 with dividing into groups, send with PW1 through main.
Step 505:PE2 receives grouping through main with PW1, separates tunnel encapsulation and obtains the PW label afterwards, searches to receive the corresponding VPN of this PW label in the Label Forwarding Information Base; Be VPN 2; Search VPN again and transmit the VPN interface of confirming that this VPN2 is corresponding, promptly the VPN interface 2, transmit and should divide into groups through VPN interface 2.
In this step, PE2 searches overall Label Forwarding Information Base according to tunnel label when separating tunnel encapsulation, after ejecting tunnel label, and the reception Label Forwarding Information Base that is associated with this tunnel label according to the PW label lookup of internal layer.
Step 506:, then need flow be switched to tunnel 2 if the master breaks down with PW1 or tunnel 1.After PE1 receives grouping from VPN interface 1, in the transmission label forwarding list item of VPN interface 1 correspondence, search the PW label, this grouping is added this PW label; Owing to switched to tunnel 2; Current available tunnel is tunnel 2, carry out the encapsulation in tunnel 2 with dividing into groups after, send through subsequent use PW1.
In this step, can find out,,, therefore the PW label need not to switch, also need not to carry out issuing of new transmission Label Forwarding Information Base, only change tunnel encapsulation and get final product because the master adopts same set of transmission Label Forwarding Information Base with PW and subsequent use PW even if the tunnel switches.
Step 507:PE3 receives grouping through subsequent use PW1; Obtain the PW label after separating tunnel encapsulation; Search the corresponding VPN information of this PW label in the corresponding reception label forwarding list item in tunnel 2, promptly VPN3 searches the VPN table again and confirms the VPN interface message that VPN3 is corresponding; Be VPN interface 3, send through this VPN interface 3 and divide into groups.
Method provided by the present invention can also be applied to the Hierarchical Virtual Private LAN Service framework except being applied to above-mentioned VPWS framework, on PW direction shown in Figure 7; The PW head node is user oriented PE (user-end provider edge); Be UPE1, PW tail node equipment is PE (NPE) equipment of network-oriented, i.e. NPE2 and NPE3.Suppose VPN interface 1, be UPE1 and the main VPN interface of binding with the Virtual Switch Instance (VSI) at PW and subsequent use PW place; VPN interface 2 is NPE2 and the main VPN interface of binding with the VSI at PW place, and VPN interface 3 is VPN interfaces that the VSI at NPE3 and subsequent use PW place binds.UPE1 is main with PW and the identical PW label of subsequent use PW distribution; With this PW tag storage in the corresponding transmission label forwarding list item of VPN interface 1; And the sign in this PW label, main sign and tunnel 1 with PW1 is carried in the PW label notification packet sends to NPE2; The sign in the sign of PW label, subsequent use PW1 and tunnel 2 is carried in the PW label notification packet sends to NPE3; After NPE2 receives PW label notification packet; Uses VPN information stores that PW1 binds to be the corresponding reception label forwarding list item in tunnel 1 with main on this PW label, after NPE3 received PW label notification packet, the VPN information stores that this PW label and subsequent use PW2 are bound was the reception label forwarding list item of tunnel 2 correspondences.
After UPE1 receives grouping from VPN interface 1, search the transmission label forwarding list item of VPN interface 1 correspondence, confirm the PW label; This PW label is added in the grouping; If main tunnel 1 with the PW place can be used, then carry out the encapsulation in tunnel 1 with dividing into groups after, send to NPE2 through main with PW; Switch to tunnel 2 if tunnel 1 breaks down, will add that then the encapsulation in tunnel 2 is carried out in grouping behind the PW label after, send to NPE3 through subsequent use PW.
If NPE2 receives grouping, then tunnel encapsulation is separated in this grouping after, obtain the PW label, search the corresponding VPN information of this PW label in the label forwarding list item that receives, promptly VPN 2; Through searching corresponding the transmitting of this VPN2, confirm the corresponding forwarding interface of destination address of this grouping again, promptly the VPN interface 2, transmit and should divide into groups through VPN interface 2.If NPE3 receives grouping, then tunnel encapsulation is separated in this grouping after, obtain the PW label, search and receive the corresponding VPN information of this PW label, i.e. VPN3 in the label forwarding list item; Through searching corresponding the transmitting of this VPN3, confirm the corresponding forwarding interface of destination address of this grouping again, promptly the VPN interface 3, transmit and should divide into groups through VPN interface 3.
For reciprocal PW, the PW head node then is NPE1 or NPE2, and the PW tail node is UPE then, and processing mode is identical, repeats no more.
More than be the detailed description that method provided by the present invention is carried out, be described in detail in the face of device provided by the present invention down.The structure drawing of device as the PW head node that Fig. 8 provides for the embodiment of the invention, as shown in Figure 8, this device can comprise: label distribution unit 801, tag memory cell 802, grouping Transmit-Receive Unit 803 and packet processing unit 804.
Label distribution unit 801 is used to the PW distribution PW label of this device as head node, and wherein, active and standby each other PW distributes identical PW label.
Tag memory cell 802 is used for the corresponding transmission label forwarding list item of VPN that this PW tag storage is bound at this PW.
Grouping Transmit-Receive Unit 803 is used for receiving and divides into groups; The grouping that packet processing unit 804 is provided sends to the tail node of PW.
Packet processing unit 804; Be used for after packet sending and receiving unit 803 receives grouping; In the corresponding transmission label forwarding list item of the VPN of this grouping, search the PW label, this PW label is added in divides into groups upward and after adopting current available tunnel to encapsulate to offer grouping Transmit-Receive Unit 803.
More preferably, this device can also comprise: label notification unit 805 is used for the PW label of label distribution unit 801 distribution, sign and the tunnel mark of this PW are carried at the tail node that PW label notification packet sends to PW.
Further; In order to make the PW tail node distinguish Label Forwarding Information Base and the overall Label Forwarding Information Base of setting up; And after separating tunnel encapsulation ejection tunnel label; Can further search Label Forwarding Information Base, this device can also comprise: PATH transmitting element 806 is used for when setting up the tunnel; In the Path message of sending, carry separate label and transmit mark, the tail node of indication PW is set up the corresponding Label Forwarding Information Base in this tunnel and will be associated with the reception Label Forwarding Information Base for the tunnel label of this tunnel distributing.
Wherein, packet processing unit 804 main with PW just often, with main tunnel with the PW place as current available tunnel; Main during with the PW fault, with the tunnel at subsequent use PW place as current available tunnel, thereby the tunnel encapsulation that only need switch grouping just can realize the packet traffic switching.
The structure drawing of device as the PW tail node that Fig. 9 provides for the embodiment of the invention, as shown in Figure 9, this device can comprise: tag memory cell 901, grouping Transmit-Receive Unit 902 and packet processing unit 903.
Tag memory cell 901; Be used to obtain with the PW label of this device as the PW of tail node; Corresponding relation between the VPN that this PW label and this PW are bound is as receiving in the reception Label Forwarding Information Base in tunnel that label forwarding list item is stored in this PW of this carrying; Wherein, the head node that this PW label is this PW distributes, and active and standby each other PW distributes identical PW label.
Grouping Transmit-Receive Unit 902 is used to receive the grouping that the head node of this PW sends; Receive grouping and VPN information that packet processing unit 903 provides, this grouping is transmitted through the corresponding VPN interface of this VPN information.
Packet processing unit 903; After being used for the grouping that grouping Transmit-Receive Unit 902 receives separated tunnel encapsulation; Peel off the PW label that carries in the grouping; In the corresponding reception Label Forwarding Information Base in this tunnel, search the corresponding VPN of this PW label, grouping and the VPN information peeled off behind the PW label are offered grouping Transmit-Receive Unit 902.
Wherein, the PW label of tag memory cell 901 storages can be a manual configuration, and the PW label that promptly receives in this device of manual configuration in the label forwarding list item is consistent with the label of this PW of PW head node distribution.In addition, this PW label also can be configuration automatically, and at this moment, this device can also comprise:
Notification packet receiving element 904 is used to receive the PW label notification packet that the head node of PW sends, and sign and the tunnel mark of the PW label that carries in this PW label notification packet, PW offered tag memory cell 901.
In order to distinguish reception Label Forwarding Information Base and the overall Label Forwarding Information Base that this device is set up; And after separating tunnel encapsulation ejection tunnel label, can search the reception Label Forwarding Information Base; This device can also comprise: PATH receiving element 905; Be used to receive that the head node of PW sends carries after separate label transmits the Path message of mark, send to transmit to tag memory cell 901 and set up indication.
Tag memory cell 901, also be used to receive transmit set up indication after, set up the corresponding reception Label Forwarding Information Base in this tunnel, and the tunnel label of this device for this tunnel distributing be associated with the reception Label Forwarding Information Base.
Correspondingly, packet processing unit 903 can also be used for definite reception Label Forwarding Information Base that is associated with this tunnel label after separating tunnel encapsulation ejection tunnel label.
In the networking of reality, PE equipment, user-end provider edge or NPE equipment possibly be the head node of some PW, are again the tail node of other PW, therefore may possess Fig. 8 and 26S Proteasome Structure and Function shown in Figure 9 simultaneously.
Can find out by above description; In the method and apparatus provided by the invention; Adopt the mode of upper tag assignment, promptly accomplish the assignment of PW label, make active and standby each other PW be assigned with identical PW label by the PW head node; The PW head node with the PW tag storage of distributing in the corresponding transmission label forwarding list item of VPN that this PW binds, the PW tail node with this PW label and and the VPN that binds of this PW between corresponding relation be stored as the reception label forwarding list item.In this way; Only need a cover to send Label Forwarding Information Base to main with PW and subsequent use PW; When the flow switching takes place, need not to switch the PW label, also need not to carry out issuing of new transmission Label Forwarding Information Base; Only change tunnel encapsulation and get final product, promptly adopt current available tunnel that the grouping that adds the PW label is encapsulated.Obviously, the management of transmitting is simpler, and flow switches convenient, has also improved switch speed greatly.
When taking place to switch in batches; Tunnel fails for example; The transmission that need not to issue again each corresponding subsequent use PW of PW that this tunnel carries is transmitted, and the encapsulation mode that only need replace the corresponding over run tunnel in fault tunnel gets final product, and can guarantee to carry under a large amount of PW situation in the tunnel; Realize that quick flow switches, thereby reach the carrier class requirement of 50ms fault recovery.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (13)

1. the block transmission method in the multiprotocol label switching MPLS network is characterized in that this method comprises:
On virtual connections PW head node, distribute the PW label, wherein, active and standby each other PW is assigned with identical PW label;
The PW head node with said PW tag storage in the corresponding transmission label forwarding list item of VPN that said PW binds; The PW tail node is stored in the corresponding reception Label Forwarding Information Base in the tunnel that carries this PW as receiving label forwarding list item with this PW label and with corresponding relation between the VPN that this PW binds;
After the PW head node receives grouping, search the PW label, this PW label is added in divides into groups upward and after adopting current available tunnel to encapsulate to send to the PW tail node corresponding the transmission in the label forwarding list item of the VPN of this grouping;
Lead with PW just often, the tunnel that the main PW of use belongs to is current available tunnel; When said main during with the PW fault, the tunnel that subsequent use PW belongs to switches to current available tunnel.
2. method according to claim 1 is characterized in that, said PW head node and PW tail node are Provider Edge PE equipment; Perhaps,
Said PW head node is user oriented PE equipment, the PE equipment that said PW tail node is a network-oriented; Perhaps,
The PE equipment that said PW head node is a network-oriented, said PW tail node are user oriented PE equipment.
3. method according to claim 1 and 2; It is characterized in that; This method also comprises: after said PW tail node receives the grouping of said PW head node transmission; Peel off said PW label after this grouping separated tunnel encapsulation, in the corresponding reception Label Forwarding Information Base in said tunnel, search the corresponding VPN of said PW label, transmit through the corresponding VPN interface of this VPN and divide into groups.
4. method according to claim 1 and 2 is characterized in that, said PW tail node with this PW label and and the VPN that binds of this PW between corresponding relation specifically comprise as receiving label forwarding list item:
Said PW head node is carried at the sign of said PW label, PW and tunnel mark in the PW label notification packet and sends to the PW tail node;
After said PW tail node receives PW label notification packet; Confirm the VPN that said PW is corresponding, and the corresponding relation between the VPN of said PW label and said PW correspondence is stored in the corresponding reception Label Forwarding Information Base in said tunnel as receiving label forwarding list item.
5. method according to claim 4 is characterized in that, said PW label notification packet is a tag distribution protocol mapping LDP Label mapping message;
The sign of said PW label, PW and tunnel mark are carried through the expansion type length value TLV in the said LDP Label mapping message.
6. method according to claim 3 is characterized in that, this method also comprises: when setting up said tunnel, said PW head node carries separate label and transmits mark in the Path message of sending; Said PW tail node receives carries after separate label transmits the Path message of mark, sets up the corresponding reception Label Forwarding Information Base in said tunnel, and the tunnel label that distributes is associated with this reception Label Forwarding Information Base;
Also comprise before in the corresponding reception Label Forwarding Information Base in said tunnel, searching the corresponding VPN of said PW label: said PW tail node is confirmed the reception Label Forwarding Information Base that is associated with this tunnel label after separating tunnel encapsulation ejection tunnel label.
7. method according to claim 1 is characterized in that, also comprises in the transmission label forwarding list item of the VPN correspondence that said PW binds: the virtual channel sign in the corresponding tunnel of said VPN, and this virtual channel sign is pointed to current available tunnel; The shared virtual channel sign in the tunnel at wherein active and standby each other PW place.
8. the packet transfer device in the MPLS network is characterized in that this device comprises: label distribution unit, tag memory cell, grouping Transmit-Receive Unit and packet processing unit;
Said label distribution unit is used to the PW distribution PW label of this device as head node, and wherein, active and standby each other PW distributes identical PW label;
Said tag memory cell is used for the corresponding transmission label forwarding list item of VPN that said PW tag storage is bound at said PW;
Said grouping Transmit-Receive Unit is used for receiving and divides into groups; The grouping that said packet processing unit is provided sends to the tail node of said PW;
Said packet processing unit; Be used for after said grouping Transmit-Receive Unit receives grouping; In the corresponding transmission label forwarding list item of the VPN of this grouping, search the PW label, this PW label is added in divides into groups upward and after adopting current available tunnel to encapsulate to offer said grouping Transmit-Receive Unit; Wherein, main with PW just often, with main tunnel with the PW place as current available tunnel; When leading with the PW fault, the tunnel that subsequent use PW is belonged to switches to current available tunnel.
9. device according to claim 8; It is characterized in that; This device also comprises: the label notification unit is used for the PW label of said label distribution unit distribution, sign and the tunnel mark of said PW are carried at the tail node that PW label notification packet sends to said PW.
10. device according to claim 8; It is characterized in that; This device also comprises: the PATH transmitting element; Be used for when setting up said tunnel, in the Path message of sending, carry separate label and transmit mark, indicate the tail node of said PW to set up the corresponding Label Forwarding Information Base in said tunnel and will be associated with this reception Label Forwarding Information Base for the tunnel label of this tunnel distributing.
11. the packet transfer device in the MPLS network is characterized in that this device comprises: tag memory cell, grouping Transmit-Receive Unit and packet processing unit;
Said tag memory cell; Be used to obtain with the PW label of this device as the PW of tail node; Corresponding relation between the VPN of this PW label and this PW binding is stored in the reception Label Forwarding Information Base in the tunnel that carries this PW as the reception label forwarding list item; The head node that this PW label is said PW distributes, and active and standby each other PW distributes identical PW label;
Said grouping Transmit-Receive Unit is used to receive the grouping that the head node of said PW sends; Receive grouping and VPN information that said packet processing unit provides, this grouping is transmitted through the corresponding VPN interface of this VPN information;
Said packet processing unit; After being used for the said grouping that said grouping Transmit-Receive Unit receives separated tunnel encapsulation; Peel off the PW label that carries in the grouping; In the corresponding reception Label Forwarding Information Base in said tunnel, search the corresponding VPN of this PW label, grouping behind the said PW of the peeling off label and VPN information are offered said grouping Transmit-Receive Unit.
12. device according to claim 11; It is characterized in that; This device also comprises: the notification packet receiving element; Be used to receive the PW label notification packet that the head node of said PW sends, sign and the tunnel mark of the PW label that carries in this PW label notification packet, PW offered said tag memory cell.
13. device according to claim 11; It is characterized in that; This device also comprises: the PATH receiving element, be used to receive that the head node of said PW sends carries after separate label transmits the Path message of mark, and send to transmit to said tag memory cell and set up indication;
Said tag memory cell, also be used to receive said transmit set up indication after, set up the corresponding reception Label Forwarding Information Base in said tunnel, and the tunnel label of this device for this tunnel distributing be associated with said reception Label Forwarding Information Base;
Said packet processing unit also is used for definite reception Label Forwarding Information Base that is associated with this tunnel label after separating tunnel encapsulation ejection tunnel label.
CN2009100917683A 2009-08-25 2009-08-25 Packet transmission method and device in multi-protocol label switching network Active CN101645836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100917683A CN101645836B (en) 2009-08-25 2009-08-25 Packet transmission method and device in multi-protocol label switching network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100917683A CN101645836B (en) 2009-08-25 2009-08-25 Packet transmission method and device in multi-protocol label switching network

Publications (2)

Publication Number Publication Date
CN101645836A CN101645836A (en) 2010-02-10
CN101645836B true CN101645836B (en) 2012-04-18

Family

ID=41657560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100917683A Active CN101645836B (en) 2009-08-25 2009-08-25 Packet transmission method and device in multi-protocol label switching network

Country Status (1)

Country Link
CN (1) CN101645836B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834793A (en) * 2010-04-29 2010-09-15 电子科技大学 Virtual private network implementation method based on MPLS/OPS
CN101984604A (en) * 2010-11-12 2011-03-09 中兴通讯股份有限公司 Tunnel multiplexing method in linear protection groups and tail nodes of tunnels
CN102546357B (en) 2010-12-09 2014-12-17 华为技术有限公司 Message forwarding method and network device
CN102035681B (en) * 2010-12-17 2015-07-22 中兴通讯股份有限公司 Link protection method and system for virtual private network
CN102255805B (en) * 2011-07-06 2015-03-25 华为技术有限公司 Message transmission method, message forwarding method and devices
CN102255759B (en) * 2011-08-16 2015-05-20 杭州华三通信技术有限公司 Method and device for transmitting data message based on PW (Packet Writing) redundant backup
EP2754273A4 (en) * 2011-09-09 2015-03-11 Ericsson Telefon Ab L M Protection group switching for circuit emulaton
CN103188096A (en) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 Method and device for protecting path in TRILL network
EP2753030A4 (en) * 2012-02-03 2015-01-21 Huawei Tech Co Ltd Flow identification method, device, and system
CN102801630B (en) * 2012-08-23 2015-07-22 杭州华三通信技术有限公司 Method and equipment for implementing virtual connection
CN102833167B (en) * 2012-08-28 2016-01-20 瑞斯康达科技发展股份有限公司 Data transmission method and system between local area network (LAN)
CN103685019B (en) * 2013-12-06 2017-08-22 新华三技术有限公司 A kind of label distribution method and equipment
CN107566266B (en) * 2016-06-30 2019-09-27 中兴通讯股份有限公司 The retransmission method and device, the network equipment of quick heavy-route
US11108688B2 (en) 2017-02-15 2021-08-31 Deutsche Telekom Ag Enhanced use of a switching fabric within a central office point of delivery of a broadband access network of a telecommunications network
CN107483233A (en) * 2017-07-31 2017-12-15 江西山水光电科技股份有限公司 The implementation method and device of a kind of Remote Switched Port Analyzer
CN108023776A (en) * 2017-12-12 2018-05-11 江西山水光电科技股份有限公司 Remote Switched Port Analyzer implementation method and device in a kind of PTN network
CN110838963B (en) * 2018-08-15 2021-11-19 上海诺基亚贝尔股份有限公司 Apparatus, method and device for communication, and computer-readable storage medium
CN113676391A (en) * 2021-08-16 2021-11-19 上海地面通信息网络股份有限公司 Data transmission method, device, communication node and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1551572A (en) * 2003-04-28 2004-12-01 Ip Data mirroring in a service
CN1717903A (en) * 2002-12-27 2006-01-04 艾利森电话股份有限公司 Tunnelling TDM traffic over MPLS
EP1853007A1 (en) * 2006-05-04 2007-11-07 Nokia Siemens Networks Gmbh & Co. Kg Automatic packet protection forwarding to an MPLS network by a dual-homed ethernet bridge

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1717903A (en) * 2002-12-27 2006-01-04 艾利森电话股份有限公司 Tunnelling TDM traffic over MPLS
CN1551572A (en) * 2003-04-28 2004-12-01 Ip Data mirroring in a service
EP1853007A1 (en) * 2006-05-04 2007-11-07 Nokia Siemens Networks Gmbh & Co. Kg Automatic packet protection forwarding to an MPLS network by a dual-homed ethernet bridge

Also Published As

Publication number Publication date
CN101645836A (en) 2010-02-10

Similar Documents

Publication Publication Date Title
CN101645836B (en) Packet transmission method and device in multi-protocol label switching network
US8179900B2 (en) Edge node redundant system in label switching network
CN101394361B (en) Packet transmission method, device and system
CN102098231B (en) Method and equipment for fast switching flow in H-VPLS (H-virtual private lan service)
CN101667970B (en) Protection switching method and equipment thereof
CN101090355B (en) Label exchange route setting method, system and equipment of virtual special network channel
CN101227399B (en) Message transmission method, system and forwarding node
CN102664788A (en) CE dual-homed link protection method in MPLS L3VPN and system thereof
CN101631069B (en) Method, system and equipment for pseudo wire parameter negotiation
CN100566299C (en) The one multi-agreement label exchange business processing method and the network equipment
CN101710875A (en) Method and device for realizing rapid re-routing
CN102185711B (en) Method and equipment for detecting link failure in hybrid network
CN102170386A (en) Achievement method and system as well as data packaging method for separation of identity and position
CN102025541A (en) Method and system for realizing multicast protection
CN100461706C (en) Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN105591800A (en) Traffic protection method and device
CN102546433A (en) Data forwarding method based on MPLS (Multi Protocol Label Switching) VPN (Virtual Private Network) and PEs (Provider Edges)
WO2013139270A1 (en) Method, device, and system for implementing layer3 virtual private network
CN103139075A (en) Message transmission method and device
CN107277187A (en) The system and method for ARP Hot Spare Fast synchronizations
CN102316014A (en) Load sharing method and router under hierarchical virtual dedicated local area network service environment
CN102255759B (en) Method and device for transmitting data message based on PW (Packet Writing) redundant backup
CN101674239B (en) Method and device for providing web service
CN105450520A (en) Message processing method and device, and method and device for building aggregation tunnel
CN101719868A (en) Method and device for loading LSP in TE tunnel

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