CN103248536B - A kind of virtual link PW detection methods and equipment - Google Patents

A kind of virtual link PW detection methods and equipment Download PDF

Info

Publication number
CN103248536B
CN103248536B CN201310156095.1A CN201310156095A CN103248536B CN 103248536 B CN103248536 B CN 103248536B CN 201310156095 A CN201310156095 A CN 201310156095A CN 103248536 B CN103248536 B CN 103248536B
Authority
CN
China
Prior art keywords
detection
beb equipment
beb
detection messages
messages
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.)
Active
Application number
CN201310156095.1A
Other languages
Chinese (zh)
Other versions
CN103248536A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201310156095.1A priority Critical patent/CN103248536B/en
Publication of CN103248536A publication Critical patent/CN103248536A/en
Application granted granted Critical
Publication of CN103248536B publication Critical patent/CN103248536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of virtual link PW detection methods, applied in SPB network, including:The BEB equipment sends detection messages according to the default cycle to the opposite end for having established PW links, and when the BEB equipment fails to receive any detection messages that opposite end is sent by the PW, it is abnormal that the BEB equipment judges that the PW occurs.Each PW accessibility and communication quality in SPB network are detected, avoids and situation normal and that data forwarding paths are abnormal is connected in agreement, so as to accelerate the convergence rate of PW in SPB network, reduce the loss of customer flow.The present invention also discloses a kind of PW detection devices.

Description

A kind of virtual link PW detection methods and equipment
Technical field
The present invention relates to communication technical field, more particularly to a kind of PW(Pseudo Wire, virtual link)Detection method.This Invention also relates to a kind of PW detection devices.
Background technology
SPB(Shortest Path Bridge, shortest path bridging)It is IEEE(Institute of Electrical And Electronics Engineers, American Institute of Electrical and Electronics Engineers)The ethernet standard that 802.1aq is defined it One, it is Spanning-Tree Protocol MSTP(Multi-Service Transfer Platform, multi-service transport platform)Further prolong Stretch, it is intended to build the clog-free double layer network of large flat, typically use SPB-ISIS at present(Intermediate system To intermediate system, Intermediate System-to-Intermediate System)To share the Link State in network, each node of network Shortest path between each node of parallel computation.
Prior art is by ISIS agreements in two BEB(Backbone Edge Bridge, backbone edges bridge)It Between create PW forward tables, PW is the virtual connections between two BEB equipment point-to-points, and the connection can carry all end-to-end use The service traffics at family.Virtual connections between BEB are established based on ISIS, when this BEB equipment and other other BEB equipment On when identical SPB examples be present, you can create the PW between this BEB and opposite end BEB.Each BEB equipment is in time by itself simultaneously The status informations of VSI examples be published to by ISIS in network, each receive the BEB renewal of the equipment source of the ISIS message packets BEB VSI(Virtual Switch Interface, virtual switch interface)Example information, the information is then published to it His BEB equipment, afterwards all devices in network all have updated the VSI example informations in the BEB equipment of source.
In the SPB network structural representation shown in Fig. 1, when the example VSI1 states in the BEB1 equipment of source are changed into Down (That is abnormal condition), BEB1 in time can be issued into SPB domains VSI1 status information by ISIS, and all devices are all on the way Source BEB1 VSI1 status informations can be preserved and spread the information to the equipment in addition to source port, all BEB/ in network BCB equipment finally can all preserve source BEB1 VSI1 status informations, and now the VSI1 status informations in source BEB1 equipment are Down, Establish SPB PW all devices with source BEB1 before and can all delete PW between BEB1.
At present, the PW between BEB equipment is that VSI examples spread between being based on BEB equipment.As long as opposite end BEB equipment is issued Carry VSI full message in L2ISIS message out, and local there is also VSI, PW to be created.However, due to The diffusion of L2ISIS message is single-hop, carries the protocol massages of VSI full messages after source BEB is sent, is set by adjacent Issued again for reporting to after respective CPU, the diffusion of whole network is completed with this.Therefore, the BEB in SPB network is set In the case that the standby oneself state according only to other BEB equipment judges whether the PW that generation is attached thereto, any two BEB equipment Between PW it is actual whether up to can not then confirm.
The content of the invention
The present invention provides a kind of virtual link PW detection methods, and one or more envelopes are sent using the PW between each BEB equipment Detection messages after dress, each PW accessibility and communication quality in SPB network are detected, avoid and connected normally in agreement And the situation that data forwarding paths are abnormal, so as to accelerate the convergence rate of PW in SPB network, reduce the loss of customer flow.
To solve above technical problem, the present invention proposes a kind of PW detection methods, applied to shortest path bridging SPB nets Backbone edges bridge BEB equipment in network, including:
The BEB equipment sends detection messages according to the default cycle to the opposite end for having established PW links;
When the BEB equipment fails to receive any detection messages that opposite end is sent by the PW, the BEB equipment It is abnormal to judge that the PW occurs.
Specifically, it is described when the BEB equipment fails to receive any detection messages that opposite end is sent by the PW It is abnormal that BEB equipment judges that the PW occurs, and is specially:
When the BEB equipment sends detection messages by the PW, the BEB equipment was judged within the last transmission cycle Whether detection messages are also received by the PW;
If so, then frequency of abnormity corresponding to the PW is reset or subtracts 1 by the BEB equipment;
If it is not, then frequency of abnormity corresponding to the PW is added 1 by the BEB equipment;
When frequency of abnormity corresponding to the PW exceedes frequency of abnormity threshold value, it is different that the BEB equipment judges that the PW occurs Often.
Specifically, it is described when the BEB equipment fails to receive any detection messages that opposite end is sent by the PW It is abnormal that BEB equipment judges that the PW occurs, and is specially:
If the BEB equipment fails to receive any detection messages by the PW in default time threshold, described It is abnormal that BEB equipment judges that the PW occurs;
Wherein, the default time threshold is more than the cycle.
Specifically, when the BEB equipment receives multiple detection reports of opposite end transmission within the cycle by the PW Wen Shi, in addition to:
The quantity for multiple detection messages that the BEB equipment receives according to, and lead within the cycle The quantity for the detection messages that the PW is sent is crossed, determines the packet loss of the PW;
Or, the quantity of multiple detection messages that the BEB equipment receives according to, and taken in the detection messages The quantity information of band, determine the packet loss of the PW;
Wherein, the quantity information is the quantity for the detection messages that the opposite end is sent altogether within the cycle.
Specifically, after the BEB equipment judges that exception occurs in the PW, in addition to:
The BEB equipment sends unexpected message message by the PW to opposite end, so that the PW is deleted simultaneously in the opposite end Start and rebuild flow;
The BEB equipment deletes the PW and starts reconstruction flow.
On the other hand, the invention also provides a kind of BEB equipment, it is applied to shortest path as virtual link PW detection devices Bridge in SPB network, including receiving module, in addition to:
Sending module, for sending detection messages to the opposite end for having established PW links according to the default cycle;
Detection module, for failing to receive any detection messages of opposite end transmission by the PW when the receiving module When to judge that the PW occurs abnormal.
Specifically, the detection module, is specifically used for:
When the BEB equipment sends detection messages by the sending module, the detection module was judged in last hair Send in the cycle and whether detection messages are also received by the PW;
If so, then frequency of abnormity corresponding to the PW is reset or subtracts 1 by the detection module;
If it is not, then frequency of abnormity corresponding to the PW is added 1 by the detection module;
When frequency of abnormity corresponding to the PW exceedes frequency of abnormity threshold value, it is different that the detection module judges that the PW occurs Often.
Specifically, the detection module, is specifically used for:
If the receiving module fails to receive any detection messages by the PW in default time threshold, described It is abnormal that detection module judges that the PW occurs;
Wherein, the default time threshold is more than the cycle.
Specifically, when the receiving module receives multiple detection reports of opposite end transmission within the cycle by the PW Wen Shi, the detection module, is additionally operable to:
According to the quantity of the multiple detection messages received, and sent certainly within the cycle by the PW Detection messages quantity, determine the packet loss of the PW;
Or, the quantity of multiple detection messages that the detection module receives according to, and in the detection messages The quantity information of carrying, determine the packet loss of the PW;
Wherein, the quantity information is the quantity for the detection messages that the opposite end is sent altogether within the cycle.
Specifically, the detection module, it is additionally operable to notify the sending module to lead to after judging that the PW appearance is abnormal Cross the PW and send unexpected message message to opposite end, so that the opposite end deletes the PW and starts reconstruction flow, described in deletion PW simultaneously starts reconstruction flow.
Compared with prior art, technical scheme has advantages below:
By applying above technical scheme, the detection after one or more encapsulation is sent using the PW between each BEB equipment Message, each PW accessibility and communication quality in SPB network are detected, avoid and connected normally and data forwarding in agreement The situation of path dependent options, so as to accelerate the convergence rate of PW in SPB network, reduce the loss of customer flow.
Brief description of the drawings
Fig. 1 is SPB network structural representation of the prior art;
Fig. 2 is a kind of schematic flow sheet of PW detection methods proposed by the present invention;
Fig. 3 is a kind of schematic flow sheet for PW detection methods that the specific embodiment of the invention proposes;
Fig. 4 is the form schematic diagram of PW HELLO messages in the specific embodiment of the invention;
Fig. 5 is the flow signal that a kind of packet loss for each PW that the specific embodiment of the invention proposes carries out detection method Figure;
Fig. 6 is the form schematic diagram of PW CHECK messages in the specific embodiment of the invention;
A kind of Fig. 7 structural representations of PW detection devices proposed by the present invention.
Embodiment
As stated in the Background Art, due to lacking the detection scheme to the PW data forwarding paths in SPB network, thus it is existing Technical scheme effectively the PW in SPB network can not be restrained, cause the loss of customer flow.
In view of the above-mentioned problems, the core concept of the present invention is:PW connections are established between BEB equipment in SPB network Afterwards, detection messages are mutually sent with making each BEB device periodically, the both ends BEB equipment of PW connections is perceived by detection messages The connectedness of connection.Detection messages are to encapsulate MAC(Media Access Control, medium access control in MAC tunnel Unicast message, source is source BEB equipment, and source MAC is the MAC of transmitting terminal, and destination be purpose BEB equipment, and purpose MAC is company The MAC Address of opposite equip. is connect, message performs common two layers of forwarding in middle BCB equipment, between the message and BEB equipment Data message forwarding path is completely the same, can check the accessibility in data message forwarding path in real time.
Correspondingly, the embodiments of the invention provide a kind of PW detection methods, as described in Figure 2, this method is applied to SPB network In, specifically include following steps:
S201, BEB equipment send detection messages according to the default cycle to the opposite end for having established PW links.
In the step, the BEB equipment in SPB network starts the transmission of detection messages after PW establishments.Wherein send out every time The interval sent can flexibly select according to actual conditions, and technical staff can enter according to the load of equipment and the requirement of accuracy of detection Row is rational to be set.It is pointed out that be not restricted for transmitted detection messages quantity in the step, both can be with single Single detection messages are sent, can also disposably send multiple measurement detection messages.Detection messages are sealed before sending Dress processing, so as to be forwarded in PW.Type of message, source BEB and purpose BEB are carried in all detection messages Address information so that message can be forwarded in normal PW and identified by BEB equipment.
S202, when BEB equipment fails to receive any detection messages that opposite end is sent by the PW, BEB equipment is sentenced The fixed PW occurs abnormal.
In previous step, due to all BEB equipment for having created PW all can by all PW of itself to other The timing of BEB equipment sends detection messages, therefore, when BEB equipment can be received by the detection messages for each PW being connected with itself Situation judges whether the PW occurs that forwarding is abnormal, and specifically, according to the difference of trigger condition, this step can be by following two Situation implements:
Method one:BEB equipment is that all PW being connected with itself are respectively provided with a counter, and passes through some PW in timing Send detection messages while, using it is front and rear twice send detection messages at the time of as a cycle(The i.e. default cycle), judge Whether any detection messages were also received by the PW within the cycle.
If receiving detection messages within the cycle, BEB equipment is by counter O reset corresponding to the PW or subtracts 1;
If not receiving any detection messages within the cycle, counter corresponding to the PW is added 1 by BEB equipment;
According to each PW counter, with reference to the technical scheme of current setting(Reset/subtract 1), technical staff can understand Ground understands each PW data forwarding situation, can be that each PW sets independent or unified threshold value, when certain on this basis When counts corresponding to one PW exceed threshold value, that is, it is abnormal to illustrate that the PW occurs.
Method two:BEB equipment is that all PW being connected with itself are respectively provided with a time threshold, when BEB equipment is in the time When failing to receive any detection messages by a certain PW in threshold value, you can it is abnormal to judge that the PW occurs.Wherein, the time threshold can Think that BEB equipment sends the multiple value in detection messages cycle, or other numerical value, meeting that being more than BEB equipment sends inspection Under conditions of observing and predicting the literary cycle, the difference of specific value has no effect on protection scope of the present invention.
S203, BEB equipment send unexpected message message by the PW to opposite end, so that opposite end is deleted the PW and started Rebuild flow;Delete the PW and start reconstruction flow.
Due to a variety of PW failure causes for causing BEB equipment in SPB network not receive detection messages be present, judge with After exception occurs in the PW of certain a pair of end, current BEB equipment can send a unexpected message message simultaneously by the PW to opposite end immediately The PW is deleted, then starts and rebuilds flow.If opposite equip. can receive the unexpected message message, the PW can be deleted immediately simultaneously Start corresponding reconstruction flow;If opposite equip. can not receive the unexpected message message, also due to not receiving current BEB The detection messages of equipment and detect PW failures, so as to carry out troubleshooting process.
S203 in above example is handling process of the BEB equipment under the PW abnormal conditions connected to itself, except this Outside, technical solution of the present invention also proposed measurement of the BEB equipment to PW packet loss in the case of judging that PW is reachable and grasps simultaneously Make, so as to more accurately grasp the state of each PW in current SPB network.Specifically, packet loss detection operation can be divided into Lower two kinds:
Method one:Each BEB equipment timing sends multiple detection reports of constant number by PW simultaneously in current SPB network Text, after receiving multiple detection messages simultaneously by a certain PW within the cycle, you can count the number of the detection messages of this reception Amount, and by it compared with the quantity for the detection messages that itself monocycle sends, so as to calculate the packet loss of the PW.
Method two:BEB equipment in current SPB network is when timing sends multiple detection messages simultaneously by PW, by this The total number information of the detection messages of secondary transmission is attached in the detection messages of transmission, so in other BEB equipment by a certain , can be according to the total quantity information carried in detection messages, and this time itself received when PW receives this detection messages The quantity of detection messages, calculate the packet loss of the PW.
In order to which the technological thought of the present invention is expanded on further, in conjunction with specific application scenarios, to the technical side of the present invention Case illustrates.
As shown in figure 3, a kind of schematic flow sheet of the PW detection methods proposed by the specific embodiment of the invention, including such as Lower step:
Step 301, BEB equipment sends PW HELLO messages to the opposite end BEB equipment for establishing PW therewith.
BEB equipment will spread local VSI example informations to SPB public networks in real time, while can also receive other BEB equipment hair All VSI example informations of cloth, after SPB PW are created between this BEB and opposite end BEB, periodically it can be set at SPB both ends PW HELLO messages are sent between standby to maintain PW states therebetween, wherein PW HELLO messages can pass through ISIS HELLO messages extend, and carry source BEB information, I-SID information, purpose BEB information etc..
Specifically, in PW HELLO message formats as shown in Figure 4, source BEB message identifications transmission PW HELLO reports The bridge MAC of the BEB equipment of text, I-SID identify the SPB instance numbers belonging to PW, and purpose BEB message identifications need to receive the report The bridge MAC of the BEB equipment of text.
Step 302, BEB equipment judges whether the PW HELLO messages that timing receipt is sent to opposite end BEB equipment, if so, Step 301 is then gone to, if it is not, then going to step 303.
In the SPB examples for enabling PW HELLO inspections, start to start PW HELLO messages after PW connections establishment Send, lower 5 seconds of implied terms is sent once, when the PW HELLO messages that can not receive opposite end continuous 3 times, that is, represents the PW It is abnormal to there is forwarding.
Step 303, abnormality processing is carried out.
After judging that exception occurs in PW, current BEB equipment can send a unexpected message simultaneously by the PW to opposite end immediately The PW is deleted, then starts and rebuilds flow.If opposite equip. can receive the unexpected message, it can immediately delete and be set with source BEB PW between standby is connected and is started reconstruction flow;If opposite equip. can not receive the unexpected message, also due to not receiving The detection messages of current BEB equipment and detect PW failures, so as to perform and the operation of source BEB identicals.
In the case of PW HELLO messages normally transmitting-receiving, the BEB equipment at PW both ends each safeguards that PW states are Normal, If PW states are then updated to Down by HELLO message abnormal receivings.
It is a kind of specific embodiment of PW detection methods proposed by the invention above, in addition, the present invention also proposes The specific embodiment detected for each PW packet loss, its flow as shown in figure 5, including:
Step 501, BEB equipment sends multiple PW CHECK messages to the opposite end BEB equipment for establishing PW therewith.
In the case where actually using scene, can periodically or it is intermittent progress packet loss number inspection, enable PW inspection Both ends BEB equipment send a number of PW CHECK messages in a detection cycle or in one-time detection operation.Than Disposable such as within the period of one second uniformly to send 10 messages, message amount can be specified with static configuration, be defaulted as 10 It is individual.Source BEB information, I-SID information, purpose BEB information, CHECK ID, message total, sequence of message are carried in each message Number, its specific form is as shown in Figure 6.
Wherein, BEB message identifications in source send the bridge MAC, I-SID of the BEB equipment of PW HELLO messages and identify PW institutes The SPB instance numbers of category, purpose BEB message identifications need bridge MAC, the CHECK ID for receiving the BEB equipment of the message to identify The command code of this CHECK detections, the command code of each CHECK operations is all different, and message total, which identifies, disposably to be sent CHECK messages total quantity, sequence of message number identify this message in the total messages of CHECK which.
Step 502, BEB equipment determines each PW packet loss according to multiple PW CHECK messages of reception.
PW CHECK messages are identical with the encapsulation of PW HELLO messages, and carry MACinMAC tunnel headers, two BEB The forward-path of CHECK messages between equipment is also identical with data message forwarding path therebetween.Pass through BEB sources one The sum for the PW CHECK messages that the sum for the PW CHECK messages that secondary property is sent and opposite end receive calculates packet loss, so as to The packet loss of PW links is provided, the packet loss of PW links can be effectively detected using long-term CHECK mode.
In order to realize above-mentioned technical scheme, as described in Figure 7, the invention also provides a kind of BEB equipment, as virtual link PW detection devices are applied in SPB network, including receiving module 71, in addition to:
Sending module 72, for sending detection messages to the opposite end for having established PW links according to the default cycle;
Detection module 73, for failing to receive any detection of opposite end transmission by the PW when the receiving module 71 It is abnormal to judge that the PW occurs during message.
Further, in specific application scenarios, the detection module 73, it is specifically used for:
When the BEB equipment sends detection messages by the sending module 72, the detection module 73 is judged upper Whether detection messages are also received by the PW in the individual transmission cycle;
If so, then frequency of abnormity corresponding to the PW is reset or subtracts 1 by the detection module 73;
If it is not, then frequency of abnormity corresponding to the PW is added 1 by the detection module 73;
When frequency of abnormity corresponding to the PW exceedes frequency of abnormity threshold value, the detection module 73 judges that the PW occurs It is abnormal.
Further, in specific application scenarios, the detection module 73, it is specifically used for:
If the receiving module 71 fails to receive any detection messages by the PW in default time threshold, It is abnormal that the detection module 73 judges that the PW occurs;
Wherein, the default time threshold is more than the cycle.
Further, in specific application scenarios, when the receiving module 71 is connect within the cycle by the PW When receiving multiple detection messages of opposite end transmission, the detection module 73, it is additionally operable to:
The detection module 73 is according to the quantity of the multiple detection messages received, and within the cycle By the quantity of the PW detection messages sent, the packet loss of the PW is determined;
Or, the detection module 73 is according to the quantity of the multiple detection messages received, and the detection messages The quantity information of middle carrying, determine the packet loss of the PW;
Wherein, the quantity information is the quantity for the detection messages that the opposite end is sent altogether within the cycle.
Further, in specific application scenarios, the detection module 73, it is additionally operable to judging that it is abnormal that the PW occurs The sending module 72 is notified to send unexpected message message to opposite end by the PW afterwards, so that the PW is deleted in the opposite end And start reconstruction flow, delete the PW and start reconstruction flow.
As can be seen here, by applying above technical scheme, one or more encapsulation are sent using the PW between each BEB equipment Detection messages afterwards, each PW accessibility and communication quality in SPB network are detected, avoid connected in agreement it is normal and The abnormal situation of data forwarding paths, so as to accelerate the convergence rate of PW in SPB network, reduces the loss of customer flow.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added by software to realize.Based on such understanding, this hair Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories Medium(Can be CD-ROM, USB flash disk, mobile hard disk etc.)In, including some instructions are causing a computer equipment(Can be Personal computer, server, or network equipment etc.)Perform the method described in each implement scene of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for being preferable to carry out scene, module in accompanying drawing or Flow is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into Row is distributed in the device of implement scene, can also carry out one or more dresses that respective change is disposed other than this implement scene In putting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
The invention described above sequence number is for illustration only, does not represent the quality of implement scene.
Disclosed above is only several specific implementation scenes of the present invention, and still, the present invention is not limited to this, Ren Heben What the technical staff in field can think change should all fall into protection scope of the present invention.

Claims (8)

1. a kind of virtual link PW detection methods, set applied to the backbone edges bridge BEB in shortest path bridging SPB network It is standby, it is characterised in that including:
The BEB equipment sends detection messages according to the default cycle to the opposite end for having established PW links;Wherein, the detection report Literary carrying source BEB information, I-SID information, purpose BEB information, CHECKID, message total, sequence of message number, wherein, it is described CHECK ID are the command codes for identifying this detection, and the message total identifies the total of the CHECK messages that disposably send Quantity, the data message forwarding path between the detection messages and the BEB equipment are completely the same;
The BEB equipment receives multiple detection messages of opposite end transmission within the cycle by the PW, according to reception Multiple detection messages determine each PW packet loss;Or,
The quantity for multiple detection messages that the BEB equipment receives according to, and the number carried in the detection messages Information is measured, determines the packet loss of the PW;
Wherein, the quantity information is the quantity for the detection messages that the opposite end is sent altogether within the cycle;
When the BEB equipment fails to receive any detection messages that opposite end is sent by the PW, the BEB equipment judges The PW occurs abnormal.
2. the method as described in claim 1, it is characterised in that the BEB equipment fails to receive opposite end hair by the PW During any detection messages sent, it is abnormal that the BEB equipment judges that the PW occurs, and is specially:
When the BEB equipment by the PW send detection messages when, the BEB equipment judge it is last send the cycle in whether Detection messages are also received by the PW;
If so, then frequency of abnormity corresponding to the PW is reset or subtracts 1 by the BEB equipment;
If it is not, then frequency of abnormity corresponding to the PW is added 1 by the BEB equipment;
When frequency of abnormity corresponding to the PW exceedes frequency of abnormity threshold value, it is abnormal that the BEB equipment judges that the PW occurs.
3. the method as described in claim 1, it is characterised in that the BEB equipment fails to receive opposite end hair by the PW During any detection messages sent, it is abnormal that the BEB equipment judges that the PW occurs, and is specially:
If the BEB equipment fails to receive any detection messages by the PW in default time threshold, the BEB is set It is standby to judge that exception occurs in the PW;
Wherein, the default time threshold is more than the cycle.
4. method as claimed in claim 1 or 2, it is characterised in that after the BEB equipment judges that exception occurs in the PW, Also include:
The BEB equipment sends unexpected message message by the PW to opposite end, so that the opposite end is deleted the PW and started Rebuild flow;
The BEB equipment deletes the PW and starts reconstruction flow.
5. a kind of backbone edges bridge BEB equipment, it is applied to shortest path bridging SPB network as virtual link PW detection devices In, including receiving module, it is characterised in that also include:
Sending module, for sending detection messages to the opposite end for having established PW links according to the default cycle;Wherein, the detection Message carries source BEB information, I-SID information, purpose BEB information, CHECKID, message total, sequence of message number, wherein, it is described CHECK ID are the command codes for identifying this detection, and the message total identifies the total of the CHECK messages that disposably send Quantity, the data message forwarding path between the detection messages and the BEB equipment are completely the same;
Receiving module, multiple detection messages of opposite end transmission, detection module, for working as are received in the cycle by the PW The receiving module fails to judge that exception occurs in the PW when receiving any detection messages of opposite end transmission by the PW;
The quantity for multiple detection messages that the detection module receives according to, and the number carried in the detection messages Information is measured, determines the packet loss of the PW;
Wherein, the quantity information is the quantity for the detection messages that the opposite end is sent altogether within the cycle.
6. BEB equipment as claimed in claim 5, it is characterised in that the detection module, be specifically used for:
When the BEB equipment sends detection messages by the sending module, the detection module judges to send week last Whether detection messages are also received by the PW in phase;
If so, then frequency of abnormity corresponding to the PW is reset or subtracts 1 by the detection module;
If it is not, then frequency of abnormity corresponding to the PW is added 1 by the detection module;
When frequency of abnormity corresponding to the PW exceedes frequency of abnormity threshold value, it is abnormal that the detection module judges that the PW occurs.
7. BEB equipment as claimed in claim 5, it is characterised in that the detection module, be specifically used for:
If the receiving module fails to receive any detection messages, the detection by the PW in default time threshold It is abnormal that module judges that the PW occurs;
Wherein, the default time threshold is more than the cycle.
8. the BEB equipment as described in claim 5 or 6, it is characterised in that
The detection module, be additionally operable to judge the PW occur it is abnormal after notify the sending module by the PW to right End sends unexpected message message, so that the opposite end deletes the PW and starts reconstruction flow, deletes the PW and starts reconstruction Flow.
CN201310156095.1A 2013-04-28 2013-04-28 A kind of virtual link PW detection methods and equipment Active CN103248536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310156095.1A CN103248536B (en) 2013-04-28 2013-04-28 A kind of virtual link PW detection methods and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310156095.1A CN103248536B (en) 2013-04-28 2013-04-28 A kind of virtual link PW detection methods and equipment

Publications (2)

Publication Number Publication Date
CN103248536A CN103248536A (en) 2013-08-14
CN103248536B true CN103248536B (en) 2017-12-29

Family

ID=48927767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310156095.1A Active CN103248536B (en) 2013-04-28 2013-04-28 A kind of virtual link PW detection methods and equipment

Country Status (1)

Country Link
CN (1) CN103248536B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270285B (en) * 2014-09-19 2017-08-01 烽火通信科技股份有限公司 Business packet loss rate measurement method based on PW in distributed structure/architecture
CN106301867B (en) * 2015-06-12 2019-06-14 中兴通讯股份有限公司 A kind of static state pseudo-wire condition detection method and device
CN106792852A (en) * 2016-12-22 2017-05-31 青岛亿联客信息技术有限公司 Method, system that equipment fault is detected are realized by wireless network
CN112073270B (en) * 2020-09-15 2022-03-25 新华三信息安全技术有限公司 Link fault detection method and device
CN114978939B (en) * 2022-06-10 2023-05-30 中煤科工重庆设计研究院(集团)有限公司 Method for detecting network link quality

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889461A (en) * 2006-07-14 2007-01-03 清华大学 Virtual chain-circuit performance real-time measuring method in covering route network
CN101795187A (en) * 2010-02-08 2010-08-04 杭州华三通信技术有限公司 Method, system and equipment for improving reliability of topologic network of central server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217457A (en) * 2007-12-28 2008-07-09 华为技术有限公司 A method to realize fast reroute and router
CN101674249B (en) * 2009-10-28 2012-02-08 杭州华三通信技术有限公司 Method for forwarding provider backbone bridge (PBB) traffic and device thereof
CN102714629B (en) * 2010-01-08 2015-07-29 日本电气株式会社 Communication system, forward node, route managing server and communication means
CN101800676A (en) * 2010-02-20 2010-08-11 中兴通讯股份有限公司 Link detection method, device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889461A (en) * 2006-07-14 2007-01-03 清华大学 Virtual chain-circuit performance real-time measuring method in covering route network
CN101795187A (en) * 2010-02-08 2010-08-04 杭州华三通信技术有限公司 Method, system and equipment for improving reliability of topologic network of central server

Also Published As

Publication number Publication date
CN103248536A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
KR102005131B1 (en) Expanding network functionalities for openflow based split-architecture networks
CN102823205B (en) Aggregating data traffic from access domains
CN103248536B (en) A kind of virtual link PW detection methods and equipment
US8854975B2 (en) Scaling OAM for point-to-point trunking
US9608903B2 (en) Systems and methods for recovery from network changes
US20160041888A1 (en) Link state relay for physical layer emulation
US20120233492A1 (en) Transmitting network information using link or port aggregation protocols
CN103457866A (en) Congestion managment for fibre channel over ethernet over wide area networks
CN104518936B (en) Link dynamic aggregation method and apparatus
CN109218159A (en) Multicast information is signaled to the more host's routers of redundancy for 2 Virtual Private Network of layer
CN103067278B (en) A kind of method for transmission processing of Frame, equipment and system
CN101908983B (en) Joint detection method and system for Ethernet local segment protection
CN103841019A (en) Method and device for being connected into shortest path bridging network in multi-homing mode
US9716639B2 (en) Protection switching method and system
US20140092725A1 (en) Method and first network node for managing an ethernet network
CN103200107B (en) Message transmitting method and message transmitting equipment
EP2858302B1 (en) Connectivity check method of service stream link, related apparatus and system
CN107612738B (en) The uplink traffic fast switching system and method for VPLS dual-homed service model
CN108462637A (en) One kind being routed back to blanking method, controller and system
CN104468158B (en) The method and apparatus of state advertisement between a kind of node
CN102843282B (en) A kind of message processing method and system
CN104219073B (en) Message forwarding method and device in SPBM network
CN104426777A (en) Routing updating method and routing equipment
CN104601381B (en) The method and apparatus for preventing flow interrupt
WO2018077124A1 (en) Method, device, and system for service alarm processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant