WO2015131537A1 - 双向转发检测方法、设备、系统及计算机存储介质 - Google Patents

双向转发检测方法、设备、系统及计算机存储介质 Download PDF

Info

Publication number
WO2015131537A1
WO2015131537A1 PCT/CN2014/090798 CN2014090798W WO2015131537A1 WO 2015131537 A1 WO2015131537 A1 WO 2015131537A1 CN 2014090798 W CN2014090798 W CN 2014090798W WO 2015131537 A1 WO2015131537 A1 WO 2015131537A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
reverse
label
forwarding path
bfd packet
Prior art date
Application number
PCT/CN2014/090798
Other languages
English (en)
French (fr)
Inventor
付志涛
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015131537A1 publication Critical patent/WO2015131537A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Definitions

  • the present invention relates to data network communication technologies, and in particular, to a Bidirectional Forwarding Detection (BFD) method, device, system, and computer storage medium.
  • BFD Bidirectional Forwarding Detection
  • BFD Bidirectional Forwarding Detection
  • the path of the primary LSP is R1 - R2 - R3 - R6
  • the path of the backup LSP is R1 - R4 - R5 - R6
  • LSP BFD detection is configured on R1
  • R1 can be used as the active end.
  • R6 can be used as a passive end.
  • R6 When R1 sends BFD packets to R6 through the primary LSP, there are two paths for R6 to reply BFD packets to R1: one is R6-R3-R2-R1; the other is R6-R5-R4-R1. If the optimal path is R6-R5-R4-R1, the path that R1 sends BFD packets to R6 is inconsistent with the path that R6 returns BFD packets to R1.
  • the R1 cannot receive the reply BFD sent by R6 when the link between the R6 and the R1 replying to the BFD packet is faulty.
  • a packet is sent, so that R1 will misjudge the path where R1 sends BFD packets to R6. That is, R1 misjudges the fault of the backup LSP as the fault of the primary LSP.
  • R1 switches the service to the backup LSP that is actually faulty due to a misjudgment of the primary LSP, a handover error occurs.
  • Embodiments of the present invention provide a bidirectional forwarding detection method, device, system, and computer storage medium, which can avoid misjudgment of faults, thereby avoiding switching errors.
  • an embodiment of the present invention provides a bidirectional forwarding detection method, where the method includes:
  • the first node sends the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP;
  • the first node When the first node receives the second BFD packet sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP, the first node confirms the Make the bidirectional LSP non-faulty.
  • the method further includes:
  • the first node When the first node does not receive the second BFD packet sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP, the first node confirms that the first node does not receive the second BFD packet sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP.
  • the signaling bidirectional LSP fails, and the service on the signaling bidirectional LSP is switched to the backup LSP of the signaling bidirectional LSP.
  • the first node sends the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP, including:
  • the node sends the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP; wherein the first lower node is adjacent to the first node.
  • the first node instructs the first lower-level node to send the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP, including:
  • the forward label of the first node is configured to acquire, by the first lower node, a forward outgoing label of the first lower node, and report the first BFD
  • the file is forwarded according to the forward outgoing label of the first lower node itself until the second node is reached.
  • the first node receives, by using the second node, the second BFD packet sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP, including:
  • the second BFD packet forwarded by the first upper node on the reverse forwarding path of the first node according to the reverse ingress label of the first node, where The first upper node is adjacent to the first node, and the second BFD packet is sent by the second node to the first upper node according to the reverse forwarding path of the signaling bidirectional LSP.
  • the method before the first node sends the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP, the method further includes:
  • the first node sequentially sets a corresponding forward forwarding label and a reverse forwarding label for each node on the signaling bidirectional LSP according to the forward forwarding path; where each of the signaling bidirectional LSPs
  • the forward forwarding label corresponding to the node includes a forward inbound label and a forward outgoing label of each node on the signaling bidirectional LSP; and the reverse forwarding label corresponding to the node through which the signaling bidirectional LSP passes includes the signaling bidirectional The reverse inbound label and the reverse outgoing label of the node through which the LSP passes.
  • an embodiment of the present invention provides a method for bidirectional forwarding detection, where the method includes:
  • the second node sends the second BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP.
  • the second node receives the first BFD packet sent by the first node according to the forward forwarding path of the signaling bidirectional LSP, and includes:
  • the second node sends the second BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP, including:
  • the second node finds its own reverse outgoing label according to its forward incoming label and the corresponding relationship between the forward incoming label and the reverse outgoing label;
  • the node sends the second BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP; wherein the second lower node is adjacent to the second node.
  • the second node instructs the second lower-level node to send the second BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP, including:
  • the method before the second node receives the first BFD packet sent by the first node according to the forward forwarding path of the signaling bidirectional LSP, the method further includes:
  • the second node receives the forward forwarding label and the reverse forwarding label corresponding to the second node that are set by the first node, where the forward forwarding label corresponding to the second node includes the second node The forward inbound label and the forward outgoing label; the reverse forwarding label corresponding to the second node includes a reverse inbound label and a reverse out label in the second node.
  • an embodiment of the present invention provides a method for bidirectional forwarding detection, where the method includes:
  • the intermediate node receives the first BFD packet sent by the upstream node of the forward forwarding path of the signaling bidirectional LSP, and sends the first BFD packet to the forward forwarding according to the forward forwarding path.
  • the intermediate node receives the second BFD packet sent by the upstream node of the reverse forwarding path of the signaling bidirectional LSP, and sends the second BFD packet to the reverse forwarding according to the reverse forwarding path.
  • a downstream node of the path wherein the second BFD packet is sent by the second node to the first node according to the reverse forwarding path of the signaling bidirectional LSP after receiving the first BFD packet.
  • the intermediate node receives the first BFD packet sent by the upstream node of the forward forwarding path of the signaling bidirectional LSP, and sends the first BFD packet to the The downstream nodes of the forward forwarding path, including:
  • the intermediate node receives the first BFD packet sent by the upstream node of the forward forwarding path according to its own forward ingress label, where the first BFD packet includes an upstream node of the forward forwarding path.
  • Forward label
  • the intermediate node obtains its forward outgoing label according to the forward outgoing label of the upstream node of the forward forwarding path;
  • the intermediate node sends the first BFD packet to a downstream node of the forward forwarding path according to the forward outgoing label of the self.
  • the intermediate node receives the second BFD packet sent by the upstream node of the reverse forwarding path of the signaling bidirectional LSP, and sends the second BFD packet to the The downstream nodes of the reverse forwarding path, including:
  • the intermediate node receives the second BFD packet sent by the upstream node of the reverse forwarding path according to its own reverse ingress label, where the second BFD packet includes an upstream node of the reverse forwarding path.
  • Reverse label
  • the intermediate node acquires its own reverse outgoing label according to the reverse outgoing label of the upstream node of the reverse forwarding path;
  • the intermediate node sends the second BFD packet to the downstream node of the reverse forwarding path according to its reverse outgoing label.
  • the method before the intermediate node receives the first BFD packet sent by the upstream node of the forward forwarding path of the signaling bidirectional LSP, the method further includes:
  • the intermediate node receives a forward forwarding label and a reverse forwarding label corresponding to the intermediate node that are set by the first node, where the forward forwarding label corresponding to the intermediate node includes a forward label of the intermediate node And forwarding the label in the forward direction; the reverse forwarding label corresponding to the intermediate node includes a reverse incoming label and a reverse outgoing label of the intermediate node.
  • an embodiment of the present invention provides a first node, where the first node includes a first sending unit, a first receiving unit, a determining unit, and a confirming unit, where
  • the first sending unit is configured to send the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP;
  • the first receiving unit is configured to receive a second BFD packet that is sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP;
  • the determining unit is configured to determine that the first receiving unit receives the second BFD packet sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP in a preset time period;
  • the confirming unit is configured to: when the determining unit determines that the first receiving unit receives the second BFD report sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP within a preset time period In this case, it is confirmed that the signaling bidirectional LSP is not faulty.
  • the confirming unit is further configured to: when the determining unit determines that the first receiving unit does not receive the second node according to the reverse forwarding path of the signaling bidirectional LSP within a preset time period When the second BFD packet is received, it is confirmed that the signaling bidirectional LSP is faulty. And switching the service on the signaling bidirectional LSP to the backup LSP of the signaling bidirectional LSP.
  • the first sending unit is configured to send the first BFD packet to the first node on the forward forwarding path according to the forward outgoing label of the first node itself.
  • a lower-level node and instructing the first lower-level node to send the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP; wherein the first lower node Adjacent to the first node.
  • the first sending unit is configured to send the first BFD packet to the first lower node according to the forward outgoing label of the first node itself; wherein, the first node The forward outgoing label is configured to obtain the forward outgoing label of the first lower node itself, and the first BFD packet is forwarded according to the forward direction of the first lower node itself. The tag is forwarded until it reaches the second node.
  • the first receiving unit is configured to receive, according to the reverse ingress label of the first node itself, a first upper node from the first node on the reverse forwarding path within a preset time period. Forwarding the second BFD packet, where the first upper node is adjacent to the first node, and the second BFD packet is reversed by the second node according to the signaling bidirectional LSP The forwarding path is sent to the first superior node.
  • the first node further includes a setting unit, configured to sequentially set a corresponding forward forwarding label and a reverse forwarding label for each node on the signaling bidirectional LSP according to the forward forwarding path;
  • the forward forwarding label corresponding to each node on the signaling bidirectional LSP includes a forward inbound label and a forward outgoing label of each node on the signaling bidirectional LSP; the node corresponding to the signaling bidirectional LSP passes
  • the reverse forwarding label includes a reverse incoming label and a reverse outgoing label of the node through which the signaling bidirectional LSP passes.
  • an embodiment of the present invention provides a second node, where the second node includes: a second receiving unit and a second sending unit, where
  • the second receiving unit is configured to receive the first node according to the forward direction of the signaling bidirectional LSP The first BFD packet sent by the sending path;
  • the second sending unit is configured to send the second BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP.
  • the second receiving unit is configured to receive, according to the forward ingress label of the second node itself, the first BFD report forwarded by the second node in the second upper node of the forward forwarding path.
  • the second upper node is adjacent to the second node, and the first BFD packet is sent by the first node to the second according to a forward forwarding path of the signaling bidirectional LSP.
  • Upper node is adjacent to the second node, and the first BFD packet is sent by the first node to the second according to a forward forwarding path of the signaling bidirectional LSP.
  • the second sending unit is further configured to:
  • the second sending unit is further configured to:
  • the second receiving unit is further configured to receive a forward forwarding label and a reverse forwarding label corresponding to the second node that are set by the first node, where the second node corresponds to forward forwarding
  • the label includes a forward inbound label and a forward out label of the second node; and the reverse forwarding label corresponding to the second node includes a reverse inbound label and a reverse out label in the second node.
  • an embodiment of the present invention provides an intermediate node, where the intermediate node includes: a third receiving unit and a third transmitting unit, wherein
  • the third receiving unit is configured to receive the first BFD packet sent by the upstream node of the forward forwarding path of the signaling bidirectional LSP;
  • the third sending unit is configured to send the first BFD packet to the downstream node of the forward forwarding path according to the forward forwarding path, where the first BFD packet is followed by the first node. Sending a forward forwarding path of the signaling bidirectional LSP to the second node;
  • the third receiving unit is further configured to receive a second BFD packet sent by the upstream node of the reverse forwarding path of the signaling bidirectional LSP;
  • the third sending unit is further configured to send the second BFD packet to the downstream node of the reverse forwarding path according to the reverse forwarding path, where the second BFD packet is sent by the third After receiving the first BFD packet, the two nodes send the first BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP.
  • the third receiving unit is further configured to receive the first BFD packet sent by the upstream node of the forward forwarding path according to the forward ingress label of the intermediate node itself; wherein, the first The BFD packet includes a forward outgoing label of the upstream node of the forward forwarding path;
  • the third sending unit is further configured to:
  • the third receiving unit is further configured to receive the second BFD packet sent by the upstream node of the reverse forwarding path according to the reverse ingress label of the intermediate node itself; wherein, the second The BFD packet includes a reverse outgoing label of the upstream node of the reverse forwarding path;
  • the third sending unit is further configured to:
  • the third receiving unit is further configured to receive a forward forwarding label and a reverse forwarding label corresponding to the intermediate node that are set by the first node, where the forward forwarding label corresponding to the intermediate node includes The forward inbound label and the forward outgoing label of the intermediate node; the reverse forwarding label corresponding to the intermediate node includes a reverse incoming label and a reverse outgoing label of the intermediate node.
  • an embodiment of the present invention provides a system for bidirectional forwarding detection, where the system includes: a first node and a second node;
  • the first node is configured to send the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP;
  • the second node is configured to receive the first BFD packet sent by the first node according to the forward forwarding path of the signaling bidirectional LSP;
  • the system further includes an intermediate node, configured to receive a first BFD packet sent by an upstream node of the forward forwarding path of the signaling bidirectional LSP, and to perform the first BFD according to the forward forwarding path.
  • the packet is sent to the downstream node of the forward forwarding path, where the first BFD packet is sent by the first node to the second node according to the forward forwarding path of the signaling bidirectional LSP; ,
  • an embodiment of the present invention provides a computer storage medium, where executable instructions are stored, and the executable instructions are configured to perform the bidirectional forwarding detection method described above.
  • the bidirectional tunnel between the active end and the passive end enables the signaling interaction path between the active end and the passive end to be consistent and opposite in direction; the faulty misjudgment can be avoided, thereby avoiding switching errors.
  • FIG. 1 is a schematic diagram of an LSP structure in a related art
  • FIG. 2 is a schematic flowchart of a method for bidirectional forwarding detection according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another method for bidirectional forwarding detection according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of still another method for bidirectional forwarding detection according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a method for bidirectional forwarding detection according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a first node according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another first node according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a second node according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of an intermediate node according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a system for bidirectional forwarding detection according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a system for bidirectional forwarding detection according to an embodiment of the present invention.
  • the path of the signaling interaction between the active end and the passive end is consistent and the direction is reversed through the bidirectional tunnel between the active end and the passive end; thereby avoiding the technical problem described in the background art.
  • the embodiment of the present invention is described by using the LSP structure shown in FIG. 1 as an example. It can be understood that those skilled in the art can apply the embodiment of the present invention to other technologies without creative labor. In the LSP structure, the embodiments of the present invention are not described in detail.
  • the method may be applied to a first node of a signaling bidirectional LSP, where the signaling bidirectional LSP has the same node and the forwarding path is in the opposite direction. specialty.
  • the method can include:
  • the first node sends the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP.
  • the primary LSP shown in FIG. 1 is taken as an example, that is, the R1—R2—R3—R6 paths are the signaling bidirectional LSPs, and those skilled in the art can understand that R1 is the first node, R6.
  • R2 and R3 are intermediate nodes, and the forward forwarding path of the signaling bidirectional LSP is R1 - R2 - R3 - R6.
  • the reverse forwarding path of the signaling bidirectional LSP is R6 - R3 - R2 - R1, so it can be known that the reverse forwarding path in the signaling bidirectional LSP is the same as the node through which the forward forwarding path passes, and the forwarding direction is opposite.
  • the first node directly sends the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP.
  • This process is a conventional technical means for those skilled in the art and will not be described herein.
  • the sending, by the first node, the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP may include:
  • the node sends the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP; wherein the first lower node is adjacent to the first node.
  • R1 when R1 is the first node, R2 is R1. Forwarding the first lower node on the path; when the signaling bidirectional LSP includes only the first node and the second node, the first lower node of the first node is the second node.
  • the first node instructs the first lower-level node to send the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP, and may further include:
  • the first node sends the first BFD packet to the first lower node according to its forward outgoing label; wherein the forward label of the first node is used for the first lower level
  • the node obtains the forward outgoing label of the first lower-level node, and forwards the first BFD packet according to the forward outgoing label of the first lower-level node until the second node is reached.
  • the forward outgoing label of R1 is set to a, and the forward incoming and outgoing labels of R2 are set to (a, b), then R1 will first BFD according to the forward outgoing label.
  • the packet is sent to R2; R2 finds the forward outgoing label b of R2 by using the same forward incoming label a as the forward outgoing label of R1, and forwards the first BFD packet according to the forward outgoing label b of R2.
  • R2 is at the downstream node of the forward forwarding path of the signaling bidirectional LSP until reaching the second node R6.
  • the first node receives the second BFD packet sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP, including:
  • the second BFD packet forwarded by the first upper node on the reverse forwarding path of the first node according to the reverse ingress label of the first node, where The first upper node is adjacent to the first node, and the second BFD packet is sent by the second node to the first intermediate node according to the reverse forwarding path of the signaling bidirectional LSP.
  • the first upper node of the first node is the second node. Therefore, it can be known that In the specific signaling bidirectional LSP structure, the first upper node of the first node is the same node as the first lower node.
  • R1 receives the second BFD packet sent by R2, and R1 determines that the signaling bidirectional LSP has no fault;
  • the BFD packet is sent to R1 according to the reverse outgoing label after R2 is received according to the reverse incoming label, and R1 receives the second BFD packet according to the reverse incoming label that is the same as the reverse outgoing label of R2.
  • the first BFD packet and the second BFD packet are transmitted through the signaling bidirectional LSP. Therefore, the problem of the path inconsistency described in the background art does not occur, thereby avoiding the misjudgment of the fault, thereby avoiding A switching error has occurred.
  • the signaling bidirectional LSP needs to be set.
  • a forward forwarding label and a reverse forwarding label are configured on the signaling bidirectional LSP to ensure that the first BFD packet and the second BFD packet are transmitted through the signaling bidirectional LSP.
  • the method before the sending, by the first node, the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP, the method further includes:
  • the first node sequentially sets a corresponding forward forwarding label and a reverse forwarding label for each node on the signaling bidirectional LSP according to the forward forwarding path; where each of the signaling bidirectional LSPs
  • the forward forwarding label corresponding to the node includes each node on the signaling bidirectional LSP
  • the reverse forwarding label corresponding to the node through which the signaling bidirectional LSP passes includes a reverse inbound label and a reverse outgoing label of the node through which the signaling bidirectional LSP passes.
  • the forward ingress and egress labels of R1 are (0, a), and the forward ingress and egress labels of R2 are (a, b), and R3.
  • the forward inbound and outbound labels are (b, c), and the forward inbound and outbound labels of R6 are (c, 0); correspondingly, the reverse inbound and outbound labels of R6 are (0, aa), and the reverse of R3
  • the inbound and outbound labels are (aa, bb), the reverse inbound and outbound labels of R2 are (bb, cc), and the reverse inbound and outbound labels of R1 are (cc, 0).
  • An embodiment of the present invention provides a method for bidirectional forwarding detection.
  • the path of signaling interaction between the first node and the second node is consistent and opposite in direction by using a bidirectional tunnel between the first node and the second node. Avoid false positives to avoid switching errors.
  • FIG. 3 shows another method for performing bidirectional forwarding detection according to an embodiment of the present invention
  • the method may be applied to a second node of a signaling bidirectional LSP, where Let the bidirectional LSP have the same node and the reverse direction of the forwarding path.
  • the method can include:
  • S301 The second node receives the first BFD packet sent by the first node according to the forward forwarding path of the signaling bidirectional LSP.
  • the primary LSP shown in FIG. 1 is taken as an example, that is, the R1—R2—R3—R6 paths are the signaling bidirectional LSPs, and those skilled in the art can understand that R1 is the first node, R6.
  • R2 and R3 are intermediate nodes, and the forward forwarding path of the signaling bidirectional LSP is R1 - R2 - R3 - R6.
  • the reverse forwarding path of the signaling bidirectional LSP is R6 - R3 - R2 - R1, so it can be known that the reverse forwarding path in the signaling bidirectional LSP is the same as the node through which the forward forwarding path passes, and the forwarding direction is opposite.
  • the second node directly receives the first node that is sent by the first node according to the forward forwarding path of the signaling bidirectional LSP.
  • BFD message the process is a common technical means for those skilled in the art, here No longer.
  • the second node receives the first BFD packet sent by the first node according to the forward forwarding path of the signaling bidirectional LSP, and includes:
  • R3 is the second upper node.
  • R3 receives the first BFD packet according to its forward forwarding label b, and then sends the first BFD packet to R6 according to its forward outgoing label c;
  • R6 sends the label according to its own direction with R3.
  • the same forward ingress label c receives the first BFD packet;
  • the second upper node of the second node is the first node.
  • the second node sends the second BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP.
  • the second node directly sends the second BFD packet to the first according to the reverse forwarding path of the signaling bidirectional LSP. node.
  • the second node sends the second BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP, including:
  • the second node finds its own reverse outgoing label according to its forward incoming label and the corresponding relationship between the forward incoming label and the reverse outgoing label;
  • the node sends the second BFD packet to the reverse forwarding path of the signaling bidirectional LSP to The first node; wherein the second lower node is adjacent to the second node.
  • R6 is the second node
  • R3 is the second lower node
  • the second lower node of the second node is the first node.
  • the second upper node of the second node is the same node as the second lower node.
  • the second node instructs the second lower-level node to send the second BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP, including:
  • the second lower-level node itself forwards the label, and forwards the second BFD packet according to the reverse outgoing label of the second lower-level node until the first node is reached.
  • the primary LSP shown in Figure 1 is used as an example.
  • the R6 After receiving the first BFD packet, the R6 needs to reply to the second BFD packet through the reverse forwarding path of the signaling bidirectional LSP. Therefore, R6 can be based on itself.
  • the forward inbound label c finds its own reverse outgoing label aa, and sends the second BFD packet to R3 according to its reverse outgoing label aa; and R3 receives the second BFD packet according to itself and
  • the reverse inbound label aa of the reverse outgoing label aa of R6 obtains its own reverse outgoing label bb, and sends the second BFD packet to R2 according to its reverse outgoing label bb until it reaches R1.
  • the first BFD packet and the second BFD packet are both transmitted through the signaling bidirectional LSP by setting a forward forwarding label and a reverse forwarding label to the node on the signaling bidirectional LSP. transmission. Therefore, before the second node receives the first BFD packet sent by the first node by using the forward forwarding path of the signaling bidirectional LSP by the at least one intermediate node, the method further includes:
  • the second node receives the forward forwarding label and the reverse forwarding label corresponding to the second node that are set by the first node, where the forward forwarding label corresponding to the second node includes the second node
  • the forward inbound label and the forward outgoing label; the reverse forwarding label corresponding to the second node includes a reverse inbound label and a reverse out label in the second node.
  • the specific forward forwarding label and the reverse forwarding label of the second node are as described in the foregoing embodiments, and details are not described herein again.
  • An embodiment of the present invention provides a method for bidirectional forwarding detection.
  • the path of signaling interaction between the first node and the second node is consistent and opposite in direction by using a bidirectional tunnel between the first node and the second node. Avoid false positives to avoid switching errors.
  • FIG. 4 a flow of another method for bidirectional forwarding detection according to an embodiment of the present invention is shown.
  • the method may be applied to an intermediate node in a signaling bidirectional LSP.
  • the intermediate node receives the first BFD packet sent by the upstream node of the forward forwarding path of the signaling bidirectional LSP, and sends the first BFD packet to the forward forwarding according to the forward forwarding path.
  • the downstream node of the path receives the first BFD packet sent by the upstream node of the forward forwarding path of the signaling bidirectional LSP, and sends the first BFD packet to the forward forwarding according to the forward forwarding path.
  • the primary LSP shown in FIG. 1 is taken as an example, that is, the R1—R2—R3—R6 paths are the signaling bidirectional LSPs, and those skilled in the art can understand that R1 is the first node, R6.
  • R2 and R3 are intermediate nodes, and the forward forwarding path of the signaling bidirectional LSP is R1 - R2 - R3 - R6.
  • the reverse forwarding path of the signaling bidirectional LSP is R6 - R3 - R2 - R1, so it can be known that the reverse forwarding path in the signaling bidirectional LSP is the same as the node through which the forward forwarding path passes, and the forwarding direction is opposite.
  • both the “upstream node” and the “downstream node” described in this embodiment belong to the relative concept, and the direction of the determined node and the forwarding path of the signaling bidirectional LSP are confirmed as a reference.
  • the upstream node of R2 is R1
  • the downstream node is R3, the upstream node of R3 is R2, and the downstream node is R6.
  • the upstream node of R3 is R6, and the downstream node is R2;
  • the upstream node of R2 is R3, and the downstream node is R1.
  • the first BFD packet is sent by the first node to the second node according to the forward forwarding path of the signaling bidirectional LSP;
  • the intermediate node receives the first BFD packet sent by the upstream node of the forward forwarding path of the signaling bidirectional LSP, and sends the first BFD packet to the downstream node of the forward forwarding path according to the forward forwarding path, including:
  • the intermediate node receives the first BFD packet sent by the upstream node of the forward forwarding path according to its own forward ingress label, where the first BFD packet includes the upstream node of the forward forwarding path. Give out the label; and,
  • the intermediate node obtains its forward outgoing label according to the forward outgoing label of the upstream node of the forward forwarding path;
  • the intermediate node sends the first BFD packet to the downstream node of the forward forwarding path according to its forward outgoing label.
  • R2 is taken as an example for specific description. It can be understood that the specific processing manners of R3 and R2 are the same, and details are not described herein again.
  • R2 receives the first BFD packet sent by R1, and the first BFD packet includes the forward outgoing label a of R1;
  • R2 obtains its own positive according to the positive forward label a of the forward outgoing label a of R1.
  • R2 sends the first BFD packet to the forward label of the forward B label, and then the first BFD packet is sent. Transfer to R6.
  • the intermediate node receives the second BFD packet sent by the upstream node of the reverse forwarding path of the signaling bidirectional LSP, and sends the second BFD packet to the reverse forwarding according to the reverse forwarding path.
  • the downstream node of the path receives the second BFD packet sent by the upstream node of the reverse forwarding path of the signaling bidirectional LSP, and sends the second BFD packet to the reverse forwarding according to the reverse forwarding path.
  • the second BFD packet is sent by the second node to the first node according to the reverse forwarding path of the signaling bidirectional LSP after receiving the first BFD packet.
  • the intermediate node sends the upstream node of the reverse forwarding path of the signaling bidirectional LSP to send And sending the second BFD packet to the downstream node of the reverse forwarding path according to the reverse forwarding path, including:
  • the intermediate node receives the second BFD packet sent by the upstream node of the reverse forwarding path according to the reverse inbound label; the second BFD packet includes the reverse outgoing label of the upstream node of the reverse forwarding path;
  • the intermediate node obtains its own reverse outgoing label according to the reverse outgoing label of the upstream node of the reverse forwarding path;
  • the intermediate node sends the second BFD packet to the downstream node of the reverse forwarding path according to its reverse outgoing label.
  • R3 is taken as an example for specific description. It can be understood that the specific processing manners of R2 and R3 are the same, and details are not described herein again.
  • R3 receives the second BFD packet sent by R6, and the second BFD packet includes the reverse outgoing label aa of R6;
  • R3 obtains its own reverse according to the reverse ingress label aa of the reverse outgoing label aa of R6.
  • R3 sends the second BFD packet to the reverse label according to its reverse label bb, which is also the R2 of bb; until the second BFD packet is received. Transfer to R1.
  • the first BFD packet and the second BFD packet are both transmitted through the signaling bidirectional LSP by setting a forward forwarding label and a reverse forwarding label to the node on the signaling bidirectional LSP. transmission. Therefore, before the intermediate node receives the first BFD packet sent by the upstream node of the forward forwarding path of the signaling bidirectional LSP, the method further includes:
  • the intermediate node receives the forward forwarding label and the reverse forwarding label corresponding to the intermediate node set by the first node, where the forward forwarding label corresponding to the intermediate node includes a forward incoming label and a forward outgoing label of the intermediate node;
  • the reverse forwarding label corresponding to the intermediate node includes a reverse incoming label and a reverse outgoing label of the intermediate node.
  • the specific forward forwarding label and the reverse forwarding label of each intermediate node are as described in the foregoing embodiments, and details are not described herein again.
  • Embodiments of the present invention provide a method for bidirectional forwarding detection;
  • the bidirectional tunnel between the nodes makes the path of signaling interaction between the first node and the second node consistent and opposite in direction; the misjudgment of the fault can be avoided, thereby avoiding switching errors.
  • FIG. 5 a detailed flow of a method for bidirectional forwarding detection according to an embodiment of the present invention is shown, which is illustrated by taking the primary LSP shown in FIG. 1 as an example, that is,
  • the R1 - R2 - R3 - R6 path is the signaling bidirectional LSP, and those skilled in the art can understand that R1 is the first node, R6 is the second node, R2 and R3 are intermediate nodes, and the signaling bidirectional LSP
  • the forward forwarding path is R1 - R2 - R3 - R6.
  • the reverse forwarding path of the signaling bidirectional LSP is R6 - R3 - R2 - R1; the method may include:
  • R1 sequentially sets a corresponding forward forwarding label and a reverse forwarding label for each node on the signaling bidirectional LSP according to the forward forwarding path.
  • the first BFD packet and the second BFD packet are both transmitted through the signaling bidirectional LSP by setting the forward forwarding label and the reverse forwarding label in the signaling bidirectional LSP.
  • the transmission is performed. Therefore, before the packet exchange, R1 needs to set the signaling bidirectional LSP.
  • the specific setting method is to sequentially set corresponding forward forwarding labels and reverse forwarding labels for each node on the signaling bidirectional LSP. Therefore, each node on the signaling bidirectional LSP performs packet receiving and forwarding in the forward path and packet receiving and forwarding in the reverse path according to the forward forwarding label and the reverse forwarding label.
  • the forward forwarding label corresponding to each node includes a forward inbound label and a forward outgoing label of each node; the reverse forwarding label corresponding to each node includes a reverse inbound label and a reverse out label in each node.
  • the forward and outgoing labels of R1 are (0, a), the forward and outgoing labels of R2 are (a, b), and the forward and outgoing labels of R3 are (b, c).
  • the forward inbound and outbound labels of R6 are (c, 0); correspondingly, the reverse inbound and outbound labels of R6 are (0, aa), and the reverse inbound and outbound labels of R3 are (aa, bb), R2.
  • the reverse inbound and outbound labels are (bb, cc), and the reverse inbound and outbound labels of R1 are (cc, 0).
  • R1 sends the first BFD packet to R2 according to its forward outgoing label.
  • R1 may encapsulate its own forward outgoing label a in the first BFD report.
  • the first BFD packet is sent to R2.
  • R2 after receiving the first BFD packet sent by R1, R2 obtains the forward outgoing label a of R1 by parsing the first BFD packet, and will be the same as the forward outgoing label a of R1.
  • the inbound label a and the forward label e of the self are encapsulated to replace the forward outgoing label a of the R1 in the first BFD packet; and then the first BFD packet is encapsulated according to the forward outgoing label b.
  • R6 After R6 receives the first BFD packet from R3 according to its own forward ingress label c, R6 needs to reply the second BFD packet to R1 through the reverse forwarding path of the signaling bidirectional LSP, so that R1 can be preset.
  • the second BFD packet is received in the time range to determine that the status of the signaling bidirectional LSP is normal.
  • the R6 obtains its own reverse outgoing label according to its forward inbound label, and sends the second BFD packet to R3 according to its reverse outgoing label.
  • the R6 can query the reverse outgoing label aa according to the forward incoming label c used when receiving the first BFD packet. Then, R6 can encapsulate its reverse outgoing label aa in the first BFD packet, and send the encapsulated second BFD packet to R3.
  • the R3 after receiving the second BFD packet sent by the R6, the R3 obtains the reverse outgoing label aa of the R6 by parsing the second BFD packet, and is the same as the reverse outgoing label aa of the R6.
  • the reverse label aa of the R6 in the second BFD packet is replaced by the inbound label ab and the reverse label bb of the second BFD packet.
  • the second BFD packet is encapsulated according to the reverse label bb. Send to R2.
  • R2 receives the second BFD packet according to its reverse inbound label, and sends the second BFD packet to R1 according to its reverse outgoing label.
  • the R1 After receiving the second BFD packet according to the reverse inbound label, the R1 obtains the time t elapsed from the sending of the first BFD packet to the receiving of the second BFD packet.
  • R1 After R1 receives the second BFD packet from R2 according to its own reverse incoming label cc, it needs to record the time t elapsed between sending the first BFD packet and receiving the second BFD packet, and t can be used as Detects whether the signaling bidirectional LSP is faulty.
  • the R1 when the R1 acknowledges the signaling bidirectional LSP, that is, the R1—R2—R3—R6 path fails, the R1 can switch the service on the path to the backup LSP, and combines the LSP structure shown in FIG.
  • the path is R1 - R4 - R5 - R6.
  • the embodiment of the present invention provides a method for bidirectional forwarding detection.
  • the bidirectional tunnel between R1 and R6 makes the path of signaling interaction between R1 and R6 consistent and opposite in direction; A switching error has occurred.
  • the first node 60 may include: a first sending unit 601, a first receiving unit 602, a determining unit 603 and a confirming unit 604, wherein
  • the first sending unit 601 is configured to send the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP;
  • the first receiving unit 602 is configured to receive a second BFD packet that is sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP;
  • the determining unit 603 is configured to determine that the first receiving unit 602 receives the second BFD packet sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP in a preset time period;
  • the determining unit 604 is configured to: when the determining unit 603 determines that the first receiving unit 602 receives the second BFD packet sent by the second node according to the reverse forwarding path of the signaling bidirectional LSP, in the preset time period, It is confirmed that the signaling bidirectional LSP is not faulty.
  • the confirmation unit 604 is further configured to: when the determining unit 603 determines that the first receiving unit 602 does not receive the second node according to the reverse forwarding path of the signaling bidirectional LSP, within a preset time period.
  • the signaling bidirectional LSP is faulty, and the service on the signaling bidirectional LSP is switched to the backup LSP of the signaling bidirectional LSP.
  • the first sending unit 601 is configured to send the first BFD packet to the first node 60 on the forward forwarding path according to the forward outgoing label of the first node 60 itself.
  • a lower-level node and instructing the first lower-level node to send the first BFD packet to the second node according to the forward forwarding path of the signaling bidirectional LSP; wherein the first lower node Adjacent to the first node 60.
  • the first sending unit 601 is configured to send the first BFD packet to the first lower node according to the forward outgoing label of the first node 60 itself; wherein the first node is forward The label is used by the first lower node to obtain forward labeling of the first lower node itself And signing, and forwarding the first BFD packet according to the forward outgoing label of the first lower node until reaching the second node.
  • the first receiving unit 602 is configured to receive, according to a reverse ingress label of the first node 60 itself, a first upper level from the first node on the reverse forwarding path within a preset time period.
  • the second BFD packet forwarded by the node, where the first upper node is adjacent to the first node 60, and the second BFD packet is used by the second node according to the signaling bidirectional LSP
  • the reverse forwarding path is sent to the first upper node.
  • the first node 60 further includes a setting unit 605 configured to sequentially set corresponding forward forwarding labels and reverses for each node on the signaling bidirectional LSP according to the forward forwarding path.
  • Forwarding label wherein the forward forwarding label corresponding to each node on the signaling bidirectional LSP includes a forward inbound label and a forward outgoing label of each node on the signaling bidirectional LSP; the signaling bidirectional LSP
  • the reverse forwarding label corresponding to the passed node includes a reverse incoming label and a reverse outgoing label of the node through which the signaling bidirectional LSP passes.
  • each unit in the first node may be implemented by a microprocessor or a logic programmable gate array (FPGA) in the first node.
  • FPGA logic programmable gate array
  • a second node 80 is provided in the embodiment of the present invention.
  • the second node 80 may include: a second receiving unit 801 and a second sending unit 802. among them,
  • the second receiving unit 801 is configured to receive the first BFD packet sent by the first node according to the forward forwarding path of the signaling bidirectional LSP;
  • the second sending unit 802 is configured to send the second BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP.
  • the second receiving unit 801 is configured to receive, according to the forward ingress label of the second node 80 itself, the first BFD report forwarded by the second node 80 in the second upper node of the forward forwarding path.
  • the second upper node is adjacent to the second node 80,
  • the first BFD packet is sent by the first node to the second upper node according to the forward forwarding path of the signaling bidirectional LSP.
  • the second sending unit 802 is further configured to:
  • the node sends the second BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP; wherein the second lower node is adjacent to the second node.
  • the second sending unit 802 is further configured to:
  • the second lower-level node itself forwards the label, and forwards the second BFD packet according to the reverse outgoing label of the second lower-level node until the first node is reached.
  • the second receiving unit 801 is further configured to receive a forward forwarding label and a reverse forwarding label corresponding to the second node 80 set by the first node, where the second node 80 corresponds to
  • the forward forwarding label includes a forward inbound label and a forward outgoing label of the second node 80; the reverse forwarding label corresponding to the second node 80 includes a reverse inbound label and a reverse out of the second node 80. label.
  • each unit in the second node can be implemented by a microprocessor or a logic programmable gate array (FPGA) in the second node.
  • FPGA logic programmable gate array
  • the intermediate node 90 may include: a third receiving unit 901 and a third sending unit 902. among them,
  • the third receiving unit 901 is configured to receive the forward forwarding path of the signaling bidirectional LSP.
  • the third sending unit 902 is configured to send the first BFD packet to the downstream node of the forward forwarding path according to the forward forwarding path, where the first BFD packet is used by the first node. Transmitting to the second node according to the forward forwarding path of the signaling bidirectional LSP;
  • the third receiving unit 901 is further configured to receive the second BFD packet sent by the upstream node of the reverse forwarding path of the signaling bidirectional LSP;
  • the third sending unit 902 is further configured to send the second BFD packet to the downstream node of the reverse forwarding path according to the reverse forwarding path, where the second BFD packet is sent by the second After receiving the first BFD packet, the node sends the first BFD packet to the first node according to the reverse forwarding path of the signaling bidirectional LSP.
  • the third receiving unit 901 is further configured to receive the first BFD packet sent by the upstream node of the forward forwarding path according to the forward ingress label of the intermediate node 90 itself; wherein the first BFD packet The packet includes a forward outgoing label of the upstream node of the forward forwarding path;
  • the third sending unit 902 is further configured to:
  • the third receiving unit 901 is further configured to receive the second BFD packet sent by the upstream node of the reverse forwarding path according to the reverse ingress label of the intermediate node 90 itself; wherein the second BFD packet The message includes a reverse outgoing label of the upstream node of the reverse forwarding path;
  • the third sending unit 902 is further configured to:
  • the third receiving unit 901 is further configured to receive a forward forwarding label and a reverse forwarding label corresponding to the intermediate node 90 set by the first node, where the intermediate node 90 corresponds to forward forwarding.
  • the tag includes a forward inbound tag and a forward out tag of the intermediate node 90; the reverse forwarding tag corresponding to the intermediate node 90 includes a reverse inbound tag and a reverse out tag in the intermediate node 90.
  • each unit in the intermediate node can be implemented by a microprocessor or a logic programmable gate array (FPGA) in the intermediate node.
  • FPGA logic programmable gate array
  • the system 100 may include: a first node 60 and a second node 80;
  • the first node 60 is configured to send the first BFD packet to the second node 80 according to the forward forwarding path of the signaling bidirectional LSP;
  • the second node 80 is configured to receive the first BFD packet sent by the first node 60 according to the forward forwarding path of the signaling bidirectional LSP;
  • the system 100 may further include: an intermediate node 90 configured to receive a first BFD packet sent by an upstream node of the forward forwarding path of the signaling bidirectional LSP, and according to the positive Transmitting, by the forwarding path, the first BFD packet to the downstream node of the forward forwarding path, where the first BFD packet is forwarded by the first node 60 according to the forward direction of the signaling bidirectional LSP a path is sent to the second node 80; and,
  • the embodiment of the present invention provides a bidirectional forwarding detection system 100.
  • the path of the signaling interaction between the first node 60 and the second node 80 is consistent through the bidirectional tunnel between the first node 60 and the second node 80. , the opposite direction; can avoid false positives of the fault, thus avoiding switching errors.
  • the embodiment of the invention further describes a computer storage medium, wherein the computer storage medium stores executable instructions, and the executable instructions are configured to perform the two-way forwarding detection method shown in FIG. 2 or FIG.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • These computer program instructions can also be stored in a bootable computer or other programmable data processing
  • the apparatus is readable in a computer readable memory in a particular manner such that instructions stored in the computer readable memory produce an article of manufacture comprising instruction means implemented in one or more flows and/or block diagrams of the flowchart The function specified in the box or in multiple boxes.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种双向转发检测方法、设备、系统及计算机存储介质,该方法可以包括:第一节点按照信令双向LSP的正向转发路径将第一BFD报文发送至第二节点;当第一节点在预设时间段内接收到第二节点按照信令双向LSP的反向转发路径发送的第二BFD报文时,第一节点确认所述信令双向LSP无故障。

Description

双向转发检测方法、设备、系统及计算机存储介质 技术领域
本发明涉及数据网络通讯技术,尤其涉及一种双向转发检测(BFD,Bidirectional Forwarding Detection)方法、设备、系统及计算机存储介质。
背景技术
双向转发检测(BFD,Bidirectional Forwarding Detection)是一套用来实现快速检测的国际标准协议,提供一种轻负荷、持续时间短的检测方法。BFD也可以用于对标签交换路径(LSP,Label Switching Path)的快速检测。
在如图1所示的LSP结构中,主LSP的路径为R1—R2—R3—R6,备份LSP的路径为R1—R4—R5—R6,R1上配置LSP BFD检测,R1可以作为主动端,R6可以作为被动端。
当R1通过主LSP向R6发送BFD报文时,对于R6可以有两条路径向R1回复BFD报文:一条是R6—R3—R2—R1;另一条是R6—R5—R4—R1。如果最优路径是R6—R5—R4—R1,那么R1向R6发送BFD报文的路径与R6向R1回复BFD报文的路径就不一致。
如果R1向R6发送BFD报文的路径与R6向R1回复BFD报文的路径不一致,那么当R6向R1回复BFD报文的路径中有链路出现故障时,R1无法接收到R6发送的回复BFD报文,从而R1会误判R1向R6发送BFD报文的路径发生故障,也就是R1会将备份LSP的故障误判为主LSP的故障。此时,若R1由于误判主LSP故障而将业务切换至真实存在故障的备份LSP,那么会发生切换错误。
发明内容
本发明实施例提供一种双向转发检测方法、设备、系统及计算机存储介质,能够避免故障的误判,从而避免发生切换错误。
本发明实施例的技术方案是这样实现的:
第一方面,本发明实施例提供了一种双向转发检测方法,所述方法包括:
第一节点按照信令双向LSP的正向转发路径将第一BFD报文发送至第二节点;
当所述第一节点在预设时间段内接收到由所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,所述第一节点确认所述信令双向LSP无故障。
优选地,所述方法还包括:
当所述第一节点在预设时间段内未接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的所述第二BFD报文时,所述第一节点确认所述信令双向LSP发生故障,并将所述信令双向LSP上的业务切换到所述信令双向LSP的备份LSP上。
优选地,所述第一节点按照所述信令双向LSP的正向转发路径将第一BFD报文发送至所述第二节点,包括:
所述第一节点按照自身的正向出标签将所述第一BFD报文发送至所述第一节点在所述正向转发路径上的第一下级节点,并指示所述第一下级节点将所述第一BFD报文按照所述信令双向LSP的正向转发路径发送至所述第二节点;其中,所述第一下级节点与所述第一节点相邻。
优选地,所述第一节点指示所述第一下级节点将所述第一BFD报文按照所述信令双向LSP的正向转发路径发送至所述第二节点,包括:
所述第一节点按照自身的正向出标签将所述第一BFD报文发送至所述 第一下级节点;其中,所述第一节点的正向出标签配置为所述第一下级节点获取所述第一下级节点自身的正向出标签,并将所述第一BFD报文按照所述第一下级节点自身的正向出标签进行转发,直至到达所述第二节点。
优选地,所述第一节点在预设时间段内接收到由所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文,包括:
所述第一节点在预设时间段内按照自身的反向入标签接收从所述第一节点在所述反向转发路径上的第一上级节点转发的所述第二BFD报文,其中,所述第一上级节点与所述第一节点相邻,所述第二BFD报文由所述第二节点按照所述信令双向LSP的反向转发路径发送至所述第一上级节点。
优选地,所述第一节点按照所述信令双向LSP的正向转发路径将第一BFD报文发送至所述第二节点之前,所述方法还包括:
所述第一节点按照所述正向转发路径为所述信令双向LSP上的每个节点依次设置对应的正向转发标签和反向转发标签;其中,所述信令双向LSP上的每个节点对应的正向转发标签包括所述信令双向LSP上的每个节点的正向入标签和正向出标签;所述信令双向LSP经过的节点对应的反向转发标签包括所述信令双向LSP经过的节点的反向入标签和反向出标签。
第二方面,本发明实施例提供了一种双向转发检测的方法,所述方法包括:
第二节点接收第一节点按照信令双向LSP的正向转发路径发送的第一BFD报文;
所述第二节点按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点。
优选地,所述第二节点接收第一节点按照所述信令双向LSP的正向转发路径发送的第一BFD报文,包括:
所述第二节点按照自身的正向入标签接收所述第二节点在所述正向转 发路径的第二上级节点转发的所述第一BFD报文,其中,所述第二上级节点与所述第二节点相邻,所述第一BFD报文由所述第一节点按照所述信令双向LSP的正向转发路径发送至所述第二上级节点。
优选地,所述第二节点按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点,包括:
所述第二节点根据自身的正向入标签以及正向入标签和反向出标签的对应关系查找到自身的反向出标签;
所述第二节点按照所述自身的反向出标签将所述第二BFD报文发送至所述第二节点在所述反向转发路径上的第二下级节点,并指示所述第二下级节点将所述第二BFD报文按照所述信令双向LSP的反向转发路径发送至所述第一节点;其中,所述第二下级节点与所述第二节点相邻。
优选地,所述第二节点指示所述第二下级节点将所述第二BFD报文按照所述信令双向LSP的反向转发路径发送至所述第一节点,包括:
所述第二节点按照自身的反向出标签将所述第二BFD报文发送至所述第第二下级节点;其中,所述第二节点的反向出标签配置为所述第二下级节点获取所述第二下级节点的反向出标签,并将所述第二BFD报文按照所述第二下级节点的反向出标签进行转发,直至到达所述第一节点。
优选地,所述第二节点接收所述第一节点按照所述信令双向LSP的正向转发路径发送的第一BFD报文之前,所述方法还包括:
所述第二节点接收所述第一节点设置的所述第二节点对应的正向转发标签和反向转发标签;其中,所述第二节点对应的正向转发标签包括所述第二节点的正向入标签和正向出标签;所述第二节点对应的反向转发标签包括所述第二节点的反向入标签和反向出标签。
第三方面,本发明实施例提供了一种双向转发检测的方法,所述方法包括:
所述中间节点接收所述信令双向LSP的正向转发路径的上游节点发送的第一BFD报文,并按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点,其中,所述第一BFD报文由所述第一节点按照所述信令双向LSP的正向转发路径发送至所述第二节点;
所述中间节点接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报文,并按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,其中,所述第二BFD报文由所述第二节点接收所述第一BFD报文之后按照所述信令双向LSP的反向转发路径发送至所述第一节点。
优选地,所述中间节点接收所述信令双向LSP的正向转发路径的上游节点发送的第一BFD报文,并按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点,包括:
所述中间节点按照自身的正向入标签接收所述正向转发路径的上游节点发送的所述第一BFD报文;其中,所述第一BFD报文包括所述正向转发路径的上游节点的正向出标签;
所述中间节点根据所述正向转发路径的上游节点的正向出标签获取自身的正向出标签;
所述中间节点根据所述自身的正向出标签将所述第一BFD报文发送至所述正向转发路径的下游节点。
优选地,所述中间节点接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报文,并按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,包括:
所述中间节点按照自身的反向入标签接收所述反向转发路径的上游节点发送的所述第二BFD报文;其中,所述第二BFD报文包括所述反向转发路径的上游节点的反向出标签;
所述中间节点根据所述反向转发路径的上游节点的反向出标签获取自身的反向出标签;
所述中间节点根据自身的反向出标签将所述第二BFD报文发送至所述反向转发路径的下游节点。
优选地,所述中间节点接收所述信令双向LSP的正向转发路径的上游节点发送的第一BFD报文之前,所述方法还包括:
所述中间节点接收所述第一节点设置的所述中间节点对应的正向转发标签和反向转发标签;其中,所述中间节点对应的正向转发标签包括所述中间节点的正向入标签和正向出标签;所述中间节点对应的反向转发标签包括所述中间节点的反向入标签和反向出标签。
第四方面,本发明实施例提供了一种第一节点,所述第一节点包括第一发送单元、第一接收单元、判断单元和确认单元,其中,
所述第一发送单元,配置为按照信令双向LSP的正向转发路径将第一BFD报文发送至第二节点;
所述第一接收单元,配置为接收所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文;
所述判断单元,配置为判断所述第一接收单元在预设时间段内接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文;
所述确认单元,配置为当所述判断单元确定所述第一接收单元在预设时间段内接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,确认所述信令双向LSP无故障。
优选地,所述确认单元,还配置为当所述判断单元确定所述第一接收单元在预设时间段内未接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的所述第二BFD报文时,确认所述信令双向LSP发生故障, 并将所述信令双向LSP上的业务切换到所述信令双向LSP的备份LSP上。
优选地,所述第一发送单元,配置为按照所述第一节点自身的正向出标签将所述第一BFD报文发送至所述第一节点在所述正向转发路径上的第一下级节点,并指示所述第一下级节点将所述第一BFD报文按照所述信令双向LSP的正向转发路径发送至所述第二节点;其中,所述第一下级节点与所述第一节点相邻。
优选地,所述第一发送单元,配置为按照所述第一节点自身的正向出标签将所述第一BFD报文发送至所述第一下级节点;其中,所述第一节点的正向出标签配置为所述第一下级节点获取所述第一下级节点自身的正向出标签,并将所述第一BFD报文按照所述第一下级节点自身的正向出标签进行转发,直至到达所述第二节点。
优选地,所述第一接收单元,配置为在预设时间段内按照所述第一节点自身的反向入标签接收从所述第一节点在所述反向转发路径上的第一上级节点转发的所述第二BFD报文,其中,所述第一上级节点与所述第一节点相邻,所述第二BFD报文由所述第二节点按照所述信令双向LSP的反向转发路径发送至所述第一上级节点。
优选地,所述第一节点还包括设置单元,配置为按照所述正向转发路径为所述信令双向LSP上的每个节点依次设置对应的正向转发标签和反向转发标签;其中,所述信令双向LSP上的每个节点对应的正向转发标签包括所述信令双向LSP上的每个节点的正向入标签和正向出标签;所述信令双向LSP经过的节点对应的反向转发标签包括所述信令双向LSP经过的节点的反向入标签和反向出标签。
第五方面,本发明实施例提供了一种第二节点,所述第二节点包括:第二接收单元和第二发送单元,其中,
所述第二接收单元,配置为接收第一节点按照信令双向LSP的正向转 发路径发送的第一BFD报文;
所述第二发送单元,配置为按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点。
优选地,所述第二接收单元,配置为按照所述第二节点自身的正向入标签接收所述第二节点在所述正向转发路径的第二上级节点转发的所述第一BFD报文,其中,所述第二上级节点与所述第二节点相邻,所述第一BFD报文由所述第一节点按照所述信令双向LSP的正向转发路径发送至所述第二上级节点。
优选地,所述第二发送单元,还配置为:
根据所述第二节点自身的正向入标签以及正向入标签和反向出标签的对应关系查找到所述第二节点自身的反向出标签;以及,
按照所述第二节点自身的反向出标签将所述第二BFD报文发送至所述第二节点在所述反向转发路径上的第二下级节点,并指示所述第二下级节点将所述第二BFD报文按照所述信令双向LSP的反向转发路径发送至所述第一节点;其中,所述第二下级节点与所述第二节点相邻。
优选地,所述第二发送单元,还配置为:
按照所述第二节点自身的反向出标签将所述第二BFD报文发送至所述第二下级节点;其中,所述第二节点的反向出标签配置为所述第二下级节点获取所述第二下级节点自身的反向出标签,并将所述第二BFD报文按照所述第二下级节点的反向出标签进行转发,直至到达所述第一节点。
优选地,所述第二接收单元,还配置为接收所述第一节点设置的所述第二节点对应的正向转发标签和反向转发标签;其中,所述第二节点对应的正向转发标签包括所述第二节点的正向入标签和正向出标签;所述第二节点对应的反向转发标签包括所述第二节点的反向入标签和反向出标签。
第六方面,本发明实施例提供了一种中间节点,所述中间节点包括: 第三接收单元和第三发送单元,其中,
所述第三接收单元,配置为接收信令双向LSP的正向转发路径的上游节点发送的第一BFD报文;
所述第三发送单元,配置为按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点,其中,所述第一BFD报文由第一节点按照所述信令双向LSP的正向转发路径发送至第二节点;
所述第三接收单元,还配置为接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报文;
所述第三发送单元,还配置为按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,其中,所述第二BFD报文由所述第二节点接收所述第一BFD报文之后按照所述信令双向LSP的反向转发路径发送至所述第一节点。
优选地,所述第三接收单元,还配置为按照所述中间节点自身的正向入标签接收所述正向转发路径的上游节点发送的所述第一BFD报文;其中,所述第一BFD报文包括所述正向转发路径的上游节点的正向出标签;
所述第三发送单元,还配置为:
根据所述正向转发路径的上游节点的正向出标签获取所述中间节点自身的正向出标签;
以及,根据所述中间节点自身的正向出标签将所述第一BFD报文发送至所述正向转发路径的下游节点。
优选地,所述第三接收单元,还配置为按照所述中间节点自身的反向入标签接收所述反向转发路径的上游节点发送的所述第二BFD报文;其中,所述第二BFD报文包括所述反向转发路径的上游节点的反向出标签;
所述第三发送单元,还配置为:
根据所述反向转发路径的上游节点的反向出标签获取所述中间节点自 身的反向出标签;以及,
根据所述中间节点自身的反向出标签将所述第二BFD报文发送至所述反向转发路径的下游节点。
优选地,所述第三接收单元,还配置为接收所述第一节点设置的所述中间节点对应的正向转发标签和反向转发标签;其中,所述中间节点对应的正向转发标签包括所述中间节点的正向入标签和正向出标签;所述中间节点对应的反向转发标签包括所述中间节点的反向入标签和反向出标签。
第七方面,本发明实施例提供了一种双向转发检测的系统,所述系统包括:第一节点和第二节点;其中,
所述第一节点,配置为按照信令双向LSP的正向转发路径将第一BFD报文发送至所述第二节点;以及,
当在预设时间段内接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,确认所述信令双向LSP无故障;
所述第二节点,配置为接收所述第一节点按照所述信令双向LSP的正向转发路径发送的第一BFD报文;以及,
按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点。
优选地,所述系统还包括中间节点,配置为接收所述信令双向LSP的正向转发路径的上游节点发送的第一BFD报文,并按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点,其中,所述第一BFD报文由所述第一节点按照所述信令双向LSP的正向转发路径发送至所述第二节点;以及,
接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报文,并按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,其中,所述第二BFD报文由所述第二节点接收所述第一BFD 报文之后按照所述信令双向LSP的反向转发路径发送至所述第一节点。
第八方面,本发明实施例提供了一种计算机存储介质,存储有可执行指令,所述可执行指令配置为执行以上所述的双向转发检测方法。
本发明实施例中,通过主动端与被动端之间的双向隧道,使得主动端与被动端之间进行信令交互的路径一致,方向相反;能够避免故障的误判,从而避免发生切换错误。
附图说明
图1为相关技术中LSP结构示意图;
图2为本发明实施例提供的一种双向转发检测的方法流程示意图;
图3为本发明实施例提供的另一种双向转发检测的方法流程示意图;
图4为本发明实施例提供的又一种双向转发检测的方法流程示意图;
图5为本发明实施例提供的一种双向转发检测的方法详细流程示意图;
图6为本发明实施例提供的一种第一节点的结构示意图;
图7为本发明实施例提供的另一种第一节点的结构示意图;
图8为本发明实施例提供的一种第二节点的结构示意图;
图9为本发明实施例提供的一种中间节点的结构示意图;
图10为本发明实施例提供的一种双向转发检测的系统结构示意图;
图11为本发明实施例提供的一种双向转发检测的系统结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
本发明实施例中,通过主动端与被动端之间的双向隧道,使得主动端与被动端之间进行信令交互的路径一致,方向相反;从而可以避免发生背景技术中所描述的技术问题。
为了对本发明实施例的技术方案进行清楚地描述,本发明实施例以图1所示的LSP结构为例进行说明,可以理解的,本领域技术人员可以无需创造性劳动将本发明实施例应用于其他LSP结构中,本发明实施例不多做赘述。
参见图2,示出了本发明实施例提供的一种双向转发检测的方法流程,该方法可以应用于信令双向LSP的第一节点,其中,信令双向LSP具有节点相同,转发路径方向相反的特点。该方法可以包括:
S201:第一节点按照信令双向LSP的正向转发路径将第一BFD报文发送至第二节点;
在本实施例中,以图1所示的主LSP为例,即R1—R2—R3—R6路径为所述信令双向LSP,那么本领域技术人员可以理解的:R1为第一节点,R6为第二节点,R2和R3为中间节点,所述信令双向LSP的正向转发路径为R1—R2—R3—R6,相应的,所述信令双向LSP的反向转发路径为R6—R3—R2—R1,因此可以得知,信令双向LSP中的反向转发路径与正向转发路径经过的节点相同、转发方向相反。
此外,需要说明的是,当信令双向LSP中仅包括第一节点和第二节点时,第一节点按照信令双向LSP的正向转发路径将第一BFD报文直接发送至第二节点,该过程为本领域技术人员的惯用技术手段,在此不再赘述。
示例性地,所述第一节点按照所述信令双向LSP的正向转发路径将第一BFD报文发送至所述第二节点,可以包括:
所述第一节点按照自身的正向出标签将所述第一BFD报文发送至所述第一节点在所述正向转发路径上的第一下级节点,并指示所述第一下级节点将所述第一BFD报文按照所述信令双向LSP的正向转发路径发送至所述第二节点;其中,所述第一下级节点与所述第一节点相邻。
例如,以图1所示的主LSP为例,当R1为第一节点时,R2为R1在 正向转发路径上的第一下级节点;当信令双向LSP中仅包括第一节点和第二节点时,第一节点的第一下级节点即为第二节点。
优选地,所述第一节点指示所述第一下级节点将所述第一BFD报文按照所述信令双向LSP的正向转发路径发送至所述第二节点,还可以包括:
所述第一节点按照自身的正向出标签将所述第一BFD报文发送至所述第一下级节点;其中,所述第一节点的正向出标签用于所述第一下级节点获取所述第一下级节点自身的正向出标签,并将所述第一BFD报文按照所述第一下级节点的正向出标签进行转发,直至到达所述第二节点。
例如,以图1所示的主LSP为例,R1的正向出标签设为a,R2的正向入、出标签设为(a,b),那么R1根据正向出标签将第一BFD报文发送至R2;R2通过与R1的正向出标签相同的正向入标签a查找到R2的正向出标签b,并根据R2的正向出标签b将所述第一BFD报文转发至R2在信令双向LSP的正向转发路径的下游节点,直至到达第二节点R6。
S202:当第一节点在预设时间段内接收到由第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,第一节点确认所述信令双向LSP无故障;
示例性地,所述第一节点在预设时间段内接收到由所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文,包括:
所述第一节点在预设时间段内按照自身的反向入标签接收从所述第一节点在所述反向转发路径上的第一上级节点转发的所述第二BFD报文,其中,所述第一上级节点与所述第一节点相邻,所述第二BFD报文由所述第二节点按照所述信令双向LSP的反向转发路径发送至所述第一中间节点。
例如,以图1所示的主LSP为例,当R1为第一节点时,R2为R1在反向转发路径上的第一上级节点;当信令双向LSP中仅包括第一节点和第二节点时,第一节点的第一上级节点即为第二节点。因此,可以得知,在 具体的信令双向LSP结构中,第一节点的第一上级节点与第一下级节点是同一个节点。
例如,以图1所示的主LSP为例,在预设的时间段T内,R1接收到R2发送的第二BFD报文,R1确定信令双向LSP无故障;需要说明的是,第二BFD报文是通过R2根据反向入标签接收之后,根据反向出标签发送至R1的,而R1则是根据自身与R2的反向出标签相同的反向入标签接收第二BFD报文。
由此可知,由于第一BFD报文与第二BFD报文均通过信令双向LSP进行传输,因此,不会出现背景技术中所述的路径不一致的问题,从而避免故障的误判,从而避免发生切换错误。
可以理解的,当所述第一节点在预设时间段内未接收到第二BFD报文时,那么便执行S203:当第一节点在预设时间段内未接收到第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,第一节点确认所述信令双向LSP发生故障,并将所述信令双向LSP上的业务切换到所述信令双向LSP的备份LSP上。
需要进行说明的是,为了保证第一BFD报文与第二BFD报文均通过信令双向LSP进行传输,因此,还需要对信令双向LSP进行设置,优选地,在本实施例中,通过对信令双向LSP上的节点设置正向转发标签以及反向转发标签的形式来确保第一BFD报文与第二BFD报文均通过信令双向LSP进行传输。
可选地,所述第一节点按照所述信令双向LSP的正向转发路径将第一BFD报文发送至所述第二节点之前,所述方法还包括:
所述第一节点按照所述正向转发路径为所述信令双向LSP上的每个节点依次设置对应的正向转发标签和反向转发标签;其中,所述信令双向LSP上的每个节点对应的正向转发标签包括所述信令双向LSP上的每个节点的 正向入标签和正向出标签;所述信令双向LSP经过的节点对应的反向转发标签包括所述信令双向LSP经过的节点的反向入标签和反向出标签。
例如在本实施例中,以图1所示的主LSP为例,R1的正向入、出标签为(0,a),R2的正向入、出标签为(a,b),R3的正向入、出标签为(b,c),R6的正向入、出标签为(c,0);相应地,R6的反向入、出标签为(0,aa),R3的反向入、出标签为(aa,bb),R2的反向入、出标签为(bb,cc),R1的反向入、出标签为(cc,0)。
本发明实施例提供了一种双向转发检测的方法;通过第一节点与第二节点之间的双向隧道,使得第一节点与第二节点之间进行信令交互的路径一致,方向相反;能够避免故障的误判,从而避免发生切换错误。
基于前述实施例相同的技术构思,参见图3,其示出了本发明实施例提供的另一种双向转发检测的方法流程,该方法可以应用于信令双向LSP的第二节点,其中,信令双向LSP具有节点相同,转发路径方向相反的特点。该方法可以包括:
S301:第二节点接收所述第一节点按照所述信令双向LSP的正向转发路径发送的第一BFD报文;
在本实施例中,以图1所示的主LSP为例,即R1—R2—R3—R6路径为所述信令双向LSP,那么本领域技术人员可以理解的:R1为第一节点,R6为第二节点,R2和R3为中间节点,所述信令双向LSP的正向转发路径为R1—R2—R3—R6,相应的,所述信令双向LSP的反向转发路径为R6—R3—R2—R1,因此可以得知,信令双向LSP中的反向转发路径与正向转发路径经过的节点相同、转发方向相反。
此外,需要说明的是,当信令双向LSP中仅包括第一节点和第二节点时,第二节点直接接收所述第一节点按照所述信令双向LSP的正向转发路径发送的第一BFD报文,该过程为本领域技术人员的惯用技术手段,在此 不再赘述。
示例性地,第二节点接收所述第一节点按照所述信令双向LSP的正向转发路径发送的第一BFD报文,包括:
所述第二节点按照自身的正向入标签接收所述第二节点在所述正向转发路径的第二上级节点转发的所述第一BFD报文,其中,所述第二上级节点与所述第二节点相邻,所述第一BFD报文由所述第一节点按照所述信令双向LSP的正向转发路径发送至所述第二上级节点。
例如,以图1所示的主LSP为例,当R6为第二节点时,R3为第二上级节点。此时,R3根据自身的正向入标签b接收第一BFD报文后,根据自身的正向出标签c将第一BFD报文发送至R6;R6则根据自身与R3的正向出标签c相同的正向入标签c接收所述第一BFD报文;
当信令双向LSP中仅包括第一节点和第二节点时,第二节点的第二上级节点即为第一节点。
S302:第二节点按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点。
需要说明的是,当信令双向LSP中仅包括第一节点和第二节点时,第二节点按照所述信令双向LSP的反向转发路径将第二BFD报文直接发送至所述第一节点。
示例性地,第二节点按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点,包括:
所述第二节点根据自身的正向入标签以及正向入标签和反向出标签的对应关系查找到自身的反向出标签;
所述第二节点按照所述自身的反向出标签将所述第二BFD报文发送至所述第二节点在所述反向转发路径上的第二下级节点,并指示所述第二下级节点将所述第二BFD报文按照所述信令双向LSP的反向转发路径发送至 所述第一节点;其中,所述第二下级节点与所述第二节点相邻。
例如,以图1所示的主LSP为例,当R6为第二节点时,R3为第二下级节点;
当信令双向LSP中仅包括第一节点和第二节点时,第二节点的第二下级节点即为第一节点。
因此,可以得知,在具体的信令双向LSP结构中,第二节点的第二上级节点与第二下级节点是同一个节点。
优选地,所述第二节点指示所述第二下级节点将所述第二BFD报文按照所述信令双向LSP的反向转发路径发送至所述第一节点,包括:
所述第二节点按照自身的反向出标签将所述第二BFD报文发送至所述第二下级节点;其中,所述第二节点的反向出标签用于所述第二下级节点获取所述第二下级节点自身的反向出标签,并将所述第二BFD报文按照所述第二下级节点的反向出标签进行转发,直至到达所述第一节点。
例如,以图1所示的主LSP为例,当R6接收到第一BFD报文后,需要通过信令双向LSP的反向转发路径向R1回复第二BFD报文,因此,R6可以根据自身的正向入标签c查找到自身的反向出标签aa,并根据自身的反向出标签aa将第二BFD报文发送至R3;而R3在接收到第二BFD报文后,根据自身与R6的反向出标签aa相同的反向入标签aa获取得到自身的反向出标签bb,并根据自身的反向出标签bb将第二BFD报文发送至R2,直至到达R1。
示例性地,由于本实施例是通过对信令双向LSP上的节点设置正向转发标签以及反向转发标签的形式来确保第一BFD报文与第二BFD报文均通过信令双向LSP进行传输。因此,第二节点接收第一节点通过至少一个中间节点按照信令双向LSP的正向转发路径发送的第一BFD报文之前,所述方法还包括:
所述第二节点接收所述第一节点设置的所述第二节点对应的正向转发标签和反向转发标签;其中,所述第二节点对应的正向转发标签包括所述第二节点的正向入标签和正向出标签;所述第二节点对应的反向转发标签包括所述第二节点的反向入标签和反向出标签。在本实施例中,第二节点的具体的正向转发标签和反向转发标签如前述实施例所述,在此不再赘述。
本发明实施例提供了一种双向转发检测的方法;通过第一节点与第二节点之间的双向隧道,使得第一节点与第二节点之间进行信令交互的路径一致,方向相反;能够避免故障的误判,从而避免发生切换错误。
基于前述实施例相同的技术构思,参见图4,其示出了本发明实施例提供的又一种双向转发检测的方法流程,该方法可以应用于信令双向LSP中的中间节点,该方法可以包括:
S401:中间节点接收所述信令双向LSP的正向转发路径的上游节点发送的第一BFD报文,并按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点;
在本实施例中,以图1所示的主LSP为例,即R1—R2—R3—R6路径为所述信令双向LSP,那么本领域技术人员可以理解的:R1为第一节点,R6为第二节点,R2和R3为中间节点,所述信令双向LSP的正向转发路径为R1—R2—R3—R6,相应的,所述信令双向LSP的反向转发路径为R6—R3—R2—R1,因此可以得知,信令双向LSP中的反向转发路径与正向转发路径经过的节点相同、转发方向相反。
需要说明的是,本实施例中所述的“上游节点”与“下游节点”均属于相对概念,均以确定的节点以及信令双向LSP的转发路径的方向作为参照进行确认。比如本实施例中,在信令双向LSP的正向转发路径上,R2的上游节点为R1,下游节点为R3;R3的上游节点为R2,下游节点为R6。在信令双向LSP的反向转发路径上,R3的上游节点为R6,下游节点为R2; R2的上游节点为R3,下游节点为R1。
示例性地,第一BFD报文由第一节点按照信令双向LSP的正向转发路径发送至第二节点;
优选地,中间节点接收信令双向LSP的正向转发路径的上游节点发送的第一BFD报文,并按照正向转发路径将第一BFD报文发送至正向转发路径的下游节点,包括:
中间节点按照自身的正向入标签接收所述正向转发路径的上游节点发送的所述第一BFD报文;其中,所述第一BFD报文包括所述正向转发路径的上游节点的正向出标签;以及,
中间节点根据正向转发路径的上游节点的正向出标签获取自身的正向出标签;以及,
中间节点根据自身的正向出标签将第一BFD报文发送至所述正向转发路径的下游节点。
以R2为例进行具体说明,可以理解的,R3与R2的具体处理方式一致,在此不再赘述。R2接收R1发送的第一BFD报文,该第一BFD报文中包括了R1的正向出标签a;R2根据自身与R1的正向出标签a相同的正向入标签a获取自身的正向出标签b;R2在获取了自身的正向出标签b之后,根据自身的正向出标签b将第一BFD报文发送至正向入标签也是b的R3;直至将第一BFD报文传输至R6。
S402:中间节点接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报文,并按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点;
示例性地,第二BFD报文由第二节点接收第一BFD报文之后按照信令双向LSP的反向转发路径发送至第一节点。
优选地,中间节点接收信令双向LSP的反向转发路径的上游节点发送 的第二BFD报文,并按照反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,包括:
中间节点按照自身的反向入标签接收反向转发路径的上游节点发送的第二BFD报文;其中,所述第二BFD报文包括反向转发路径的上游节点的反向出标签;以及,
中间节点根据反向转发路径的上游节点的反向出标签获取自身的反向出标签;以及,
中间节点根据自身的反向出标签将第二BFD报文发送至反向转发路径的下游节点。
以R3为例进行具体说明,可以理解的,R2与R3的具体处理方式一致,在此不再赘述。R3接收R6发送的第二BFD报文,该第二BFD报文中包括了R6的反向出标签aa;R3根据自身与R6的反向出标签aa相同的反向入标签aa获取自身的反向出标签bb;R3在获取了自身的反向出标签bb之后,根据自身的反向出标签bb将第二BFD报文发送至反向入标签也是bb的R2;直至将第二BFD报文传输至R1。
示例性地,由于本实施例是通过对信令双向LSP上的节点设置正向转发标签以及反向转发标签的形式来确保第一BFD报文与第二BFD报文均通过信令双向LSP进行传输。因此,中间节点接收信令双向LSP的正向转发路径的上游节点发送的第一BFD报文之前,所述方法还包括:
中间节点接收第一节点设置的中间节点对应的正向转发标签和反向转发标签;其中,所述中间节点对应的正向转发标签包括所述中间节点的正向入标签和正向出标签;所述中间节点对应的反向转发标签包括所述中间节点的反向入标签和反向出标签。在本实施例中,各中间节点具体的正向转发标签和反向转发标签如前述实施例所述,在此不再赘述。
本发明实施例提供了一种双向转发检测的方法;通过第一节点与第二 节点之间的双向隧道,使得第一节点与第二节点之间进行信令交互的路径一致,方向相反;能够避免故障的误判,从而避免发生切换错误。
基于前述实施例相同的技术构思,参见图5,其示出了本发明实施例提供的一种双向转发检测的方法详细流程,该方法以图1所示的主LSP为例进行说明,即以R1—R2—R3—R6路径为所述信令双向LSP,那么本领域技术人员可以理解的:R1为第一节点,R6为第二节点,R2和R3为中间节点,所述信令双向LSP的正向转发路径为R1—R2—R3—R6,相应的,所述信令双向LSP的反向转发路径为R6—R3—R2—R1;该方法可以包括:
S501:R1按照正向转发路径为信令双向LSP上的每个节点依次设置对应的正向转发标签和反向转发标签;
需要说明的是,由于本实施例是通过对信令双向LSP上的节点设置正向转发标签以及反向转发标签的形式来确保第一BFD报文与第二BFD报文均通过信令双向LSP进行传输,因此,在进行报文交互之前,R1需要对信令双向LSP进行设置,具体的设置方法就是为信令双向LSP上的每个节点依次设置对应的正向转发标签和反向转发标签,以使得信令双向LSP上的每个节点根据自身对应的正向转发标签和反向转发标签分别进行正向路径的报文接收与转发以及反向路径的报文接收与转发。而每个节点对应的正向转发标签包括每个节点的正向入标签和正向出标签;每个节点对应的反向转发标签包括每个节点的反向入标签和反向出标签。
在本实施例中,R1的正向入、出标签为(0,a),R2的正向入、出标签为(a,b),R3的正向入、出标签为(b,c),R6的正向入、出标签为(c,0);相应地,R6的反向入、出标签为(0,aa),R3的反向入、出标签为(aa,bb),R2的反向入、出标签为(bb,cc),R1的反向入、出标签为(cc,0)。
S502:R1根据自身的正向出标签将第一BFD报文发送至R2;
具体在本实施例中,R1可以将自身的正向出标签a封装于第一BFD报 文中,并将封装后的第一BFD报文发送至R2;
S503:R2根据自身的正向入标签接收第一BFD报文后,根据自身的正向出标签将第一BFD报文发送至R3;
具体在本实施例中,R2在接收到R1发送的第一BFD报文后,通过解析第一BFD报文获取R1的正向出标签a,并且将与R1的正向出标签a相同的正向入标签a以及自身的正向出标签b通过封装的方式替换第一BFD报文中的R1的正向出标签a;然后根据自身的正向出标签b将封装后的第一BFD报文发送至R3。
S504:R3根据自身的正向入标签接收第一BFD报文后,根据自身的正向出标签将第一BFD报文发送至R6;
可以理解的,R3对第一BFD报文的具体处理过程如S503中R2一致,在此不再赘述。
S505:R6根据自身的正向入标签接收第一BFD报文后,生成第二BFD报文;
例如,R6根据自身的正向入标签c从R3接收第一BFD报文后,R6需要通过信令双向LSP的反向转发路径向R1回复第二BFD报文,从而可以使得R1在预设的时间段内接收到第二BFD报文,来确定信令双向LSP的状态正常。
S506:R6根据自身的正向入标签获取自身的反向出标签,并根据自身的反向出标签将第二BFD报文发送至R3;
例如,根据S501中设置的R6的正向入、出标签以及反向入、出标签,R6可以根据接收第一BFD报文时所使用的正向入标签c查询到自身的反向出标签aa;接着R6可以将自身的反向出标签aa封装于第一BFD报文中,并将封装后的第二BFD报文发送至R3。
S507:R3根据自身的反向入标签接收第二BFD报文后,根据自身的 反向出标签将第二BFD报文发送至R2;
具体在本实施例中,R3在接收到R6发送的第二BFD报文后,通过解析第二BFD报文获取R6的反向出标签aa,并且将与R6的反向出标签aa相同的反向入标签aa以及自身的反向出标签bb通过封装的方式替换第二BFD报文中的R6的反向出标签aa;然后根据自身的反向出标签bb将封装后的第二BFD报文发送至R2。
S508:R2根据自身的反向入标签接收第二BFD报文后,根据自身的反向出标签将第二BFD报文发送至R1;
可以理解的,R2对第二BFD报文的具体处理过程如S507中R3一致,在此不再赘述。
S509:R1根据自身的反向入标签接收到第二BFD报文后,获取自身从发送第一BFD报文至接收第二BFD报文所经历的时间t;
例如,R1根据自身的反向入标签cc从R2接收第二BFD报文后,需要对发送第一BFD报文至接收第二BFD报文之间所经历的时间t进行记录,t则可以作为检测信令双向LSP是否发生故障的依据。
S510:R1将t与预设的时间段T进行比较:
S511:当t>T时,R1确认信令双向LSP发生故障,并将所述信令双向LSP上的业务切换到所述信令双向LSP的备份LSP上;
在本实施例中,当R1确认信令双向LSP即R1—R2—R3—R6路径发生故障,那么R1可以将该路径上的业务切换至备份LSP上,结合图1所示的LSP结构,备份路径为R1—R4—R5—R6。
S512:当t≤T时,R1确认信令双向LSP无故障。
本发明实施例提供了一种双向转发检测的方法;通过R1与R6之间的双向隧道,使得R1与R6之间进行信令交互的路径一致,方向相反;能够避免故障的误判,从而避免发生切换错误。
基于前述实施例相同的技术构思,参见图6,其示出了本发明实施例提供的一种第一节点60,该第一节点60可以包括:第一发送单元601、第一接收单元602、判断单元603和确认单元604,其中,
第一发送单元601,配置为按照所述信令双向LSP的正向转发路径将第一BFD报文发送至所述第二节点;
第一接收单元602,配置为接收所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文;
判断单元603,配置为判断所述第一接收单元602在预设时间段内接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文;
确认单元604,配置为当判断单元603确定第一接收单元602在预设时间段内接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,确认所述信令双向LSP无故障。
示例性地,确认单元604,还配置为当判断单元603确定第一接收单元602在预设时间段内未接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,确认所述信令双向LSP发生故障,并将所述信令双向LSP上的业务切换到所述信令双向LSP的备份LSP上;
示例性地,第一发送单元601,配置为按照第一节点60自身的正向出标签将所述第一BFD报文发送至所述第一节点60在所述正向转发路径上的第一下级节点,并指示所述第一下级节点将所述第一BFD报文按照所述信令双向LSP的正向转发路径发送至所述第二节点;其中,所述第一下级节点与所述第一节点60相邻。
例如,第一发送单元601,配置为按照第一节点60自身的正向出标签将所述第一BFD报文发送至所述第一下级节点;其中,所述第一节点的正向出标签用于所述第一下级节点获取所述第一下级节点自身的正向出标 签,并将所述第一BFD报文按照所述第一下级节点的正向出标签进行转发,直至到达所述第二节点。
示例性地,所述第一接收单元602,配置为在预设时间段内按照第一节点60自身的反向入标签接收从所述第一节点在所述反向转发路径上的第一上级节点转发的所述第二BFD报文,其中,所述第一上级节点与所述第一节点60相邻,所述第二BFD报文由所述第二节点按照所述信令双向LSP的反向转发路径发送至所述第一上级节点。
示例性地,参见图7,第一节点60还包括设置单元605,配置为按照所述正向转发路径为所述信令双向LSP上的每个节点依次设置对应的正向转发标签和反向转发标签;其中,所述信令双向LSP上的每个节点对应的正向转发标签包括所述信令双向LSP上的每个节点的正向入标签和正向出标签;所述信令双向LSP经过的节点对应的反向转发标签包括所述信令双向LSP经过的节点的反向入标签和反向出标签。
实际应用中,第一节点中的各单元可以第一节点中的微处理器或逻辑可编程门阵列(FPGA)实现。
基于前述实施例相同的技术构思,参见图8,其示出了本发明实施例提供的一种第二节点80,该第二节点80可以包括:第二接收单元801和第二发送单元802,其中,
第二接收单元801,配置为接收所述第一节点按照所述信令双向LSP的正向转发路径发送的第一BFD报文;
第二发送单元802,配置为按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点。
示例性地,第二接收单元801,配置为按照第二节点80自身的正向入标签接收所述第二节点80在所述正向转发路径的第二上级节点转发的所述第一BFD报文,其中,所述第二上级节点与所述第二节点80相邻,所述 第一BFD报文由所述第一节点按照所述信令双向LSP的正向转发路径发送至所述第二上级节点。
示例性地,第二发送单元802,还配置为:
根据第二节点80自身的正向入标签以及正向入标签和反向出标签的对应关系查找到第二节点80自身的反向出标签;以及,
按照所述第二节点80自身的反向出标签将所述第二BFD报文发送至所述第二节点80在所述反向转发路径上的第二下级节点,并指示所述第二下级节点将所述第二BFD报文按照所述信令双向LSP的反向转发路径发送至所述第一节点;其中,所述第二下级节点与所述第二节点相邻。
优选地,第二发送单元802,还配置为:
按照第二节点80自身的反向出标签将所述第二BFD报文发送至所述第二下级节点;其中,所述第二节点80的反向出标签用于所述第二下级节点获取所述第二下级节点自身的反向出标签,并将所述第二BFD报文按照所述第二下级节点的反向出标签进行转发,直至到达所述第一节点。
示例性地,所述第二接收单元801,还配置为接收所述第一节点设置的所述第二节点80对应的正向转发标签和反向转发标签;其中,所述第二节点80对应的正向转发标签包括所述第二节点80的正向入标签和正向出标签;所述第二节点80对应的反向转发标签包括所述第二节点80的反向入标签和反向出标签。
实际应用中,第二节点中的各单元可以第二节点中的微处理器或逻辑可编程门阵列(FPGA)实现。
基于前述实施例相同的技术构思,参见图9,其示出了本发明实施例提供的一种中间节点90的结构,该中间节点90可以包括:第三接收单元901和第三发送单元902,其中,
第三接收单元901,配置为接收所述信令双向LSP的正向转发路径的 上游节点发送的第一BFD报文;
第三发送单元902,配置为按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点,其中,所述第一BFD报文由所述第一节点按照所述信令双向LSP的正向转发路径发送至所述第二节点;
第三接收单元901,还配置为接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报文;
第三发送单元902,还配置为按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,其中,所述第二BFD报文由所述第二节点接收所述第一BFD报文之后按照所述信令双向LSP的反向转发路径发送至所述第一节点。
示例性地,第三接收单元901,还配置为按照中间节点90自身的正向入标签接收所述正向转发路径的上游节点发送的所述第一BFD报文;其中,所述第一BFD报文包括所述正向转发路径的上游节点的正向出标签;
第三发送单元902,还配置为:
根据所述正向转发路径的上游节点的正向出标签获取中间节点90自身的正向出标签;
以及,根据所述中间节点90自身的正向出标签将所述第一BFD报文发送至所述正向转发路径的下游节点。
示例性地,第三接收单元901,还配置为按照中间节点90自身的反向入标签接收所述反向转发路径的上游节点发送的所述第二BFD报文;其中,所述第二BFD报文包括所述反向转发路径的上游节点的反向出标签;
第三发送单元902,还配置为:
根据所述反向转发路径的上游节点的反向出标签获取中间节点90自身的反向出标签;以及,
根据中间节点90自身的反向出标签将所述第二BFD报文发送至所述 反向转发路径的下游节点。
示例性地,第三接收单元901,还配置为接收所述第一节点设置的所述中间节点90对应的正向转发标签和反向转发标签;其中,所述中间节点90对应的正向转发标签包括所述中间节点90的正向入标签和正向出标签;所述中间节点90对应的反向转发标签包括所述中间节点90的反向入标签和反向出标签。
实际应用中,中间节点中的各单元可以中间节点中的微处理器或逻辑可编程门阵列(FPGA)实现。
基于前述实施例相同的技术构思,参见图10,其示出了本发明实施例提供的一种双向转发检测的系统100,该系统100可以包括:第一节点60和第二节点80;其中,
所述第一节点60,配置为按照所述信令双向LSP的正向转发路径将第一BFD报文发送至所述第二节点80;以及,
当在预设时间段内接收到所述第二节点80按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,确认所述信令双向LSP无故障;
所述第二节点80,配置为接收所述第一节点60按照所述信令双向LSP的正向转发路径发送的第一BFD报文;以及,
按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点60。
示例性地,参见图11,所述系统100还可以包括:中间节点90,配置为接收所述信令双向LSP的正向转发路径的上游节点发送的第一BFD报文,并按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点,其中,所述第一BFD报文由所述第一节点60按照所述信令双向LSP的正向转发路径发送至所述第二节点80;以及,
接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报 文,并按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,其中,所述第二BFD报文由所述第二节点80接收所述第一BFD报文之后按照所述信令双向LSP的反向转发路径发送至所述第一节点60。
本发明实施例提供了一种双向转发检测的系统100,通过第一节点60与第二节点80之间的双向隧道,使得第一节点60与第二节点80之间进行信令交互的路径一致,方向相反;能够避免故障的误判,从而避免发生切换错误。
本发明实施例还记载一种计算机存储介质,所述计算机存储介质中存储有可执行指令,所述可执行指令配置为执行图2或图4所示的双向转发检测方法。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。

Claims (35)

  1. 一种双向转发检测BFD的方法,所述方法包括:
    第一节点按照信令双向标签交换路径LSP的正向转发路径将第一BFD报文发送至第二节点;
    当所述第一节点在预设时间段内接收到由所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,所述第一节点确认所述信令双向LSP无故障。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    当所述第一节点在预设时间段内未接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的所述第二BFD报文时,所述第一节点确认所述信令双向LSP发生故障,并将所述信令双向LSP上的业务切换到所述信令双向LSP的备份LSP上。
  3. 根据权利要求1所述的方法,其中,所述第一节点按照所述信令双向LSP的正向转发路径将第一BFD报文发送至所述第二节点,包括:
    所述第一节点按照自身的正向出标签将所述第一BFD报文发送至所述第一节点在所述正向转发路径上的第一下级节点,并指示所述第一下级节点将所述第一BFD报文按照所述信令双向LSP的正向转发路径发送至所述第二节点;其中,所述第一下级节点与所述第一节点相邻。
  4. 根据权利要求3所述的方法,其中,所述第一节点指示所述第一下级节点将所述第一BFD报文按照所述信令双向LSP的正向转发路径发送至所述第二节点,包括:
    所述第一节点按照自身的正向出标签将所述第一BFD报文发送至所述第一下级节点;其中,所述第一节点的正向出标签用于所述第一下级节点获取所述第一下级节点自身的正向出标签,并将所述第一BFD报文按照所述第一下级节点自身的正向出标签进行转发,直至到达所述第二节点。
  5. 根据权利要求1所述的方法,其中,所述第一节点在预设时间段内接收到由所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文,包括:
    所述第一节点在预设时间段内按照自身的反向入标签接收从所述第一节点在所述反向转发路径上的第一上级节点转发的所述第二BFD报文,其中,所述第一上级节点与所述第一节点相邻,所述第二BFD报文由所述第二节点按照所述信令双向LSP的反向转发路径发送至所述第一上级节点。
  6. 根据权利要求1至5任一项所述的方法,其中,所述第一节点按照所述信令双向LSP的正向转发路径将第一BFD报文发送至所述第二节点之前,所述方法还包括:
    所述第一节点按照所述正向转发路径为所述信令双向LSP上的每个节点依次设置对应的正向转发标签和反向转发标签;其中,所述信令双向LSP上的每个节点对应的正向转发标签包括所述信令双向LSP上的每个节点的正向入标签和正向出标签;所述信令双向LSP经过的节点对应的反向转发标签包括所述信令双向LSP经过的节点的反向入标签和反向出标签。
  7. 一种双向转发检测BFD的方法,所述方法包括:
    第二节点接收第一节点按照信令双向标签交换路径LSP的正向转发路径发送的第一BFD报文;
    所述第二节点按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点。
  8. 根据权利要求7所述的方法,其中,所述第二节点接收第一节点按照所述信令双向LSP的正向转发路径发送的第一BFD报文,包括:
    所述第二节点按照自身的正向入标签接收所述第二节点在所述正向转发路径的第二上级节点转发的所述第一BFD报文,其中,所述第二上级节点与所述第二节点相邻,所述第一BFD报文由所述第一节点按照所述信令 双向LSP的正向转发路径发送至所述第二上级节点。
  9. 根据权利要求7所述的方法,其中,所述第二节点按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点,包括:
    所述第二节点根据自身的正向入标签以及正向入标签和反向出标签的对应关系查找到自身的反向出标签;
    所述第二节点按照所述自身的反向出标签将所述第二BFD报文发送至所述第二节点在所述反向转发路径上的第二下级节点,并指示所述第二下级节点将所述第二BFD报文按照所述信令双向LSP的反向转发路径发送至所述第一节点;其中,所述第二下级节点与所述第二节点相邻。
  10. 根据权利要求9所述的方法,其中,所述第二节点指示所述第二下级节点将所述第二BFD报文按照所述信令双向LSP的反向转发路径发送至所述第一节点,包括:
    所述第二节点按照自身的反向出标签将所述第二BFD报文发送至所述第第二下级节点;其中,所述第二节点的反向出标签用于所述第二下级节点获取所述第二下级节点的反向出标签,并将所述第二BFD报文按照所述第二下级节点的反向出标签进行转发,直至到达所述第一节点。
  11. 根据权利要求7至10任一项所述的方法,其中,所述第二节点接收所述第一节点按照所述信令双向LSP的正向转发路径发送的第一BFD报文之前,所述方法还包括:
    所述第二节点接收所述第一节点设置的所述第二节点对应的正向转发标签和反向转发标签;其中,所述第二节点对应的正向转发标签包括所述第二节点的正向入标签和正向出标签;所述第二节点对应的反向转发标签包括所述第二节点的反向入标签和反向出标签。
  12. 一种双向转发检测BFD的方法,所述方法包括:
    所述中间节点接收所述信令双向标签交换路径LSP的正向转发路径的 上游节点发送的第一BFD报文,并按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点,其中,所述第一BFD报文由所述第一节点按照所述信令双向LSP的正向转发路径发送至所述第二节点;
    所述中间节点接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报文,并按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,其中,所述第二BFD报文由所述第二节点接收所述第一BFD报文之后按照所述信令双向LSP的反向转发路径发送至所述第一节点。
  13. 根据权利要求12所述方法,其中,所述中间节点接收所述信令双向LSP的正向转发路径的上游节点发送的第一BFD报文,并按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点,包括:
    所述中间节点按照自身的正向入标签接收所述正向转发路径的上游节点发送的所述第一BFD报文;其中,所述第一BFD报文包括所述正向转发路径的上游节点的正向出标签;
    所述中间节点根据所述正向转发路径的上游节点的正向出标签获取自身的正向出标签;
    所述中间节点根据所述自身的正向出标签将所述第一BFD报文发送至所述正向转发路径的下游节点。
  14. 根据权利要求12所述方法,其中,所述中间节点接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报文,并按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,包括:
    所述中间节点按照自身的反向入标签接收所述反向转发路径的上游节点发送的所述第二BFD报文;其中,所述第二BFD报文包括所述反向转发路径的上游节点的反向出标签;
    所述中间节点根据所述反向转发路径的上游节点的反向出标签获取自 身的反向出标签;
    所述中间节点根据自身的反向出标签将所述第二BFD报文发送至所述反向转发路径的下游节点。
  15. 根据权利要求12至14任一项所述的方法,其中,所述中间节点接收所述信令双向LSP的正向转发路径的上游节点发送的第一BFD报文之前,所述方法还包括:
    所述中间节点接收所述第一节点设置的所述中间节点对应的正向转发标签和反向转发标签;其中,所述中间节点对应的正向转发标签包括所述中间节点的正向入标签和正向出标签;所述中间节点对应的反向转发标签包括所述中间节点的反向入标签和反向出标签。
  16. 一种第一节点,所述第一节点包括第一发送单元、第一接收单元、判断单元和确认单元,其中,
    所述第一发送单元,配置为按照信令双向LSP的正向转发路径将第一BFD报文发送至第二节点;
    所述第一接收单元,配置为接收所述第二节点按照所述信令双向标签交换路径LSP的反向转发路径发送的第二BFD报文;
    所述判断单元,配置为判断所述第一接收单元在预设时间段内接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文;
    所述确认单元,配置为当所述判断单元确定所述第一接收单元在预设时间段内接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,确认所述信令双向LSP无故障。
  17. 根据权利要求16所述的第一节点,其中,所述确认单元,还用于当所述判断单元确定所述第一接收单元在预设时间段内未接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的所述第二BFD报文时, 确认所述信令双向LSP发生故障,并将所述信令双向LSP上的业务切换到所述信令双向LSP的备份LSP上。
  18. 根据权利要求16所述的第一节点,其中,所述第一发送单元,配置为按照所述第一节点自身的正向出标签将所述第一BFD报文发送至所述第一节点在所述正向转发路径上的第一下级节点,并指示所述第一下级节点将所述第一BFD报文按照所述信令双向LSP的正向转发路径发送至所述第二节点;其中,所述第一下级节点与所述第一节点相邻。
  19. 根据权利要求18所述的第一节点,其中,所述第一发送单元,配置为按照所述第一节点自身的正向出标签将所述第一BFD报文发送至所述第一下级节点;其中,所述第一节点的正向出标签用于所述第一下级节点获取所述第一下级节点自身的正向出标签,并将所述第一BFD报文按照所述第一下级节点自身的正向出标签进行转发,直至到达所述第二节点。
  20. 根据权利要求16所述的第一节点,其中,所述第一接收单元,配置为在预设时间段内按照所述第一节点自身的反向入标签接收从所述第一节点在所述反向转发路径上的第一上级节点转发的所述第二BFD报文,其中,所述第一上级节点与所述第一节点相邻,所述第二BFD报文由所述第二节点按照所述信令双向LSP的反向转发路径发送至所述第一上级节点。
  21. 根据权利要求16至20任一项所述的第一节点,其中,所述第一节点还包括设置单元,配置为按照所述正向转发路径为所述信令双向LSP上的每个节点依次设置对应的正向转发标签和反向转发标签;其中,所述信令双向LSP上的每个节点对应的正向转发标签包括所述信令双向LSP上的每个节点的正向入标签和正向出标签;所述信令双向LSP经过的节点对应的反向转发标签包括所述信令双向LSP经过的节点的反向入标签和反向出标签。
  22. 一种第二节点,所述第二节点包括:第二接收单元和第二发送单 元,其中,
    所述第二接收单元,配置为接收第一节点按照信令双向标签交换路径LSP的正向转发路径发送的第一BFD报文;
    所述第二发送单元,配置为按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点。
  23. 根据权利要求22所述的第二节点,其中,所述第二接收单元,配置为按照所述第二节点自身的正向入标签接收所述第二节点在所述正向转发路径的第二上级节点转发的所述第一BFD报文,其中,所述第二上级节点与所述第二节点相邻,所述第一BFD报文由所述第一节点按照所述信令双向LSP的正向转发路径发送至所述第二上级节点。
  24. 根据权利要求22所述的第二节点,其中,所述第二发送单元,还配置为:
    根据所述第二节点自身的正向入标签以及正向入标签和反向出标签的对应关系查找到所述第二节点自身的反向出标签;以及,
    按照所述第二节点自身的反向出标签将所述第二BFD报文发送至所述第二节点在所述反向转发路径上的第二下级节点,并指示所述第二下级节点将所述第二BFD报文按照所述信令双向LSP的反向转发路径发送至所述第一节点;其中,所述第二下级节点与所述第二节点相邻。
  25. 根据权利要求24所述的第二节点,其中,所述第二发送单元,还配置为:
    按照所述第二节点自身的反向出标签将所述第二BFD报文发送至所述第二下级节点;其中,所述第二节点的反向出标签用于所述第二下级节点获取所述第二下级节点自身的反向出标签,并将所述第二BFD报文按照所述第二下级节点的反向出标签进行转发,直至到达所述第一节点。
  26. 根据权利要求22至25任一项所述的第二节点,其中,所述第二 接收单元,还配置为接收所述第一节点设置的所述第二节点对应的正向转发标签和反向转发标签;其中,所述第二节点对应的正向转发标签包括所述第二节点的正向入标签和正向出标签;所述第二节点对应的反向转发标签包括所述第二节点的反向入标签和反向出标签。
  27. 一种中间节点,所述中间节点包括:第三接收单元和第三发送单元,其中,
    所述第三接收单元,配置为接收信令双向标签交换路径LSP的正向转发路径的上游节点发送的第一双向转发检测BFD报文;
    所述第三发送单元,配置为按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点,其中,所述第一BFD报文由第一节点按照所述信令双向LSP的正向转发路径发送至第二节点;
    所述第三接收单元,还配置为接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报文;
    所述第三发送单元,还配置为按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,其中,所述第二BFD报文由所述第二节点接收所述第一BFD报文之后按照所述信令双向LSP的反向转发路径发送至所述第一节点。
  28. 根据权利要求27所述的中间节点,其中,所述第三接收单元,还配置为按照所述中间节点自身的正向入标签接收所述正向转发路径的上游节点发送的所述第一BFD报文;其中,所述第一BFD报文包括所述正向转发路径的上游节点的正向出标签;
    所述第三发送单元,还配置为:
    根据所述正向转发路径的上游节点的正向出标签获取所述中间节点自身的正向出标签;
    以及,根据所述中间节点自身的正向出标签将所述第一BFD报文发送 至所述正向转发路径的下游节点。
  29. 根据权利要求27所述的中间节点,其中,所述第三接收单元,还配置为按照所述中间节点自身的反向入标签接收所述反向转发路径的上游节点发送的所述第二BFD报文;其中,所述第二BFD报文包括所述反向转发路径的上游节点的反向出标签;
    所述第三发送单元,还配置为:
    根据所述反向转发路径的上游节点的反向出标签获取所述中间节点自身的反向出标签;以及,
    根据所述中间节点自身的反向出标签将所述第二BFD报文发送至所述反向转发路径的下游节点。
  30. 根据权利要求27至29任一项所述的中间节点,其中,所述第三接收单元,还配置为接收所述第一节点设置的所述中间节点对应的正向转发标签和反向转发标签;其中,所述中间节点对应的正向转发标签包括所述中间节点的正向入标签和正向出标签;所述中间节点对应的反向转发标签包括所述中间节点的反向入标签和反向出标签。
  31. 一种双向转发检测的系统,所述系统包括:第一节点和第二节点;其中,
    所述第一节点,配置为按照信令双向标签交换路径LSP的正向转发路径将第一双向转发检测BFD报文发送至所述第二节点;以及,
    当在预设时间段内接收到所述第二节点按照所述信令双向LSP的反向转发路径发送的第二BFD报文时,确认所述信令双向LSP无故障;
    所述第二节点,配置为接收所述第一节点按照所述信令双向LSP的正向转发路径发送的第一BFD报文;以及,
    按照所述信令双向LSP的反向转发路径将第二BFD报文发送至所述第一节点。
  32. 根据权利要求31所述的系统,其中,所述系统还包括中间节点,配置为接收所述信令双向LSP的正向转发路径的上游节点发送的第一BFD报文,并按照所述正向转发路径将所述第一BFD报文发送至所述正向转发路径的下游节点,其中,所述第一BFD报文由所述第一节点按照所述信令双向LSP的正向转发路径发送至所述第二节点;以及,
    接收所述信令双向LSP的反向转发路径的上游节点发送的第二BFD报文,并按照所述反向转发路径将所述第二BFD报文发送至所述反向转发路径的下游节点,其中,所述第二BFD报文由所述第二节点接收所述第一BFD报文之后按照所述信令双向LSP的反向转发路径发送至所述第一节点。
  33. 一种计算机存储介质,所述计算机存储介质中存储有可执行指令,所述可执行指令配置为执行权利要求1至6任一项所述的双向转发检测BFD的方法。
  34. 一种计算机存储介质,所述计算机存储介质中存储有可执行指令,所述可执行指令配置为执行权利要求7至11任一项所述的双向转发检测BFD的方法。
  35. 一种计算机存储介质,所述计算机存储介质中存储有可执行指令,所述可执行指令配置为执行权利要求12至15任一项所述的双向转发检测BFD的方法。
PCT/CN2014/090798 2014-09-19 2014-11-11 双向转发检测方法、设备、系统及计算机存储介质 WO2015131537A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410481891.7 2014-09-19
CN201410481891.7A CN105490932A (zh) 2014-09-19 2014-09-19 一种双向转发检测的方法、设备和系统

Publications (1)

Publication Number Publication Date
WO2015131537A1 true WO2015131537A1 (zh) 2015-09-11

Family

ID=54054427

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090798 WO2015131537A1 (zh) 2014-09-19 2014-11-11 双向转发检测方法、设备、系统及计算机存储介质

Country Status (2)

Country Link
CN (1) CN105490932A (zh)
WO (1) WO2015131537A1 (zh)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128752A1 (zh) * 2016-01-26 2017-08-03 中兴通讯股份有限公司 链路故障检测方法及装置
US9729682B2 (en) 2015-05-18 2017-08-08 128 Technology, Inc. Network device and method for processing a session using a packet signature
US9729439B2 (en) 2014-09-26 2017-08-08 128 Technology, Inc. Network packet flow controller
US9736184B2 (en) 2015-03-17 2017-08-15 128 Technology, Inc. Apparatus and method for using certificate data to route data
US9762485B2 (en) 2015-08-24 2017-09-12 128 Technology, Inc. Network packet flow controller with extended session management
US9832072B1 (en) 2016-05-31 2017-11-28 128 Technology, Inc. Self-configuring computer network router
US9871748B2 (en) 2015-12-09 2018-01-16 128 Technology, Inc. Router with optimized statistical functionality
US9985883B2 (en) 2016-02-26 2018-05-29 128 Technology, Inc. Name-based routing system and method
US9985872B2 (en) 2016-10-03 2018-05-29 128 Technology, Inc. Router with bilateral TCP session monitoring
US10009282B2 (en) 2016-06-06 2018-06-26 128 Technology, Inc. Self-protecting computer network router with queue resource manager
US10091099B2 (en) 2016-05-31 2018-10-02 128 Technology, Inc. Session continuity in the presence of network address translation
US10200264B2 (en) 2016-05-31 2019-02-05 128 Technology, Inc. Link status monitoring based on packet loss detection
US10205651B2 (en) 2016-05-13 2019-02-12 128 Technology, Inc. Apparatus and method of selecting next hops for a session
US10257061B2 (en) 2016-05-31 2019-04-09 128 Technology, Inc. Detecting source network address translation in a communication system
US10277506B2 (en) 2014-12-08 2019-04-30 128 Technology, Inc. Stateful load balancing in a stateless network
CN109787839A (zh) * 2019-02-28 2019-05-21 新华三技术有限公司 一种报文转发方法及装置
US10298616B2 (en) 2016-05-26 2019-05-21 128 Technology, Inc. Apparatus and method of securing network communications
US10425511B2 (en) 2017-01-30 2019-09-24 128 Technology, Inc. Method and apparatus for managing routing disruptions in a computer network
US10432519B2 (en) 2017-05-26 2019-10-01 128 Technology, Inc. Packet redirecting router
US10833980B2 (en) 2017-03-07 2020-11-10 128 Technology, Inc. Router device using flow duplication
US10841206B2 (en) 2016-05-31 2020-11-17 128 Technology, Inc. Flow modification including shared context
WO2021000236A1 (en) * 2019-07-01 2021-01-07 Lenovo (Beijing) Limited Method and apparatus for reducing latency in communication system
US11075836B2 (en) 2016-05-31 2021-07-27 128 Technology, Inc. Reverse forwarding information base enforcement
US11165863B1 (en) 2017-08-04 2021-11-02 128 Technology, Inc. Network neighborhoods for establishing communication relationships between communication interfaces in an administrative domain
CN114726754A (zh) * 2020-12-21 2022-07-08 华为技术有限公司 报文传输方法、设备及系统
US11652739B2 (en) 2018-02-15 2023-05-16 128 Technology, Inc. Service related routing method and apparatus
US11658902B2 (en) 2020-04-23 2023-05-23 Juniper Networks, Inc. Session monitoring using metrics of session establishment

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426098A (zh) * 2016-05-23 2017-12-01 中兴通讯股份有限公司 一种故障确定方法及装置
CN108123875B (zh) * 2016-11-29 2021-11-05 中兴通讯股份有限公司 一种双向转发检测方法及装置
CN108429625B (zh) * 2017-02-13 2021-10-15 中兴通讯股份有限公司 一种实现故障诊断的方法及装置
CN108156050A (zh) * 2017-11-28 2018-06-12 盛科网络(苏州)有限公司 无缝双向转发检测方法及装置
CN109218199B (zh) * 2018-11-21 2021-03-02 新华三技术有限公司 一种报文处理方法和装置
CN111327537B (zh) * 2018-12-14 2022-08-02 中国电信股份有限公司 流量转发方法、系统、sdn控制器及计算机可读存储介质
CN111682982B (zh) * 2020-06-03 2022-09-27 北京东土军悦科技有限公司 路径的故障检测方法、装置、设备、系统及存储介质
CN114124753B (zh) * 2020-08-25 2024-05-03 华为技术有限公司 一种报文发送方法及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080247324A1 (en) * 2007-04-06 2008-10-09 Nadeau Thomas D Detection of specific bfd path failures
CN101771577A (zh) * 2008-12-31 2010-07-07 华为技术有限公司 一种为双向lsp建立双向转发检测的方法、系统及设备
CN102769543A (zh) * 2012-07-20 2012-11-07 杭州华三通信技术有限公司 一种基于lsp的bfd检测方法和设备
CN103840980A (zh) * 2012-11-23 2014-06-04 上海贝尔股份有限公司 检测双向lsp连通性的方法和设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2581780C1 (ru) * 2012-06-20 2016-04-20 Хуавэй Текнолоджиз Ко., Лтд. Способ, система и устройство узла для установления пути восстановления

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080247324A1 (en) * 2007-04-06 2008-10-09 Nadeau Thomas D Detection of specific bfd path failures
CN101771577A (zh) * 2008-12-31 2010-07-07 华为技术有限公司 一种为双向lsp建立双向转发检测的方法、系统及设备
CN102769543A (zh) * 2012-07-20 2012-11-07 杭州华三通信技术有限公司 一种基于lsp的bfd检测方法和设备
CN103840980A (zh) * 2012-11-23 2014-06-04 上海贝尔股份有限公司 检测双向lsp连通性的方法和设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI TECHNOLOGIES CO., LTD. ET AL.: "Return Path Specified Label Switched Path (LSP) Ping", INTERNET ENGINEERING TASK FORCE (IETF, 1 January 2014 (2014-01-01) *

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9729439B2 (en) 2014-09-26 2017-08-08 128 Technology, Inc. Network packet flow controller
US9923833B2 (en) 2014-09-26 2018-03-20 128 Technology, Inc. Network packet flow controller
US10277506B2 (en) 2014-12-08 2019-04-30 128 Technology, Inc. Stateful load balancing in a stateless network
US9736184B2 (en) 2015-03-17 2017-08-15 128 Technology, Inc. Apparatus and method for using certificate data to route data
US10091247B2 (en) 2015-03-17 2018-10-02 128 Technology, Inc. Apparatus and method for using certificate data to route data
US9729682B2 (en) 2015-05-18 2017-08-08 128 Technology, Inc. Network device and method for processing a session using a packet signature
US10033843B2 (en) 2015-05-18 2018-07-24 128 Technology, Inc. Network device and method for processing a session using a packet signature
US9762485B2 (en) 2015-08-24 2017-09-12 128 Technology, Inc. Network packet flow controller with extended session management
US10432522B2 (en) 2015-08-24 2019-10-01 128 Technology, Inc. Network packet flow controller with extended session management
US9871748B2 (en) 2015-12-09 2018-01-16 128 Technology, Inc. Router with optimized statistical functionality
WO2017128752A1 (zh) * 2016-01-26 2017-08-03 中兴通讯股份有限公司 链路故障检测方法及装置
US9985883B2 (en) 2016-02-26 2018-05-29 128 Technology, Inc. Name-based routing system and method
US10205651B2 (en) 2016-05-13 2019-02-12 128 Technology, Inc. Apparatus and method of selecting next hops for a session
US10298616B2 (en) 2016-05-26 2019-05-21 128 Technology, Inc. Apparatus and method of securing network communications
US10257061B2 (en) 2016-05-31 2019-04-09 128 Technology, Inc. Detecting source network address translation in a communication system
US10841206B2 (en) 2016-05-31 2020-11-17 128 Technology, Inc. Flow modification including shared context
US10091099B2 (en) 2016-05-31 2018-10-02 128 Technology, Inc. Session continuity in the presence of network address translation
US10200264B2 (en) 2016-05-31 2019-02-05 128 Technology, Inc. Link status monitoring based on packet loss detection
US11075836B2 (en) 2016-05-31 2021-07-27 128 Technology, Inc. Reverse forwarding information base enforcement
US9832072B1 (en) 2016-05-31 2017-11-28 128 Technology, Inc. Self-configuring computer network router
US11722405B2 (en) 2016-05-31 2023-08-08 128 Technology, Inc. Reverse forwarding information base enforcement
US10009282B2 (en) 2016-06-06 2018-06-26 128 Technology, Inc. Self-protecting computer network router with queue resource manager
US9985872B2 (en) 2016-10-03 2018-05-29 128 Technology, Inc. Router with bilateral TCP session monitoring
US10425511B2 (en) 2017-01-30 2019-09-24 128 Technology, Inc. Method and apparatus for managing routing disruptions in a computer network
US11799760B2 (en) 2017-03-07 2023-10-24 128 Technology, Inc. Router device using flow duplication
US10833980B2 (en) 2017-03-07 2020-11-10 128 Technology, Inc. Router device using flow duplication
US11496390B2 (en) 2017-03-07 2022-11-08 128 Technology, Inc. Router device using flow duplication
US10432519B2 (en) 2017-05-26 2019-10-01 128 Technology, Inc. Packet redirecting router
US11503116B1 (en) 2017-08-04 2022-11-15 128 Technology, Inc. Network neighborhoods for establishing communication relationships between communication interfaces in an administrative domain
US11165863B1 (en) 2017-08-04 2021-11-02 128 Technology, Inc. Network neighborhoods for establishing communication relationships between communication interfaces in an administrative domain
US11652739B2 (en) 2018-02-15 2023-05-16 128 Technology, Inc. Service related routing method and apparatus
CN109787839A (zh) * 2019-02-28 2019-05-21 新华三技术有限公司 一种报文转发方法及装置
WO2021000236A1 (en) * 2019-07-01 2021-01-07 Lenovo (Beijing) Limited Method and apparatus for reducing latency in communication system
US11658902B2 (en) 2020-04-23 2023-05-23 Juniper Networks, Inc. Session monitoring using metrics of session establishment
CN114726754A (zh) * 2020-12-21 2022-07-08 华为技术有限公司 报文传输方法、设备及系统

Also Published As

Publication number Publication date
CN105490932A (zh) 2016-04-13

Similar Documents

Publication Publication Date Title
WO2015131537A1 (zh) 双向转发检测方法、设备、系统及计算机存储介质
US20150215156A1 (en) Method and apparatus for network failure restoration
CN110661702B (zh) 一种链路备份的方法、装置及计算机可读存储介质
WO2017054547A1 (zh) 双向转发检测的方法和装置
WO2019174390A1 (zh) 基于工业以太网的数据传输系统、方法和通信设备
WO2016037443A1 (zh) 一种临时通道的建立方法、设备、系统和计算机存储介质
CN104283711A (zh) 基于双向转发检测bfd的故障检测方法、节点及系统
US20200044964A1 (en) Defect detection in ip/mpls network tunnels
TWI492575B (zh) 快速標籤交換路徑警示機制
WO2016095322A1 (zh) 一种基于vrrp的数据传输方法及装置
JP2016122896A (ja) 中継システムおよびスイッチ装置
US20110069606A1 (en) Communication node and method of processing communication fault thereof
US10033573B2 (en) Protection switching method, network, and system
CN109495345A (zh) 一种bfd处理方法及网络设备
US20150098317A1 (en) Linear protection switching method and apparatus for protecting network segmented into multi-domain
WO2015154423A1 (zh) 跨域业务处理方法、装置及系统
KR20100093499A (ko) 링 네트워크에서의 보호 절체 방법 및 장치
JP5338915B2 (ja) 伝送システム、伝送方法、および通信装置
KR20130039312A (ko) 공유 메쉬 보호 절체 방법
CN102769552A (zh) 一种通过bfd检测lsp时传输bfd报文的方法和设备
WO2018077124A1 (zh) 一种业务告警处理方法、装置及系统
US8295164B2 (en) Network-connection redundant system for devices with cascade networking capability and method applied on the system
WO2015100637A1 (zh) 链路倒换的方法和交换设备
US11212164B2 (en) Preventing multicast outages in ring networks
WO2018059344A1 (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: 14884299

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: 14884299

Country of ref document: EP

Kind code of ref document: A1