CN101483595A - Data forwarding method and system based on T-MPLS network - Google Patents

Data forwarding method and system based on T-MPLS network Download PDF

Info

Publication number
CN101483595A
CN101483595A CNA2009100091048A CN200910009104A CN101483595A CN 101483595 A CN101483595 A CN 101483595A CN A2009100091048 A CNA2009100091048 A CN A2009100091048A CN 200910009104 A CN200910009104 A CN 200910009104A CN 101483595 A CN101483595 A CN 101483595A
Authority
CN
China
Prior art keywords
label
user data
mpls network
tunnel
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2009100091048A
Other languages
Chinese (zh)
Other versions
CN101483595B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2009100091048A priority Critical patent/CN101483595B/en
Publication of CN101483595A publication Critical patent/CN101483595A/en
Application granted granted Critical
Publication of CN101483595B publication Critical patent/CN101483595B/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 data forwarding method on the basis of a transport - multiple protocol label switch (T-MPLS) network and a system thereof. According to the label value, labels of user data are classified into an A type, a B type and a C type; and labels of A type is set as internal layer labels and the labels of B type and C type are set as external layer labels; user data enter the T-MPLS network and are packaged with an internal layer label and an external layer label; when the external layer label of the user data is determined to be a C type label according to the label classification, a service label table of the current network appliance is read through the internal layer label, and the next-hop forwarding address of the user data after leaving the current T-MPLS network is searched; the internal layer label and the external layer label of user data are stripped, the user data with the internal layer label and the external layer label stripped if forwarded according to the searched next-hop forwarding address; therefore, hardware processing resources can be saved on the basis of the method and system of the invention.

Description

A kind of data forwarding method and system based on the T-MPLS network
Technical field
The present invention relates to the data forwarding technology of data communication field, be meant a kind of especially based on the data forwarding method and the system that transmit multiprotocol label switching (T-MPLS, Transport MPLS) network.
Background technology
T-MPLS belongs to multiprotocol label switching (MPLS, the Multi-Protocol LabelSwitch) technology that transmits in the net, and it is transformed into connection-oriented network with connectionless data network.T-MPLS compares with MPLS, and T-MPLS has simplified the processing of data Layer, has strengthened Operations, Administration and Maintenance (OAM, OperationsAdministration and Maintenance) and network survivability technology.
The T-MPLS network can be divided into three aspects: user's face, be responsible for forwarding of data; Chain of command is responsible for that foundation, dismounting and maintenance are connected end to end etc.; Chain of command is responsible for the management of aspects such as charging, safety, performance.The T-MPLS network using is based on the mode of operation in tunnel, and promptly user data need be mapped to business and could transmit in the T-MPLS network tunnel, and commonly used have Pseudo Wire Emulation Edge-to-Edge (PWE3, a PseudoWire Emulation Edge-to-Edge) business.An important feature of T-MPLS network is not support the last two jump to eject (PHP, Penultimate Hop Popping), this is in order to support the connection-oriented characteristic of T-MPLS network, but this mode has increased the processing complexity of T-MPLS network final jump equipment, wherein, final jump equipment is the egress of this T-MPLS network.Fig. 1 is that typical T-MPLS network data is transmitted schematic diagram, can know from Fig. 1, user data (data) is from client device (CE, Customer Edge) 1, i.e. CE1, enter the T-MPLS network, through inlet operator's equipment (PE, Provider Edge), the i.e. processing of Ingress PE, packed two-layer label, wherein, vpn label (VC) also can be described as service label, the business of respective user data map, outer layer label (Tunnel label) also can be described as tunnel label, corresponding T-MPLS network tunnel; When user data passed through the intermediate equipment P of T-MPLS network, tunnel label was replaced, and service label remains unchanged; On the final jump equipment of T-MPLS network tunnel, final jump equipment is outlet PE (Egress PE) among Fig. 1, and user data still has two-layer label, and outlet PE is peeled off the two-layer label of user data, restoring user data, and according to service label user data is transmitted; User data leaves this T-MPLS network and enters CE2 equipment then, and this is a complete T-MPLS network data repeating process.
T-MPLS has strengthened the network survivability technology, comprises that linear protection switching and ring protection switch, and wherein linear protection switching is divided into 1+1 again and the 1:1 protection is switched.If T-MPLS network using linear protection switching mechanism then can be set up two different label forwarding paths (LSP, Label Switching Path) between entry PE and the outlet PE, this two paths is respectively main tunnel and backup tunnel.Fig. 2 is a T-MPLS network linear protection switching schematic diagram, and outlet PE is only transmitted the user data of coming from work tunnel, wherein, when main tunnel just often, main tunnel is work tunnel; When main tunnel fails, backup tunnel becomes work tunnel.
The T-MPLS network is not supported PHP, and when user data was transmitted in the T-MPLS network, except that entry PE, the user data that middle P equipment, outlet PE are received all had two-layer label.For linear protection switching, the T-MPLS network equipment comprises following steps to the handling process of user data as shown in Figure 3:
Step 301, by the outer layer label of user data, promptly tunnel label reads the tunnel label table, searches next redirect of user data and sends out the address;
The address is sent out according to next redirect of reading in step 302~303, judges whether user data has arrived the final jump network equipment of T-MPLS network tunnel, if not, then continues to transmit this user data; Otherwise, execution in step 304;
Step 304~305 when user data has reached the final jump network equipment in this tunnel, judge whether this user data forwards from work tunnel, if not, then this user data are abandoned; Otherwise, execution in step 306;
Step 306, is that service label reads the service label table at the vpn label by user data, searches next redirect that this user data goes out behind the current T-MPLS network and sends out the address, carries out the forwarding of user data.
Based on such processing method, outlet PE need be checked label list twice, i.e. tunnel label table and service label table, the correctly user data of forwarding work tunnel.
Along with the application of IP network more and more widely, the performance requirement of the network equipment is also more and more higher, the development trend of industry is to adopt hardware to carry out forwarding of data to handle, and is pursuing the more high performance while, the hardware handles resource also is to need the important step considered.For the T-MPLS Network, network egress PE need check twice correct forwarding that label list can carry out user data, therefore, has consumed more hardware handles resource, has influenced forwarding performance.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of data forwarding method and system based on the T-MPLS network, can improve the forwarding of data performance, has saved the processing resource of hardware.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind ofly, be divided into category-A label, category-B label and C class label according to the label of big young pathbreaker's user data of label value based on the data forwarding method that transmits multiprotocol label switching T-MPLS network; And to set described category-A label be that vpn label, described category-B label and C class label are outer layer label; This method also comprises:
User data enters the T-MPLS network, is user data encapsulate inner layer label and outer layer label;
According to the classification of described label, when the outer layer label of determining active user's data is C class label, read the service label table of current network equipment by vpn label, search next redirect that this user data goes out behind the current T-MPLS network and send out the address;
The vpn label and the outer layer label of user data are peeled off, sent out the address according to described next redirect that goes out behind the current T-MPLS network then and will peel off the user data of label and transmit.
The outer layer label of determining active user's data is during for C class label, this method also comprises: the tunnel label table that reads current network equipment by described outer layer label, find user data next redirect in current T-MPLS network tunnel and send out the address, active user's data are continued to transmit in current T-MPLS network tunnel.
Before the described vpn label and outer layer label of peeling off user data, this method also comprises:
Determine that current T-MPLS network tunnel opened the linear protection switching function, and user data is from the work tunnel of T-MPLS network tunnel.
The method that described definite current T-MPLS network tunnel has been opened the linear protection switching function is: a flag bit is set in described service label table, determines by the value of this flag bit whether the T-MPLS network tunnel has opened the linear protection switching function; Perhaps,
Described definite user data from the method for the work tunnel of T-MPLS network tunnel is: judge whether the C class label value stored in the service label table of current C class label value and current network equipment equates, if equated user data from the work tunnel of T-MPLS network tunnel; If unequal, then user data is not the work tunnel from the T-MPLS network tunnel.
This method also comprises: determine that the T-MPLS network tunnel opened the linear protection switching function, and active user's data abandon this user data when not being work tunnel from the T-MPLS network tunnel.
This method also comprises: when determining that the T-MPLS network tunnel is not opened the linear protection switch function, send out the address according to next redirect behind the described T-MPLS of the going out network user data is transmitted.
Described process for user data encapsulate inner layer label and outer layer label is: when user data entered the T-MPLS network, it was described user data encapsulation category-A label and category-B label that first of T-MPLS network tunnel is jumped the network equipment; Other intermediary network device except that the last two jump are replaced the category-B label value of described user data; The last two jump network equipment replaces with C class label with the category-B label of described user data;
Described with user data vpn label and outer layer label peel off into: the final jump network equipment of T-MPLS network tunnel is with the described category-A label and the C class label peeling of user data.
The present invention also provides a kind of data forwarding system based on the T-MPLS network, and this system comprises:
The label sort module is used for being divided into category-A label, category-B label and C class label according to big young pathbreaker's label of label value; And to set described category-A label be that vpn label, described category-B label and C class label are outer layer label;
The label package module is used to user data encapsulate inner layer label and outer layer label;
The label judge module is used to judge that whether the outer layer label of active user's data is C class label, and obtain judged result;
The address read module is used for the judged result according to described label judge module, when outer layer label is C class label, reads the service label table of current network equipment by vpn label, searches next redirect that user data goes out behind the current T-MPLS network and sends out the address;
Data forwarding module is used to peel off the vpn label and the outer layer label of user data, sends out the address according to described next redirect that goes out behind the current T-MPLS network then and will peel off the user data of label and transmit.
This system further comprises:
The tunnel judge module was used for before described data forwarding module is peeled off the vpn label and outer layer label of user data, judged whether current T-MPLS network tunnel has opened the linear protection switching function, and obtained judged result; Also be used for when current T-MPLS network tunnel has been opened the linear protection switching function, judge that user data whether from the work tunnel of T-MPLS network tunnel, obtains judged result.
Described address read module, also be used for judged result according to described label judge module, when outer layer label is not C class label, read the tunnel label table of current network equipment by described outer layer label, find user data next redirect in current T-MPLS network tunnel and send out the address, user data is continued to transmit in current T-MPLS network tunnel;
Described data forwarding module, be used for judged result according to described tunnel judge module, when the T-MPLS network tunnel is not opened the linear protection switch function, when perhaps the T-MPLS network tunnel is opened linear protection switch function and user data from the work tunnel of T-MPLS network tunnel, send out the address according to next redirect behind the described T-MPLS of the going out network user data is transmitted; Also be used for when user data is not work tunnel from the T-MPLS network tunnel, user data being abandoned.
The present invention is divided into different types with the label of user data according to label value, can directly judge the final jump equipment whether user data has arrived the T-MPLS network tunnel by tag types, so the egress of user data in the T-MPLS network, be that outlet PE does not just need to judge by the mode that reads the tunnel label table whether user data arrives, so saved the hardware handles resource, improved the forwarding performance of T-MPLS network tunnel data.
Description of drawings
Fig. 1 is that typical T-MPLS network data is transmitted schematic diagram;
Fig. 2 is a T-MPLS network linear protection switching schematic diagram;
Fig. 3 be in the prior art T-MPLS network equipment to the handling process schematic diagram of user data;
Fig. 4 is the forwarding process schematic diagram of T-MPLS network tunnel equipment of the present invention to user data;
Fig. 5 is the structural relation schematic diagram that the present invention is based on the data forwarding system of T-MPLS network.
Embodiment
The technical solution of the present invention is further elaborated below in conjunction with the drawings and specific embodiments.
The present invention is divided into different types with the label of user data according to label value, can judge the final jump equipment whether user data has arrived the T-MPLS network tunnel by tag types, be outlet PE, user data is by the current T-MPLS network of transferring of outlet PE then.
According to the forwarding of user data in the T-MPLS network, the network equipment in this T-MPLS network can be divided into entry PE, intermediary network device and outlet PE.
When user data enters current T-MPLS network by entry PE, encapsulated two-layer label by entry PE, wherein, the vpn label correspondence user data business of in the T-MPLS network tunnel, shining upon, so vpn label also can be described as service label; The outer layer label correspondence T-MPLS network tunnel, outer layer label also can be described as tunnel label; User data is transmitted by a plurality of intermediary network device through after the processing of entry PE again, when intermediary network device is transmitted user data, keeps inner layer label constant, and its outer layer label is replaced.
When user data was transmitted in the T-MPLS network, by the setting of T-MPLS network equipment chain of command, entry PE had been safeguarded a service label table and a tunnel label table; Intermediary network device has been safeguarded a tunnel label table; Outlet PE has been safeguarded a service label table.Wherein, preserved the business information that this user data shines upon in the service label table in the T-MPLS network tunnel, and this user data is at internetwork routing iinformation; The tunnel label table has then been preserved the routing iinformation of this user data in this T-MPLS network tunnel.Service label is the index of service label table, can read the content of service label table by service label; Tunnel label is the index of tunnel label table, can read the content of tunnel label table by tunnel label.
When user data is entered first of this T-MPLS network tunnel and is jumped intermediary network device by entry PE, the outer layer label of active user's data, be tunnel label the label value correspondence first jump intermediary network device.This first jumping intermediary network device is by the tunnel label of active user's data, the tunnel label table that reads self obtains the tunnel label value that next jumps the intermediary network device correspondence, then that user data is current tunnel label value replaces with next tunnel label value of jumping the intermediary network device correspondence, and keep vpn label, be that service label is constant.At last, user data is by the final jump intermediary network device, promptly the last two jump network equipment of this T-MPLS network tunnel enters the final jump network equipment, it is outlet PE, at this moment user data also has two-layer label, outlet PE reads content in its service label table by vpn label, finds next redirect that user data goes out behind the current T-MPLS network and sends out the address; Two-layer label peeling with user data, and send out the address and will peel off the user data of two-layer label and transmit the next-hop network equipment behind the current T-MPLS network that provides according to going out next redirect behind the T-MPLS network, this user data comes out from current T-MPLS network thus.
Preferably, the label value size of entrained two-layer label was classified to label when the present invention transmitted in the T-MPLS network according to user data.Label value can be divided into A, B, three scopes of C, establishing the label that label value belongs to scope A is the category-A label; If it is the category-B label that label value belongs to the label of scope B; If it is C class label that label value belongs to the label of scope C; A, B, C can be configured as required dynamically.The scope that it is pointed out that legal label value is 0x0~0xFFFFF.
Preferably, the category-A label is made as vpn label, i.e. service label; Category-B label and C class label are made as outer layer label, and wherein, the category-B label is that tunnel label, C class label are assisted tag.
User data can be judged the type of label according to label value, can judge the role of the reception network equipment of user data according to the type of label, as entry PE, intermediary network device and outlet PE.Wherein, entry PE is used for to user data encapsulate inner layer label, is service label and outer layer label, is tunnel label that therefore, the user data that entry PE receives does not have label; Except that the last two jump network equipment, be that the intermediary network device tunnel label value that user data is current the final jump mid-level net pipeline equipment replaces with the tunnel label value that next jumps the intermediary network device correspondence, but type or tunnel label; The last two jump network equipment, be final jump mid-level net pipeline equipment, the tunnel label of user data is replaced with assisted tag, therefore, the outer layer label of the user data that intermediary network device receives is a tunnel label; Outlet PE is with the two-layer label peeling of the user data of the last two jump network equipment transmission, and as can be known, the outer layer label of the user data that outlet PE receives is an assisted tag.
According to the setting of above-mentioned tag types of carrying out, the T-MPLS network equipment comprises to the forwarding process of user data as shown in Figure 4 among the present invention:
Step 401 is user data encapsulate inner layer label and outer layer label.
When user data was transmitted in the T-MPLS network, entry PE had encapsulated two-layer label for this user data, i.e. vpn label and outer layer label; Other intermediary network device except that the last two jump network equipment are with outer layer label, and promptly the value of tunnel label is replaced, and tag types remains unchanged; The last two jump network equipment replaces with assisted tag with outer layer label by tunnel label; The final jump network equipment, promptly outlet PE is with two-layer label peeling.
Step 402~403 judge whether outer layer label is assisted tag, if not, show that the current network equipment that receives this user data is intermediary network device, then continue to transmit in current T-MPLS network this user data; If, execution in step 404.
Corresponding relation according to predefined tag types and label value scope, can judge the type of the outer layer label of active user's data according to the label value of outer layer label, if current outer layer label is not an assisted tag, the current network equipment that then receives this user data is intermediary network device, illustrate that this user data does not also arrive the outlet of current T-MPLS network, it is outlet PE, at this moment, can read the tunnel label table of current intermediary network device by tunnel label, find user data next redirect in current T-MPLS network tunnel and send out the address, in current T-MPLS network tunnel, user data is transmitted according to this address.
If current outer layer label is an assisted tag, then the current network equipment of this user data of explanation reception is outlet PE, and promptly this user data has been forwarded to outlet PE through the processing of the last two jump network equipment.
Step 404 is skipped outer layer label, reads the service label table by vpn label, searches next redirect that active user's data go out behind the T-MPLS network and sends out the address.
After outlet PE receives user data, skip outer layer label, be assisted tag, directly read vpn label, be service label, read the service label table of outlet PE by this label.The chain of command of the T-MPLS network equipment is that the service label table of network equipment setting has not only comprised the business information that this user data shines upon in the T-MPLS network tunnel according to active user's data, simultaneously also comprised this user data, as the address of the next-hop network equipment after going out by current T-MPLS network at internetwork routing iinformation.Therefore, outlet PE can find next redirect that this user data goes out behind the current T-MPLS network and send out the address in the service label table.
Step 405 judges whether current T-MPLS network tunnel has opened the linear protection switching function, if, execution in step 406; If not, execution in step 408.
Preferably, can a flag bit be set in the service label table as required, suppose that flag bit is that the current T-MPLS network tunnel of 1 expression has been opened the linear protection switching function; Flag bit is that the current T-MPLS network tunnel of 0 expression is not opened the linear protection switch function.
If current T-MPLS network tunnel is not opened the linear protection switch function, then execution in step 408, send out the address according to next redirect that the user data that finds goes out behind the current T-MPLS network, transmit this user data.
User data is judged from work tunnel in step 406~407 whether, if not, then this user data is abandoned; If, execution in step 408.
Opened the linear protection switching function when the T-MPLS network tunnel, judged that then whether active user's data are from work tunnel.
The linear protection switching of T-MPLS network tunnel is divided into 1+1 and the 1:1 protection is switched, and switches for 1+1 protection, and user data is transmitted from work tunnel and backup tunnel respectively; Protection is switched for 1:1, and user data is only transmitted from work tunnel.
Preferably, when user data is transmitted in the T-MPLS network, the chain of command of the T-MPLS network equipment is kept at an assisted tag value in the service label table of outlet PE, when this assisted tag value and user data were transmitted through work tunnel, the last two jump network equipment was that the assisted tag value of user data encapsulation equates.
So, judge active user's data outer layer label, be that the last two jump network equipment is whether the assisted tag value of storing in the service label table of label value and outlet PE of assisted tag of user data encapsulation equates, if equate, illustrate that this user data comes from the work tunnel forwarding; If unequal, illustrate that this user data comes from the backup tunnel forwarding, outlet PE directly abandons this user data.
Step 408 is peeled off the vpn label and the outer layer label of user data, and the address is sent out in next redirect that goes out behind the T-MPLS network according to active user's data then, transmits this user data.
If this user data is transmitted from work tunnel, then outlet PE is peeled off the vpn label and the outer layer label of user data, the address is sent out in next redirect that goes out behind this T-MPLS network according to the user data that finds then, transmits the user data of having peeled off behind vpn label and the outer layer label.
It is to be noted, because the T-MPLS network is the mode of operation that adopts based on the tunnel, and user data need be mapped to business and could transmit in the T-MPLS network, the corresponding professional vpn label and the outer layer label of corresponding current T-MPLS network tunnel must be packed when therefore, user data is transmitted in current T-MPLS network; All the T-MPLS network with current is relevant with outer layer label owing to vpn label, therefore, when user data goes out current T-MPLS network, in the time of entering another network, this two-layer label peeling could need be transmitted in other networks.
Implementation method for the linear protection switching of realizing the present invention is based on the T-MPLS network; the present invention proposes a kind of data forwarding system based on the T-MPLS network; as shown in Figure 5; this system comprises: label sort module 10, label package module 20, label judge module 30, address read module 40 and data forwarding module 60; wherein
Label sort module 10 is used for being divided into category-A label, category-B label and C class label according to big young pathbreaker's label of label value; And setting category-A label is that vpn label, category-B label and C class label are outer layer label.
Label package module 20 is used to user data encapsulate inner layer label and outer layer label.
Label judge module 30 is used for the classification according to label, judges that whether the outer layer label of active user's data is C class label, and obtain judged result.
Address read module 40 is used for the judged result according to label judge module 30, when outer layer label is C class label, reads the service label table of current network equipment by vpn label, searches next redirect that user data goes out behind the current T-MPLS network and sends out the address.
Data forwarding module 60 is used to peel off the vpn label and the outer layer label of user data, sends out the address according to next redirect that goes out behind the current T-MPLS network then, and the user data of having peeled off vpn label and outer layer label is transmitted.
In addition, address read module 40, also be used for judged result according to described label judge module 30, when outer layer label is not C class label, read the tunnel label table of current network equipment by outer layer label, find user data next redirect in current T-MPLS network tunnel and send out the address, active user's data are continued to transmit in current T-MPLS network tunnel.
System of the present invention further comprises:
Tunnel judge module 50 was used for before data forwarding module 60 is peeled off the vpn label and outer layer label of user data, judged whether current T-MPLS network tunnel has opened the linear protection switching function, and obtained judged result; Also be used for when current T-MPLS network tunnel has been opened the linear protection switching function, judge that user data whether from the work tunnel of T-MPLS network tunnel, obtains judged result.
Then data forwarding module 60, also be used for judged result according to tunnel judge module 50, when the T-MPLS network tunnel is not opened the linear protection switch function, when perhaps the T-MPLS network tunnel is opened linear protection switch function and user data from the work tunnel of T-MPLS network tunnel, send out the address user data is transmitted according to going out next redirect behind the T-MPLS network; Also be used for when user data is not work tunnel from the T-MPLS network tunnel, user data being abandoned.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (10)

1, a kind ofly it is characterized in that, be divided into category-A label, category-B label and C class label according to the label of big young pathbreaker's user data of label value based on the data forwarding method that transmits multiprotocol label switching T-MPLS network; And to set described category-A label be that vpn label, described category-B label and C class label are outer layer label; This method comprises:
User data enters the T-MPLS network, is user data encapsulate inner layer label and outer layer label;
According to the classification of described label, when the outer layer label of determining active user's data is C class label, read the service label table of current network equipment by vpn label, search next redirect that this user data goes out behind the current T-MPLS network and send out the address;
The vpn label and the outer layer label of user data are peeled off, sent out the address according to described next redirect that goes out behind the current T-MPLS network then and will peel off the user data of label and transmit.
2, according to the described data forwarding method of claim 1 based on the T-MPLS network, it is characterized in that, the outer layer label of determining active user's data is during for C class label, this method also comprises: the tunnel label table that reads current network equipment by described outer layer label, find user data next redirect in current T-MPLS network tunnel and send out the address, active user's data are continued to transmit in current T-MPLS network tunnel.
According to the described data forwarding method of claim 1, it is characterized in that 3, before the described vpn label and outer layer label of peeling off user data, this method also comprises based on the T-MPLS network:
Determine that current T-MPLS network tunnel opened the linear protection switching function, and user data is from the work tunnel of T-MPLS network tunnel.
4, according to the described data forwarding method of claim 3, it is characterized in that based on the T-MPLS network,
The method that described definite current T-MPLS network tunnel has been opened the linear protection switching function is: a flag bit is set in described service label table, determines by the value of this flag bit whether the T-MPLS network tunnel has opened the linear protection switching function; Perhaps,
Described definite user data from the method for the work tunnel of T-MPLS network tunnel is: judge whether the C class label value stored in the service label table of current C class label value and current network equipment equates, if equated user data from the work tunnel of T-MPLS network tunnel; If unequal, then user data is not the work tunnel from the T-MPLS network tunnel.
5, according to the described data forwarding method of claim 3 based on the T-MPLS network; it is characterized in that; this method also comprises: determine that the T-MPLS network tunnel opened the linear protection switching function; and active user's data are not during from the work tunnel of T-MPLS network tunnel, and this user data is abandoned.
6, according to the described data forwarding method of claim 3 based on the T-MPLS network; it is characterized in that; this method also comprises: when determining that the T-MPLS network tunnel is not opened the linear protection switch function, send out the address according to next redirect behind the described T-MPLS of the going out network user data is transmitted.
7, according to each described data forwarding method in the claim 1 to 6, it is characterized in that based on the T-MPLS network,
Described process for user data encapsulate inner layer label and outer layer label is: when user data entered the T-MPLS network, it was described user data encapsulation category-A label and category-B label that first of T-MPLS network tunnel is jumped the network equipment; Other intermediary network device except that the last two jump are replaced the category-B label value of described user data; The last two jump network equipment replaces with C class label with the category-B label of described user data;
Described with user data vpn label and outer layer label peel off into: the final jump network equipment of T-MPLS network tunnel is with the described category-A label and the C class label peeling of user data.
8, a kind of data forwarding system based on the T-MPLS network is characterized in that, this system comprises:
The label sort module is used for being divided into category-A label, category-B label and C class label according to big young pathbreaker's label of label value; And to set described category-A label be that vpn label, described category-B label and C class label are outer layer label;
The label package module is used to user data encapsulate inner layer label and outer layer label;
The label judge module is used to judge that whether the outer layer label of active user's data is C class label, and obtain judged result;
The address read module is used for the judged result according to described label judge module, when outer layer label is C class label, reads the service label table of current network equipment by vpn label, searches next redirect that user data goes out behind the current T-MPLS network and sends out the address;
Data forwarding module is used to peel off the vpn label and the outer layer label of user data, sends out the address according to described next redirect that goes out behind the current T-MPLS network then and will peel off the user data of label and transmit.
9, the described according to Claim 8 repeater system based on the T-MPLS network is characterized in that, this system further comprises:
The tunnel judge module was used for before described data forwarding module is peeled off the vpn label and outer layer label of user data, judged whether current T-MPLS network tunnel has opened the linear protection switching function, and obtained judged result; Also be used for when current T-MPLS network tunnel has been opened the linear protection switching function, judge that user data whether from the work tunnel of T-MPLS network tunnel, obtains judged result.
10, according to Claim 8 or 9 described repeater systems, it is characterized in that based on the T-MPLS network,
Described address read module, also be used for judged result according to described label judge module, when outer layer label is not C class label, read the tunnel label table of current network equipment by described outer layer label, find user data next redirect in current T-MPLS network tunnel and send out the address, user data is continued to transmit in current T-MPLS network tunnel;
Described data forwarding module, be used for judged result according to described tunnel judge module, when the T-MPLS network tunnel is not opened the linear protection switch function, when perhaps the T-MPLS network tunnel is opened linear protection switch function and user data from the work tunnel of T-MPLS network tunnel, send out the address according to next redirect behind the described T-MPLS of the going out network user data is transmitted; Also be used for when user data is not work tunnel from the T-MPLS network tunnel, user data being abandoned.
CN2009100091048A 2009-02-18 2009-02-18 Data forwarding method and system based on T-MPLS network Active CN101483595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100091048A CN101483595B (en) 2009-02-18 2009-02-18 Data forwarding method and system based on T-MPLS network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100091048A CN101483595B (en) 2009-02-18 2009-02-18 Data forwarding method and system based on T-MPLS network

Publications (2)

Publication Number Publication Date
CN101483595A true CN101483595A (en) 2009-07-15
CN101483595B CN101483595B (en) 2012-01-11

Family

ID=40880533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100091048A Active CN101483595B (en) 2009-02-18 2009-02-18 Data forwarding method and system based on T-MPLS network

Country Status (1)

Country Link
CN (1) CN101483595B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820395A (en) * 2010-05-19 2010-09-01 杭州华三通信技术有限公司 Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
CN101834795A (en) * 2010-04-27 2010-09-15 中兴通讯股份有限公司 Transport-multi-protocol label switching (T-MPLS) label processing method and unit
WO2010145350A1 (en) * 2009-09-30 2010-12-23 中兴通讯股份有限公司 Method and system for mpls-tp tunnel protection processing
CN101984604A (en) * 2010-11-12 2011-03-09 中兴通讯股份有限公司 Tunnel multiplexing method in linear protection groups and tail nodes of tunnels
CN102185782A (en) * 2011-05-17 2011-09-14 福建星网锐捷网络有限公司 Data transmission method and device of multilink transparent transmission interconnection network
CN103716220A (en) * 2012-09-28 2014-04-09 杭州华三通信技术有限公司 Data transmission method and device
CN104054305A (en) * 2012-12-26 2014-09-17 华为技术有限公司 IP data package transmitting method and label switching router
WO2014187367A1 (en) * 2013-07-24 2014-11-27 中兴通讯股份有限公司 Method and device for label lookup
CN104683230A (en) * 2013-11-28 2015-06-03 华为技术有限公司 Method and device for processing TRILL (Transparent Interconnection of Lots of Links) message
CN105450528A (en) * 2014-08-29 2016-03-30 国际商业机器公司 Method to routing forward data packet and corresponding device
CN112737954A (en) * 2019-10-14 2021-04-30 华为技术有限公司 Message processing method, device, system, equipment and storage medium
US11799769B2 (en) 2019-10-14 2023-10-24 Huawei Technologies Co., Ltd. Packet processing method, apparatus, system, and device, and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087257B (en) * 2007-07-03 2010-06-09 中兴通讯股份有限公司 Method for realizing service quality for VPN traffic based on Ethernet interface

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010145350A1 (en) * 2009-09-30 2010-12-23 中兴通讯股份有限公司 Method and system for mpls-tp tunnel protection processing
US8660014B2 (en) 2009-09-30 2014-02-25 Zte Corporation Method and system for MPLS-TP tunnel protection processing
CN101834795A (en) * 2010-04-27 2010-09-15 中兴通讯股份有限公司 Transport-multi-protocol label switching (T-MPLS) label processing method and unit
CN101820395B (en) * 2010-05-19 2012-11-28 杭州华三通信技术有限公司 Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
CN101820395A (en) * 2010-05-19 2010-09-01 杭州华三通信技术有限公司 Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
CN101984604A (en) * 2010-11-12 2011-03-09 中兴通讯股份有限公司 Tunnel multiplexing method in linear protection groups and tail nodes of tunnels
CN102185782A (en) * 2011-05-17 2011-09-14 福建星网锐捷网络有限公司 Data transmission method and device of multilink transparent transmission interconnection network
CN102185782B (en) * 2011-05-17 2014-04-02 福建星网锐捷网络有限公司 Data transmission method and device of multilink transparent transmission interconnection network
CN103716220B (en) * 2012-09-28 2017-08-22 新华三技术有限公司 A kind of data transmission method and its device
CN103716220A (en) * 2012-09-28 2014-04-09 杭州华三通信技术有限公司 Data transmission method and device
CN104054305A (en) * 2012-12-26 2014-09-17 华为技术有限公司 IP data package transmitting method and label switching router
WO2014187367A1 (en) * 2013-07-24 2014-11-27 中兴通讯股份有限公司 Method and device for label lookup
CN104348721A (en) * 2013-07-24 2015-02-11 中兴通讯股份有限公司 Label searching method and device
CN104683230A (en) * 2013-11-28 2015-06-03 华为技术有限公司 Method and device for processing TRILL (Transparent Interconnection of Lots of Links) message
CN104683230B (en) * 2013-11-28 2018-09-07 华为技术有限公司 The treating method and apparatus of the translucent interconnection message of multi-link
CN105450528A (en) * 2014-08-29 2016-03-30 国际商业机器公司 Method to routing forward data packet and corresponding device
CN105450528B (en) * 2014-08-29 2018-06-08 国际商业机器公司 The method of routing forwarding and corresponding equipment are carried out to data packet
US10237083B2 (en) 2014-08-29 2019-03-19 International Business Machines Corporation RBridge for routing and forwarding a data packet
CN112737954A (en) * 2019-10-14 2021-04-30 华为技术有限公司 Message processing method, device, system, equipment and storage medium
US11799769B2 (en) 2019-10-14 2023-10-24 Huawei Technologies Co., Ltd. Packet processing method, apparatus, system, and device, and storage medium

Also Published As

Publication number Publication date
CN101483595B (en) 2012-01-11

Similar Documents

Publication Publication Date Title
CN101483595B (en) Data forwarding method and system based on T-MPLS network
US10164838B2 (en) Seamless segment routing
CN103581018B (en) File transmitting method, router and operation exchange device
CN101247308B (en) Tunnel packet processing method for implementing IPv6 traversing IPv4 based on network processor
US7082140B1 (en) System, device and method for supporting a label switched path across a non-MPLS compliant segment
CN109561021A (en) A kind of method and the network equipment of message forwarding
CN102404197B (en) Data path processing information included in the pseudowire layer of packets
US10097458B2 (en) Network control method, network system, apparatus, and program
US20080101241A1 (en) Ethernet OAM at intermediate nodes in a PBT network
WO2010103909A1 (en) OpenFlow COMMUNICATION SYSTEM AND OpenFlow COMMUNICATION METHOD
US8948180B2 (en) Routing encapsulated data packets onto selected VLANs
US20030002443A1 (en) System and method for enhancing the availability of routing systems through equal cost multipath
EP3364613B1 (en) Method and device for transmitting traffic via specified path
CN101651630A (en) Switching method and switching device based on link fault
CN101316260B (en) Packaging conversion method and packaging conversion equipment
CN101662426A (en) T-MPLS tunnel protection processing method and system thereof
CA2467346A1 (en) Active networks
US7782790B1 (en) Extensions to the path verification protocol to support link bundling constructs
CN102368726A (en) Forwarding method and device applied to L2VPN (layer 2 virtual private network)
CN104639440A (en) Method and device for realizing third tier forwarding and packaging protocol information in Internet
CN111447095B (en) Bidirectional forwarding detection switching method, bidirectional forwarding detection module and edge device
CN100450095C (en) System and method for providing QoS service to virtual special line
US9189218B2 (en) Processing packets by generating machine code from pre-compiled code fragments
EP2736202B1 (en) Message receiving and sending method, device, and system
CN109698781B (en) Management method of message forwarding path and PE (provider edge) equipment

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