WO2012171382A1 - Procédé et système de détection par bouclage - Google Patents
Procédé et système de détection par bouclage Download PDFInfo
- Publication number
- WO2012171382A1 WO2012171382A1 PCT/CN2012/072842 CN2012072842W WO2012171382A1 WO 2012171382 A1 WO2012171382 A1 WO 2012171382A1 CN 2012072842 W CN2012072842 W CN 2012072842W WO 2012171382 A1 WO2012171382 A1 WO 2012171382A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- loopback
- transmission path
- message
- source
- end node
- 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.)
- Ceased
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
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a loopback detection method and system.
- the IEEE 802. lag standard defines OAM functional entities in Ethernet, including Maintenance End Point (MEP) located at both ends of the Ethernet transmission path, and Maintenance Intermediate Point located in the middle of the Ethernet transmission path. , referred to as MIP).
- MIP Maintenance End Point
- MIP Maintenance Intermediate Point
- MP maintenance point
- Each switch (Switch, or SW for short) in Ethernet can create MPs based on ports.
- Loopback detection is one of the Ethernet OAM functions defined by the IEEE 802. lag standard. This function runs from MEP to MEP or MEP to MIP to detect connection failures of the entire or a segment of the Ethernet transmission path.
- FIG. 1 is a schematic diagram of a loopback detection mechanism defined by the existing IEEE 802.1ag standard. As shown in Figure 1, the existing Ethernet loopback detection mechanism includes the following main steps:
- Step 1 After the loopback detection function is enabled, the MEP sends a loopback message (LoopBack Message, LBM for short) to the MIP or the peer MEP. The message reaches the destination MIP or MEP along the fixed single path.
- a loopback message LoopBack Message, LBM for short
- Step 2 After receiving the loopback message and detecting the error, the destination MIP or the MEP sends a loopback reply (LBR) to the source MEP that sends the loopback message, and the message arrives at the source MEP along the reverse fixed single path. .
- LBR loopback reply
- Step 3 After receiving the loopback response and detecting the error, the source MEP that sends the loopback message returns an announcement to the operator that the loopback detection succeeds.
- the IEEE 802.1Qb project is working on the Equal Cost Multi-Path (ECMP) mechanism to implement load balancing of service traffic on equal-cost multipaths and improve link utilization in Ethernet.
- the 802.1Qbp project specifies that for an Ethernet supporting equivalent multipath, the network edge switch shall assign a forwarding label F-tag to the Ethernet frame entering the network. When the Ethernet frame of the F-tag leaves the network, the network edge The switch strips the F-tag carried by the Ethernet frame.
- FIG. 2 depicts the specific encapsulation format of the forwarding label F-tag specified by the IEEE 802.1Qbp project.
- the forwarding label F-tag includes a 16-bit Tag Protocol ID (TPID), a 3-bit Priority Code Point (PCP), and a 1-bit discard identifier.
- TPID 16-bit Tag Protocol ID
- PCP Priority Code Point
- DTL 6-bit Time To Live
- Flow ID 16-bit Flow ID.
- the 16-bit flow identifier is used to offload traffic entering the network. Different flow identifiers correspond to different equal-cost paths. Each specific flow identifier is used to select an equal-cost multi-path between the source node and the destination node. a specific path.
- the technical problem to be solved by the present invention is to provide a loopback detection method and system, which can implement the Ethernet OAM loopback detection function in an ECMP scenario.
- an embodiment of the present invention provides a loopback detection method, which is applied to an Ethernet supporting an equal-cost multipath, and the method includes:
- the source maintenance end node sends a loopback message to the destination maintenance point, where the loopback message includes a flow identifier corresponding to a specified one of the plurality of equal-cost transmission paths of the destination maintenance point;
- the destination maintenance point After receiving the loopback message, the destination maintenance point sends a loopback response message to the source maintenance end node, where the loopback response message includes a reverse common path transmission path to the source maintenance end node.
- the source maintenance end node After receiving the loopback response message and detecting the error, the source maintenance end node returns an announcement of successful loopback detection.
- the source maintenance end node determines, according to one of the following information input by the operator or any combination thereof, the flow identifier corresponding to the specified transmission path:
- the destination maintenance point determines the specified transmission path according to the flow identifier included therein, and calculates a flow identifier corresponding to the reverse unidirectional transmission path. And sending a loopback response message to the source maintenance end node, and including, in the loopback response message, a flow identifier corresponding to the reverse common path transmission path;
- the reverse multiplex transmission path means that the node through which the reverse transmission path passes is completely consistent with the maintenance point passed by the forward transmission path.
- the source maintenance end node includes the flow identifier corresponding to the specified transmission path in the loopback message by:
- the source maintenance end node carries a forwarding label in the loopback message, and the flow label corresponding to the specified transmission path is included in the forwarding label.
- the source maintenance end node receives the loopback response message and the detection is correct, and specifically includes:
- the maintenance end node After receiving the loopback response message, the maintenance end node determines a transmission path of the loopback response message according to the flow identifier included therein, and determines whether the transmission path sends the ring with the source maintenance end node. The specified transmission path selected when the message is returned is common. If yes, it is determined that the detection is correct. If not, the detection failure is determined, and the notification of the loopback detection failure is returned.
- An embodiment of the present invention further provides a loopback detection system, which is applied to an Ethernet supporting an equivalent multipath, and the system includes: a transmission path determining unit, a loopback message sending unit, and a loopback in a source maintenance end node Detection unit; a loopback response unit in the destination maintenance point,
- the transmission path determining unit is configured to determine a specified transmission path from a plurality of equal-cost transmission paths to the destination maintenance point;
- the loopback message sending unit is configured to send a loopback message to the destination maintenance point, where the loopback message includes a flow identifier corresponding to the specified transmission path;
- the loopback response unit is configured to: after receiving the loopback message, send a loopback response message to the source maintenance end node, where the loopback response message includes a reverse total to the source maintenance end node.
- the stream identifier corresponding to the path of the path;
- the loopback detection unit is configured to, after receiving the loopback response message and detecting the error, return an announcement that the loopback detection is successful.
- the loopback message sending unit is further configured to: determine, according to one of the following information input by the operator or any combination thereof, a flow identifier corresponding to the specified transmission path, and include the loopback message in the loopback message The flow identifier corresponding to the specified transmission path:
- the loopback message sending unit is configured to include the flow identifier corresponding to the specified transmission path in the loopback message by:
- the loopback message carries a forwarding label, and the flow label corresponding to the specified transmission path is included in the forwarding label.
- the loopback response unit is configured to: after receiving the loopback message, determine the specified transmission path according to the flow identifier included therein, and calculate the reverse common path After the corresponding flow identifier, the loopback response message is sent to the source maintenance end node, and the loop identifier corresponding to the reverse common path transmission path is included in the loopback response message;
- the reverse multiplex transmission path means that the node through which the reverse transmission path passes is completely consistent with the maintenance point passed by the forward transmission path.
- the loopback detection unit is configured to: after receiving the loopback response message, determine a transmission path of the loopback response message according to the flow identifier included therein, and determine whether the transmission path is related to the The specified transmission path is selected when the source maintenance end node sends the loopback message, and if yes, it is determined that the detection is correct, if not, the detection fails, and the loopback detection is returned. Notice of defeat.
- the embodiment of the present invention further provides a source maintenance end node, which is applied to the loopback detection of the Ethernet supporting the equivalent multipath, where the source maintenance end node includes: a transmission path determining unit, a loopback message sending unit, and a ring. Back detection unit, wherein
- the transmission path determining unit is configured to determine a specified transmission path from a plurality of equivalent transmission paths to the destination maintenance point;
- the loopback message sending unit is configured to send a loopback message to the destination maintenance point, where the loopback message includes a flow identifier corresponding to the specified transmission path;
- the loopback detection unit is configured to: after receiving the loopback response message returned by the destination maintenance point, and returning the loopback detection success after returning the loopback detection message; the loopback response message includes the source maintenance end node The flow identifier corresponding to the reverse multiplex path.
- the loopback message sending unit is further configured to: determine, according to any combination of one or more of the following information input by the operator, a flow identifier corresponding to the specified transmission path, and include the The stream ID corresponding to the specified transmission path:
- the loopback message sending unit is configured to include, in the loopback message, a stream identifier corresponding to the specified transmission path by:
- the loopback message carries a forwarding label, and the flow label corresponding to the specified transmission path is included in the forwarding label.
- the loopback response message includes a flow identifier corresponding to the reverse common path, where the node through which the reverse common path passes is completely consistent with the maintenance point of the specified transmission path. .
- the loopback detection unit is configured to: after receiving the loopback response message, determine a transmission path of the loopback response message according to the flow identifier included therein, and determine whether the transmission path is related to the source maintenance end The designated transmission path selected when the node sends the loopback message is common. If yes, it determines that the detection is correct. If not, determines that the detection fails, and returns an announcement that the loopback detection fails.
- the embodiment of the present invention further provides a network node, which is applied to loopback detection of an Ethernet supporting equivalent multipath, including a loopback response unit.
- the loopback response unit is configured to receive a loopback message sent by the source maintenance end node, and send a loopback response message to the source maintenance end node;
- the loopback message includes a flow identifier corresponding to the specified transmission path, where the specified transport path is a one determined by the source maintenance end node from multiple equal-cost transmission paths to the destination maintenance point.
- the loopback response unit is configured to: after receiving the loopback message, determine the specified transmission path according to the flow identifier included therein, and calculate a flow corresponding to the reverse common path transmission path After the identifier is sent, the loopback response message is sent to the source maintenance end node, and the loop identifier corresponding to the reverse common path transmission path is included in the loopback response message;
- the node through which the reverse multiplex transmission path passes is completely consistent with the maintenance point that the designated transmission path passes.
- the solution of the foregoing embodiment extends the working mechanism of the Ethernet loopback detection specified by the IEEE 802.1ag standard, so that the function can be applied to the Ethernet supporting ECMP specified by the IEEE 802.1Qb project, and is specified for one of the multiple equal cost paths.
- the loopback detection is performed on the path, so that an application scenario with equivalent multipath between the two maintenance points can be supported.
- Figure 1 is a schematic diagram of a loopback detection process specified by the IEEE 802.1ag standard
- FIG. 2 is a schematic diagram of a F-tag encapsulation format of a forwarding label specified by the IEEE 802.1Qb project;
- FIG. 3 is a schematic flowchart of a loopback detection method according to an embodiment of the present invention;
- FIG. 4 is a loopback detection process according to Embodiment 1 of the present invention;
- FIG. 5 is a schematic diagram of a loopback detection process according to Embodiment 2 of the present invention.
- FIG. 6 is a schematic diagram of a loopback detection system according to an embodiment of the present invention. Preferred embodiment of the invention
- a flow-based loopback detection method is proposed, which can implement loopback detection for a specified transmission path in ECMP, and overcomes There is a lack of a mechanism in the prior art for a mechanism for loopback detection for a path specified in ECMP.
- An embodiment of the present invention is a flow-based loopback detection method, which uses the following technical solution:
- the maintenance end node sends a loopback message to the maintenance intermediate point or the peer maintenance end node, and the loopback message carries the forwarding label F-tag. , which contains a 16-bit stream identifier corresponding to the particular transmission path selected;
- the destination maintenance point receives the loopback message carrying the F-tag, and sends a loopback response to the source maintenance end node.
- the loopback response carries the forwarding label F-tag, which contains the corresponding a stream identifier of the reverse common path;
- the source maintenance end node receives the loopback response carrying the F-tag, checks the 16-bit stream identifier contained therein, and determines whether it corresponds to the reverse collocated path, and the 16-bit stream identifier is opposite to the reverse collocated path. Correspondence is a necessary condition for the success of this loopback detection.
- the destination maintenance point After the destination maintenance point receives the loopback message, it determines according to the 16-bit stream identifier contained therein. a specific transmission path selected, and calculating a flow identifier corresponding to the reverse unicast transmission path of the source maintenance end node; and then the flow identifier of the reverse unidirectional transmission path is included in the maintenance point sent to the source end Loopback response message.
- the reverse multiplex transmission path means that the node through which the reverse path passes is completely consistent with the node through which the forward transmission path passes.
- the embodiment of the present invention provides a flow-based loopback detection method. As shown in FIG. 3, the method includes:
- Step 301 The maintenance end node determines the destination maintenance point according to the input of the operator and selects one of the plurality of equivalent transmission paths that reach the destination maintenance point.
- the information input by the operator includes the identifier of the destination maintenance point. Since the destination maintenance point is based on the switch port, the identifier is generally the Media Access Control (MAC) address of the port where the destination maintenance point is located;
- the input information further includes an identifier of the specific path selected from the plurality of equal-cost transmission paths to the destination maintenance point, and the identifier may be a direct flow identifier (Flow ID) or an indirect capable of calculating the flow identifier.
- Flow ID direct flow identifier
- identifiers including the Equal Cost Tree-Algorithm (ECT-Algorithm) identifier (from 00-80-C2-01 to 00-80-C2-10), or information parameters describing the stream (parameter set) "One or more of source/destination MAC address, source/destination IP address, source/destination port".
- ECT-Algorithm Equal Cost Tree-Algorithm
- Step 302 The maintenance end node sends a loopback message to the destination maintenance point, and carries the flow identifier corresponding to the selected medium transmission path.
- the maintenance node sends a loopback message to the destination maintenance point.
- the message is a unicast Ethernet frame.
- the destination MAC address is the MAC address of the switch port where the destination maintenance point is located.
- the source MAC address is the switch where the maintenance node is located.
- the message also carries a forwarding label F-tag, which contains the flow identifier corresponding to the selected transmission path.
- Step 303 After receiving the loopback message, the destination maintenance point selects the reverse collocated transmission path of the transmission path according to the flow identifier, and calculates a flow identifier corresponding to the reverse unidirectional transmission path.
- the destination maintenance point After receiving the loopback message sent by the maintenance end node, the destination maintenance point checks the flow identifier carried in the loopback message, and determines which loop path the loopback message is transmitted according to the identifier value.
- the method may be to perform hash calculation on multiple parameters including the flow identifier. The result of the hash corresponds to the particular transmission path selected. Then, the destination maintenance point calculates the flow identifier of the reverse collocated path corresponding to the specific transmission path.
- One possible calculation method is to perform inverse hash calculation according to the selected reverse multiplex transmission path.
- Step 304 The destination maintenance point replies to the maintenance end node with a loopback response message, and carries the calculated flow identifier corresponding to the reverse unidirectional transmission path.
- the destination maintenance point After the destination maintenance point calculates the flow identifier of the corresponding reverse unicast transmission path, it sends a loopback response message to the maintenance end node.
- the message is a unicast Ethernet frame.
- the destination MAC address is the MAC address of the switch port where the maintenance node is located.
- the MAC address is the MAC address of the switch port where the destination maintenance point is located.
- the message also carries the forwarding label F-tag, which contains the flow identifier corresponding to the reverse common path.
- Step 305 After receiving the loopback response message, the maintenance end node detects the flow identifier and determines whether it corresponds to the reverse multiplex transmission path.
- the maintenance end node After receiving the loopback response message replied by the destination maintenance point, the maintenance end node checks the flow identifier carried in the loopback response message, and determines, according to the identifier value, which loopback response message is transmitted along the specific path, and determines the transmission path. Whether it is common to the selected transmission path when the maintenance end node sends the loopback message, and the transmission path is common to the selected transmission path when the maintenance end node sends the loopback message, which is a necessary condition for the loopback detection to be successful.
- the maintenance end node initiates loopback detection to the maintenance intermediate point.
- FIG. 4 is a schematic diagram of a flow-based loopback detection process according to the embodiment. As shown in FIG. 3 and FIG. 4, the process mainly includes the following steps:
- Step 401 MEP1 determines the MIP according to the operator's input and selects one of the two equivalent transmission paths (SW1->SW21->SW3 and SW1->SW22->SW3) that arrive at the MIP.
- the information input by the operator includes the MAC address of the MIP, and the identifier of the specific path SW1->SW21->SW3 that reaches the MIP.
- the identifier may be a direct Flow ID1 or an indirect identifier that can calculate the Flow ID1. , including the ECT-Algorithm logo (from 00-80-C2-01 Go to 00-80-C2-10), or describe the information parameter of Flow (one or more of the parameter set "source/destination MAC address, source/destination IP address, source/destination port").
- Step 402 MEP1 sends a loopback message to the MIP, carrying the flow identifier corresponding to the selected transmission path SW1->SW21 -> SW3.
- the MEP1 sends a flow-based loopback message to the MIP, the message is a unicast Ethernet frame, the destination MAC address is the MAC address of the MIP, and the source MAC address is the MAC address of the MEP1, and the message carries the forwarding label.
- F-tag which contains Flow ID1 corresponding to the selected transmission path SW1->SW21->SW3.
- Step 403 After receiving the loopback message, the MIP selects the reverse common transmission path of the transmission path according to the flow identifier, and calculates a flow identifier corresponding to the reverse common transmission path.
- the MIP After receiving the flow-based loopback message sent by the MEP1, the MIP checks the flow identifier carried in the loopback message, and determines that the loopback message is transmitted along the SW1->SW21->SW3 according to the identifier value Flow ID1, and then calculates The flow ID of the reverse unicast path SW3->SW21->SW1 corresponding to the specific transmission path Flow ID2, Flow ID2 and Flow ID1 may be the same or different.
- Step 404 The MIP replies to the MEP1 with a loopback response message, and carries the calculated flow identifier of the corresponding reverse multiplex transmission path.
- the MIP replies to the flow-based loopback response message to the MEP1.
- the message is a unicast Ethernet frame, the destination MAC address is the MAC address of the MEP1, and the source MAC address is the MAC address of the MIP.
- the message also carries the forwarding label F-tag, which includes Corresponds to Flow ID2 of the reverse common path transmission path SW3->SW21->SW1.
- Step 405 After receiving the loopback response message, the MEP1 detects the flow identifier and determines whether it corresponds to the reverse multiplex transmission path.
- the MEP1 After receiving the flow-based loopback response message sent by the MIP, the MEP1 checks the flow identifier carried in the loopback response message, and determines that the loopback response message is transmitted along SW3->SW21->SW1 according to the identifier value Flow ID2. When the MEP1 sends a loopback message, the selected transmission path SW1->SW21->SW3 is common, and this judgment result is a necessary condition for the loopback detection success.
- Embodiment 2 Embodiment 2
- the maintenance end node initiates loopback detection to the peer maintenance end node.
- FIG. 5 is a schematic diagram of a flow-based loopback detection process according to the embodiment. As shown in FIG. 3 and FIG. 5, the process mainly includes the following steps:
- Step 501 MEP1 determines MEP2 according to the operator's input and selects one of two equivalent transmission paths (SW1->SW21->SW3->SW4 and SW1->SW22->SW3->SW4) to MEP2.
- the information input by the operator includes the MAC address of the MEP2, and also includes the identifier of the specific path SW1->SW22->SW3->SW4 that reaches the MEP2, and the identifier may be a direct Flow ID3, or may be an indirect one that can calculate the Flow ID3.
- Other identifiers including the ECT-Algorithm identifier (from 00-80-C2-01 to 00-80-C2-10), or information parameters describing the Flow (parameter set "source/destination MAC address, source/destination IP address" , one or more of the source/destination ports.
- Step 502 MEP1 sends a loopback message to MEP2, carrying the flow identifier corresponding to the selected transmission path SW1->SW22->SW3->SW4.
- the MEP1 sends a flow-based loopback message to the MEP2, the message is a unicast Ethernet frame, the destination MAC address is the MAC address of the MEP2, and the source MAC address is the MAC address of the MEP1, and the message carries the forwarding label.
- F-tag which contains Flow ID3 corresponding to the selected transmission path SW1->SW22->SW3->SW4.
- Step 503 After receiving the loopback message, the MEP2 selects the reverse common transmission path of the transmission path according to the flow identifier, and calculates a flow identifier corresponding to the reverse common transmission path.
- the MEP2 After receiving the flow-based loopback message sent by the MEP1, the MEP2 checks the flow identifier carried in the loopback message, and determines that the loopback message is transmitted along the SW1->SW22->SW3->SW4 according to the identifier value Flow ID3. Then, the flow identifier Flow ID4 corresponding to the reverse symmetry transmission path SW4->SW3->SW22->SW1 of the specific transmission path is calculated, and the flow ID4 and the flow ID3 may be the same or different.
- Step 504 The MEP2 replies to the MEP1 with a loopback response message, and carries the calculated flow identifier of the corresponding reverse multiplex transmission path.
- MEP2 replies to MEP1 with a flow-based loopback response message, which is a unicast Ethernet frame,
- the MAC address is the MAC address of the MEP1
- the source MAC address is the MAC address of the MEP2.
- the message also carries the forwarding label F-tag, which includes the Flow ID4 corresponding to the reverse symmetry transmission path SW4->SW3->SW22->SW1. .
- Step 505 After receiving the loopback response message, the MEP1 detects the flow identifier and determines whether it corresponds to the reverse multiplex transmission path.
- the MEP1 After receiving the flow-based loopback response message replied by the MEP2, the MEP1 checks the flow identifier carried in the loopback response message, and determines that the loopback response message is transmitted along the SW4->SW3->SW22->SW1 according to the identifier value Flow ID4.
- the MEP1 sends a loopback message, the selected transmission path SW1->SW22->SW3->SW4 is common, and this judgment result is a necessary condition for the loopback detection success.
- the embodiment of the present invention further provides a loopback detection system, which is applied to an Ethernet supporting an equivalent multipath.
- the system mainly includes: a transmission path determining unit in the source maintenance end node 601. 6011, a loopback message sending unit 6012 and a loopback detecting unit 6013; a loopback response unit 6021 in the destination maintenance point 602,
- the transmission path determining unit 6011 is configured to determine a specific transmission path from a plurality of equivalent transmission paths to the destination maintenance point;
- the loopback message sending unit 6012 is configured to send a loopback message to the destination maintenance point, where the loopback message includes a flow identifier corresponding to the specific transmission path;
- the loopback response unit 6021 is configured to: after receiving the loopback message, send a loopback response message to the source maintenance end node, where the loopback response message includes a flow identifier corresponding to the reverse unicast transmission path of the source maintenance end node;
- the loopback detection unit 6013 is configured to return a loopback detection success notification after receiving the loopback response message and detecting the error.
- the loopback message sending unit 6012 is further configured to: determine, according to one of the following information input by the operator, or any combination thereof, the flow identifier corresponding to the specific transmission path, and include the flow corresponding to the specific transmission path in the loopback message.
- logo
- Flow identification equivalent tree algorithm identification, source/destination media access control (MAC) address, source/destination IP address, source/destination port.
- MAC media access control
- the loopback message sending unit 6012 is configured to include the flow identifier corresponding to the specific transmission path in the loopback message by:
- the loopback message carries a forwarding label, and the forwarding label includes a flow identifier corresponding to a specific transmission path.
- the loopback response unit 6021 is configured to: after receiving the loopback message, determine a specific transmission path according to the flow identifier included therein, and calculate a flow identifier corresponding to the reverse unicast transmission path, and then go to the source maintenance end.
- the node sends a loopback response message, and the loopback response message includes a flow identifier corresponding to the reverse common path.
- the reverse multiplex transmission path means that the node through which the reverse transmission path passes is exactly the same as the maintenance point passed by the forward transmission path.
- the loopback detection unit 6013 is configured to: after receiving the loopback response message, determine a transmission path of the loopback response message according to the flow identifier included therein, and determine whether the transmission path and the source maintenance end node send a loopback The specific transmission path selected in the message is common. If yes, it is determined that the detection is correct. If not, the detection failure is determined, and the notification of the loopback detection failure is returned.
- the embodiment of the present invention further provides a source maintenance end node, which is applied to the loopback detection of the Ethernet supporting the equivalent multipath.
- the source maintenance end node includes: a transmission path determining unit. a loopback message sending unit and a loopback detecting unit, wherein
- the transmission path determining unit is configured to determine a specified transmission path from a plurality of equivalent transmission paths to the destination maintenance point;
- the loopback message sending unit is configured to send a loopback message to the destination maintenance point, where the loopback message includes a flow identifier corresponding to the specified transmission path;
- the loopback detection unit is configured to: after receiving the loopback response message returned by the destination maintenance point, and returning the loopback detection success after returning the loopback detection message; the loopback response message includes the source maintenance end node The flow identifier corresponding to the reverse multiplex path.
- the loopback message sending unit is further configured to determine, according to any combination of one or more of the following information input by the operator, the flow identifier corresponding to the specified transmission path, and cancel the loop in the loop
- the information includes the flow identifier corresponding to the specified transmission path:
- the loopback message sending unit is configured to include, in the loopback message, a stream identifier corresponding to the specified transmission path by:
- the loopback message carries a forwarding label, and the flow label corresponding to the specified transmission path is included in the forwarding label.
- the loopback response message includes a flow identifier corresponding to the reverse common path, where the node through which the reverse common path passes is completely consistent with the maintenance point of the specified transmission path. .
- the loopback detection unit is configured to: after receiving the loopback response message, determine a transmission path of the loopback response message according to the flow identifier included therein, and determine whether the transmission path is related to the source maintenance end The designated transmission path selected when the node sends the loopback message is common. If yes, it determines that the detection is correct. If not, determines that the detection fails, and returns an announcement that the loopback detection fails.
- the embodiment of the present invention further provides a network node, which is applied to the loopback detection of the Ethernet supporting the equal-cost multipath. As shown in FIG. 6, the loopback response unit is included.
- the loopback response unit is configured to receive a loopback message sent by the source maintenance end node, and send a loopback response message to the source maintenance end node;
- the loopback message includes a flow identifier corresponding to the specified transmission path, where the specified transport path is a one determined by the source maintenance end node from multiple equal-cost transmission paths to the destination maintenance point.
- the loopback response unit is configured to: after receiving the loopback message, determine the specified transmission path according to the flow identifier included therein, and calculate a flow corresponding to the reverse common path transmission path After the identifier is sent, the loopback response message is sent to the source maintenance end node, and the loop identifier corresponding to the reverse common path transmission path is included in the loopback response message;
- the node through which the reverse multiplex transmission path passes is completely consistent with the maintenance point that the designated transmission path passes.
- modules or steps of the above-described embodiments of the present invention may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed among multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from this
- the steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- embodiments of the invention are not limited to any specific combination of hardware and software.
- the loopback detection method and system provided by the above embodiments extend the working mechanism of the Ethernet loopback detection specified by the IEEE 802.1ag standard, so that the function can be applied to the Ethernet supporting ECMP specified by the IEEE 802.1Qbp project, for multiple pieces. Loopback detection is performed on a specific path in an equal-cost path, so that an application scenario with equivalent multipath between two maintenance points can be supported.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
Un procédé et un système de détection par bouclage peuvent mettre en œuvre la fonction de détection par bouclage d'OAM de l'Ethernet dans le cas d'un scénario avec ECMP. Ledit procédé se déroule de la manière suivante : un point d'extrémité de maintenance source envoie un message de bouclage à un point de maintenance destination, ce message de bouclage comprenant l'identificateur de flux qui correspond à un trajet de transmission désigné dans une pluralité de trajets de transmission équivalents menant au point de maintenance destination ; le point de maintenance destination envoie au point d'extrémité de maintenance source un message de réponse au bouclage suite à la réception du message de bouclage, ce message de réponse au bouclage comportant l'identificateur de flux qui correspond à un trajet de transmission à trajet commun inverse menant au point d'extrémité de maintenance source ; et le point d'extrémité de maintenance source renvoie une notification indiquant que la détection par bouclage est réussie lorsque le message de réponse au bouclage est reçu et qu'il n'y a eu aucune erreur dans la détection.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110163645.3A CN102833122B (zh) | 2011-06-17 | 2011-06-17 | 一种环回检测方法及系统 |
| CN201110163645.3 | 2011-06-17 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012171382A1 true WO2012171382A1 (fr) | 2012-12-20 |
Family
ID=47336100
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/072842 Ceased WO2012171382A1 (fr) | 2011-06-17 | 2012-03-22 | Procédé et système de détection par bouclage |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102833122B (fr) |
| WO (1) | WO2012171382A1 (fr) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015070601A1 (fr) * | 2013-11-14 | 2015-05-21 | 中兴通讯股份有限公司 | Procédé et système d'encapsulation d'identifiant de flux |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105760319A (zh) * | 2014-12-15 | 2016-07-13 | 中兴通讯股份有限公司 | 数据发送成功的确认方法及装置 |
| CN106162679B (zh) * | 2015-04-22 | 2019-09-24 | 中国移动通信集团内蒙古有限公司 | 无线宽带设备工作机制的判定方法及装置 |
| CN107800581B (zh) * | 2016-09-01 | 2022-03-18 | 中兴通讯股份有限公司 | 一种二层网络及二层网络的环回检测方法 |
| CN112636997B (zh) * | 2020-11-17 | 2022-08-30 | 新华三技术有限公司 | 一种路径检测方法及设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101056224A (zh) * | 2007-05-31 | 2007-10-17 | 杭州华三通信技术有限公司 | 一种网络设备的环回检测方法及设备 |
| CN101267363A (zh) * | 2008-04-24 | 2008-09-17 | 杭州华三通信技术有限公司 | 环回测试方法、系统及装置 |
| CN101505240A (zh) * | 2008-02-05 | 2009-08-12 | 华为技术有限公司 | 一种故障检测方法和装置 |
| US20100165852A1 (en) * | 2008-12-25 | 2010-07-01 | Fujitsu Limited | Node apparatus and method for performing a loopback-test on a communication path in a network |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101132319B (zh) * | 2006-08-21 | 2010-11-03 | 华为技术有限公司 | 一种以太网操作与维护故障检测的方法 |
| US8391163B2 (en) * | 2009-03-23 | 2013-03-05 | Cisco Technology, Inc. | Operating MPLS label switched paths and MPLS pseudowire in loopback mode |
| CN102075438B (zh) * | 2011-02-14 | 2016-03-30 | 中兴通讯股份有限公司 | 单播数据帧传输方法及装置 |
-
2011
- 2011-06-17 CN CN201110163645.3A patent/CN102833122B/zh active Active
-
2012
- 2012-03-22 WO PCT/CN2012/072842 patent/WO2012171382A1/fr not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101056224A (zh) * | 2007-05-31 | 2007-10-17 | 杭州华三通信技术有限公司 | 一种网络设备的环回检测方法及设备 |
| CN101505240A (zh) * | 2008-02-05 | 2009-08-12 | 华为技术有限公司 | 一种故障检测方法和装置 |
| CN101267363A (zh) * | 2008-04-24 | 2008-09-17 | 杭州华三通信技术有限公司 | 环回测试方法、系统及装置 |
| US20100165852A1 (en) * | 2008-12-25 | 2010-07-01 | Fujitsu Limited | Node apparatus and method for performing a loopback-test on a communication path in a network |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015070601A1 (fr) * | 2013-11-14 | 2015-05-21 | 中兴通讯股份有限公司 | Procédé et système d'encapsulation d'identifiant de flux |
| US10069723B2 (en) | 2013-11-14 | 2018-09-04 | Zte Corporation | Method and system for encapsulating flow identifier |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102833122B (zh) | 2017-05-24 |
| CN102833122A (zh) | 2012-12-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8588081B2 (en) | Monitoring a flow set to detect faults | |
| CN104335537B (zh) | 用于层2多播多路径传送的系统和方法 | |
| US9497107B1 (en) | Seamless path monitoring and rapid fault isolation using bidirectional forwarding detection in a network environment | |
| US8259563B1 (en) | Fast restoration for provider edge node and access link failures | |
| WO2017002017A1 (fr) | Convergence rapide au protocole vrrp avec détection de transmission bidirectionnelle multipoint | |
| EP3935814B1 (fr) | Sélection de réseau d'accès dynamique sur la base d'informations d'orchestration d'application dans un système de nuage de périphérie | |
| US20120051231A1 (en) | Enhancing mtrace to detect failure in multicast diverse paths | |
| KR20150038697A (ko) | Ldp 패킷들의 고속 리라우팅을 위한 방법 및 장치 | |
| US10063467B2 (en) | Virtual extensible local area network performance routing | |
| WO2014047784A1 (fr) | Procédé pour déterminer un trajet d'envoi de paquets, dispositif de réseau et dispositif de commande | |
| KR20120120472A (ko) | Mpls 링 토폴로지들에서의 최적화된 고속 리-라우트 | |
| US8902794B2 (en) | System and method for providing N-way link-state routing redundancy without peer links in a network environment | |
| US12058028B2 (en) | Method and system to prevent micro-loops during a network topology change | |
| WO2016082588A1 (fr) | Procédé et appareil de vérification de connectivité de liaison | |
| US20140036726A1 (en) | Network, data forwarding node, communication method, and program | |
| US8971195B2 (en) | Querying health of full-meshed forwarding planes | |
| WO2012171382A1 (fr) | Procédé et système de détection par bouclage | |
| US9917768B2 (en) | System and method for reflecting FEC route information | |
| US9749215B2 (en) | Method for receiving information, method for sending information, and apparatus for the same | |
| WO2014146541A1 (fr) | Système de convergence de cdn et de réseau, procédé de sélection de module de planification et support de stockage informatique | |
| CN103457794B (zh) | 确定ip承载网故障的方法和系统 | |
| WO2014008651A1 (fr) | Procédé et dispositif de routage pour établissement d'une session bfd | |
| WO2014164073A1 (fr) | Système et procédé pour refléter des informations de routage de classe d'équivalence de transmission | |
| CN103036731B (zh) | 一种基于流的环回检测的设备、系统及方法 | |
| CN102916845B (zh) | 一种多路径的环回检测方法及交换机设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12800219 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 12800219 Country of ref document: EP Kind code of ref document: A1 |