CN101355514A - Method for transmitting data packet with VLAN label in two-layer VPN - Google Patents
Method for transmitting data packet with VLAN label in two-layer VPN Download PDFInfo
- Publication number
- CN101355514A CN101355514A CNA2008102160048A CN200810216004A CN101355514A CN 101355514 A CN101355514 A CN 101355514A CN A2008102160048 A CNA2008102160048 A CN A2008102160048A CN 200810216004 A CN200810216004 A CN 200810216004A CN 101355514 A CN101355514 A CN 101355514A
- Authority
- CN
- China
- Prior art keywords
- vlan
- interface
- data message
- layer vpn
- label
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a method for transmitting a data message provided with a VLAN label in a secondary VPN, comprising the following steps: a. a PE analyzes an outer VLAN label of the data message, and the step b is entered if the mode of binding secondary VPN examples under a VLAN interface is default or QinQ OUT mode when the identified VLAN interface is a secondary VPN interface, or the step b is entered if the mode of binding the secondary VPN examples under the VLAN interface is the QinQ OUT mode and the identification number of the outer VLAN label is the same as that of an embedded inner VLAN label, or the inner VLAN label is analyzed if the outer VLAN label is embedded with the inner VLAN label when the VLAN interface is a non-secondary VPN interface; and the step b is entered if the mode of binding the secondary VPN examples of the VLAN interface is default or QinQ IN mode when the identified VLAN interface is the secondary VPN interface; and b. the PE encapsulates the data message which is then sent to a PW for secondary VPN forwarding. The method can meet the demand of a user on adding a self-planned LAN label into the data message.
Description
Technical field
The present invention relates to (Multi-Protocol Label Switching based on MPLS, multiple label switching technology) two-layer VPN (Virtual Private Network, Virtual Private Network) technical field, relate in particular to the transmission method of data message in two-layer VPN of a kind of band VLAN (Virtual Local Area Network, VLAN) label.
Background technology
Two-layer VPN technology based on MPLS is divided into two classes: a class is VPWS (VirtualPrivate Wire Service, a virtual private line service), and the two-layer VPN technology of point-to-point is provided, and realizes the communication between each website in the VPN with point-to-point interconnection; Another kind of is VPLS (Virtual Private LAN Service, VPLS), the two-layer VPN technology that a little arrives multiple spot is provided, the website while access network that a plurality of geographical position are disperseed, visit mutually, just as these websites directly are linked into local area network (LAN), whole VPLS territory is exactly a transparent two-layer VPN transfer of data territory.
At present, the PE in the two-layer VPN network adopts the mode of binding the two-layer VPN example under VLAN interface that data message is inserted two-layer VPN and transmits for supporting the switch based on the two-layer VPN of MPLS.With reference to Fig. 1, comprise two PE (Provider Edge in the network, provider edge equipment), be designated as PE1 and PE2 respectively, as CE (Customer Edge, customer edge) data message that send on arrives PE1, PE1 by the resolution data message with the VLAN label, judge whether VLAN interface is whether the following pattern of binding the two-layer VPN example of two-layer VPN interface and this VLAN interface is default mode, judge promptly whether this VLAN label is the VLAN label of operator, if then PE1 encapsulates this data message and serves PW (Pseudo Wire, pseudo-line) and carry out two-layer VPN and transmit.
As can be seen from the above description, also can't satisfy at present the user and in data message, add the demand of the VLAN label of planning voluntarily, because have only PE to have the VLAN interface of this VLAN tag identifier of planning voluntarily, and bound the two-layer VPN example with corresponding modes under this VLAN interface, the data message that PE just will have this VLAN label of planning is voluntarily served PW and is carried out two-layer VPN and transmit, and present PE only supports the VLAN label of operator, and the pattern of binding two-layer VPN example can only be fixing default mode under the VLAN interface.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of transmission method of data message in two-layer VPN with the VLAN label, can satisfy the user and add the demand of the VLAN label of planning voluntarily in data message.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of transmission method of data message in two-layer VPN with the VLAN label may further comprise the steps:
A, PE resolve the data message receive with the outside VLAN label, when the VLAN interface of described outside VLAN tag identifier is the two-layer VPN interface, if the described VLAN interface pattern of binding two-layer VPN example down is default mode or QinQ OUT (nested outer) pattern, enter steps d, if the described VLAN interface pattern of binding two-layer VPN example down is QinQ IN (in nested) pattern and the nested inner VLAN label of described outside VLAN label, enter step c; During the non-two-layer VPN interface of described VLAN interface, if the nested inner VLAN label of described outside VLAN label enters step b;
B, described PE resolve described inner VLAN label, when the VLAN interface of described inner VLAN tag identifier is the two-layer VPN interface, are default mode or QinQ IN pattern if described VLAN interface is bound the pattern of two-layer VPN example down, enter steps d;
C, described PE judge whether described outside VLAN label is identical with the identification number of inner VLAN label, if identical, enter steps d;
Serve pseudo-line after d, described PE encapsulate described data message and carry out the two-layer VPN forwarding.
In the such scheme, among the described step a, when the VLAN interface of described outside VLAN tag identifier is the two-layer VPN interface, if the described VLAN interface pattern of binding two-layer VPN example down is QinQ IN pattern and the not nested inner VLAN label of described outside VLAN label, described PE attempts transmitting described data message in common two layers of mode.
In the such scheme, among the described step a, during the non-two-layer VPN interface of described VLAN interface, if the not nested inner VLAN label of described outside VLAN label, described PE attempts transmitting described data message in common two layers of mode.
In the such scheme, among the described step b, when the VLAN interface of described inner VLAN tag identifier is the two-layer VPN interface, be QinQ OUT pattern if described VLAN interface is bound the pattern of two-layer VPN example down, described PE attempts transmitting described data message in common two layers of mode.
In the such scheme, among the described step b, during the non-two-layer VPN interface of the VLAN interface of described inner VLAN tag identifier, if nested another layer VLAN of described inner VLAN label label, then described PE abandons described data message, otherwise described PE attempts transmitting described data message in common two layers of mode.
In the such scheme, among the described step c, if described outside VLAN label is different with the identification number of described inner VLAN label, described PE attempts transmitting described data message in common two layers of mode.
In the such scheme, when described PE can't transmit described data message in common two layers of mode, described PE abandoned described data message.
In the such scheme, described default mode is the VLAN interface pattern of binding two-layer VPN example down of the Service VLAN tag identifier that presets of described PE; Described QinQ OUT pattern is the VLAN interface pattern of binding two-layer VPN example down of the outside VLAN tag identifier that presets of described PE; Described QinQ IN pattern is the VLAN interface pattern of binding two-layer VPN example down of the inner VLAN tag identifier that presets of described PE.
In the such scheme, described data message with the VLAN label be that the user uses VLAN QinQ (nested) technology encapsulation on CE.
Beneficial effect of the present invention mainly shows: the invention provides in the technical scheme, PE from the data message that receives with the outside VLAN label begin to resolve, select corresponding mode that the data message is transmitted according to the result who resolves, wherein, the pattern that the VLAN interface that PE presets is bound the two-layer VPN example down is except that existing default mode, and also increasing newly has QinQ OUT pattern and QinQ IN pattern; When data message with the outside VLAN label be the Service VLAN label, during VLAN that its nested user plans voluntarily, PE serves PW with this data message encapsulation and carries out the two-layer VPN forwarding, i.e. the present invention can satisfy the user and add the demand of the VLAN label of planning voluntarily in data message; In addition, the present invention has increased the treatment step to the abnormal data message, has avoided the influence of the transmission of abnormal data message to the two-layer VPN network performance.
Description of drawings
Fig. 1 is the two-layer VPN networking schematic diagram of the data message of transport tape VLAN label;
Fig. 2 is the transfer process figure of data message in two-layer VPN of band VLAN label of the present invention.
Embodiment
Fig. 1 is described in background technology, repeats no more herein, and the invention will be further described below in conjunction with Fig. 2.
With reference to Fig. 2, a kind of transmission method of data message in two-layer VPN with the VLAN label may further comprise the steps, wherein, data message with the VLAN label be that the user uses VLAN QinQ technology encapsulation on CE; Default mode is the VLAN interface pattern of binding two-layer VPN example down of the Service VLAN tag identifier that presets of PE; QinQ OUT pattern is the VLAN interface pattern of binding two-layer VPN example down of the outside VLAN tag identifier that presets of PE; QinQ IN pattern is the VLAN interface pattern of binding two-layer VPN example down of the inner VLAN tag identifier that presets of PE:
The data message of S201:PE receiving belt VLAN label;
S202:PE judges whether the VLAN interface of outside VLAN tag identifier is the two-layer VPN interface, if, enter S203, otherwise, S207 entered;
S203:PE judges whether the pattern of binding two-layer VPN example under this VLAN interface is default mode, if, enter S212, otherwise, S204 entered;
S204:PE judges whether the pattern of binding two-layer VPN example under this VLAN interface is the QinQOUT pattern, if enter S212, otherwise this VLAN interface pattern of binding two-layer VPN example down is a QinQ IN pattern, enters S205;
S205:PE judges whether nested inner VLAN label of outside VLAN label, if, enter S206, otherwise, S213 entered;
S206:PE judges whether the outside VLAN label is identical with the identification number of inner VLAN label, if identical, enters S212, otherwise, enter S213;
S207:PE judges whether nested inner VLAN label of outside VLAN label, if, enter S208, otherwise, S213 entered;
S208:PE judges whether the VLAN interface of inner VLAN tag identifier is the two-layer VPN interface, if, enter S209, otherwise, S211 entered;
S209:PE judges whether the pattern of binding two-layer VPN example under this VLAN interface is default mode, if, enter S212, otherwise, S210 entered;
S210:PE judges whether the pattern of binding two-layer VPN example under this VLAN interface is the QinQOUT pattern, if enter S213, otherwise this VLAN interface pattern of binding two-layer VPN example down is a QinQ IN pattern, enters S212;
S211, PE judge whether nested another layer VLAN label of inner VLAN label, if, think that data message is unusual, enter S214, otherwise, enter S213; Complicated network environment causes data message to occur unusual easily and makes the VLAN label nested layer by layer, unusual datagram inserts two-layer VPN can have a strong impact on network performance, therefore, in this step, if the inner VLAN label nested another layer VLAN label, be data message when having three layers of nested VLAN label, think that data message is unusual;
Serve PW after S212:PE encapsulates data message and carry out two-layer VPN forwarding, process ends afterwards;
S213:PE attempts transmitting data message in common two layers of mode, and in the time can't transmitting data message in common two layers of mode, abandons data message, afterwards process ends;
S214:PE directly abandons data message, and process ends.
The above is embodiments of the invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.
Claims (9)
1, a kind of transmission method of data message in two-layer VPN with the VLAN label is characterized in that, may further comprise the steps:
A, provider edge equipment PE resolve the data message receive with the outside VLAN label, when the VLAN interface of described outside VLAN tag identifier is the two-layer VPN interface, if the described VLAN interface pattern of binding two-layer VPN example down is default mode or nested external schema, enter steps d, if the described VLAN interface pattern of binding two-layer VPN example down is nested internal schema and the nested inner VLAN label of described outside VLAN label, enter step c; During the non-two-layer VPN interface of described VLAN interface, if the nested inner VLAN label of described outside VLAN label enters step b;
B, described PE resolve described inner VLAN label, when the VLAN interface of described inner VLAN tag identifier is the two-layer VPN interface, are default mode or nested internal schema if described VLAN interface is bound the pattern of two-layer VPN example down, enter steps d;
C, described PE judge whether described outside VLAN label is identical with the identification number of inner VLAN label, if identical, enter steps d;
Serve pseudo-line after d, described PE encapsulate described data message and carry out the two-layer VPN forwarding.
2, the transmission method of data message in two-layer VPN of band VLAN label as claimed in claim 1, it is characterized in that: among the described step a, when the VLAN interface of described outside VLAN tag identifier is the two-layer VPN interface, if the described VLAN interface pattern of binding two-layer VPN example down is nested internal schema and the not nested inner VLAN label of described outside VLAN label, described PE attempts transmitting described data message in common two layers of mode.
3, the transmission method of data message in two-layer VPN of band VLAN label as claimed in claim 1, it is characterized in that: among the described step a, during the non-two-layer VPN interface of described VLAN interface, if the not nested inner VLAN label of described outside VLAN label, described PE are attempted transmitting described data message in common two layers of mode.
4, the transmission method of data message in two-layer VPN of band VLAN label as claimed in claim 1, it is characterized in that: among the described step b, when the VLAN interface of described inner VLAN tag identifier is the two-layer VPN interface, if the described VLAN interface pattern of binding two-layer VPN example down is nested external schema, described PE attempts transmitting described data message in common two layers of mode.
5, the transmission method of data message in two-layer VPN of band VLAN label as claimed in claim 1, it is characterized in that: among the described step b, during the non-two-layer VPN interface of the VLAN interface of described inner VLAN tag identifier, if nested another layer VLAN of described inner VLAN label label, then described PE abandons described data message, otherwise described PE attempts transmitting described data message in common two layers of mode.
6, the transmission method of data message in two-layer VPN of band VLAN label as claimed in claim 1, it is characterized in that: among the described step c, if described outside VLAN label is different with the identification number of described inner VLAN label, described PE attempts transmitting described data message in common two layers of mode.
7, as the transmission method of data message in two-layer VPN of one of them described band VLAN label of claim 2 to 6, it is characterized in that: when described PE can't transmit described data message in common two layers of mode, described PE abandoned described data message.
8, the transmission method of data message in two-layer VPN of band as claimed in claim 1 VLAN label is characterized in that: described default mode is the VLAN interface pattern of binding two-layer VPN example down of the Service VLAN tag identifier that presets of described PE; Described nested external schema is the VLAN interface pattern of binding two-layer VPN example down of the outside VLAN tag identifier that presets of described PE; Described nested internal schema is the VLAN interface pattern of binding two-layer VPN example down of the inner VLAN tag identifier that presets of described PE.
9, the transmission method of data message in two-layer VPN of band as claimed in claim 1 VLAN label is characterized in that: described data message with the VLAN label encapsulate for the user use the nested technology of VLAN on customer edge CE.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102160048A CN101355514B (en) | 2008-09-03 | 2008-09-03 | Method for transmitting data packet with VLAN label in two-layer VPN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102160048A CN101355514B (en) | 2008-09-03 | 2008-09-03 | Method for transmitting data packet with VLAN label in two-layer VPN |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101355514A true CN101355514A (en) | 2009-01-28 |
CN101355514B CN101355514B (en) | 2011-03-16 |
Family
ID=40308114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008102160048A Expired - Fee Related CN101355514B (en) | 2008-09-03 | 2008-09-03 | Method for transmitting data packet with VLAN label in two-layer VPN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101355514B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697547A (en) * | 2009-09-30 | 2010-04-21 | 中兴通讯股份有限公司 | Two-layer forwarding method and system for PW service |
CN102055647A (en) * | 2009-11-03 | 2011-05-11 | 中兴通讯股份有限公司 | Three-layer virtual private network (VPN) access method and system |
CN108055187A (en) * | 2017-12-01 | 2018-05-18 | 上海市信息网络有限公司 | User provides the business domains of network and the VPN correlating methods of local service node, system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7092389B2 (en) * | 2001-01-30 | 2006-08-15 | At&T Corp. | Technique for ethernet access to packet-based services |
CN1125545C (en) * | 2001-12-31 | 2003-10-22 | 刘军民 | Data forwarding method for implementing virtual channel transmission in LAN |
CN1260916C (en) * | 2002-11-21 | 2006-06-21 | 华为技术有限公司 | Method for realizing virtual specific network in ATM network |
CN1838627B (en) * | 2005-03-22 | 2010-04-28 | 杭州华三通信技术有限公司 | Method for realizing QinQ access |
-
2008
- 2008-09-03 CN CN2008102160048A patent/CN101355514B/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101697547A (en) * | 2009-09-30 | 2010-04-21 | 中兴通讯股份有限公司 | Two-layer forwarding method and system for PW service |
WO2011038646A1 (en) * | 2009-09-30 | 2011-04-07 | 中兴通讯股份有限公司 | Two-layer forwarding method for a pseudo wire (pw) service and system thereof |
CN102055647A (en) * | 2009-11-03 | 2011-05-11 | 中兴通讯股份有限公司 | Three-layer virtual private network (VPN) access method and system |
CN108055187A (en) * | 2017-12-01 | 2018-05-18 | 上海市信息网络有限公司 | User provides the business domains of network and the VPN correlating methods of local service node, system |
CN108055187B (en) * | 2017-12-01 | 2020-07-10 | 上海市信息网络有限公司 | VPN correlation method and system for service domain and local service node of user provided network |
Also Published As
Publication number | Publication date |
---|---|
CN101355514B (en) | 2011-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110266592A (en) | The communication means and device of SRV6 network and IP MPLS network | |
CN102170386B (en) | The implementation method that identify label is separated with position, system and data encapsulation method | |
ES2368343T3 (en) | METHOD AND APPLIANCES TO TRANSMIT MESSAGES. | |
CN109873760A (en) | Handle the method and apparatus of routing and the method and apparatus of data transmission | |
CN102185711B (en) | Method and equipment for detecting link failure in hybrid network | |
CN101552727B (en) | Method of transmitting and receiving message and a provider edge router | |
WO2008092357A1 (en) | A method and device for establishing a pseudo wire tunnel and transmitting message using it | |
CN102413060B (en) | User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network | |
CN102724117A (en) | Multi-protocol label switching (MPLS) traffic engineering (TE) tunnel building method and device | |
CN104639470A (en) | Flow label encapsulating method and system | |
CN102801625A (en) | Method and device for double layered mutual communication in heterogeneous network | |
CN102571426A (en) | Double-homing protection method and device | |
CN104426763A (en) | Channel switching method and apparatus, and switch | |
CN103023779B (en) | A kind of data message processing method and device | |
CN102546349B (en) | A kind of message forwarding method and equipment | |
CN102347889B (en) | Message forwarding method, system and device in H-VPLS (Hierarchical Virtual Private local area network service) | |
CN103780470B (en) | A kind of information synchronization method of IS IS and device | |
CN103259724A (en) | Method, system and client edge device for implementing MPLS VPN | |
CN103731349A (en) | Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device | |
CN103227745A (en) | Intercommunication method of shortest path bridging network and Layer 3 virtual private network and common edge equipment | |
CN102546433A (en) | Data forwarding method based on MPLS (Multi Protocol Label Switching) VPN (Virtual Private Network) and PEs (Provider Edges) | |
CN105812257A (en) | Business chain router management system and use method thereof | |
CN101355514B (en) | Method for transmitting data packet with VLAN label in two-layer VPN | |
CN100414919C (en) | Method for realizing virtual special network of over-muti-autonomous system mixed network | |
CN107294849A (en) | Method, device and system for establishing service path |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110316 Termination date: 20190903 |
|
CF01 | Termination of patent right due to non-payment of annual fee |