CN1863148A - Method for implementing interaction BPDU message between VLAN apparatus through two layer tunnel network - Google Patents
Method for implementing interaction BPDU message between VLAN apparatus through two layer tunnel network Download PDFInfo
- Publication number
- CN1863148A CN1863148A CN200510098758.4A CN200510098758A CN1863148A CN 1863148 A CN1863148 A CN 1863148A CN 200510098758 A CN200510098758 A CN 200510098758A CN 1863148 A CN1863148 A CN 1863148A
- Authority
- CN
- China
- Prior art keywords
- message
- bpdu
- vlan
- bpdu message
- tag
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000003993 interaction Effects 0.000 title abstract 2
- 238000004891 communication Methods 0.000 claims abstract description 6
- 238000005538 encapsulation Methods 0.000 claims description 21
- 230000005540 biological transmission Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 6
- 230000006855 networking Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 101150082208 DIABLO gene Proteins 0.000 description 2
- 102100033189 Diablo IAP-binding mitochondrial protein Human genes 0.000 description 2
- MHABMANUFPZXEB-UHFFFAOYSA-N O-demethyl-aloesaponarin I Natural products O=C1C2=CC=CC(O)=C2C(=O)C2=C1C=C(O)C(C(O)=O)=C2C MHABMANUFPZXEB-UHFFFAOYSA-N 0.000 description 2
- 230000002950 deficient Effects 0.000 description 1
- 230000005641 tunneling Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates a method for implementing BPDU messages interaction between VLAN devices by passing through two layers of tunnel networks, and its kernel: after configuring BPDU Tunnel, local PE adds corresponding VLAN tag into BPDU message to be transmitted through two layers of tunnel networks, and packs VPLS in VLAN; implementing communication between VLAN devices by using the packed BPDU message to pass through two layers of tunnel networks. Thus, as BPDU message reaches a remote PE, the remote PE can still assure accurate in-VLAN transmission of BPDU message based on the VLAN tag.
Description
Technical field
The present invention relates to the communications field, relate in particular to a kind of two layer tunnel network that passes through and realize the mutual BPDU method of message of VLAN equipment room.
Background technology
RSTP (RSTP)/MSTP (Multiple Spanning Tree Protocol) is the important technology on the Ethernet, loop and the convergence fast of using this technology can prevent effectively that ethernet link layer from occurring.The BPDU message then is the message carrier of carrying RSTP/MSTP agreement.
L2VPN (two layers of privately owned tunnel) technology allows the user to manage the private network that is distributed in diverse location fully voluntarily, is just more and more used the VPLS of especially multi-multipoint mode (virtual private LAN service) technology.
Technical scheme below in conjunction with networking structure explanation prior art shown in Figure 1:
On the QINQ of LSWA/B/C interface, enable BPDU Tunnel, constitute two layers of L2 tunnel, BPDU message by described L2 tunnel transparent transmission carrying RSTP/MSTP agreement, at router LSWD1/D2 and the described message of LSW E1/E2 internal operation, simultaneously, at the described message of LSW A/B/C internal operation, be isolated from each other when LSW D1/D2, LSW E1/E2 and LSW A/B/C internal operation message.
When between LSW D1/D2, LSW E1/E2 and the LSW A/B/C during mutual described BPDU message, BPDU (the Bridge Protocol DataUnits of the carrying RSTP/MSTP agreement that sends as LSW D1/E1; The bridge protocol data unit) message is at local PE (Provider Edge Routers; The end margin router is provided), as LSW A, directly carried out the vpn tunneling encapsulation, the BPDU message after obtaining encapsulating, as shown in Table 1:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+++++++++++
| the tunnel stem | BPDU DMAC|BPDU SMAC|8100+|BPDU type | the BPDU content |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+++++++++
Table one
BPDU message after will encapsulating at last sends to far-end PE by RSTP/MSTP, handles as LSW B or LSW C.
When the control aspect of far-end PE is received the BPDU message, because it does not carry the Tag mark, so it can't be distinguished is the BPDU message who sends, and then can not select for use different BPDUTunnel tunnels to send to subordinate's treatment facility, as LSW D2, LSW E2 at the BPDU message.
By the technical scheme of prior art as can be seen, there is following defective in it: as local PE, the BPDU message that does not carry VLAN Tag as LSWA arrives far-end PE, in the time of as LSW B or LSW C, far-end PE is by receiving the BPDU message on the BPDU Tunnel that enables on the QINQ interface based on VLAN, because the BPDU message of receiving does not carry Tag, it is the BPDU message that LSW D1 or LSW E1 send that far-end PE can't be distinguished, and therefore also just can not select for use different BPDU Tunnel tunnels to be transmitted to the relevant device of affiliated VLAN.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide a kind of two layer tunnel network that passes through and realize the mutual BPDU method of message of VLAN equipment room, by the present invention, under all can correctly sending to when passing through two layer tunnel on the equipment of VLAN based on any BPDU message of MSTP/RSTP agreement.
The objective of the invention is to be achieved through the following technical solutions:
A kind of two layer tunnel network that passes through provided by the invention is realized the mutual BPDU method of message of VLAN equipment room, comprising:
A, local PE pass through needs the Tag mark that adds VLAN under it in the BPDU message of two layer tunnel forwarded and carry out virtual private LAN service VPLS encapsulation;
B, pass through the communication that the two layer tunnel network is realized the VLAN equipment room based on the BPDU message after the described encapsulation.
Wherein, comprising before the described steps A: configuration allows the BPDU message to carry VLAN Tag forwarding on VLAN equipment.
Wherein, described steps A specifically comprises:
A1, local PE receive the message that higher level's treatment facility sends;
A2, described message is analyzed, when confirming that described message is the BPDU message, and under need sending to by far-end PE in the VLAN during equipment, then dispose the bearer path of described BPDU message after, the message of receiving is added the Tag mark of local PE as load and carries out the VPLS encapsulation.
Wherein, described step B specifically comprises:
B1, the BPDU message after the described encapsulation is sent to far-end PE;
B2, described far-end PE are carried out decapsulation to described BPDU message and are handled;
B3, the Tag mark that carries according to the BPDU message after the described decapsulation processing receive or transmit processing to described BPDU message.
Wherein, described message comprises the destination address information of described message.
Wherein, described step B3 specifically comprises:
B31, check whether the BPDU message after described decapsulation is handled carries the Tag mark, when confirming that BPDU message after described decapsulation is handled carries the Tag mark, execution in step B32 then;
B32, described BPDU message is received or transmits processing according to described Tag mark.
Wherein, described step B32 specifically comprises:
B321, whether the corresponding bearer path of local PE configuration is arranged,, then remove the Tag mark in the described message, then execution in step B322 if having according to the described BPDU message of described Tag labeled analysis; Otherwise abandon described message;
B322, described message is uploaded to application layer finishes and receive to handle; Or,
According to the destination address of described BPDU message, the equipment that described message is transmitted in the VLAN of far-end PE place is handled.
As seen from the above technical solution provided by the invention, local PE of the present invention passes through needs the Tag mark that adds VLAN under it in the BPDU message of two layer tunnel forwarded and carries out virtual private LAN service VPLS encapsulation; Pass through the communication that the two layer tunnel network is realized the VLAN equipment room based on the BPDU message after the described encapsulation.By the present invention, under all can correctly sending to when passing through the two layer tunnel network on the equipment of VLAN based on any BPDU message of MSTP/RSTP agreement.
Description of drawings
Fig. 1 is the networking structure schematic diagram of prior art;
Fig. 2 is a flow chart of the present invention;
Fig. 3 is a networking structure schematic diagram of the present invention.
Embodiment
The invention provides a kind of two layer tunnel network that passes through and realize the mutual BPDU method of message of VLAN equipment room, its core is: local PE passes through needs the Tag mark that adds VLAN under it in the BPDU message of two layer tunnel forwarded and carries out virtual private LAN service VPLS encapsulation; Pass through the communication that the two layer tunnel network is realized the VLAN equipment room based on the BPDU message after the described encapsulation.
Before implementing the present invention, on all devices, configuration allows the BPDU message to carry VLAN Tag forwarding.
Embodiment provided by the invention as shown in Figure 2, comprising:
The frame structure of the BPDU message that receives for far-end PE as shown in Table 2:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| BPDU purpose MAC|BPDU source MAC|BPDU type of message | the BPDU content |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Table two
Be the frame structure of the BPDU message after the encapsulation as shown in Table 3:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++++++++++
| the tunnel stem | BPDU DMAC|BPDU SMAC|8100|Tag mark | bpdu type | the BPDU content |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++++++++++
Table three
After above-mentioned decapsulation processing, described far-end PE obtains the BPDU message after decapsulation is handled, and whether carries the Tag mark in the message after handling according to described decapsulation then described BPDU message is received or transmit processing.Specific implementation process comprises:
According to the destination address information of carrying in the described message equipment that described message is transmitted in the VLAN of far-end PE place is handled.
Below in conjunction with the networking structure schematic diagram,, describe specific embodiments of the present invention in detail as Fig. 3.
In this typical networking, LSW A/B/C constitutes a L2 tunnel.Before implementing this programme, at first according to the VLAN of local terminal CE, LSW A converge on the port configuration based on the QINQ interface of the VLAN of local terminal CE, as, according to the 2-100VLAN territory at local terminal LSW D1 place, configuration QINQ3 interface on LSW A; According to the 102-200VLAN territory at local terminal LSW E1 place, configuration QINQ5 interface on LSW A.
Then send the BPDU message to the port AD of LSW A at LAW D1.
When the local end PE of two layer tunnel, behind the message as described in receiving as the port AD of LSW A in the two layer tunnel, find that this message need pass through far-end PE, as LSW B, LSW C other device forwards in far-end VLAN, as LSW E2, LSW D2 etc.; So its message of receiving is encapsulated with the VPLS form as load.
In encapsulation process, earlier former BPDU message is added the Tag mark of VLAN2, and then carry out the VPLS encapsulation.
Then the BPDU message after the described encapsulation is sent to far-end PE, as LSW B or LSW C.
Far-end PE, receive this message as LSW C after, remove the VPLS tunnel encapsulation according to common VPLS handling process, check load then, find that it is the BPDU message that carries two layer tunnel Tag mark,, message is forwarded to LSW E2 according to normal two layers of forwarding process so remove the Tag mark in the message.
By the technical scheme of the invention described above as can be seen, by the present invention, local end PE, the Tag mark that can initiatively add two layer tunnel as LSW A to the BPDU message that LSW D1/E1 sends, when it arrives far-end PE, during as LSW B or LSW C, far-end PE can dispose corresponding BPDU Tunnel based on the VLAN Tag that described BPDU message carries, like this, the BPDU message that LSW D1/E1 sends will pass through the two layer tunnel network and deliver among the LSW D2/E2 along different BPDU Tunnel, therefore the present invention can make the BPDU message of carrying MSTP/RSTP simply and effectively pass through two layer tunnel, and VLAN equipment under correctly sending to.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.
Claims (7)
1, a kind of two layer tunnel network that passes through is realized the mutual BPDU method of message of VLAN equipment room, it is characterized in that, comprising:
A, local PE pass through needs the Tag mark that adds VLAN under it in the BPDU message of two layer tunnel forwarded and carry out virtual private LAN service VPLS encapsulation;
B, pass through the communication that the two layer tunnel network is realized the VLAN equipment room based on the BPDU message after the described encapsulation.
2, method according to claim 1 is characterized in that, comprises before described steps A:
Configuration allows the BPDU message to carry VLAN Tag forwarding on VLAN equipment.
3, method according to claim 1 and 2 is characterized in that, described steps A specifically comprises:
A1, local PE receive the message that higher level's treatment facility sends;
A2, described message is analyzed, when confirming that described message is the BPDU message, and under need sending to by far-end PE in the VLAN during equipment, then dispose the bearer path of described BPDU message after, the message of receiving is added the Tag mark of local PE as load and carries out the VPLS encapsulation.
4, method according to claim 3 is characterized in that, described step B specifically comprises:
B1, the BPDU message after the described encapsulation is sent to far-end PE;
B2, described far-end PE are carried out decapsulation to described BPDU message and are handled;
B3, the Tag mark that carries according to the BPDU message after the described decapsulation processing receive or transmit processing to described BPDU message.
5, method according to claim 4 is characterized in that, described BPDU message comprises the destination address information of described message.
6, method according to claim 5 is characterized in that, described step B3 specifically comprises:
B31, check whether the BPDU message after described decapsulation is handled carries the Tag mark, when confirming that BPDU message after described decapsulation is handled carries the Tag mark, execution in step B32 then;
B32, described BPDU message is received or transmits processing according to described Tag mark.
7, method according to claim 6 is characterized in that, described step B32 specifically comprises:
B321, whether the corresponding bearer path of local PE configuration is arranged,, then remove the Tag mark in the described message, then execution in step B322 if having according to the described BPDU message of described Tag labeled analysis; Otherwise abandon described message;
B322, described message is uploaded to application layer finishes and receive to handle; Or,
According to the destination address of described BPDU message, the equipment that described message is transmitted in the VLAN of far-end PE place is handled.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510098758.4A CN1863148A (en) | 2005-09-05 | 2005-09-05 | Method for implementing interaction BPDU message between VLAN apparatus through two layer tunnel network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510098758.4A CN1863148A (en) | 2005-09-05 | 2005-09-05 | Method for implementing interaction BPDU message between VLAN apparatus through two layer tunnel network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1863148A true CN1863148A (en) | 2006-11-15 |
Family
ID=37390478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200510098758.4A Pending CN1863148A (en) | 2005-09-05 | 2005-09-05 | Method for implementing interaction BPDU message between VLAN apparatus through two layer tunnel network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1863148A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222437B (en) * | 2008-01-25 | 2011-06-15 | 杭州华三通信技术有限公司 | Method and system for transparent transmission of BPDU packet in two-layer switching network |
CN102299862A (en) * | 2011-09-22 | 2011-12-28 | 北京傲天动联技术有限公司 | Quick forwarding equipment and method for two-layer tunnel |
CN103001847A (en) * | 2012-12-07 | 2013-03-27 | 杭州华三通信技术有限公司 | Method and device for transmitting protocol message through message protocol data unit tunnel |
CN103095545A (en) * | 2013-01-04 | 2013-05-08 | 杭州华三通信技术有限公司 | Message transmitting method and switching device based on bridge protocol data unit tunnel |
CN101227409B (en) * | 2008-02-03 | 2014-05-07 | 华为技术有限公司 | System, equipment and method for forwarding message |
CN104270297A (en) * | 2014-09-26 | 2015-01-07 | 杭州华三通信技术有限公司 | Message transmitting method and device |
WO2021073622A1 (en) * | 2019-10-18 | 2021-04-22 | Algoblu Holdings Limited | Routing control in external autonomous system by using customer-specific tunnel |
-
2005
- 2005-09-05 CN CN200510098758.4A patent/CN1863148A/en active Pending
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222437B (en) * | 2008-01-25 | 2011-06-15 | 杭州华三通信技术有限公司 | Method and system for transparent transmission of BPDU packet in two-layer switching network |
CN101227409B (en) * | 2008-02-03 | 2014-05-07 | 华为技术有限公司 | System, equipment and method for forwarding message |
CN102299862A (en) * | 2011-09-22 | 2011-12-28 | 北京傲天动联技术有限公司 | Quick forwarding equipment and method for two-layer tunnel |
CN102299862B (en) * | 2011-09-22 | 2014-12-17 | 北京傲天动联技术股份有限公司 | Quick forwarding equipment and method for two-layer tunnel |
CN103001847A (en) * | 2012-12-07 | 2013-03-27 | 杭州华三通信技术有限公司 | Method and device for transmitting protocol message through message protocol data unit tunnel |
CN103001847B (en) * | 2012-12-07 | 2015-07-22 | 杭州华三通信技术有限公司 | Method and device for transmitting protocol message through message protocol data unit tunnel |
CN103095545A (en) * | 2013-01-04 | 2013-05-08 | 杭州华三通信技术有限公司 | Message transmitting method and switching device based on bridge protocol data unit tunnel |
CN103095545B (en) * | 2013-01-04 | 2015-11-25 | 杭州华三通信技术有限公司 | A kind of message forwarding method based on bridge protocol data unit tunnel and switching equipment |
CN104270297A (en) * | 2014-09-26 | 2015-01-07 | 杭州华三通信技术有限公司 | Message transmitting method and device |
CN104270297B (en) * | 2014-09-26 | 2017-08-11 | 新华三技术有限公司 | Message forwarding method and equipment |
WO2021073622A1 (en) * | 2019-10-18 | 2021-04-22 | Algoblu Holdings Limited | Routing control in external autonomous system by using customer-specific tunnel |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101296186B (en) | Routing switching device, method and switching cable fastener plate | |
CN1866923A (en) | Method and system for realizing binding interface edge-to-edge pseudo wire simulation service | |
CN1863147A (en) | Method for implementing multicast data stream retransmission in virtual special LAN service | |
CN1863069A (en) | Method for implementing fast switching of virtual special LAN service | |
CN101043386A (en) | Method for notifying pseudo-lines fault based on bidirectional transmission detecting protocol | |
CN1806419A (en) | Embedded management channel for SONET path terminating equipment connectivity | |
CN1913523A (en) | Method for implementing layer level virtual private exchange service | |
CN1716904A (en) | Group broadcast realizing method based on multiple service transmission platform | |
CN1691629A (en) | Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network | |
CN1838627A (en) | A Method for Realizing QinQ Access | |
CN1921441A (en) | Method and device for message transfer of virtual private local area network | |
CN101043387A (en) | Remote mirror-image realization process, remote monitoring aids and system for realizing remote mirror-image | |
CN1297105C (en) | Method for implementing multirole main machine based on virtual local network | |
CN1866835A (en) | Method for data transmission in network | |
CN101222437A (en) | Method and system for transparently transmitting BPDU messages in a two-layer switching network | |
CN1184781C (en) | Packaging retransmission method of message in network communication | |
CN1863148A (en) | Method for implementing interaction BPDU message between VLAN apparatus through two layer tunnel network | |
CN1832443A (en) | A Method to Simplify VPN Network Deployment | |
CN1863129A (en) | System based on two layer VPN foreign medium communication and method thereof | |
CN101030915A (en) | Method for sharing V-Switch transparent-transferring data load | |
CN101043392A (en) | Apparatus and base station equipment for transmitting IP packet in WiMAX network | |
CN1897596A (en) | Method and system for controlling access address by virtual medium in Ethernet | |
CN1455560A (en) | Method of intercommunication of multi-protocol label exchange virtual special network | |
CN1863141A (en) | Method for transmission processing IP fragment message | |
CN1866920A (en) | Service quality managing method based on VLAN stack |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |