CN102833122B - Loopback detection method and system - Google Patents
Loopback detection method and system Download PDFInfo
- Publication number
- CN102833122B CN102833122B CN201110163645.3A CN201110163645A CN102833122B CN 102833122 B CN102833122 B CN 102833122B CN 201110163645 A CN201110163645 A CN 201110163645A CN 102833122 B CN102833122 B CN 102833122B
- Authority
- CN
- China
- Prior art keywords
- loopback
- transmission path
- message
- source
- traffic identifier
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses loopback detection method and system. A source maintenance end point sends a loopback message to a target maintenance point, wherein the loopback message comprises a flow identity corresponding to one specific transmission path in a plurality of equal cost transmission paths to the target maintenance point; after receiving the loopback message, the target maintenance point sends a loopback replay message to the source maintenance end point, wherein the loopback replay message comprises a flow identity corresponding to a reverse common transmission path to the source maintenance end point; after receiving the loopback replay message and detecting to be correct, the source maintenance end point returns an announce of successful loopback detection. According to the loopback detection method and system, the working mechanism of Ethernet loopback detection specified by an IEEE802.1ag standard is expanded, and loopback detection can be performed on one specific path in a plurality of equal cost paths, therefore, an application scene that equal cost multi-path existing between two maintenance points can be supported.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of loop detection method and system.
Background technology
In current Ethernet, normal structure Institute of Electrical and Electric Engineers(Institute of Electrical
And Electronics Engineers, abbreviation IEEE)A set of ethernet operation, management are formulated and have safeguarded(Operation,
Administration and Maintenance, abbreviation OAM)Working mechanism, and be formally issued as in 2007
802.1ag standards.
IEEE 802.1ag standards define the OAM(Operation Administration Maintenance) entity in Ethernet, including positioned at Ethernet transmission path two
The maintenance end node at end(Maintenance End Point, abbreviation MEP), and the dimension in the middle of Ethernet transmission path
Shield intermediate point(Maintenance Intermediate Point, abbreviation MIP).Wherein, end node and Maintenance Intermediate Point are safeguarded
It is referred to as maintenance point(Maintenance Point, abbreviation MP).
Every interchanger in Ethernet(Switch, referred to as SW)MP can be created based on port.Loopback detection is
One of Ethernet OAM function of IEEE 802.1ag standards definition, the function runs on MEP to MEP or MEP to MIP, it is therefore an objective to
Detect whole or one section of connecting fault of Ethernet transmission path.
Fig. 1 is the schematic diagram of the loopback detection mechanism of existing IEEE 802.1ag standards definition, existing with reference to shown in Fig. 1
Ethernet Loopback testing mechanism includes following key step:
Step 1, after starting loopback detection function, MEP sends loopback message to certain MIP or opposite end MEP(LoopBack
Message, referred to as LBM), the message is along fixed single path arrival purpose MIP or MEP.
Step 2, purpose MIP or MEP receive loopback message and detect it is errorless after, to send the loopback message source MEP
Reply loopback response(LoopBack Reply, referred to as LBR), the message is along reversely fixed single path arrival source MEP.
Step 3, send loopback message source MEP receive loopback respond and detect it is errorless after, to operator return loopback
Detection successfully notice.
IEEE 802.1Qbp projects are formulating equal cost multipath in Ethernet(Equal Cost Multi-Path, letter
Claim ECMP)Working mechanism, to realize load balancing of the service traffics on equal cost multipath, improve the link profit in Ethernet
With rate.802.1Qbp projects specify, for an Ethernet for support equal cost multipath, network edge interchanger will be somebody's turn to do to entering
The Ether frame of network stamps a forwarding label F-tag, and when the Ether frame for stamping F-tag leaves the network, network edge is handed over
Changing planes can peel off the F-tag of Ether frame carrying.
Fig. 2 describes the specific encapsulation format of the forwarding label F-tag that IEEE 802.1Qbp projects specify.Such as Fig. 2 institutes
Show, tag protocol identifiers of the forwarding label F-tag comprising 16 bits(Tag Protocol ID, abbreviation TPID), 3 bits it is excellent
First level code character(Priority Code Point, abbreviation PCP), 1 bit discarding mark(Drop Eligible, vehicle economy)、6
The reserved field of bit(Reserved Field, abbreviation Rev), 6 bits time-to-live(Time To Live, abbreviation TTL),
And 16 bit traffic identifier(Flow ID).Wherein the traffic identifier of 16 bits is used to divide the service traffics for entering network
Stream, different traffic identifier corresponds to different equative routes, and each specific traffic identifier is used to choose source node and purpose section
A particular path between point in the middle of equal cost multipath.
By more than analysis it can be found that announced IEEE 802.1ag standards define loopback detection function, only
Suitable for there was only a situation for Ethernet transmission path between two maintenance points for running the function, two dimensions are not particularly suited for
There is the situation of equal cost multipath between shield point.As the project verification of IEEE 802.1Qbp projects of standard development and relevant criterion formulate work
The development of work, Ethernet will support the function of ECMP, so, existing Ethernet OAM working mechanism needs to be extended, to prop up
Hold the Ethernet OAM demand under ECMP scenes.
The content of the invention
Present invention solves the technical problem that be to provide a kind of loop detection method and system, under can realizing ECMP scenes
Ethernet OAM loopback detection function.
In order to solve the above technical problems, the invention provides a kind of loop detection method, being applied to support equal cost multipath
Ethernet, methods described includes:
Source safeguards that end node sends loopback message to purpose maintenance point, and purpose maintenance point is covered in the loopback message
The corresponding traffic identifier of a particular transmission path in a plurality of transmission path of equal value;
After the purpose maintenance point receives the loopback message, safeguard that end node sends loopback response and disappears to the source
Breath, covers the traffic identifier reversely altogether corresponding to the transmission path of road that end node is safeguarded in the source in the loopback response message;
The source safeguard end node reception to the loopback response message and detect it is errorless after, return loopback detection it is successful
Notice.
Further, in the following information that end node is input into according to operator or its any combination are safeguarded in the source
Determine the corresponding traffic identifier of the particular transmission path:
Traffic identifier, tree algorithm mark of equal value, source/destination media access control(MAC)Address, source/destination IP address, source/
Destination interface.
Further, after the purpose maintenance point receives the loopback message, according to the traffic identifier for wherein including
Determine the particular transmission path, and after calculating the traffic identifier reversely altogether corresponding to the transmission path of road, tieed up to the source
Shield end node sends loopback response message, and is reversely total to corresponding to the transmission path of road comprising described in the loopback response message
Traffic identifier;
It is wherein, described that reversely road transmission path refers to the node and forward path that the reverse transfer path is passed through altogether
The maintenance point for being passed through is completely the same.
Further, the source safeguards end node in the following manner in the loopback message comprising the specific transmission
The corresponding traffic identifier in path:
The source safeguards that end node carries forwarding label in the loopback message, and institute is included in the forwarding label
State the corresponding traffic identifier of particular transmission path.
Further, end node reception is safeguarded to the loopback response message in the source and detection is errorless, specifically includes:
It is described to safeguard that end node reception, to after the loopback response message, the ring is determined according to the traffic identifier for wherein including
The transmission path of response message is returned, and judges whether the transmission path safeguards that end node sends the loopback message with the source
The common road of the particular transmission path of Shi Xuanzhong, if it is, determine that detection is errorless, otherwise, it determines detection failure, and return to ring
Return the notice of detection failure.
Present invention also offers a kind of loopback detection system, it is applied to support the Ethernet of equal cost multipath, the system
Including:Safeguard transmission path determining unit in end node, loopback message transmitting element and loopback detection unit in source;Purpose is safeguarded
Loopback response unit in point,
The transmission path determining unit is used for, and a spy is determined from the transmission path a plurality of of equal value to purpose maintenance point
Determine transmission path;
The loopback message transmitting element is used for, and loopback message is sent to purpose maintenance point, is included in the loopback message
The corresponding traffic identifier of the particular transmission path;
The loopback response unit is used for, and after receiving the loopback message, safeguards that end node sends loopback to the source
Response message, covers the stream reversely altogether corresponding to the transmission path of road that end node is safeguarded in the source in the loopback response message
Mark;
The loopback detection unit is used for, receive the loopback response message and detect it is errorless after, return loopback detection
Successfully notice.
Further, the loopback message transmitting element is additionally operable to, according to one in the following information that operator is input into
Or its any combination determines the corresponding traffic identifier of the particular transmission path, and the specific biography is included in the loopback message
The corresponding traffic identifier in defeated path:
Traffic identifier, tree algorithm mark of equal value, source/destination media access control(MAC)Address, source/destination IP address, source/
Destination interface.
Further, the loopback message transmitting element is used for, and includes institute in the loopback message in the following manner
State the corresponding traffic identifier of particular transmission path:
Forwarding label is carried in the loopback message, and the particular transmission path pair is included in the forwarding label
The traffic identifier answered.
Further, the loopback response unit is used for, after receiving the loopback message, according to wherein including
Traffic identifier determines the particular transmission path, and after calculating the traffic identifier reversely altogether corresponding to the transmission path of road, to institute
The source of stating safeguards that end node sends loopback response message, and is reversely total to road transmission path comprising described in the loopback response message
Corresponding traffic identifier;
It is wherein, described that reversely road transmission path refers to the node and forward path that the reverse transfer path is passed through altogether
The maintenance point for being passed through is completely the same.
Further, the loopback detection unit is used for, after receiving the loopback response message, according to what is wherein included
Traffic identifier determines the transmission path of the loopback response message, and judges whether the transmission path safeguards end node with the source
The particular transmission path chosen during loopback message road altogether is sent, if it is, determine that detection is errorless, otherwise, it determines
Detection failure, and return to the notice of loopback detection failure.
The present invention extends the Ethernet Loopback detection working mechanism that IEEE 802.1ag standards specify so that the function energy
The Ethernet of the support ECMP that IEEE 802.1Qbp projects specify enough is applied to, it is specific in a plurality of equative route
Path carries out loopback detection, such that it is able to the application scenarios for supporting to have equal cost multipath between two maintenance points.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair
Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the loopback detection process schematic that IEEE 802.1ag standards specify;
Fig. 2 is the forwarding label F-tag encapsulation format figures that IEEE 802.1Qbp projects specify;
Fig. 3 is the overall procedure schematic diagram of loop detection method of the invention;
Fig. 4 is the loopback detection process schematic of the embodiment of the present invention one;
Fig. 5 is the loopback detection process schematic of the embodiment of the present invention two.
Specific embodiment
It is a primary object of the present invention to, there is provided a kind of loopback detection based on stream under the ethernet environment for supporting ECMP
Mechanism, its basic thought is:By extend IEEE 802.1ag standards define loopback detection mechanism, propose it is a kind of based on stream
Loop detection method, can realize carrying out loopback detection for the particular transmission path in ECMP, overcome and lack in the prior art
A kind of problem of weary mechanism that loopback detection is carried out for particular path in ECMP.
Specifically, a kind of loop detection method based on stream of the present invention, adopts the following technical scheme that:
Safeguard that end node sends loopback message to Maintenance Intermediate Point or opposite end from maintenance end node, the loopback message is carried and turned
Issue of bidding documents label F-tag, wherein the traffic identifier comprising 16 bits corresponding to chosen particular transmission path;
Purpose maintenance point(Purpose Maintenance Intermediate Point or purpose safeguard end node)The loopback message for carrying F-tag is received,
Safeguard that end node transmission loopback is responded to source, loopback response carries forwarding label F-tag, wherein comprising corresponding to reversely common
The traffic identifier of road transmission path;
Source safeguards end node reception to the loopback response for carrying F-tag, and the 16 bit traffic identifier that inspection is wherein included are sentenced
Whether breaking, whether it corresponds to reversely road transmission path altogether, used as the successful foundation of this loopback detection.
Wherein, after purpose maintenance point receives loopback message, determine what is be selected according to the 16 bit traffic identifier for wherein including
Particular transmission path, and calculate and go to the traffic identifier reversely altogether corresponding to the transmission path of road that source safeguards end node;Then
During at this, reversely the traffic identifier of road transmission path is included in the loopback response message for being sent to source maintenance point altogether.Described is reverse
Road transmission path refers to that the node that the reverse path is passed through is completely the same with the node that forward path is passed through altogether.
Based on above-mentioned thought, the present invention proposes a kind of loop detection method based on stream, as shown in figure 3, the method is main
Including:
Step 301:Safeguard input of the end node according to operator, determine purpose maintenance point and from reaching purpose maintenance point
One is selected in a plurality of transmission path of equal value.
Here, the information of operator's input includes the mark of purpose maintenance point, because purpose maintenance point is based on interchanger
Port, so its mark is usually the media access control of port where purpose maintenance point(Media Access Control,
Abbreviation MAC)Address;The information of operator's input also includes being chosen from the transmission path a plurality of of equal value of purpose maintenance point is reached
Particular path mark, the mark can be direct traffic identifier(Flow ID), or can indirectly calculate stream
Other marks of mark, including tree algorithm of equal value(Equal Cost Tree-Algorithm, abbreviation ECT-Algorithm)Mark
Know(From 00-80-C2-01 to 00-80-C2-10), or the information parameter that description is flowed(Parameter set " source/destination MAC Address,
One or more in source/destination IP address, source/destination port ").
Step 302:Safeguard that end node sends loopback message to purpose maintenance point, carry the stream that correspondence chooses transmission path
Mark.
According to the information that operator is input into, safeguard that end node sends loopback message to purpose maintenance point, the message is unicast
Ether frame, target MAC (Media Access Control) address is the MAC Address of switch ports themselves where purpose maintenance point, and source MAC is to safeguard end node institute
In the MAC Address of switch ports themselves, the message also carries forwarding label F-tag, wherein choosing transmission path comprising correspondence
Traffic identifier.
Step 303:After purpose maintenance point receives loopback message, the road that is reversely total to for choosing the transmission path according to traffic identifier passes
Defeated path, and calculate the traffic identifier to should reversely be total to road transmission path.
Specifically, after purpose maintenance point receives the loopback message for safeguarding end node transmission, the stream that loopback message is carried is checked
Mark, judges that loopback message is transmitted along which bar particular path according to the ident value, and specific determination methods can
To be that the multiple parameters comprising traffic identifier are carried out with Hash calculation, the result of Hash corresponds to selected specific transmission road
Footpath.Then, purpose maintenance point calculate again to should particular transmission path reversely altogether road transmission path traffic identifier, Yi Zhongke
The computational methods of energy are that reversely road transmission path carries out anti-Hash calculation altogether according to selected.
Step 304:Purpose maintenance point is to end node reply loopback response message is safeguarded, the correspondence that carrying is calculated is reversely common
The traffic identifier of road transmission path.
Purpose maintenance point calculate correspondence reversely altogether road transmission path traffic identifier after, to safeguard end node reply loopback ring
Message is answered, the message is unicast Ether frame, target MAC (Media Access Control) address is the MAC Address for safeguarding switch ports themselves where end node, source
MAC Address is the MAC Address of switch ports themselves where purpose maintenance point, and the message also carries forwarding label F-tag, wherein including
Correspondence is reversely total to the traffic identifier of road transmission path.
Step 305:After safeguarding that end node receives loopback response message, traffic identifier is detected, judge whether it corresponds to
In reverse road transmission path altogether.
After safeguarding the loopback response message that end node receives the reply of purpose maintenance point, the stream that loopback response message is carried is checked
Mark, judges that loopback response message is transmitted along which bar particular path according to the ident value, judges the transmission road
Footpath whether with the road altogether of the transmission path chosen when safeguarding that end node sends loopback message, and using this judged result as loopback detection
Whether a successful necessary condition.
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing to the present invention
Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application
Feature can mutually be combined.
Embodiment one
In the present embodiment, safeguard that end node initiates loopback detection to Maintenance Intermediate Point.
Fig. 4 is the loopback detection process schematic based on stream of the present embodiment.With reference to shown in Fig. 3 and Fig. 4, the process is main
Comprise the following steps:
Step 401:MEP1 determines MIP and from two transmission paths of equal value for reaching MIP according to the input of operator
(SW1->SW21->SW3 and SW1->SW22->SW3)Middle selection one.
The information of operator's input includes the MAC Address of MIP, also including the particular path SW1- of arrival MIP>SW21->
The mark of SW3, the mark can be direct Flow ID1, or can indirectly calculate other marks of Flow ID1
Know, including ECT-Algorithm marks(From 00-80-C2-01 to 00-80-C2-10), or the information parameter for describing Flow
(One or more in parameter set " source/destination MAC Address, source/destination IP address, source/destination port ").
Step 402:MEP1 sends loopback message to MIP, carries correspondence and chooses transmission path SW1->SW21->SW3's
Traffic identifier.
According to the information that operator is input into, MEP1 sends the loopback message based on stream to MIP, and the message is unicast ether
Frame, target MAC (Media Access Control) address is the MAC Address of MIP, and source MAC is the MAC Address of MEP1, and the message also carries forwarding label F-
Tag, wherein choosing transmission path SW1- comprising correspondence>SW21->The Flow ID1 of SW3.
Step 403:After MIP receives loopback message, the reverse road transmission path altogether of the transmission path is chosen according to traffic identifier,
And calculate to should reversely be total to road transmission path traffic identifier.
After MIP receives the loopback message based on stream of MEP1 transmissions, the traffic identifier that loopback message is carried is checked, according to the mark
Knowledge value Flow ID1 judge that loopback message is along SW1->SW21->What SW3 was transmitted, then calculate to that specific should pass
The reverse road transmission path SW3- altogether in defeated path>SW21->Traffic identifier Flow ID2, the Flow ID2 and Flow ID1 of SW1 may
It is identical, it is also possible to different.
Step 404:MIP replys loopback response message to MEP1, and the correspondence that carrying is calculated reversely is total to road transmission path
Traffic identifier.
MIP replys the loopback response message based on stream to MEP1, and the message is unicast Ether frame, and target MAC (Media Access Control) address is
The MAC Address of MEP1, source MAC is the MAC Address of MIP, and the message also carries forwarding label F-tag, wherein comprising correspondence
Reverse road transmission path SW3- altogether>SW21->The Flow ID2 of SW1.
Step 405:After MEP1 receives loopback response message, traffic identifier is detected, judge whether it corresponds to reverse
Common road transmission path.
After MEP1 receives the loopback response message based on stream of MIP replies, the traffic identifier that loopback response message is carried is checked,
Judge that loopback response message is along SW3- according to ident value Flow ID2>SW21->What SW1 was transmitted, sent with MEP1
The transmission path SW1- chosen during loopback message>SW21->SW3 roads altogether, this judged result must as successful one of loopback detection
Want condition.
Embodiment two
In the present embodiment, safeguard that end node safeguards that end node initiates loopback detection to opposite end.
Fig. 5 is the loopback detection process schematic based on stream of the present embodiment.With reference to shown in Fig. 3 and Fig. 5, process master
Comprise the following steps:
Step 501:MEP1 determines MEP2 and from two transmission paths of equal value for reaching MEP2 according to the input of operator
(SW1->SW21->SW3->SW4 and SW1->SW22->SW3->SW4)Middle selection one.
The information of operator's input includes the MAC Address of MEP2, also including the particular path SW1- of arrival MEP2>SW22->
SW3->The mark of SW4, the mark can be direct Flow ID3, or can indirectly calculate Flow ID3
Other marks, including ECT-Algorithm marks(From 00-80-C2-01 to 00-80-C2-10), or the letter for describing Flow
Breath parameter(One or more in parameter set " source/destination MAC Address, source/destination IP address, source/destination port ").
Step 502:MEP1 sends loopback message to MEP2, carries correspondence and chooses transmission path SW1->SW22->SW3->
The traffic identifier of SW4.
According to the information that operator is input into, MEP1 sends the loopback message based on stream to MEP2, and the message is unicast ether
Frame, target MAC (Media Access Control) address is the MAC Address of MEP2, and source MAC is the MAC Address of MEP1, and the message also carries forwarding label F-
Tag, wherein choosing transmission path SW1- comprising correspondence>SW22->SW3->The Flow ID3 of SW4.
Step 503:After MEP2 receives loopback message, the reverse road transmission road altogether of the transmission path is chosen according to traffic identifier
Footpath, and calculate the traffic identifier to should reversely be total to road transmission path.
After MEP2 receives the loopback message based on stream of MEP1 transmissions, the traffic identifier that loopback message is carried is checked, according to this
Ident value Flow ID3 judge that loopback message is along SW1->SW22->SW3->What SW4 was transmitted, then calculate correspondence
The reverse road transmission path SW4- altogether of the particular transmission path>SW3->SW22->Traffic identifier Flow ID4, the Flow ID4 of SW1
It is identical with Flow ID3 possibility, it is also possible to different.
Step 504:MEP2 replys loopback response message to MEP1, and the correspondence that carrying is calculated reversely is total to road transmission path
Traffic identifier.
MEP2 replys the loopback response message based on stream to MEP1, and the message is unicast Ether frame, and target MAC (Media Access Control) address is
The MAC Address of MEP1, source MAC is the MAC Address of MEP2, and the message also carries forwarding label F-tag, wherein comprising correspondence
Reverse road transmission path SW4- altogether>SW3->SW22->The Flow ID4 of SW1.
Step 505:After MEP1 receives loopback response message, traffic identifier is detected, judge whether it corresponds to reverse
Common road transmission path.
After MEP1 receives the loopback response message based on stream of MEP2 replies, failing to be sold at auction for loopback response message carrying is checked
Know, judge that loopback response message is along SW4- according to ident value Flow ID4>SW3->SW22->What SW1 was transmitted, with
MEP1 sends the transmission path SW1- chosen during loopback message>SW22->SW3->The common roads of SW4, this judged result is examined as loopback
Survey a successful necessary condition.
Additionally, additionally provide a kind of loopback detection system in the embodiment of the present invention, be applied to support equal cost multipath with
Too net, the system mainly includes:Safeguard the inspection of transmission path determining unit in end node, loopback message transmitting element and loopback in source
Survey unit;Loopback response unit in purpose maintenance point,
Transmission path determining unit is used for, and a specific biography is determined from the transmission path a plurality of of equal value to purpose maintenance point
Defeated path;
Loopback message transmitting element is used for, and loopback message is sent to purpose maintenance point, and specific transmission is included in loopback message
The corresponding traffic identifier in path;
Loopback response unit is used for, and after receiving loopback message, safeguards that end node sends loopback response message, loopback to source
The traffic identifier reversely altogether corresponding to the transmission path of road that end node is safeguarded in source is covered in response message;
Loopback detection unit is used for, receive loopback response message and detect it is errorless after, return loopback detection successfully lead to
Accuse.
Further, loopback message transmitting element is additionally operable to, according to operator be input into following information in one or its
Any combination determines the corresponding traffic identifier of particular transmission path, and is failed to be sold at auction comprising particular transmission path is corresponding in loopback message
Know:
Traffic identifier, tree algorithm mark of equal value, source/destination media access control(MAC)Address, source/destination IP address, source/
Destination interface.
Further, loopback message transmitting element is used for, and includes specific transmission road in loopback message in the following manner
The corresponding traffic identifier in footpath:
Forwarding label is carried in loopback message, and the corresponding traffic identifier of particular transmission path is included in forwarding label.
Further, loopback response unit is used for, and after receiving loopback message, is determined according to the traffic identifier for wherein including special
Determine transmission path, and after calculating traffic identifier reversely altogether corresponding to the transmission path of road, safeguard that end node sends loopback and rings to source
Message is answered, and comprising the traffic identifier being reversely total to corresponding to the transmission path of road in loopback response message;
Wherein, reversely road transmission path refers to that the node that the reverse transfer path is passed through is passed through with forward path altogether
The maintenance point crossed is completely the same.
Further, loopback detection unit is used for, true according to the traffic identifier for wherein including after receiving loopback response message
Chosen when determining the transmission path of loopback response message, and judging whether transmission path safeguards end node transmission loopback message with source
The common road of particular transmission path, if it is, determine that detection is errorless, otherwise, it determines detection failure, and return to what loopback detection failed
Notice.
These are only it is of the invention be preferable to carry out case, be not intended to limit the invention, the present invention can also have other
Various embodiments, in the case of without departing substantially from spirit of the invention and its essence, those of ordinary skill in the art can be according to this hair
It is bright to make various corresponding changes and deformation, but these corresponding changes and deformation should all belong to appended claims of the invention
Protection domain.
Obviously, those skilled in the art should be understood that above-mentioned of the invention each module or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and constituted
Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to they are stored
Performed by computing device in the storage device, and in some cases, can be with different from shown in order execution herein
The step of going out or describe, or they are fabricated to each integrated circuit modules respectively, or by the multiple modules in them or
Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
Claims (10)
1. a kind of loop detection method, it is characterised in that be applied to support the Ethernet of equal cost multipath, methods described includes:
Source safeguards that end node sends loopback message to purpose maintenance point, and a plurality of of purpose maintenance point is covered in the loopback message
The corresponding traffic identifier of a particular transmission path in transmission path of equal value;
After the purpose maintenance point receives the loopback message, safeguard that end node sends loopback response message, institute to the source
State and the traffic identifier reversely altogether corresponding to the transmission path of road that end node is safeguarded in the source is covered in loopback response message, it is described anti-
Refer to that the node that the reverse transfer path is passed through is complete with the maintenance point that forward path is passed through to common road transmission path
Unanimously;
Safeguard end node reception to the loopback response message and using described in being included in the loopback response message in the source
Traffic identifier detection reversely altogether corresponding to the transmission path of road is described after reversely road transmission path is errorless altogether, returns to loopback detection success
Notice.
2. the method for claim 1, it is characterised in that
The source safeguards one in the following information that end node is input into according to operator or its any combination determine it is described specific
The corresponding traffic identifier of transmission path:
Traffic identifier, tree algorithm mark of equal value, source/destination media access control (MAC) address, source/destination IP address, source/destination
Port.
3. method as claimed in claim 1 or 2, it is characterised in that
After the purpose maintenance point receives the loopback message, the specific biography is determined according to the traffic identifier for wherein including
Defeated path, and after calculating the traffic identifier reversely altogether corresponding to the transmission path of road, safeguard that end node sends ring to the source
Response message is returned, and comprising the traffic identifier being reversely total to corresponding to the transmission path of road in the loopback response message.
4. the method for claim 1, it is characterised in that
Safeguard end node in the following manner in the loopback message comprising the corresponding stream of the particular transmission path in the source
Mark:
The source safeguards that end node carries forwarding label in the loopback message, and the spy is included in the forwarding label
Determine the corresponding traffic identifier of transmission path.
5. method as claimed in claim 3, it is characterised in that
The source safeguards end node reception to the loopback response message and the detection road transmission path that is reversely total to is errorless, specifically
Including:
It is described to safeguard that end node reception, to after the loopback response message, determines that the loopback rings according to the traffic identifier for wherein including
The transmission path of message is answered, and judges whether the transmission path is safeguarded with the source and selected when end node sends the loopback message
In the particular transmission path altogether road, if it is, determine detection it is errorless, otherwise, it determines detection failure, and return loopback inspection
The notice that dendrometry loses.
6. a kind of loopback detection system, it is characterised in that be applied to support the Ethernet of equal cost multipath, the system includes:
Safeguard transmission path determining unit in end node, loopback message transmitting element and loopback detection unit in source;In purpose maintenance point
Loopback response unit,
The transmission path determining unit is used for, and a specific biography is determined from the transmission path a plurality of of equal value to purpose maintenance point
Defeated path;
The loopback message transmitting element is used for, and loopback message is sent to purpose maintenance point, comprising described in the loopback message
The corresponding traffic identifier of particular transmission path;
The loopback response unit is used for, and after receiving the loopback message, safeguards that end node sends loopback and responds to the source
Message, covers the source and safeguards failing to be sold at auction corresponding to the reverse road transmission path altogether of end node in the loopback response message
Know;
It is wherein, described that reversely road transmission path refers to that the node that the reverse transfer path is passed through is passed through with forward path altogether
The maintenance point crossed is completely the same;
The loopback detection unit is used for, and receives the loopback response message and using including in the loopback response message
The traffic identifier detection reversely altogether corresponding to the transmission path of road is described after reversely road transmission path is errorless altogether, returns to loopback detection
Successfully notice.
7. system as claimed in claim 6, it is characterised in that
The loopback message transmitting element is additionally operable to, true according in the following information that operator is input into or its any combination
Determine the corresponding traffic identifier of the particular transmission path, and the corresponding stream of the particular transmission path is included in the loopback message
Mark:
Traffic identifier, tree algorithm mark of equal value, source/destination media access control (MAC) address, source/destination IP address, source/destination
Port.
8. system as claimed in claims 6 or 7, it is characterised in that
The loopback message transmitting element is used for, and includes the particular transmission path in the loopback message in the following manner
Corresponding traffic identifier:
Forwarding label is carried in the loopback message, and it is corresponding comprising the particular transmission path in the forwarding label
Traffic identifier.
9. system as claimed in claims 6 or 7, it is characterised in that
The loopback response unit is used for, and after receiving the loopback message, institute is determined according to the traffic identifier for wherein including
State particular transmission path, and after calculating the traffic identifier reversely altogether corresponding to the transmission path of road, end segment is safeguarded to the source
Point sends loopback response message, and is reversely total to failing to be sold at auction corresponding to the transmission path of road comprising described in the loopback response message
Know.
10. system as claimed in claim 9, it is characterised in that
The loopback detection unit is used for, and after receiving the loopback response message, institute is determined according to the traffic identifier for wherein including
The transmission path of loopback response message is stated, and judges whether the transmission path safeguards that end node sends the loopback with the source
The common road of the particular transmission path chosen during message, if it is, determine that detection is errorless, otherwise, it determines detection failure, and return
Return the notice of loopback detection failure.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110163645.3A CN102833122B (en) | 2011-06-17 | 2011-06-17 | Loopback detection method and system |
PCT/CN2012/072842 WO2012171382A1 (en) | 2011-06-17 | 2012-03-22 | Loopback detection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110163645.3A CN102833122B (en) | 2011-06-17 | 2011-06-17 | Loopback detection method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102833122A CN102833122A (en) | 2012-12-19 |
CN102833122B true CN102833122B (en) | 2017-05-24 |
Family
ID=47336100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110163645.3A Active CN102833122B (en) | 2011-06-17 | 2011-06-17 | Loopback detection method and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102833122B (en) |
WO (1) | WO2012171382A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104639470B (en) * | 2013-11-14 | 2019-05-31 | 中兴通讯股份有限公司 | Traffic identifier packaging method and system |
CN105760319A (en) * | 2014-12-15 | 2016-07-13 | 中兴通讯股份有限公司 | Data successfully sent confirmation method and device |
CN106162679B (en) * | 2015-04-22 | 2019-09-24 | 中国移动通信集团内蒙古有限公司 | The determination method and device of wireless broadband equipment working mechanism |
CN107800581B (en) * | 2016-09-01 | 2022-03-18 | 中兴通讯股份有限公司 | Two-layer network and loopback detection method thereof |
CN112636997B (en) * | 2020-11-17 | 2022-08-30 | 新华三技术有限公司 | Path detection method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075438A (en) * | 2011-02-14 | 2011-05-25 | 中兴通讯股份有限公司 | Unicast data frame transmission method and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132319B (en) * | 2006-08-21 | 2010-11-03 | 华为技术有限公司 | Method for Ethernet operation and maintaining fault detection |
CN101056224B (en) * | 2007-05-31 | 2010-09-22 | 杭州华三通信技术有限公司 | A loop detection method and device for the network device |
CN101505240B (en) * | 2008-02-05 | 2011-03-30 | 华为技术有限公司 | Fault detection method and apparatus |
CN101267363A (en) * | 2008-04-24 | 2008-09-17 | 杭州华三通信技术有限公司 | Loop testing method, system and device |
JP2010154353A (en) * | 2008-12-25 | 2010-07-08 | Fujitsu Ltd | Inlet node, communication node and loopback test method |
US8391163B2 (en) * | 2009-03-23 | 2013-03-05 | Cisco Technology, Inc. | Operating MPLS label switched paths and MPLS pseudowire in loopback mode |
-
2011
- 2011-06-17 CN CN201110163645.3A patent/CN102833122B/en active Active
-
2012
- 2012-03-22 WO PCT/CN2012/072842 patent/WO2012171382A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075438A (en) * | 2011-02-14 | 2011-05-25 | 中兴通讯股份有限公司 | Unicast data frame transmission method and device |
Also Published As
Publication number | Publication date |
---|---|
CN102833122A (en) | 2012-12-19 |
WO2012171382A1 (en) | 2012-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2129049B1 (en) | A protecting method and device for ethernet tree service | |
CN103748835B (en) | The dynamic renewal of label switched path | |
US8295160B2 (en) | Data communication system, device and method of detecting a failure on an access line in a network | |
US9094323B2 (en) | Probe packet discovery of entropy values causing specific paths to be taken through a network | |
US20080002570A1 (en) | Network redundancy method, and middle apparatus and upper apparatus for the network redundancy method | |
CN101193052B (en) | Method and system for sub-network connection protection in multi-protocol label switching | |
EP1463245A2 (en) | Ethernet path verification | |
CA2762624C (en) | Failure localisation in a mpls-tp network | |
JP2014090468A (en) | Ethernet oam at intermediate nodes in pbt network | |
CN102833122B (en) | Loopback detection method and system | |
CN111490933B (en) | Bidirectional forwarding detection switching method and edge device | |
CN101610535A (en) | Multilink direct continuous show scape guarantees the method, system and device of BFD conversation stability down | |
CN101197733A (en) | Automatic detection method and device for network connectivity | |
TWI492575B (en) | Fast lsp alert mechanism | |
CN106559280A (en) | Bidirectional forwarding detection (BFD) method and device | |
CN101355486A (en) | Method, equipment and system for switching route | |
CN106411625A (en) | Link message packet loss measurement method and system, target node and initiator node | |
CN106572012A (en) | VPN FRR implementation method and PE equipment | |
CN111447095B (en) | Bidirectional forwarding detection switching method, bidirectional forwarding detection module and edge device | |
CN107317691B (en) | Fault positioning method and equipment | |
CN102857421A (en) | VLL fault detection method and device | |
CN109412851B (en) | Link layer path detection method, device and system | |
CN101924670A (en) | Method and equipment for detecting label switched path (LSP) | |
CN103036731B (en) | A kind of equipment of the loopback detection based on stream, system and method | |
CN115190068A (en) | Method, device and system for reducing routing loop |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201225 Address after: No.99 Huanghai Road, Gangzha Economic Development Zone, Nantong City, Jiangsu Province, 216002 Patentee after: NANTONG HONGMEI DAIRY Co.,Ltd. Address before: 518057 Ministry of justice, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong Patentee before: ZTE Corp. |