CN101026532A - Method, system and device for realizing VLL in QinQ subinterface - Google Patents
Method, system and device for realizing VLL in QinQ subinterface Download PDFInfo
- Publication number
- CN101026532A CN101026532A CNA2007100035903A CN200710003590A CN101026532A CN 101026532 A CN101026532 A CN 101026532A CN A2007100035903 A CNA2007100035903 A CN A2007100035903A CN 200710003590 A CN200710003590 A CN 200710003590A CN 101026532 A CN101026532 A CN 101026532A
- Authority
- CN
- China
- Prior art keywords
- tag
- message
- interface
- qinq
- peeling
- 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 method includes steps: when inner layer TAGs of QinQ sub interfaces of entrance device and exit device are in same range segment, the method peels off outer layer TAG of received message; then, through MPLS tunnel, the message is sent to exit device; after receiving message, exit device packages new outer layer TAG, and sends it to user end. The invention also discloses system including entrance device and exit device for realizing VLL on QinQ sub interface. The invention also discloses module for peeling off outer layer TAG, and message forwarding module. Comparing with prior art, the invention can implement VLL when inner layer TAG in QinQ sub interface being as range segment.
Description
Technical field
The present invention relates to network communication field, particularly a kind of method and system of on the QinQ sub-interface, realizing VLL (Virtual Lease Line, virtual leased link), and a kind of equipment.
Background technology
Along with the increase of number of broadband customers and the increase of class of business, traditional VLAN (Virtual Local Area Network, VLAN) technology can not satisfy the needs that business is carried out, for example: referring to Fig. 1, be two layers of traditional interconnected pattern, user network 1 and user network 2 are positioned at two different locations, and the fringe node PE1 by the service provider and PE2 insert backbone network and carry out interconnected respectively, if the user need be interconnected with VLAN200~300 of VLAN200~300 of network 1 and network 2, must be with customer network edge node CE1, PE1, P and PE2, the port that CE2 links to each other all is configured to trunk (trunking) attribute, and allow by VLAN200~300, this collocation method must allow user's VLAN on backbone network as seen, to expend service provider's VLAN ID resource (generally having only 4094 VLAN ID resources) like this, but also needing the vlan number of service provider's leading subscriber, the user has also lost the right of planning VLAN.For fear of this weakness, the QinQ technology is arisen at the historic moment, it is that user private network VLAN TAG is encapsulated among the public network VLAN TAG, the two-layer VLAN TAG of message band is transmitted in the backbone network of operator, message is only propagated according to outside VLAN TAG in public network, user's private network VLAN TAG conductively-closed.
The QinQ technology is only distributed to public network vlan number of each enterprise customer, when the user's message of band TAG enters service provider's backbone network, all insert this newly assigned public network vlan number uniformly by force, pass backbone network with this new public network vlan number, when this message arrives the PE equipment of backbone network opposite side, peel off the public network VLAN TAG that this newly adds, restore the CE equipment that sends the user behind the user's message again to.Because the message that transmits in backbone network has two-layer 802.1qTAG head (a public network TAG, a private network TAG), so be referred to as the QinQ agreement.
Referring to Fig. 2, be the networking diagram of QinQ agreement, be the access interface of QinQ agreement with the port arrangement of PE1 among Fig. 1 and PE2, the implementation of QinQ has two kinds, and mode one is that port is hired out mode, and the internal layer TAG of QinQ sub-interface is a determined value, as shown in Figure 2.Mode two is a CEVLAN-BASE QinQ mode, realizes that by the form of one section CE-VLAN on the mouth being distributed to a user internal layer TAG of QinQ sub-interface is a range section.
Briefly, MPLS L2VPN is exactly transmission user's transparent on MPLS (Multi-Protocol Label Switching, multiprotocol label switching) network a two layer message.From user's angle, this MPLS network is one two layers a switching network, by this network, can set up two layers of connection between different websites.VLL is a kind of implementation of L2VPN (Layer2VirtualPrivate Network, Layer 2 virtual private network).A VLL connects and is called a PW (Pseudo Wire, pseudo-link), and user's message transmits on a PW pellucidly.Referring to Fig. 3, user's two layer message is by the PW that sets up between two PE user who is delivered to the opposite end at the MPLS of operator network readezvous point.
MPLS L2VPN realizes the transparent transmission of user's message in the MPLS network by label stack, wherein outer layer label (being also referred to as the tunnel label) is used for message is delivered to another PE from a PE, vpn label is (in MPLS L2VPN, be called the VC label) be used to distinguish different VPN (Virtual Private Network, Virtual Private Network) difference in connects, and recipient PE is transmitted to message according to vpn label the CE of appointment.
According to the type of internal layer TAG and outer TAG, the QinQ sub-interface has two kinds of termination modes:
1) mode that clearly terminates, the QinQ data message of termination, inside and outside two-layer TAG is the value of determining.
2) fuzzy termination mode, the QinQ data message of termination, the value of outer TAG for determining, internal layer TAG is the value that changes within the specific limits, i.e. a range section.
Because VLL realizes point-to-point connection, can only be with the inside and outside two-layer TAG QinQ data message that all is determined value on the QinQ sub-interface, at this moment adopt the mode that clearly terminates, message for the inlet reception with two-layer TAG, on the QinQ sub-interface, will peel off two-layer TAG, be transferred to the other end by PW then, add the two-layer TAG of outgoing interface in outlet.
As shown in Figure 4, the port that PE1 is connected with CE1 is the QinQ mouth, and the port that PE2 is connected with CE2 is the QinQ mouth, sets up VLL and connect on these two QinQ sub-interfaces, and PE1 receives the message that sends from CE1, and this message is as shown in table 1:
Two layers of head | TAG1 | TAG2 | PAYLOAD |
Table 1
At first, the QinQ sub-interface of PE1 will be peeled off two-layer TAG, and message becomes shown in the table 2:
Two layers of head | PAYLOAD |
Table 2
Then, the VLL that is set up by the QinQ sub-interface of PE1 and PE2 is connected, and with not with transparent being delivered on the PE2 of opposite end of message of TAG, PE2 encapsulates message on outgoing interface again, encapsulates two-layer TAG, and the message after the encapsulation is as shown in table 3:
Two layers of head | TAG3 | TAG4 | PAYLOAD |
Table 3
At last, this message is sent to CE2.
Wherein, TAG1, TAG3; TAG2, TAG4 may equate that also possibility is unequal, TAG1, and TAG2, TAG3, TAG4 are the values of determining.
At present, realize VLL on the QinQ sub-interface, can only use inside and outside two-layer TAG all is the interface equipment of the value determined, when the internal layer TAG of the interface of equipment is the scope of a variation, can't determine the occurrence of internal layer TAG at outlet side, insert so this kind equipment can't be realized VLL.
Summary of the invention
When being a range section for the QinQ sub-interface internal layer TAG that solves terminal device in the prior art, can not realize the problem of VLL on this interface, the embodiment of the invention provides a kind of method, system and equipment of realizing VLL on the QinQ sub-interface.Described technical scheme is as follows:
A kind of method that on the QinQ sub-interface, realizes VLL, when the QinQ sub-interface internal layer TAG of access device and outlet device is configured to an identical range section, carry out following steps:
Described access device is peeled off the outer TAG of the message that receives, then the message behind the peeling outer layer TAG is sent to described outlet device by the MPLS tunnel;
Described outlet device encapsulates new outer TAG after receiving message behind the described peeling outer layer TAG, and the message of the new outer TAG of encapsulation is sent to user side.
The embodiment of the invention also provides a kind of system that realizes VLL on the QinQ sub-interface, and described system includes jaws equipment and outlet device, and the internal layer TAG of the QinQ sub-interface of described access device and described outlet device is identical range section,
Described access device comprises:
Outer TAG strip module, the outer TAG that is used for the message that will receive peels off;
Packet forwarding module after being used for described outer TAG strip module and peeling off the outer TAG of message, sends to described outlet device with the message behind the peeling outer layer TAG by the MPLS tunnel;
Described outlet device comprises:
The message receiver module is used to receive the message behind the peeling outer layer TAG that described packet forwarding module sends;
Outer TAG package module, be used for the message after described message receiver module is received peeling outer layer TAG after, encapsulate new outer TAG, the message that encapsulates new outer TAG is sent to user side.
The embodiment of the invention also provides a kind of equipment, and the QinQ sub-interface internal layer TAG of described equipment is a range section, and described equipment comprises:
Outer TAG strip module, the outer TAG that is used for the message that will receive peels off;
Packet forwarding module after being used for described outer TAG strip module and peeling off the outer TAG of message, sends to opposite equip. with the message behind the peeling outer layer TAG by the MPLS tunnel.
The beneficial effect that the technical scheme of the embodiment of the invention is brought is:
By the scheme that the embodiment of the invention provides, constant by the internal layer TAG that keeps message when the QinQ of terminal device sub-interface internal layer TAG is a range section, can on the QinQ sub-interface, realize VLL.
Description of drawings
Fig. 1 is the two layers of traditional interconnected pattern diagram that provide in the prior art;
Fig. 2 is the networking schematic diagram of the QinQ agreement that provides in the prior art;
Fig. 3 is the two layer message that provides in the prior art schematic diagram in the transmission of MPLS network readezvous point;
Fig. 4 is the network diagram of setting up the VLL connection on two QinQ sub-interfaces that provides in the prior art;
Fig. 5 is the method flow diagram of realizing VLL on the QinQ sub-interface that the embodiment of the invention 1 provides;
Fig. 6 is the system schematic that realizes VLL on the QinQ sub-interface that the embodiment of the invention 2 provides;
Fig. 7 is the equipment schematic diagram in the Layer 2 virtual private network that provides of the embodiment of the invention 3.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments, but the present invention is not limited to following examples.
The invention process belongs to a range section at the internal layer TAG on the QinQ sub-interface of terminal device PE, adopts peeling outer layer TAG on access device PE, and internal layer TAG keeps, and encapsulates new outer TAG on outlet device PE, sends to then to be used for end.
Embodiment 1
Referring to Fig. 5, present embodiment provides a kind of method that realizes VLL on the QinQ sub-interface, the network equipment that provides with Fig. 4 is an example, access device PE1 and outlet device PE2 in the present embodiment are required to be symmetric equipment, that is: having identical QinQ sub-interface disposes, for determined value is a determined value all, and has identical determined value; For range section all is a range section, and scope is identical, for example all is 100-200.Concrete grammar is as follows:
Step 501: whether the internal layer TAG that checks the QinQ sub-interface of access device PE1 is a range section, if, the corresponding QinQ sub-interface of outlet device is configured to identical range section, when receive from user side CE1 message after, execution in step 503 is if not a range section, it is a definite value, then the corresponding QinQ sub-interface with outlet device is configured to identical determined value, when receive from user side CE1 message after, execution in step 502.
After access device PE1 receives message, message will have double-deck TAG, and present embodiment is TAG2 with internal layer TAG, and outer TAG is that TAG1 is an example, and concrete message is as shown in table 4:
Two layers of head | TAG1 | TAG2 | PAYLOAD |
Table 4
Step 502: handle by the clearly termination mode that provides in the prior art.
The QinQ sub-interface that access device PE1 in the present embodiment is connected with user side CE1 be configured to a range section, the internal layer TAG that is the QinQ sub-interface of equipment PE1 is a range section, because access device and outlet device are symmetry, so the value scope of the value of the QinQ sub-interface internal layer TAG that outlet device PE2 and user side CE2 connect and the QinQ sub-interface internal layer TAG of access device PE1 is identical.After access device PE1 receives message, with execution in step 503.
Step 503: access device PE1 peels off the outer TAG of message, promptly peels off TAG1, and the message behind the peeling outer layer TAG1 is as shown in table 5.The message that will have internal layer TAG2 then is by the outlet PE 2 of PW (or MPLS tunnel) transparent transmission to the opposite end, and message can adopt the technique known means to realize by access device PE1 to outlet device PE2, repeats no more here.
Two layers of head | TAG2 | PAYLOAD |
Table 5
Step 504: after outlet device PE2 received this message, for this message encapsulates the new outer TAG of one deck again, that present embodiment encapsulates was TAG3, and the message after the encapsulation is as shown in table 6:
Two layers of head | TAG3 | TAG2 | PAYLOAD |
Table 6
Step 505: after finishing encapsulation, this message is sent to another user side CE2.Network will find user side CE2 according to the outer TAG3 of encapsulation.
Wherein, TAG1 and the TAG3 value for determining can equate, also can be unequal, and in order to the identity of identifying user end CE2, TAG2 is a range section, for example: in order to sign message institute loaded service, this business can be voice call, also can be video playback.
Embodiment 2
Referring to Fig. 6, present embodiment provides a kind of system that realizes VLL on the QinQ sub-interface, includes jaws equipment and outlet device, and wherein, the internal layer TAG of the QinQ sub-interface of access device and outlet device is identical range section,
Access device comprises:
Outer TAG strip module, the outer TAG that is used for the message that will receive peels off;
Packet forwarding module after being used for outer TAG strip module and peeling off the outer TAG of message, sends to outlet device with the message behind the peeling outer layer TAG by the MPLS tunnel;
Outlet device comprises:
The message receiver module is used to receive the message behind the peeling outer layer TAG that packet forwarding module sends;
Outer TAG package module, be used to state the message after the message receiver module is received peeling outer layer TAG after, encapsulate new outer TAG, the message that encapsulates new outer TAG is sent to user side.
The MPLS tunnel here is specially pseudo-link PW.
The outer TAG that peels off in the outer TAG that encapsulates in the outer TAG package module and the outer TAG strip module can be identical or inequality.
Embodiment 3
Referring to Fig. 7, present embodiment provides the equipment in a kind of Layer 2 virtual private network, and the QinQ sub-interface internal layer TAG of this equipment is a range section;
This equipment comprises during as access device:
Outer TAG strip module, the outer TAG that is used for the message that will receive peels off;
Packet forwarding module after being used for outer TAG strip module and peeling off the outer TAG of message, sends to opposite equip. with the message behind the peeling outer layer TAG by the MPLS tunnel.
This equipment can also also comprise as outlet device:
The message receiver module is used to receive the message behind the peeling outer layer TAG;
Outer TAG package module, be used for the message after the message receiver module is received peeling outer layer TAG after, encapsulate new outer TAG, the message that encapsulates new outer TAG is sent to user side.
The technical scheme that above embodiment provides can be stored in the form of software in the computer-readable recording medium of computer, as hard disk, CD etc.
By above embodiment, when internal layer TAG is a changing value in the scope, can on the QinQ of terminal device sub-interface, realize VLL, and then, shielding user vlan information on the MPLS of operator network, transparent transmission user's TAG improves the user network fail safe.
Above-described embodiment is a kind of more preferably embodiment of the present invention, and common variation that those skilled in the art carries out in the technical solution of the present invention scope and replacement all should be included in protection scope of the present invention.
Claims (8)
1. a method that realizes VLL on the QinQ sub-interface is characterized in that, when the QinQ sub-interface internal layer TAG of access device and outlet device is configured to identical range section, carries out following steps:
Described access device is peeled off the outer TAG of the message that receives, then the message behind the peeling outer layer TAG is sent to described outlet device by the MPLS tunnel;
Described outlet device encapsulates new outer TAG after receiving message behind the described peeling outer layer TAG, and the message of the new outer TAG of encapsulation is sent to user side.
2. the method that realizes VLL on the QinQ sub-interface as claimed in claim 1 is characterized in that described MPLS tunnel is specially pseudo-link PW.
3. the method that realizes VLL on the QinQ sub-interface as claimed in claim 1 is characterized in that, described outer TAG newly is identical or inequality with the outer TAG of the message that described access device is received.
4. system that on the QinQ sub-interface, realizes VLL, described system includes jaws equipment and outlet device, it is characterized in that, and the internal layer TAG of the QinQ sub-interface of described access device and described outlet device is identical range section,
Described access device comprises:
Outer TAG strip module, the outer TAG that is used for the message that will receive peels off;
Packet forwarding module after being used for described outer TAG strip module and peeling off the outer TAG of message, sends to described outlet device with the message behind the peeling outer layer TAG by the MPLS tunnel;
Described outlet device comprises:
The message receiver module is used to receive the message behind the peeling outer layer TAG that described packet forwarding module sends;
Outer TAG package module, be used for the message after described message receiver module is received peeling outer layer TAG after, encapsulate new outer TAG, the message that encapsulates new outer TAG is sent to user side.
5. the system that realizes VLL on the QinQ sub-interface as claimed in claim 4 is characterized in that described MPLS tunnel is specially pseudo-link PW.
6. the system that realizes VLL on the QinQ sub-interface as claimed in claim 4 is characterized in that, the outer TAG that peels off in the outer TAG that encapsulates in the described outer TAG package module and the described outer TAG strip module is identical or inequality.
7. an equipment is characterized in that, the QinQ sub-interface internal layer TAG of described equipment is a range section, and described equipment comprises:
Outer TAG strip module, the outer TAG that is used for the message that will receive peels off;
Packet forwarding module after being used for described outer TAG strip module and peeling off the outer TAG of message, sends to opposite equip. with the message behind the peeling outer layer TAG by the MPLS tunnel.
8. equipment as claimed in claim 7 is characterized in that, described equipment also comprises:
The message receiver module is used to receive the message behind the peeling outer layer TAG;
Outer TAG package module, be used for the message after described message receiver module is received peeling outer layer TAG after, encapsulate new outer TAG, the message that encapsulates new outer TAG is sent to user side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100035903A CN100477624C (en) | 2007-02-09 | 2007-02-09 | Method, system and device for realizing VLL in QinQ subinterface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100035903A CN100477624C (en) | 2007-02-09 | 2007-02-09 | Method, system and device for realizing VLL in QinQ subinterface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101026532A true CN101026532A (en) | 2007-08-29 |
CN100477624C CN100477624C (en) | 2009-04-08 |
Family
ID=38744456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007100035903A Expired - Fee Related CN100477624C (en) | 2007-02-09 | 2007-02-09 | Method, system and device for realizing VLL in QinQ subinterface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100477624C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011063678A1 (en) * | 2009-11-27 | 2011-06-03 | 中兴通讯股份有限公司 | Implementing method and device for virtual local area network stack accessing virtual private wire service |
CN102647325A (en) * | 2012-03-23 | 2012-08-22 | 杭州华三通信技术有限公司 | Method and device for realizing QinQ (802.1Q in 902.1Q) finalization |
CN101926132B (en) * | 2008-01-25 | 2014-04-30 | 阿尔卡特朗讯公司 | Circuit emulation over ip interworking vll |
CN112787928A (en) * | 2019-11-07 | 2021-05-11 | 中兴通讯股份有限公司 | Multi-service forwarding method, switch, electronic device and readable medium |
-
2007
- 2007-02-09 CN CNB2007100035903A patent/CN100477624C/en not_active Expired - Fee Related
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101926132B (en) * | 2008-01-25 | 2014-04-30 | 阿尔卡特朗讯公司 | Circuit emulation over ip interworking vll |
WO2011063678A1 (en) * | 2009-11-27 | 2011-06-03 | 中兴通讯股份有限公司 | Implementing method and device for virtual local area network stack accessing virtual private wire service |
CN102647325A (en) * | 2012-03-23 | 2012-08-22 | 杭州华三通信技术有限公司 | Method and device for realizing QinQ (802.1Q in 902.1Q) finalization |
CN102647325B (en) * | 2012-03-23 | 2014-11-26 | 杭州华三通信技术有限公司 | Method and device for realizing QinQ (802.1Q in 902.1Q) finalization |
CN112787928A (en) * | 2019-11-07 | 2021-05-11 | 中兴通讯股份有限公司 | Multi-service forwarding method, switch, electronic device and readable medium |
WO2021088802A1 (en) * | 2019-11-07 | 2021-05-14 | 中兴通讯股份有限公司 | Multi-service forwarding method, switch, electronic equipment and readable medium |
EP4044527A4 (en) * | 2019-11-07 | 2022-11-09 | ZTE Corporation | Multi-service forwarding method, switch, electronic equipment and readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN100477624C (en) | 2009-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100542122C (en) | A kind of multiplexing method of VLAN switching tunnel and VLAN switching domain | |
CN103152267B (en) | Route managing method and route method and network controller and router | |
CA2570745C (en) | Technique for transferring data over a packet switched network | |
CN100428737C (en) | Method for reducing VPN network arranging | |
CN107113240A (en) | Expansible VLAN file transmitting method, computer equipment and computer-readable recording medium | |
US20050138149A1 (en) | Method and system for increasing available user VLAN space | |
CN101166137B (en) | Method for separating different virtual LAN services | |
CN101867520A (en) | Method for exchanging data between board cards in distribution type system | |
CN100477624C (en) | Method, system and device for realizing VLL in QinQ subinterface | |
CN101146016A (en) | Ethernet frame transmission method and Ethernet architecture | |
CN101697547B (en) | Two-layer forwarding method and system for PW service | |
RU2517695C2 (en) | Device and method for access via end-to-end emulation of pseudo wire | |
CN102136981B (en) | Method for realizing E-Tree (Ethernet tree) service in Ethernet and related device | |
CN103200126B (en) | XG-PON system flow management device and method | |
CN104243264A (en) | System and method for connecting PW to L3VPN through N:1 model | |
CN102857400A (en) | Method and device for establishing broadcasting domain in two-layer virtual dedicated network | |
CN101227409A (en) | System, equipment and method for forwarding message | |
US8848716B2 (en) | Termination of a pseudowires on multiple line cards | |
CN103716220B (en) | A kind of data transmission method and its device | |
CN106856454A (en) | A kind of method of message forwarding, equipment and system | |
CN100396022C (en) | Realization method for monitoring network service | |
CN101888336A (en) | Method of using access device to realize time division multiplexing service relaying and access device | |
CN101827012A (en) | Packet transmitting network as well as method for bearing services of pure three layers of IP packets and outlet node | |
CN101494601B (en) | Method and apparatus for configuring down data | |
CN106797344B (en) | Method and apparatus for communicating through remote network element port |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090408 Termination date: 20180209 |