CN102833157A - Method and device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service) - Google Patents

Method and device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service) Download PDF

Info

Publication number
CN102833157A
CN102833157A CN2012102846523A CN201210284652A CN102833157A CN 102833157 A CN102833157 A CN 102833157A CN 2012102846523 A CN2012102846523 A CN 2012102846523A CN 201210284652 A CN201210284652 A CN 201210284652A CN 102833157 A CN102833157 A CN 102833157A
Authority
CN
China
Prior art keywords
router
access control
message
medium access
vpls
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
CN2012102846523A
Other languages
Chinese (zh)
Other versions
CN102833157B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210284652.3A priority Critical patent/CN102833157B/en
Publication of CN102833157A publication Critical patent/CN102833157A/en
Application granted granted Critical
Publication of CN102833157B publication Critical patent/CN102833157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

An embodiment of the invention provides a method and a device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service). A media access control withdrawal message sent by a router includes router identification TLV (type-length-value) information, and when the router include router identification TLV information includes an identification of the local router, the media access control withdrawal message is abandoned. The method and the device for eliminating media access control withdrawal message concussion in VPLS solves the problem of media access control withdrawal message concussion in a VPLS network, so that system loss of the router is reduced and performances of a whole H-VPLS (hierarchy of VPLS) nuclear network can be improved.

Description

Eliminate method and the device that the message concussion is cancelled in medium access control among the VPLS
Technical field
The invention belongs to field of computer technology, relate in particular to and eliminate the method and apparatus that the message concussion is cancelled in medium access control among a kind of VPLS.
Background technology
Along with Layer 2 virtual private network (Layer 2 Virtual Private Networks; L2VPN) development of technology; VPLS (Virtual Private LAN Service, VPLS) technology in present each macroreticular, use more and more, and under the increasing situation of VPLS network; Hierarchical vp LS (Hierarchy of VPLS, H-VPLS) use and obtained large-scale application by technology.
Though the pseudo-line of H-VPLS has solved the problem that the VPLS traffic level is cut apart, and still loop possibly occur.Present existing spanning tree algorithm (Spanning Tree Protocol based on VPLS; STP) can be used for solving the loop problem of flow, yet the control aspect can produce medium access control and cancel (mac-withdraw) message in the VPLS network; Virtual switch instance (Virtual Switch Instance is depended in the transmission of this message; VSI) control of PW in can't be blocked to prevent the generation of loops through STP, makes medium access control cancel the message transmission that in loop, circulates; Thereby produced the concussion that message is cancelled in medium access control; Improve the system loss of router, reduced the performance of router, and then had influence on the performance of whole VPLS core network.
Summary of the invention
The purpose of the embodiment of the invention is to provide eliminates the method and apparatus that the message concussion is cancelled in medium access control among a kind of VPLS; Be intended to solve because prior art can't provide a kind of effective mac-withdraw message concussion removing method, cause producing the problem of mac-withdraw message concussion.
The embodiment of the invention is achieved in that eliminates the method that the message concussion is cancelled in medium access control among a kind of VPLS, comprising:
Message is cancelled in the medium access control that receives the transmission of first router, and this medium access control is cancelled message and comprised Router Distinguisher TLV information;
When comprising the sign of local router in the said Router Distinguisher TLV information, abandon this medium access control and cancel message.
Another purpose of the embodiment of the invention is to provide eliminates the device that the message concussion is cancelled in medium access control among a kind of VPLS, said device comprises:
The message sink unit is used to receive the medium access control that first router sends and cancels message, and said medium access control is cancelled message and comprised Router Distinguisher TLV information;
The message discarding unit is used for when Router Distinguisher TLV information comprises the sign of local router, abandoning this medium access control and cancelling message.
The embodiment of the invention is cancelled message through the medium access control that receives first router and send over; The type lengths values TLV information that message comprises preset form is cancelled in said medium access control; When comprising the sign of local router in the type lengths values TLV information; Abandon medium access control and cancel message, solved the access control of prior art medium and cancelled the message transmission that in loop, circulates, the problem that the message concussion is cancelled in medium access control takes place.The embodiment of the invention can reduce the system loss of router, improves the performance of router, and then improves the performance of whole H-VPLS core network.
Description of drawings
Fig. 1 is the VPLS schematic network structure that the embodiment of the invention provides;
Fig. 2 eliminates the realization flow figure that the method for message concussion is cancelled in medium access control among the VPLS that provides of the embodiment of the invention one;
Fig. 3 eliminates the structure chart that the device of message concussion is cancelled in medium access control among the VPLS that provides of the embodiment of the invention two.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Below in conjunction with specific embodiment concrete realization of the present invention is described in detail:
Embodiment one:
Fig. 2 shows and eliminates the realization flow that the method for message concussion is cancelled in medium access control among the VPLS that the embodiment of the invention one provides.Eliminate medium access control among the VPLS that Fig. 1 provides for the embodiment of the invention and cancel an instance of the applied network topology of method of message concussion.Wherein, this network comprises provider edge equipment PE (Provider Edge) and customer edge CE (Customer Edge).Wherein, PE can be divided into user side Provider Edge PE (User-end Provider Edge; UPE), network core layer edge (Network Provider Edge, NPE) and Superstratum Provider Edge devices SPE (Superstratum Provider Edge).With Fig. 1 is example, and details are as follows to this method:
Message is cancelled in the medium access control that S101, reception first router send, and this medium access control is cancelled message and comprised Router Distinguisher TLV information.
For instance, first router can be any among the UPE1 among Fig. 1, UPE2, SPE1, the SPE2.When the AC of first router (Attachment Circuit, place in circuit) interface breaks down, first router can the transmitting medium access control be cancelled (mac-withdraw) message, announces other PE and removes MAC (medium access control) address.In embodiments of the present invention, cancelling in the message in this access control additionally has a type lengths values TLV (Type-Length-Value) information, is used to write down transmitted the provider edge equipment PE that message is cancelled in this access control.
Said Router Distinguisher TLV information comprises the sign of transmitting the router that said medium access control cancels message and in order to the pseudo-line type of the pseudo-line of transmitting the router that said medium access control cancels message.For instance, Router Distinguisher TLV (PE-ID TLV) can comprise the data of 2 byte representation type lengths values TLV information types, the data of 2 byte representation type lengths values TLV message lengths and the type lengths values TLV information content data of one or more 5 bytes.The type lengths values TLV information content data of 5 bytes for example comprise the Router Distinguisher of 4 bytes and the pseudo-line type of 1 byte.Wherein, Pseudo-line type is pseudo-line of receiving terminal or the pseudo-line of transmitting terminal in order to expression; For example, can use the pseudo-line type of the pseudo-line receiving terminal of the 0th bit representation, the pseudo-line type of the 1st bit representation transmitting terminal; Pseudo-line type comprises management-side (hub) PW, inserts side (spoke) PW, wherein can represent hub PW, spoke PW type respectively with 0,1.More than be merely example, this not in order to the restriction the present invention.
S102, when comprising the sign of local router in the said Router Distinguisher TLV information, abandon this medium access control and cancel message.
For instance; In embodiments of the present invention, for example UPE1 has sent medium access control as first router and has cancelled message, when SPE1 (being local router) receives medium access control that UPE1 sends over when cancelling message; Detect this medium access control and cancel the sign that whether comprises this SPE1 self in the message in the Router Distinguisher TLV information; When the sign that comprises this SPE1 self in the type lengths values TLV message (being the sign of local router), represent that then SPE1 had received this medium access control and cancelled message, promptly formed loop; Then this SPE abandons this medium access control and cancels message, with the generation of blocking-up loop.
Eliminate method that medium access control cancels the message concussion among the VPLS that the embodiment of the invention provides and cancel message through the medium access control that receives first router and send over; The type lengths values TLV information that message comprises preset form is cancelled in said medium access control; When comprising the sign of local router in the type lengths values TLV information; Abandon medium access control and cancel message; Solved the access control of prior art medium and cancelled the message transmission that in loop, circulates, the problem that the message concussion is cancelled in medium access control has taken place.The embodiment of the invention can reduce the system loss of router, improves the performance of router, and then improves the performance of whole H-VPLS core network.
Further, eliminating medium access control among the VPLS that provides of the embodiment of the invention one cancels the method for message concussion and can also comprise:
S103, when not comprising the sign of local router in the said Router Distinguisher type lengths values TLV information; Cancel the sign of adding local router in the Router Distinguisher TLV information of message in said medium access control, and the medium access control of the sign of having added local router is cancelled forwards to the secondary route device that is connected with local router.
In embodiments of the present invention; When in Router Distinguisher TLV information, not detecting the sign of local router; In Router Distinguisher TLV information, add the sign of local router; And forwards is cancelled in the medium access control of the sign of having added local router arrived the secondary route device that is connected with local router, this secondary route device can be SPE or NPE, is whether to have loop in the VPLS network thereby make the secondary route device can continue to judge.
The embodiment of the invention is cancelled message through the medium access control that receives first router and send over; The type lengths values TLV information that message comprises preset form is cancelled in said medium access control; When comprising the sign of local router in the type lengths values TLV information; Abandon medium access control and cancel message, solved the access control of prior art medium and cancelled the message transmission that in loop, circulates, the problem that the message concussion is cancelled in medium access control takes place.The embodiment of the invention can reduce the system loss of router, improves the performance of router, and then improves the performance of whole H-VPLS core network.
Further, cancel the router of mac-withdraw message, can also confirm the PW planning information in the network according to the Router Distinguisher that comprises in the mac-withdraw message for receiving medium access control.For example, NPE2 receives UPE2 and cancels message through 4 medium access control that many PW send over, and it is following that the Router Distinguisher TLV information content that comprises in the message is cancelled in these medium access control:
TLV1:
2.2.2.2(00)-3.3.3.3(11)
TLV2:
2.2.2.2(01)-4.4.4.4(11)
TLV3:
2.2.2.2(00)-3.3.3.3(11)-4.4.4.4(11)
TLV4:
2.2.2.2(01)-4.4.4.4(11)-3.3.3.3(11)
Wherein, 2.2.2.2,3.3.3.3 and 4.4.4.4 be respectively the Router Distinguisher of UPE2, SPE1 and SPE2; Thereafter 2 bit digital in first bracket are represented the PW type of PW receiving terminal and transmitting terminal respectively, and here 0 representes hub PW, 1 expression spoke PW.Can draw from above TLV information; UPE2 has 4 paths to NPE2; 2.2.2.2 dual homed has arrived 3.3.3.3 and two PE of 4.4.4.4; 3.3.3.3 and also disposed PW between the 4.4.4.4, and 3.3.3.3 all is deployed as spoke PW to the PW of 2.2.2.2,4.4.4.4,6.6.6.6 (NPE2), 2.2.2.2 also is deployed as spoke PW to the PW of 4.4.4.4.Can also confirm to exist between 2.2.2.2,3.3.3.3, the 4.4.4.4 possibility of loop from foregoing.Alternatively, when having loop in definite VPLS network, can also export corresponding information, have the possible information of loop to inform the user,
In embodiments of the present invention; The Router Distinguisher that comprises in the Router Distinguisher TLV information in the mac-withdraw message is cancelled in the medium access control that utilizes router to receive; Can confirm the PW planning information in the network further; And can confirm whether there is loop between the router, for the maintenance and the fault location of network provides effective information.
Embodiment two:
Fig. 3 shows and eliminates the structure that the device of message concussion is cancelled in medium access control among the VPLS that the embodiment of the invention two provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention, comprising:
Message sink unit 31 is used to receive the medium access control that first router sends and cancels message, and said medium access control is cancelled message and comprised Router Distinguisher TLV information.
Message discarding unit 32 is used for when Router Distinguisher TLV information comprises the sign of local router, abandoning this medium access control and cancelling message.
Eliminate device that medium access control cancels the message concussion among the VPLS that the embodiment of the invention provides and cancel message through the medium access control that receives first router and send over; The type lengths values TLV information that message comprises preset form is cancelled in said medium access control; When comprising the sign of local router in the type lengths values TLV information; Abandon medium access control and cancel message; Solved the access control of prior art medium and cancelled the message transmission that in loop, circulates, the problem that the message concussion is cancelled in medium access control has taken place.The embodiment of the invention can reduce the system loss of router, improves the performance of router, and then improves the performance of whole H-VPLS core network.
Further, eliminating medium access control among the VPLS that provides of the embodiment of the invention cancels the device of message concussion and can also comprise:
Dispatch Unit 33; Be used for when when Router Distinguisher type lengths values TLV information does not comprise the sign of local router; Cancel the sign of adding local router in the Router Distinguisher TLV information of message in said medium access control, and the medium access control of the sign of having added local router is cancelled forwards to the secondary route device that is connected with local router.
In embodiments of the present invention; When in Router Distinguisher TLV information, not detecting the sign of local router; In Router Distinguisher TLV information, add the sign of local router; And forwards is cancelled in the medium access control of the sign of having added local router arrived the secondary route device that is connected with local router, this secondary route device can be SPE or NPE, is whether to have loop in the VPLS network thereby make the secondary route device can continue to judge.
Alternatively, eliminate medium access control among the VPLS that the embodiment of the invention provides and cancel the device of message concussion and can also comprise that loop confirms the unit, be used for confirming whether there is loop in the VPLS network according to the router TLV information that receives.
Alternatively; Eliminating medium access control among the VPLS that the embodiment of the invention provides cancels the device of message concussion and can also comprise the prompting output unit; Be used for when there is loop in definite VPLS network, exporting corresponding information, have the possible information of loop with the prompting user.
In embodiments of the present invention, eliminating medium access control among the VPLS, to cancel among the performed step of each part of device of message concussion and the embodiment one each step corresponding, repeats no more at this.
Eliminate the device that the message concussion is cancelled in medium access control among the VPLS that the embodiment of the invention two provides; The Router Distinguisher that comprises in the Router Distinguisher TLV information in the mac-withdraw message is cancelled in the medium access control that utilizes router to receive; Can confirm the PW planning information in the network further; And can confirm whether there is loop between the router, for the maintenance and the fault location of network provides effective information.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer read/write memory medium; Described storage medium is like ROM/RAM, disk, CD etc.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. eliminate the method that the message concussion is cancelled in medium access control among a VPLS, it is characterized in that said method comprises the steps:
Message is cancelled in the medium access control that receives the transmission of first router, and this medium access control is cancelled message and comprised Router Distinguisher TLV information;
When comprising the sign of local router in the said Router Distinguisher TLV information, abandon this medium access control and cancel message.
2. the method for claim 1 is characterized in that, said method further comprises:
When not comprising the sign of local router in the said Router Distinguisher type lengths values TLV information; Cancel the sign of adding local router in the Router Distinguisher TLV information of message in said medium access control, and the medium access control of the sign of having added local router is cancelled forwards to the secondary route device that is connected with local router.
3. according to claim 1 or claim 2 method; It is characterized in that said Router Distinguisher TLV information comprises the sign of transmitting the router that said medium access control cancels message and in order to the pseudo-line type of the pseudo-line of transmitting the router that said medium access control cancels message.
4. like any described method of claim 1 to 3, it is characterized in that said method further comprises:
According to the Router Distinguisher TLV information that receives, confirm whether there is loop in the VPLS network.
5. method as claimed in claim 4 is characterized in that, said method further comprises:
When having loop in definite VPLS VPLS network, export corresponding information prompting user and have loop.
6. eliminate the device that the message concussion is cancelled in medium access control among a VPLS, it is characterized in that said device comprises:
The message sink unit is used to receive the medium access control that first router sends and cancels message, and said medium access control is cancelled message and comprised Router Distinguisher TLV information;
The message discarding unit is used for when Router Distinguisher TLV information comprises the sign of local router, abandoning this medium access control and cancelling message.
7. device as claimed in claim 6 is characterized in that, said device further comprises:
Dispatch Unit; Be used for when when Router Distinguisher type lengths values TLV information does not comprise the sign of local router; Cancel the sign of adding local router in the Router Distinguisher TLV information of message in said medium access control, and the medium access control of the sign of having added local router is cancelled forwards to the secondary route device that is connected with local router.
8. like claim 6 or 7 described devices; It is characterized in that said Router Distinguisher TLV information comprises the sign of transmitting the router that said medium access control cancels message and in order to the pseudo-line type of the pseudo-line of transmitting the router that said medium access control cancels message.
9. like any described device of claim 6 to 8, it is characterized in that said device further comprises:
Loop is confirmed the unit, is used for confirming whether there is loop in the VPLS VPLS network according to the router TLV information that receives.
10. device as claimed in claim 9 is characterized in that, said device further comprises:
The prompting output unit is used for when there is loop in definite VPLS network, exports corresponding information and has loop with the prompting user.
CN201210284652.3A 2012-08-10 2012-08-10 Method and device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service) Active CN102833157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210284652.3A CN102833157B (en) 2012-08-10 2012-08-10 Method and device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210284652.3A CN102833157B (en) 2012-08-10 2012-08-10 Method and device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service)

Publications (2)

Publication Number Publication Date
CN102833157A true CN102833157A (en) 2012-12-19
CN102833157B CN102833157B (en) 2015-07-08

Family

ID=47336130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210284652.3A Active CN102833157B (en) 2012-08-10 2012-08-10 Method and device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service)

Country Status (1)

Country Link
CN (1) CN102833157B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017152585A1 (en) * 2016-03-10 2017-09-14 中兴通讯股份有限公司 Method and device for message exchange between routers
CN112804141A (en) * 2018-09-06 2021-05-14 华为技术有限公司 Method for sending message, network equipment and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090109869A1 (en) * 2007-09-19 2009-04-30 Hsiao Man-Tung T Circuit bundle for resiliency/protection of circuits
CN101562552A (en) * 2009-05-27 2009-10-21 华为技术有限公司 Method, system and device for detecting virtual private LAN loop
CN102025646A (en) * 2011-01-05 2011-04-20 杭州华三通信技术有限公司 Link switching method and device thereof
CN102088415A (en) * 2011-03-14 2011-06-08 杭州华三通信技术有限公司 Method and device for MAC (media access control) address withdrawal
CN102143004A (en) * 2011-04-06 2011-08-03 华为数字技术有限公司 Link protection method and network equipment
CN102546855A (en) * 2011-11-28 2012-07-04 中兴通讯股份有限公司 MAC (Media Access Control) address withdrawing method in VPLS (Virtual Private Local Area Network Service) network and PE (Provider Edge) equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090109869A1 (en) * 2007-09-19 2009-04-30 Hsiao Man-Tung T Circuit bundle for resiliency/protection of circuits
CN101562552A (en) * 2009-05-27 2009-10-21 华为技术有限公司 Method, system and device for detecting virtual private LAN loop
CN102025646A (en) * 2011-01-05 2011-04-20 杭州华三通信技术有限公司 Link switching method and device thereof
CN102088415A (en) * 2011-03-14 2011-06-08 杭州华三通信技术有限公司 Method and device for MAC (media access control) address withdrawal
CN102143004A (en) * 2011-04-06 2011-08-03 华为数字技术有限公司 Link protection method and network equipment
CN102546855A (en) * 2011-11-28 2012-07-04 中兴通讯股份有限公司 MAC (Media Access Control) address withdrawing method in VPLS (Virtual Private Local Area Network Service) network and PE (Provider Edge) equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017152585A1 (en) * 2016-03-10 2017-09-14 中兴通讯股份有限公司 Method and device for message exchange between routers
CN107181689A (en) * 2016-03-10 2017-09-19 中兴通讯股份有限公司 Method for message interaction and device between router
CN107181689B (en) * 2016-03-10 2021-09-14 中兴通讯股份有限公司 Message interaction method and device between routers
CN112804141A (en) * 2018-09-06 2021-05-14 华为技术有限公司 Method for sending message, network equipment and computer storage medium
CN112804141B (en) * 2018-09-06 2023-09-26 华为技术有限公司 Method for transmitting message, network equipment and computer storage medium

Also Published As

Publication number Publication date
CN102833157B (en) 2015-07-08

Similar Documents

Publication Publication Date Title
JP4034782B2 (en) Ring connection device and data transfer control method
EP2256995B1 (en) Loop detection method, system, and device in virtual private local area network
US20140086099A1 (en) Realization method and system for enabling LLDP function on non-ethernet link
CN101286922B (en) Signalling control method, system and apparatus
JP2008131395A (en) Rpr network system, rpr node device, its redundant method, program and record medium
CN102325037A (en) Method and system for switching pseudo-wire dual-homing network and dual-homing operator equipment
CN104270231B (en) A kind of system and method for realizing binode interconnection pseudo-wire
CN102239670B (en) A kind of load sharing method and device
CN103067278B (en) A kind of method for transmission processing of Frame, equipment and system
CN103457820B (en) The implementation method and device of hierarchical virtual private local area network service
CN101453413A (en) Method and apparatus for automatic topology discovery and resource management in PBB network
CN103001865B (en) The method and apparatus released news in a kind of LSP fragment message
CN102143060B (en) Method and device for building primary pseudowire and spare pseudowire
CN102833157B (en) Method and device for eliminating media access control withdrawal message concussion in VPLS (virtual private LAN service)
CN100502400C (en) Double-attach/multi-attach logical packet network method and supplier equipment
CN103780420A (en) Automatic configuration method and system of Ethernet connectivity detection in VPLS environment
CN101453412A (en) Method and apparatus for automatic topology discovery and resource management in PBB network
CN102857362A (en) Fault processing method, device and system
CN102611577A (en) LDP (Label Distribution Protocol) conversation-based method, device and system for protecting PWs (Pseudo Wires)
CN109698781B (en) Management method of message forwarding path and PE (provider edge) equipment
CN103248548B (en) The method and node of the E-tree business based on VPLS of realization
CN102549990B (en) Method and device for generating forwarding table term of virtual private network
WO2019128819A1 (en) Method and device for acquiring cross-domain link
CN102801618B (en) A kind of method and device determining three layer data paths in ethernet ring network
CN102014034B (en) Layering virtual network based on tree virtual local area network (VLAN) and configuration method thereof

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