CN114650241A - Tunnel path fault detection method, control method, device and communication node - Google Patents

Tunnel path fault detection method, control method, device and communication node Download PDF

Info

Publication number
CN114650241A
CN114650241A CN202011516342.0A CN202011516342A CN114650241A CN 114650241 A CN114650241 A CN 114650241A CN 202011516342 A CN202011516342 A CN 202011516342A CN 114650241 A CN114650241 A CN 114650241A
Authority
CN
China
Prior art keywords
lsp
static
bfd session
tunnel
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011516342.0A
Other languages
Chinese (zh)
Inventor
姜文颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011516342.0A priority Critical patent/CN114650241A/en
Publication of CN114650241A publication Critical patent/CN114650241A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • 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/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a tunnel path fault detection method, a control method, a device and a communication node, wherein the tunnel path fault detection method comprises the following steps: respectively carrying out fault detection on a first main LSP of a first tunnel and a second main LSP of a second tunnel through a first static BFD session and a second static BFD session; the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path; the RD value of the first static BFD session is the LD value of the second static BFD session, and the RD value of the second static BFD session is the LD value of the first static BFD session. The scheme can avoid the BFD return trip from walking the IGP shortest path and ensure that the return trip and the LSP share the same path, thereby realizing that the fault detection of the main LSP is different from the fault detection of the standby LSP and avoiding the misjudgment of the path fault detection; therefore, when the main LSP of the tunnel fails, the backup LSP can play a real backup protection role; the problem that a path fault detection scheme in the prior art has misjudgment is well solved.

Description

Tunnel path fault detection method, control method, device and communication node
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a tunnel path fault detection method, a control method, an apparatus, and a communication node.
Background
The current SR (segment routing) -TE (traffic engineering), SRv6 (SR based on IPv 6) Policy tunnel HSB (Hot standard, active/Standby protection) protection fault Detection methods are dynamic BFD (Bidirectional Forwarding Detection) and SBFD (seamless Bidirectional Forwarding Detection). Specifically, the method comprises the following steps:
dynamic BFD detects primary and standby tunnels LSP (Label Switched Path): the two ends of the BFD session establish the session through control plane dynamic negotiation, the LD (local identifier) and the RD (remote identifier) of the BFD session are allocated through the dynamic negotiation of the two ends of the tunnel, and the two ends both need to maintain the state machine of the BFD session; when the dynamic BFD detects that the main LSP path of the tunnel has a fault, the tunnel head-end equipment quickly switches the flow to the standby path, and the switching of the main path and the standby path within 50ms is realized.
SBFD detects the main and standby LSP of the tunnel: the tunnel head end is SBFD transmitting terminal, and the tail end is SBFD reflection end. The transmitting terminal maintains a session state machine, transmits a BFD detection message, and the reflecting terminal checks and returns the BFD detection message without BFD session state information; when the transmitting end of the SBFD does not configure the RD explicitly, the descriptor (identifier) of the reflecting end of the session is obtained as the RD. When the SBFD detects that the main LSP path of the tunnel has a fault, the head-end equipment of the tunnel quickly switches the flow to the standby path, and the switching of the main path and the standby path within 50ms is realized.
However, the two current fault detection methods of dynamic BFD and SBFD have the following problems:
when the primary LSP of the tunnel is the IGP shortest path, it is misjudged that the primary LSP fails when the primary LSP of the tunnel fails, so that the secondary LSP of the tunnel is meaningless, and the tunnel protection mechanism fails, thereby causing interruption of traffic flow at a level of more than second, which affects user experience.
From the above, the conventional path fault detection scheme has the problem of misjudgment.
Disclosure of Invention
The invention aims to provide a tunnel path fault detection method, a control method, a device and a communication node, and aims to solve the problem that a path fault detection scheme in the prior art is misjudged.
In order to solve the foregoing technical problem, an embodiment of the present invention provides a method for detecting a tunnel path fault, which is applied to a first communication node, and includes:
respectively carrying out fault detection on a first main Label Switching Path (LSP) of a first tunnel and a second main LSP of a second tunnel through a first static Bidirectional Forwarding Detection (BFD) session and a second static BFD session;
wherein the first main LSP is a forward path, and the second main LSP is a reverse path having the same path as the first main LSP;
the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, and the RD value of the second static BFD session is the LD value of the first static BFD session.
Optionally, the first tunnel further includes: the first backup LSP, the second tunnel further comprising: a second backup LSP;
the path fault detection method further comprises:
respectively carrying out fault detection on the first standby LSP of the first tunnel and the second standby LSP of the second tunnel through the third static BFD session and the fourth static BFD session;
the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
Optionally, the method further includes:
and under the condition that the first main LSP and the second main LSP are detected to be failed, switching the tunnel path of the first tunnel from the first main LSP to the first standby LSP and switching the tunnel path of the second tunnel from the second main LSP to the second standby LSP.
Optionally, before performing fault detection on the first main LSP of the first tunnel and the second main LSP of the second tunnel respectively through the first static BFD session and the second static BFD session, the method further includes:
receiving configuration information sent by a second communication node; wherein the configuration information includes creation configuration information of the first tunnel and the second tunnel, and indication configuration information indicating that the first static BFD session is associated with a first primary LSP, the second static BFD session is associated with a second primary LSP, the third static BFD session is associated with a first backup LSP, and the fourth static BFD session is associated with a second backup LSP;
creating the first tunnel and the second tunnel according to the creation configuration information;
and respectively establishing association between the first static BFD session and a first main LSP, between the second static BFD session and a second main LSP, between the third static BFD session and a first standby LSP and between the fourth static BFD session and a second standby LSP according to the indication configuration information.
Optionally, before receiving the configuration information sent by the second communication node, the method further includes:
receiving an interface query request sent by the second communication node;
and feeding back the local available LD to the second communication node according to the interface query request.
Optionally, before receiving the configuration information sent by the second communication node, the method further includes:
creating a static BFD configuration interface with the second communication node;
wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters:
the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type;
the LSP type is a primary LSP or a standby LSP.
Optionally, the method further includes:
receiving an updating indication sent by a second communication node;
and updating the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session according to the updating indication.
The embodiment of the invention also provides a tunnel path control method, which is applied to a second communication node and comprises the following steps:
obtaining configuration information according to a local available local identifier LD of a first communication node;
sending the configuration information to the first communication node;
the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP;
the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path; the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
Optionally, before obtaining the configuration information according to the locally available local identifier LD of the first communication node, the method further includes:
sending an interface query request to the first communication node;
and receiving the local available LD of the first communication node fed back by the first communication node according to the interface query request.
Optionally, before sending the configuration information to the first communication node, the method further includes:
creating a static BFD configuration interface with the first communication node;
wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters:
the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type;
the LSP type is a primary LSP or a standby LSP.
Optionally, the method further includes:
under the condition that the first main LSP and/or the second main LSP are detected not to meet the preset conditions, an updating indication is obtained;
sending the update indication to the first communication node;
wherein the update indication is used for indicating to update the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session.
An embodiment of the present invention further provides a device for detecting a tunnel path fault, which is applied to a first communication node, and includes:
a first detection module, configured to perform fault detection on a first main label switching path LSP of a first tunnel and a second main LSP of a second tunnel respectively through a first static bidirectional forwarding detection BFD session and a second static BFD session;
wherein the first main LSP is a forward path, and the second main LSP is a reverse path having the same path as the first main LSP;
the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, and the RD value of the second static BFD session is the LD value of the first static BFD session.
Optionally, the first tunnel further includes: the first backup LSP, the second tunnel further comprising: a second backup LSP;
the path failure detection apparatus further includes:
the second detection module is used for respectively carrying out fault detection on the first standby LSP of the first tunnel and the second standby LSP of the second tunnel through the third static BFD session and the fourth static BFD session;
the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
Optionally, the method further includes:
a first switching module, configured to switch a tunnel path of the first tunnel from the first primary LSP to the first standby LSP and switch a tunnel path of the second tunnel from the second primary LSP to the second standby LSP when the first primary LSP and the second primary LSP are detected to be failed.
Optionally, the method further includes:
a first receiving module, configured to receive configuration information sent by a second communication node before performing fault detection on a first main LSP of a first tunnel and a second main LSP of a second tunnel respectively through a first static BFD session and a second static BFD session; wherein the configuration information includes creation configuration information of the first tunnel and the second tunnel, and indication configuration information indicating that the first static BFD session is associated with a first primary LSP, the second static BFD session is associated with a second primary LSP, the third static BFD session is associated with a first backup LSP, and the fourth static BFD session is associated with a second backup LSP;
a first creating module, configured to create the first tunnel and the second tunnel according to the creation configuration information;
and a first establishing module, configured to respectively establish associations between the first static BFD session and the first master LSP, between the second static BFD session and the second master LSP, between the third static BFD session and the first standby LSP, and between the fourth static BFD session and the second standby LSP according to the indication configuration information.
Optionally, the method further includes:
a second receiving module, configured to receive an interface query request sent by a second communication node before receiving configuration information sent by the second communication node;
and the first feedback module is used for feeding back the local available LD to the second communication node according to the interface query request.
Optionally, the method further includes:
the second establishing module is used for establishing a static BFD configuration interface between the second communication node and the second communication node before receiving the configuration information sent by the second communication node;
wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters:
the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type;
the LSP type is a primary LSP or a standby LSP.
Optionally, the method further includes:
a third receiving module, configured to receive an update indication sent by the second communication node;
and the first updating module is used for updating the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session according to the updating indication.
An embodiment of the present invention further provides a tunnel path control apparatus, which is applied to a second communication node, and includes:
the first processing module is used for obtaining configuration information according to a local available local identifier LD of the first communication node;
a first sending module, configured to send the configuration information to the first communication node;
the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP;
the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path; the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP in path;
the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
Optionally, the method further includes:
a second sending module, configured to send an interface query request to a first communication node before configuration information is obtained according to a locally available local identifier LD of the first communication node;
a fourth receiving module, configured to receive the locally available LD of the first communication node, which is fed back by the first communication node according to the interface query request.
Optionally, the method further includes:
a third creating module, configured to create a static BFD configuration interface with the first communication node before sending the configuration information to the first communication node;
wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters:
the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type;
the LSP type is a primary LSP or a standby LSP.
Optionally, the method further includes:
a first obtaining module, configured to obtain an update instruction when detecting that the first primary LSP and/or the second primary LSP do not satisfy a preset condition;
a third sending module, configured to send the update indication to the first communication node;
wherein the update indication is used to indicate to update the first primary LSP, the second primary LSP, the first backup LSP, the second backup LSP, the first static BFD session, the second static BFD session, the third static BFD session, and the fourth static BFD session.
An embodiment of the present invention further provides a communication node, where the communication node is a first communication node, and the communication node includes: a processor;
the processor is configured to perform fault detection on a first main label switching path LSP of the first tunnel and a second main LSP of the second tunnel respectively through the first static bidirectional forwarding detection BFD session and the second static BFD session;
wherein the first main LSP is a forward path, and the second main LSP is a reverse path having the same path as the first main LSP;
the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, and the RD value of the second static BFD session is the LD value of the first static BFD session.
Optionally, the first tunnel further includes: the first backup LSP, the second tunnel further comprising: a second backup LSP;
the processor is further configured to:
respectively carrying out fault detection on the first standby LSP of the first tunnel and the second standby LSP of the second tunnel through the third static BFD session and the fourth static BFD session;
the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
Optionally, the processor is further configured to:
and under the condition that the first main LSP and the second main LSP are detected to be failed, switching the tunnel path of the first tunnel from the first main LSP to the first standby LSP and switching the tunnel path of the second tunnel from the second main LSP to the second standby LSP.
Optionally, the method further includes: a transceiver; the processor is further configured to:
before fault detection is respectively carried out on a first main LSP of a first tunnel and a second main LSP of a second tunnel through a first static BFD session and a second static BFD session, configuration information sent by a second communication node is received through a transceiver; wherein the configuration information includes creation configuration information of the first tunnel and the second tunnel, and indication configuration information indicating that the first static BFD session is associated with a first primary LSP, the second static BFD session is associated with a second primary LSP, the third static BFD session is associated with a first backup LSP, and the fourth static BFD session is associated with a second backup LSP;
creating the first tunnel and the second tunnel according to the creation configuration information;
and respectively establishing association between the first static BFD session and a first main LSP, between the second static BFD session and a second main LSP, between the third static BFD session and a first standby LSP and between the fourth static BFD session and a second standby LSP according to the indication configuration information.
Optionally, the processor is further configured to:
before receiving configuration information sent by a second communication node, receiving an interface query request sent by the second communication node through the transceiver;
and feeding back the locally available LD to the second communication node through the transceiver according to the interface query request.
Optionally, the processor is further configured to:
before receiving configuration information sent by a second communication node, establishing a static BFD configuration interface between the second communication node and the second communication node;
wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters:
the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type;
the LSP type is a primary LSP or a standby LSP.
Optionally, the method further includes: a transceiver; the processor is further configured to:
receiving, by the transceiver, an update indication sent by a second communication node;
and updating the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session according to the updating indication.
An embodiment of the present invention further provides a communication node, where the communication node is a second communication node, and the communication node includes: a processor and a transceiver;
the processor is used for obtaining configuration information according to a local available local identifier LD of the first communication node;
transmitting the configuration information to the first communication node via the transceiver;
the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP;
the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path; the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
Optionally, the processor is further configured to:
before configuration information is obtained according to a local available local identifier LD of a first communication node, sending an interface query request to the first communication node through the transceiver;
and receiving the local available LD of the first communication node fed back by the first communication node according to the interface query request through the transceiver.
Optionally, the processor is further configured to:
before sending the configuration information to the first communication node, creating a static BFD configuration interface with the first communication node;
wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters:
the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type;
the LSP type is a primary LSP or a standby LSP.
Optionally, the processor is further configured to:
acquiring an updating indication under the condition that the first main LSP and/or the second main LSP are detected not to meet the preset condition;
transmitting, by the transceiver, the update indication to the first communication node;
wherein the update indication is used to indicate to update the first primary LSP, the second primary LSP, the first backup LSP, the second backup LSP, the first static BFD session, the second static BFD session, the third static BFD session, and the fourth static BFD session.
The embodiment of the invention also provides a communication node, which comprises a memory, a processor and a program which is stored on the memory and can run on the processor; when the processor executes the program, the tunnel path fault detection method is realized; or,
the processor implements the tunnel path control method described above when executing the program.
The embodiment of the invention also provides a readable storage medium, wherein a program is stored on the readable storage medium, and when the program is executed by a processor, the program realizes the steps in the tunnel path fault detection method; or,
the program realizes the steps of the tunnel path control method when being executed by a processor.
The technical scheme of the invention has the following beneficial effects:
in the above solution, the tunnel path fault detection method performs fault detection on a first main label switched path LSP of a first tunnel and a second main LSP of a second tunnel respectively through a first static bidirectional forwarding detection BFD session and a second static BFD session; wherein the first main LSP is a forward path, and the second main LSP is a reverse path having the same path as the first main LSP; the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, the RD value of the second static BFD session is the LD value of the first static BFD session; the method can avoid the BFD return trip from walking the IGP shortest path and ensure that the return trip and the LSP share the same path, thereby realizing that the fault detection of the main LSP is different from the fault detection of the standby LSP and avoiding the misjudgment of the path fault detection; further, when the main LSP of the tunnel breaks down, the backup LSP can play a real backup protection role, and the method provides the unsuspecting tunnel HSB fault switching within 50ms for the client, and creates high-quality network service; the problem that a path fault detection scheme in the prior art has misjudgment is well solved.
Drawings
Fig. 1 is a schematic flowchart of a tunnel path fault detection method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a tunnel path control method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an implementation architecture of a tunnel path fault detection method and a tunnel path control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a tunnel path fault detection apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a tunnel path control device according to an embodiment of the present invention;
fig. 6 is a first schematic structural diagram of a communication node according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a communication node according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The present invention provides a tunnel path fault detection method, which is applied to a first communication node, and as shown in fig. 1, the tunnel path fault detection method includes:
step 11: respectively carrying out fault detection on a first main Label Switching Path (LSP) of a first tunnel and a second main LSP of a second tunnel through a first static Bidirectional Forwarding Detection (BFD) session and a second static BFD session; wherein the first main LSP is a forward path, and the second main LSP is a reverse path that is the same path as the first main LSP (it can also be understood that the second main LSP is opposite in direction and the same path as the first main LSP); the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, and the RD value of the second static BFD session is the LD value of the first static BFD session.
The tunnel path fault detection method provided by the embodiment of the invention respectively carries out fault detection on a first main Label Switching Path (LSP) of a first tunnel and a second main LSP of a second tunnel through a first static Bidirectional Forwarding Detection (BFD) session and a second static BFD session; wherein the first main LSP is a forward path, and the second main LSP is a reverse path having the same path as the first main LSP; the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, the RD value of the second static BFD session is the LD value of the first static BFD session; the method can avoid the BFD return trip from walking the IGP shortest path and ensure that the return trip and the LSP share the same path, thereby realizing that the fault detection of the main LSP is different from the fault detection of the standby LSP and avoiding the misjudgment of the path fault detection; further, when the main LSP of the tunnel breaks down, the standby LSP can play a real backup protection role, and the method provides the unsuspecting tunnel HSB fault switching within 50ms for the client, and creates high-quality network service; the problem that a path fault detection scheme in the prior art has misjudgment is well solved.
Further, the first tunnel further includes: the first backup LSP, the second tunnel further comprising: a second backup LSP; the path fault detection method further comprises: respectively carrying out fault detection on the first standby LSP of the first tunnel and the second standby LSP of the second tunnel through the third static BFD session and the fourth static BFD session; wherein the first backup LSP is a forward path, and the second backup LSP is a reverse path that is the same path as the first backup LSP (it can also be understood that the second backup LSP is opposite in direction and the same path as the first backup LSP); the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session; the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
Furthermore, the method for detecting a tunnel path fault further includes: and under the condition that the first main LSP and the second main LSP are detected to be failed, switching the tunnel path of the first tunnel from the first main LSP to the first standby LSP and switching the tunnel path of the second tunnel from the second main LSP to the second standby LSP. In which case the first backup LSP and the second backup LSP may be default to being fault-free.
In this embodiment of the present invention, before performing fault detection on the first main LSP of the first tunnel and the second main LSP of the second tunnel respectively through the first static BFD session and the second static BFD session, the method further includes: receiving configuration information sent by a second communication node; wherein the configuration information includes creation configuration information of the first tunnel and the second tunnel, and indication configuration information indicating that the first static BFD session is associated with a first primary LSP, the second static BFD session is associated with a second primary LSP, the third static BFD session is associated with a first backup LSP, and the fourth static BFD session is associated with a second backup LSP; creating the first tunnel and the second tunnel according to the creation configuration information; and respectively establishing association between the first static BFD session and a first main LSP, between the second static BFD session and a second main LSP, between the third static BFD session and a first standby LSP and between the fourth static BFD session and a second standby LSP according to the indication configuration information.
Further, before receiving the configuration information sent by the second communication node, the method further includes: receiving an interface query request sent by the second communication node; and feeding back the local available LD to the second communication node according to the interface query request.
This may facilitate the second communication node to determine the above-mentioned configuration information.
In this embodiment of the present invention, before receiving the configuration information sent by the second communication node, the method further includes: creating a static BFD configuration interface with the second communication node; wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters: the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type; the LSP type is a primary LSP or a standby LSP.
This facilitates communication with the second communication node.
Further, the method for detecting a tunnel path fault further includes: receiving an updating indication sent by a second communication node; and updating the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session according to the updating indication.
Therefore, the normal use of the tunnel path can be ensured in real time.
An embodiment of the present invention further provides a tunnel path control method, which is applied to a second communication node, and as shown in fig. 2, the tunnel path control method includes:
step 21: obtaining configuration information according to a local available local identifier LD of a first communication node;
step 22: sending the configuration information to the first communication node; the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP; the first primary LSP is a forward path and the second primary LSP is a reverse path that is co-routed with the first primary LSP (it can also be understood that the second primary LSP is both in the opposite direction and co-routed with the first primary LSP); the first standby LSP is a forward path, and the second standby LSP is a reverse path that is the same path as the first standby LSP (it can also be understood that the second standby LSP is opposite in direction and the same path as the first standby LSP); the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session; the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session; the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
According to the tunnel path control method provided by the embodiment of the invention, configuration information is obtained according to the local available local identifier LD of the first communication node; sending the configuration information to the first communication node; the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP; the first primary LSP is a forward path and the second primary LSP is a reverse path that is co-routed with the first primary LSP (it can also be understood that the second primary LSP is both in the opposite direction and co-routed with the first primary LSP); the first standby LSP is a forward path, and the second standby LSP is a reverse path that is the same path as the first standby LSP (it can also be understood that the second standby LSP is opposite in direction and the same path as the first standby LSP); the value of the remote identifier RD of the first static BFD session is the value of the LD of the second static BFD session, which is the value of the LD of the first static BFD session; the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session; the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths; the method can support and avoid the BFD return trip from walking the IGP shortest path, and ensure that the return trip and the LSP share the same path, thereby realizing that the fault detection of the main LSP is different from the fault detection of the standby LSP and avoiding the misjudgment of the path fault detection; further, when the main LSP of the tunnel breaks down, the backup LSP can play a real backup protection role, and the method provides the unsuspecting tunnel HSB fault switching within 50ms for the client, and creates high-quality network service; the problem that a path fault detection scheme in the prior art has misjudgment is well solved.
Further, before obtaining the configuration information according to the locally available local identifier LD of the first communication node, the method further includes: sending an interface query request to the first communication node; and receiving the local available LD of the first communication node fed back by the first communication node according to the interface query request.
Thus, the configuration information can be accurately obtained.
In this embodiment of the present invention, before sending the configuration information to the first communication node, the method further includes: creating a static BFD configuration interface with the first communication node; wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters: the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type; the LSP type is a primary LSP or a standby LSP.
This can facilitate communication with the first communication node.
Further, the tunnel path control method further includes: under the condition that the first main LSP and/or the second main LSP are detected not to meet the preset conditions, an updating indication is obtained; sending the update indication to the first communication node; wherein the update indication is used to indicate to update the first primary LSP, the second primary LSP, the first backup LSP, the second backup LSP, the first static BFD session, the second static BFD session, the third static BFD session, and the fourth static BFD session.
The preset condition may include a parameter information condition of the optimal path, and may be determined according to an actual requirement, which is not limited herein.
The tunnel path failure detection method and the tunnel path control method provided in the embodiment of the present invention are further described below with reference to multiple sides, such as a first communication node and a second communication node, where the first communication node takes two provider edge PE routers (PE router a and PE router B) as an example, and the second communication node takes a software defined network SDN controller as an example.
In view of the above technical problems, embodiments of the present invention provide a tunnel path fault detection method and a tunnel path control method, which can be specifically implemented as a method for avoiding a BFD backhaul from taking an IGP shortest path and ensuring that the backhaul and an LSP share a common path, so that when a main LSP of a tunnel fails, a backup LSP can play a real backup protection role, provide a non-aware tunnel HSB fault switching within 50ms for a client, and create a high-quality network service.
The scheme provided by the embodiment of the invention relates to the following steps: the SDN controller creates 1 tunnel group between the PE router A and the PE router B, and the main LSP paths and the standby LSP paths of two tunnels in the tunnel group are used for respectively bearing the forward trip and the return trip of the detection message corresponding to the static BFD.
It can also be understood that the embodiment of the present invention provides a static BFD method for providing accurate fault detection for the HSB protection path of the data carrying network tunnel; specifically, the method comprises the following steps:
(1) SDN controller
Obtaining and maintaining a local identifier LD list available for the PE router through a BFD local LD query request interface;
two PE routers are configured with bidirectional paired static BFD sessions (called static BFD session groups for short), and RD values of two static BFD sessions in 1 static BFD session group are both LD values of the other party;
two bidirectional paired tunnels (referred to as "tunnel group") are configured for two PE routers, two bidirectional tunnels (a → B and B → a) in the tunnel group are successfully created at the same time and fail at the same time, and the primary and secondary LSPs are adjusted on the same path (it can also be understood that the two are on the same path, one is adjusted, and the other is necessarily adjusted at the same time).
A static BFD session group is associated to a tunnel group.
(2) PE router
Strictly binding the static BFD of a group of LSP levels with the LSP path of the tunnel according to the static BFD configuration (namely the configuration information) issued by the SDN controller, namely strictly walking the main LSP path of B → A through the BFD backhaul information of the main LSP of A → B;
when the main LSP of B → A is switched to the standby LSP in failure, the BFD of the main LSP of A → B can simultaneously monitor the failure and trigger the main LSP of A → B to be synchronously switched to the standby LSP, thereby realizing the simultaneous switching of the main and standby paths within 50ms of the bidirectional tunnel group.
(3) Newly-added interface
A static BFD configuration interface is newly added between the SDN controller and the PE router, and the configuration interface comprises the following parameters:
session name SN, home terminal identification LD, opposite terminal identification RD, minimum sending interval MTI, minimum receiving interval MRI, detection multiple DM, Tunnel identification Tunnel ID and LSP type LP; LSP type LP: primary LSP or Back up LSP. Adding a BFD local identifier LD inquiry (request and response) interface between the SDN controller and the PE router, wherein the interface comprises the following parameters:
inquiring interface parameters of the request: the number Num of effective LDs is n, for example;
query response interface parameters: home terminal identification LD1, home terminal identification LD 2. home terminal identification LDn.
The scheme provided by the embodiment of the invention can be specifically realized by adopting a system architecture as shown in fig. 3:
it is assumed that two sets of static BFD configuration parameters issued by the SDN controller to the PE router a are respectively shown in the following tables 1 and 2:
TABLE 1
SN 1
LD 101
RD 201
MTI 100
MRI 100
DM 3
Tunnel ID Tun1-2
LP Primary
TABLE 2
SN 1
LD 102
RD 202
MTI 100
MRI 100
DM 3
Tunnel ID Tun1-2
LP Back up
It is assumed that two sets of static BFD configuration parameters issued by the SDN controller to the PE router B are respectively shown in the following tables 3 and 4:
TABLE 3
SN 1
LD 201
RD 101
MTI 100
MRI 100
DM 3
Tunnel ID Tun2-1
LP Primary
TABLE 4
SN 1
LD 202
RD 102
MTI 100
MRI 100
DM 3
Tunnel ID Tun2-1
LP Back up
In correspondence with the above, SDN configures 2 "static BFD session groups" between PE router a and PE router B, the 1 st group is static BFD1(LD 101, RD 201) and static BFD2(LD 201, RD 101), and the 2 nd group is static BFD3(LD 102, RD 202) and static BFD4(LD 202, RD 102).
R in fig. 3 denotes a transit routing device in the tunnel path.
With reference to fig. 3, the scheme provided by the embodiment of the present invention may specifically include the following operations:
1) the SDN controller calls a BFD local LD inquiry interface to obtain a local identifier LD list available for a PE router A and a PE router B;
2) SDN configures 2 "static BFD session groups" between PE router a and PE router B, with group 1 being static BFD1 (which may correspond to the first static BFD session described above, LD 101, RD 201) and static BFD2 (which may correspond to the second static BFD session described above, LD 201, RD 101), group 2 being static BFD3 (which may correspond to the third static BFD session described above, LD 102, RD 202) and static BFD4 (which may correspond to the fourth static BFD session described above, LD 202, RD 102);
3) the SDN controller creates 1 tunnel group between a PE router A and a PE router B, namely Tun1-2 (which can correspond to the first tunnel) and Tun2-1 (which can correspond to the second tunnel), wherein a main LSP of Tun1-2 is opposite to and the same as a main LSP of Tun2-1, and a standby LSP of Tun1-2 is opposite to and the same as a standby LSP of Tun 2-1;
4) the SDN controller associates a static state bfd1 to a primary LSP of Tun1-2 (which may correspond to the first primary LSP described above), and associates a static state bfd3 to a backup LSP of Tun1-2 (which may correspond to the first backup LSP described above); associating static bfd2 to a primary LSP (which may correspond to the second primary LSP) of Tun2-1, and associating static bfd4 to a backup LSP (which may correspond to the second backup LSP) of Tun 2-1;
5) a PE router a and a PE router B establish a corresponding "tunnel group" and a "static BFD session group" according to configurations issued by an SDN controller (that is, the configuration information includes tunnel configuration and BFD session configuration), where a static BFD1 session is used to detect a primary LSP failure condition of Tun1-2, a static BFD3 session is used to detect a backup LSP failure condition of Tun1-2, a static BFD2 session is used to detect a primary LSP failure condition of Tun2-1, and a static BFD4 session is used to detect a backup LSP failure condition of Tun 2-1;
6) when the primary LSP of Tun1-2 fails, i.e., the primary LSP of Tun2-1 fails (determined by the LD and RD as described above: because the paths are the same, a failure may occur at the same time), the failure may be detected at the same time through a static bfd1 session and a static bfd2, and the PE router a and the PE router B may synchronously complete the switching of the Tun1-2 and Tun2-1 tunnel paths from the primary LSP to the backup LSP, thereby implementing the simultaneous switching of the primary and backup paths within 50ms of the bidirectional tunnel group, and ensuring that the user does not perceive the path.
7) When the SDN controller starts tunnel timing optimization and discovers that a current main LSP (and/or a main LSP of Tun 2-1) of Tun1-2 on PE A equipment is a non-optimal path, the SDN controller recalculates 1 optimal path with two-way common routes simultaneously for Tun1-2 and Tun2-1 tunnels of PE A and PE B equipment and issues the optimal path to PE router A and PE router B simultaneously, and the problem that 1 'tunnel group' round-trip path is not common after path re-optimization is avoided.
As can be seen from the above, the solution provided by the embodiment of the present invention involves: different paths are opened for the main path and the standby path, and according to the static BFD configuration sent by the SDN controller, the static BFD of one group of LSP levels is strictly bound with the LSP path of the tunnel, namely the BFD return information of the main LSP of A → B strictly walks the main LSP path of B → A. It can be understood that the embodiment of the present invention provides a tunnel fault detection method combining static BFD and SDN, which can provide an accurate fault detection mechanism for the active/standby protection paths of SR-TE and SRv6 Policy tunnels of a data bearer network.
To sum up, the embodiment of the present invention provides a feasible static BFD-based tunnel fault detection method, which can effectively solve the problem of misjudgment of backup LSPs in the existing dynamic BFD and SBFD tunnel detection technologies, so that the backup and backup protection mechanisms of SR-TE and SRv6 Policy tunnels become feasible, thereby fully meeting the prerequisite of commercial deployment in the existing network and greatly improving the service quality of the network.
An embodiment of the present invention further provides a device for detecting a tunnel path fault, which is applied to a first communication node, and as shown in fig. 4, the device includes:
a first detecting module 41, configured to perform fault detection on a first main label switching path LSP of a first tunnel and a second main LSP of a second tunnel respectively through a first static bidirectional forwarding detection BFD session and a second static BFD session;
wherein the first main LSP is a forward path, and the second main LSP is a reverse path having the same path as the first main LSP;
the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, and the RD value of the second static BFD session is the LD value of the first static BFD session.
The tunnel path fault detection device provided by the embodiment of the invention respectively performs fault detection on a first main Label Switching Path (LSP) of a first tunnel and a second main LSP of a second tunnel through a first static Bidirectional Forwarding Detection (BFD) session and a second static BFD session; wherein the first main LSP is a forward path, and the second main LSP is a reverse path having the same path as the first main LSP; the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, the RD value of the second static BFD session is the LD value of the first static BFD session; the method can avoid the BFD return trip from walking the IGP shortest path and ensure that the return trip and the LSP share the same path, thereby realizing that the fault detection of the main LSP is different from the fault detection of the standby LSP and avoiding the misjudgment of the path fault detection; further, when the main LSP of the tunnel breaks down, the backup LSP can play a real backup protection role, and the method provides the unsuspecting tunnel HSB fault switching within 50ms for the client, and creates high-quality network service; the problem that a path fault detection scheme in the prior art has misjudgment is well solved.
Further, the first tunnel further includes: the first standby LSP, the second tunnel further includes: a second backup LSP; the path failure detection apparatus further includes: the second detection module is used for respectively carrying out fault detection on the first standby LSP of the first tunnel and the second standby LSP of the second tunnel through the third static BFD session and the fourth static BFD session; the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP; the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session; the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
Further, the apparatus for detecting a tunnel path failure further includes: a first switching module, configured to switch a tunnel path of the first tunnel from the first primary LSP to the first standby LSP and switch a tunnel path of the second tunnel from the second primary LSP to the second standby LSP when the first primary LSP and the second primary LSP are detected to be failed.
In this embodiment of the present invention, the apparatus for detecting a tunnel path fault further includes: a first receiving module, configured to receive configuration information sent by a second communication node before performing fault detection on a first main LSP of a first tunnel and a second main LSP of a second tunnel respectively through a first static BFD session and a second static BFD session; wherein the configuration information includes creation configuration information of the first tunnel and the second tunnel, and indication configuration information indicating that the first static BFD session is associated with a first primary LSP, the second static BFD session is associated with a second primary LSP, the third static BFD session is associated with a first backup LSP, and the fourth static BFD session is associated with a second backup LSP; a first creating module, configured to create the first tunnel and the second tunnel according to the creation configuration information; and a first establishing module, configured to respectively establish associations between the first static BFD session and the first master LSP, between the second static BFD session and the second master LSP, between the third static BFD session and the first standby LSP, and between the fourth static BFD session and the second standby LSP according to the indication configuration information.
Further, the apparatus for detecting a tunnel path fault further includes: a second receiving module, configured to receive an interface query request sent by a second communication node before receiving configuration information sent by the second communication node; and the first feedback module is used for feeding back the local available LD to the second communication node according to the interface query request.
In this embodiment of the present invention, the apparatus for detecting a tunnel path fault further includes: the second establishing module is used for establishing a static BFD configuration interface between the second communication node and the second communication node before receiving the configuration information sent by the second communication node; wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters: the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type; the LSP type is a primary LSP or a standby LSP.
Further, the apparatus for detecting a tunnel path fault further includes: a third receiving module, configured to receive an update indication sent by the second communication node; and the first updating module is used for updating the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session according to the updating indication.
The implementation embodiments of the tunnel path fault detection method are all applicable to the embodiment of the tunnel path fault detection device, and the same technical effects can be achieved correspondingly.
An embodiment of the present invention further provides a tunnel path control apparatus, which is applied to a second communication node, and as shown in fig. 5, includes:
a first processing module 51, configured to obtain configuration information according to a locally available local identifier LD of the first communication node;
a first sending module 52, configured to send the configuration information to the first communication node;
the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP;
the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path; the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
The tunnel path control device provided by the embodiment of the invention obtains configuration information according to the local available local identifier LD of the first communication node; sending the configuration information to the first communication node; the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP; the first primary LSP is a forward path and the second primary LSP is a reverse path that is co-routed with the first primary LSP (it can also be understood that the second primary LSP is in the opposite direction and co-routed with the first primary LSP); the first standby LSP is a forward path, and the second standby LSP is a reverse path that is the same path as the first standby LSP (it can also be understood that the second standby LSP is opposite in direction and the same path as the first standby LSP); the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session; the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session; the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths; the method can support and avoid the BFD return trip from walking the IGP shortest path, and ensure that the return trip and the LSP share the same path, thereby realizing that the fault detection of the main LSP is different from the fault detection of the standby LSP and avoiding the misjudgment of the path fault detection; further, when the main LSP of the tunnel breaks down, the backup LSP can play a real backup protection role, and the method provides the unsuspecting tunnel HSB fault switching within 50ms for the client, and creates high-quality network service; the problem that a path fault detection scheme in the prior art has misjudgment is well solved.
Further, the tunnel path control device further includes: a second sending module, configured to send an interface query request to a first communication node before configuration information is obtained according to a locally available local identifier LD of the first communication node; a fourth receiving module, configured to receive the locally available LD of the first communication node fed back by the first communication node according to the interface query request.
In this embodiment of the present invention, the tunnel path control apparatus further includes: a third creating module, configured to create a static BFD configuration interface with the first communication node before sending the configuration information to the first communication node; wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters: the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type; the LSP type is a primary LSP or a standby LSP.
Further, the tunnel path control device further includes: a first obtaining module, configured to obtain an update instruction when detecting that the first primary LSP and/or the second primary LSP do not satisfy a preset condition; a third sending module, configured to send the update indication to the first communication node; wherein the update indication is used for indicating to update the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session.
The implementation embodiments of the tunnel path control method are all applicable to the embodiment of the tunnel path control device, and the same technical effects can be achieved.
An embodiment of the present invention further provides a communication node, where the communication node is a first communication node, as shown in fig. 6, and the communication node includes: a processor 61;
the processor 61 is configured to perform fault detection on the first main label switching path LSP of the first tunnel and the second main LSP of the second tunnel respectively through the first static bidirectional forwarding detection BFD session and the second static BFD session;
wherein the first main LSP is a forward path, and the second main LSP is a reverse path having the same path as the first main LSP;
the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, and the RD value of the second static BFD session is the LD value of the first static BFD session.
The communication node provided by the embodiment of the invention respectively carries out fault detection on a first main Label Switching Path (LSP) of a first tunnel and a second main LSP of a second tunnel through a first static Bidirectional Forwarding Detection (BFD) session and a second static BFD session; wherein the first main LSP is a forward path, and the second main LSP is a reverse path having the same path as the first main LSP; the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, the RD value of the second static BFD session is the LD value of the first static BFD session; the method can avoid the BFD return trip from running the IGP shortest path and ensure that the return trip and the LSP share the same path, thereby realizing that the fault detection of the main LSP is different from the fault detection of the standby LSP and avoiding the misjudgment of the fault detection of the path; further, when the main LSP of the tunnel breaks down, the backup LSP can play a real backup protection role, and the method provides the unsuspecting tunnel HSB fault switching within 50ms for the client, and creates high-quality network service; the problem that a path fault detection scheme in the prior art has misjudgment is well solved.
Further, the first tunnel further includes: the first backup LSP, the second tunnel further comprising: a second standby LSP; the processor is further configured to: respectively carrying out fault detection on a first standby LSP of the first tunnel and a second standby LSP of the second tunnel through a third static BFD session and a fourth static BFD session; the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP; the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session; the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
Still further, the processor is further configured to: and under the condition that the first main LSP and the second main LSP are detected to be failed, switching the tunnel path of the first tunnel from the first main LSP to the first standby LSP and switching the tunnel path of the second tunnel from the second main LSP to the second standby LSP.
In this embodiment of the present invention, the communication node further includes: a transceiver; the processor is further configured to: before fault detection is respectively carried out on a first main LSP of a first tunnel and a second main LSP of a second tunnel through a first static BFD session and a second static BFD session, configuration information sent by a second communication node is received through a transceiver; wherein the configuration information includes creation configuration information of the first tunnel and the second tunnel, and indication configuration information indicating that the first static BFD session is associated with a first primary LSP, the second static BFD session is associated with a second primary LSP, the third static BFD session is associated with a first backup LSP, and the fourth static BFD session is associated with a second backup LSP; creating the first tunnel and the second tunnel according to the creation configuration information; and respectively establishing association between the first static BFD session and a first main LSP, between the second static BFD session and a second main LSP, between the third static BFD session and a first standby LSP and between the fourth static BFD session and a second standby LSP according to the indication configuration information.
Further, the processor is further configured to: before receiving configuration information sent by a second communication node, receiving an interface query request sent by the second communication node through the transceiver; and feeding back the locally available LD to the second communication node through the transceiver according to the interface query request.
In an embodiment of the present invention, the processor is further configured to: before receiving configuration information sent by a second communication node, establishing a static BFD configuration interface with the second communication node; wherein the interface parameters of the static BFD configuration interface include at least one of: the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type; the LSP type is a primary LSP or a standby LSP.
Further, the communication node further includes: a transceiver; the processor is further configured to: receiving, by the transceiver, an update indication sent by a second communication node; and updating the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session according to the updating indication.
The implementation embodiments of the tunnel path fault detection method are all applicable to the embodiment of the communication node, and the same technical effects can be achieved correspondingly.
An embodiment of the present invention further provides a communication node, where the communication node is a second communication node, as shown in fig. 7, and the communication node includes: a processor 71 and a transceiver 72;
the processor 72 is configured to obtain configuration information according to a locally available local identifier LD of the first communication node;
sending the configuration information to the first communication node via the transceiver 72;
the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP;
the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path; the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP in path;
the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
The communication node provided by the embodiment of the invention obtains configuration information according to the local available local identifier LD of the first communication node; sending the configuration information to the first communication node; the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP; the first primary LSP is a forward path and the second primary LSP is a reverse path that is co-routed with the first primary LSP (it can also be understood that the second primary LSP is both in the opposite direction and co-routed with the first primary LSP); the first standby LSP is a forward path, and the second standby LSP is a reverse path that is the same path as the first standby LSP (it can also be understood that the second standby LSP is opposite in direction and the same path as the first standby LSP); the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session; the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session; the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths; the method can support and avoid the BFD return trip from walking the IGP shortest path, and ensure that the return trip and the LSP share the same path, thereby realizing that the fault detection of the main LSP is different from the fault detection of the standby LSP, and avoiding the misjudgment of the fault detection of the path; further, when the main LSP of the tunnel breaks down, the backup LSP can play a real backup protection role, and the method provides the unsuspecting tunnel HSB fault switching within 50ms for the client, and creates high-quality network service; the problem that a path fault detection scheme in the prior art has misjudgment is well solved.
Further, the processor is further configured to: before configuration information is obtained according to a local available local identifier LD of a first communication node, sending an interface query request to the first communication node through the transceiver; and receiving the local available LD of the first communication node fed back by the first communication node according to the interface query request through the transceiver.
In an embodiment of the present invention, the processor is further configured to: before sending the configuration information to the first communication node, creating a static BFD configuration interface with the first communication node; wherein the interface parameters of the static BFD configuration interface include at least one of: the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type; the LSP type is a primary LSP or a standby LSP.
Further, the processor is further configured to: acquiring an updating indication under the condition that the first main LSP and/or the second main LSP are detected not to meet the preset condition; transmitting, by the transceiver, the update indication to the first communication node; wherein the update indication is used for indicating to update the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session.
The implementation embodiments of the tunnel path control method are all applicable to the embodiment of the communication node, and the same technical effects can be achieved.
The embodiment of the invention also provides a communication node, which comprises a memory, a processor and a program which is stored on the memory and can be operated on the processor; when the processor executes the program, the tunnel path fault detection method is realized; or,
the processor implements the tunnel path control method described above when executing the program.
The implementation embodiments of the tunnel path fault detection method or the tunnel path control method are both applicable to the embodiment of the communication node, and the same technical effects can be achieved correspondingly.
The embodiment of the invention also provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the program realizes the steps in the tunnel path fault detection method; or,
the program realizes the steps of the tunnel path control method when being executed by a processor.
The implementation embodiments of the tunnel path fault detection method or the tunnel path control method are all applicable to the embodiment of the readable storage medium, and the same technical effects can be achieved.
It should be noted that many of the functional units described in this specification have been referred to as modules, in order to more particularly emphasize their implementation independence.
In embodiments of the present invention, modules may be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be constructed as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different bits which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data may be identified within modules, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.
When a module can be implemented by software, considering the level of existing hardware technology, a module implemented by software may build a corresponding hardware circuit to implement a corresponding function, without considering cost, and the hardware circuit may include a conventional Very Large Scale Integration (VLSI) circuit or a gate array and an existing semiconductor such as a logic chip, a transistor, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (26)

1. A tunnel path fault detection method is applied to a first communication node, and is characterized by comprising the following steps:
respectively carrying out fault detection on a first main Label Switching Path (LSP) of a first tunnel and a second main LSP of a second tunnel through a first static Bidirectional Forwarding Detection (BFD) session and a second static BFD session;
wherein the first main LSP is a forward path, and the second main LSP is a reverse path having the same path as the first main LSP;
the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, and the RD value of the second static BFD session is the LD value of the first static BFD session.
2. The method of tunnel path failure detection according to claim 1, wherein the first tunnel further comprises: the first backup LSP, the second tunnel further comprising: a second backup LSP;
the path fault detection method further comprises:
respectively carrying out fault detection on a first standby LSP of the first tunnel and a second standby LSP of the second tunnel through a third static BFD session and a fourth static BFD session;
the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
3. The tunnel path failure detection method of claim 2, further comprising:
and under the condition that the first main LSP and the second main LSP are detected to be failed, switching the tunnel path of the first tunnel from the first main LSP to the first standby LSP and switching the tunnel path of the second tunnel from the second main LSP to the second standby LSP.
4. The method of claim 2, further comprising, before performing failure detection on the first primary LSP of the first tunnel and the second primary LSP of the second tunnel through the first static BFD session and the second static BFD session, respectively:
receiving configuration information sent by a second communication node; wherein the configuration information includes creation configuration information of the first tunnel and the second tunnel, and indication configuration information indicating that the first static BFD session is associated with a first primary LSP, the second static BFD session is associated with a second primary LSP, the third static BFD session is associated with a first backup LSP, and the fourth static BFD session is associated with a second backup LSP;
creating the first tunnel and the second tunnel according to the creation configuration information;
and respectively establishing association between the first static BFD session and a first main LSP, between the second static BFD session and a second main LSP, between the third static BFD session and a first standby LSP and between the fourth static BFD session and a second standby LSP according to the indication configuration information.
5. The method according to claim 4, further comprising, before receiving the configuration information sent by the second communication node:
receiving an interface query request sent by the second communication node;
and feeding back the local available LD to the second communication node according to the interface query request.
6. The method according to claim 4, further comprising, before receiving the configuration information sent by the second communication node:
creating a static BFD configuration interface with the second communication node;
wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters:
the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type;
the LSP type is a primary LSP or a standby LSP.
7. The tunnel path failure detection method of claim 2, further comprising:
receiving an updating indication sent by a second communication node;
and updating the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session according to the updating indication.
8. A tunnel path control method is applied to a second communication node, and is characterized by comprising the following steps:
obtaining configuration information according to a local available local identifier LD of a first communication node;
sending the configuration information to the first communication node;
the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP;
the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path; the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
9. The tunnel path control method according to claim 8, before obtaining the configuration information based on the locally available local identifier LD of the first communication node, further comprising:
sending an interface query request to the first communication node;
and receiving the local available LD of the first communication node fed back by the first communication node according to the interface query request.
10. The tunnel path control method according to claim 8, further comprising, before transmitting the configuration information to the first communication node:
creating a static BFD configuration interface with the first communication node;
wherein the interface parameters of the static BFD configuration interface include at least one of:
the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type;
the LSP type is a primary LSP or a standby LSP.
11. The tunnel path control method according to claim 8, further comprising:
acquiring an updating indication under the condition that the first main LSP and/or the second main LSP are detected not to meet the preset condition;
sending the update indication to the first communication node;
wherein the update indication is used to indicate to update the first primary LSP, the second primary LSP, the first backup LSP, the second backup LSP, the first static BFD session, the second static BFD session, the third static BFD session, and the fourth static BFD session.
12. A tunnel path failure detection device applied to a first communication node comprises:
a first detection module, configured to perform fault detection on a first main label switched path LSP of a first tunnel and a second main LSP of a second tunnel respectively through a first static bidirectional forwarding detection BFD session and a second static BFD session;
the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path;
the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, and the RD value of the second static BFD session is the LD value of the first static BFD session.
13. The tunnel path failure detection apparatus of claim 12, wherein the first tunnel further comprises: the first backup LSP, the second tunnel further comprising: a second backup LSP;
the path failure detection apparatus further includes:
the second detection module is used for respectively carrying out fault detection on the first standby LSP of the first tunnel and the second standby LSP of the second tunnel through the third static BFD session and the fourth static BFD session;
the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
14. The tunnel path failure detection apparatus according to claim 13, further comprising:
a first switching module, configured to switch a tunnel path of the first tunnel from the first primary LSP to the first standby LSP and switch a tunnel path of the second tunnel from the second primary LSP to the second standby LSP when the first primary LSP and the second primary LSP are detected to be failed.
15. The tunnel path failure detection apparatus according to claim 13, further comprising:
a first receiving module, configured to receive configuration information sent by a second communication node before performing fault detection on a first main LSP of a first tunnel and a second main LSP of a second tunnel respectively through a first static BFD session and a second static BFD session; wherein the configuration information includes creation configuration information of the first tunnel and the second tunnel, and indication configuration information indicating that the first static BFD session is associated with a first primary LSP, the second static BFD session is associated with a second primary LSP, the third static BFD session is associated with a first backup LSP, and the fourth static BFD session is associated with a second backup LSP;
a first creating module, configured to create the first tunnel and the second tunnel according to the creation configuration information;
and a first establishing module, configured to respectively establish associations between the first static BFD session and the first master LSP, between the second static BFD session and the second master LSP, between the third static BFD session and the first standby LSP, and between the fourth static BFD session and the second standby LSP according to the indication configuration information.
16. The tunnel path failure detection apparatus according to claim 15, further comprising:
a second receiving module, configured to receive an interface query request sent by a second communication node before receiving configuration information sent by the second communication node;
and the first feedback module is used for feeding back the local available LD to the second communication node according to the interface query request.
17. The tunnel path failure detection apparatus according to claim 15, further comprising:
the second establishing module is used for establishing a static BFD configuration interface between the second communication node and the second communication node before receiving the configuration information sent by the second communication node;
wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters:
the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type;
the LSP type is a primary LSP or a standby LSP.
18. The apparatus according to claim 13, further comprising:
a third receiving module, configured to receive an update indication sent by the second communication node;
and the first updating module is used for updating the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session according to the updating indication.
19. A tunnel path control apparatus applied to a second communication node, comprising:
the first processing module is used for obtaining configuration information according to a local available local identifier LD of the first communication node;
a first sending module, configured to send the configuration information to the first communication node;
the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP;
the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path; the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
20. The tunnel path control device according to claim 19, further comprising:
a second sending module, configured to send an interface query request to a first communication node before configuration information is obtained according to a local available local identifier LD of the first communication node;
a fourth receiving module, configured to receive the locally available LD of the first communication node fed back by the first communication node according to the interface query request.
21. The tunnel path control device according to claim 19, further comprising:
a third creating module, configured to create a static BFD configuration interface with the first communication node before sending the configuration information to the first communication node;
wherein the interface parameters of the static BFD configuration interface include at least one of the following parameters:
the method comprises the steps of a session name, a home terminal identifier, an opposite terminal identifier, a minimum sending interval, a minimum receiving interval, a detection multiple, a tunnel identifier and an LSP type;
the LSP type is a primary LSP or a standby LSP.
22. The tunnel path control device according to claim 19, further comprising:
a first obtaining module, configured to obtain an update instruction when detecting that the first primary LSP and/or the second primary LSP do not satisfy a preset condition;
a third sending module, configured to send the update indication to the first communication node;
wherein the update indication is used for indicating to update the first main LSP, the second main LSP, the first standby LSP, the second standby LSP, the first static BFD session, the second static BFD session, the third static BFD session and the fourth static BFD session.
23. A communication node, the communication node being a first communication node, comprising: a processor;
the processor is configured to perform fault detection on a first main label switching path LSP of the first tunnel and a second main LSP of the second tunnel respectively through the first static bidirectional forwarding detection BFD session and the second static BFD session;
the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path;
the remote identifier RD value of the first static BFD session is the local identifier LD value of the second static BFD session, and the RD value of the second static BFD session is the LD value of the first static BFD session.
24. A communication node, the communication node being a second communication node, comprising: a processor and a transceiver;
the processor is used for obtaining configuration information according to a local available local identifier LD of the first communication node;
transmitting the configuration information to the first communication node via the transceiver;
the configuration information comprises establishment configuration information of a first tunnel and a second tunnel, and indication configuration information indicating that a first static Bidirectional Forwarding Detection (BFD) session is associated with a first main Label Switching Path (LSP), a second static BFD session is associated with a second main LSP, a third static BFD session is associated with a first standby LSP, and a fourth static BFD session is associated with a second standby LSP;
the first main LSP is a forward path, and the second main LSP is a reverse path which is the same as the first main LSP in path; the first standby LSP is a forward path, and the second standby LSP is a reverse path which is the same as the first standby LSP;
the value of the remote identifier RD of the first static BFD session is the value of LD of the second static BFD session, which is the value of LD of the first static BFD session;
the RD value of the third static BFD session is the LD value of the fourth static BFD session, and the RD value of the fourth static BFD session is the LD value of the third static BFD session;
the first main LSP and the first standby LSP are different paths, and the second main LSP and the second standby LSP are different paths.
25. A communication node comprising a memory, a processor and a program stored on the memory and executable on the processor; wherein the processor implements the tunnel path failure detection method of any one of claims 1 to 7 when executing the program; or,
the processor, when executing the program, implements the tunnel path control method of any one of claims 8 to 11.
26. A readable storage medium on which a program is stored, the program realizing the steps in the tunnel path failure detection method according to any one of claims 1 to 7 when executed by a processor; or,
the program when executed by a processor implements the steps in the tunnel path control method of any one of claims 8 to 11.
CN202011516342.0A 2020-12-21 2020-12-21 Tunnel path fault detection method, control method, device and communication node Pending CN114650241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011516342.0A CN114650241A (en) 2020-12-21 2020-12-21 Tunnel path fault detection method, control method, device and communication node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011516342.0A CN114650241A (en) 2020-12-21 2020-12-21 Tunnel path fault detection method, control method, device and communication node

Publications (1)

Publication Number Publication Date
CN114650241A true CN114650241A (en) 2022-06-21

Family

ID=81990824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011516342.0A Pending CN114650241A (en) 2020-12-21 2020-12-21 Tunnel path fault detection method, control method, device and communication node

Country Status (1)

Country Link
CN (1) CN114650241A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (en) * 2007-10-23 2008-03-12 华为技术有限公司 Method, system and equipment to establish BFD detection for LSP tunnel
CN101447900A (en) * 2008-12-15 2009-06-03 华为技术有限公司 Method, system and device for building bidirectional forwarding detection
CN102624609A (en) * 2012-02-28 2012-08-01 华为技术有限公司 Method for transmitting reverse bidirectional forwarding detection (BFD) messages, method for notifying paths and device for notifying paths
CN102724117A (en) * 2012-06-06 2012-10-10 华为技术有限公司 Multi-protocol label switching (MPLS) traffic engineering (TE) tunnel building method and device
CN102752143A (en) * 2012-07-05 2012-10-24 杭州华三通信技术有限公司 Bi-directional forwarding detection (BFD) method of multiple protocol label switching (MPLS) traffic engineering (TE) bi-directional tunnel and routing equipment
CN102769543A (en) * 2012-07-20 2012-11-07 杭州华三通信技术有限公司 BFD (Bidirectional Forwarding Detection) method and equipment based on LSP (Label Switching Path)
US20150381324A1 (en) * 2014-06-30 2015-12-31 Telefonaktiebolaget L M Ericsson (Publ) Control for bfd return path
US20170155575A1 (en) * 2015-07-16 2017-06-01 Telefonaktiebolaget L M Ericsson (Publ) Restoration method for an mpls ring network
CN108123875A (en) * 2016-11-29 2018-06-05 中兴通讯股份有限公司 A kind of bidirectional forwarding detection (BFD) method and device
CN108880766A (en) * 2017-05-10 2018-11-23 中兴通讯股份有限公司 Signaling configuration method and device
CN108989232A (en) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 Message interaction method and device in SDN

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (en) * 2007-10-23 2008-03-12 华为技术有限公司 Method, system and equipment to establish BFD detection for LSP tunnel
CN101447900A (en) * 2008-12-15 2009-06-03 华为技术有限公司 Method, system and device for building bidirectional forwarding detection
CN102624609A (en) * 2012-02-28 2012-08-01 华为技术有限公司 Method for transmitting reverse bidirectional forwarding detection (BFD) messages, method for notifying paths and device for notifying paths
CN102724117A (en) * 2012-06-06 2012-10-10 华为技术有限公司 Multi-protocol label switching (MPLS) traffic engineering (TE) tunnel building method and device
CN102752143A (en) * 2012-07-05 2012-10-24 杭州华三通信技术有限公司 Bi-directional forwarding detection (BFD) method of multiple protocol label switching (MPLS) traffic engineering (TE) bi-directional tunnel and routing equipment
CN102769543A (en) * 2012-07-20 2012-11-07 杭州华三通信技术有限公司 BFD (Bidirectional Forwarding Detection) method and equipment based on LSP (Label Switching Path)
US20150381324A1 (en) * 2014-06-30 2015-12-31 Telefonaktiebolaget L M Ericsson (Publ) Control for bfd return path
US20170155575A1 (en) * 2015-07-16 2017-06-01 Telefonaktiebolaget L M Ericsson (Publ) Restoration method for an mpls ring network
CN108123875A (en) * 2016-11-29 2018-06-05 中兴通讯股份有限公司 A kind of bidirectional forwarding detection (BFD) method and device
CN108880766A (en) * 2017-05-10 2018-11-23 中兴通讯股份有限公司 Signaling configuration method and device
CN108989232A (en) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 Message interaction method and device in SDN

Similar Documents

Publication Publication Date Title
US9363168B2 (en) Technique for operating a network node
US8599683B2 (en) System and method for changing a delivery path of multicast traffic
EP2099172A1 (en) Method of redundancy protection of multicast flow and device thereof
US7940694B2 (en) Intelligent filtering of redundant data streams within computer networks
US9385944B2 (en) Communication system, path switching method and communication device
KR101336691B1 (en) Method and means for state transition of ethernet linear protection switching
US8320281B2 (en) Methods, systems and computer readable media for utilizing a standard spanning tree protocol to indicate an active switching fabric in a network node
EP1804423A2 (en) Method for rapidly recovering multicast service and network device
US20130058324A1 (en) Method for establishing associated bidirectional label switching path and system thereof
WO2011157130A2 (en) Path establishment method and apparatus
JP2021534669A (en) Packet processing method and gateway device
KR20150002474A (en) Methods for recovering failure in communication networks
US9246796B2 (en) Transmitting and forwarding data
WO2016165061A1 (en) Service protecting method and device
CN109644122B (en) Resource sharing method, network node and related equipment
US20220417136A1 (en) Pce controlled network reliability
CN109428814B (en) Multicast traffic transmission method, related equipment and computer readable storage medium
CN114650241A (en) Tunnel path fault detection method, control method, device and communication node
Park et al. Toward control path high availability for software-defined networks
CN106878180B (en) Cluster router route control method and device and cluster router
US11800262B2 (en) Service path switching method and related device
CN109039921B (en) Designated router switching method, multicast router and multicast network
US20220393936A1 (en) System and Method for Border Gateway Protocol (BGP) Controlled Network Reliability
US11888596B2 (en) System and method for network reliability
EP4358487A1 (en) Cross-device link aggregation routing calculation method, switch, system, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination