WO2014008651A1 - Procédé et dispositif de routage pour établissement d'une session bfd - Google Patents

Procédé et dispositif de routage pour établissement d'une session bfd Download PDF

Info

Publication number
WO2014008651A1
WO2014008651A1 PCT/CN2012/078561 CN2012078561W WO2014008651A1 WO 2014008651 A1 WO2014008651 A1 WO 2014008651A1 CN 2012078561 W CN2012078561 W CN 2012078561W WO 2014008651 A1 WO2014008651 A1 WO 2014008651A1
Authority
WO
WIPO (PCT)
Prior art keywords
routing device
link
descriptor
detected
identifier
Prior art date
Application number
PCT/CN2012/078561
Other languages
English (en)
Chinese (zh)
Inventor
杨杰
苏现群
黄永年
王歆平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280000944.8A priority Critical patent/CN102918807B/zh
Priority to PCT/CN2012/078561 priority patent/WO2014008651A1/fr
Publication of WO2014008651A1 publication Critical patent/WO2014008651A1/fr

Links

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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks

Definitions

  • the present invention relates to a detection technology, and in particular, to a Bidirectional Forwarding Detection (BFD) session establishment method and a routing device.
  • BFD Bidirectional Forwarding Detection
  • BFD Bidirectional Forwarding Detection
  • aspects of the present application provide a method for establishing a BFD session and a routing device to improve the reliability of fault detection.
  • An aspect of the present application provides a method for establishing a BFD session, including:
  • the first routing device sends, to the second routing device, a link identifier for identifying the bidirectional link to be detected and a first descriptor for the first routing device to allocate the bidirectional link to be detected, so that the second Determining, by the routing device, the bidirectional link to be detected according to the link identifier, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, the second descriptor Is a descriptor allocated by the second routing device to the to-be-detected bidirectional link;
  • the first routing device Receiving, by the first routing device, the first BFD packet sent by the second routing device by using the to-be-detected bidirectional link according to the first association, where the first BFD packet includes the first a descriptor and the second descriptor;
  • the first routing device establishes a second association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, and passes the to-be-detected two-way chain according to the second association relationship.
  • the second BFD packet is sent to the second routing device for fault detection, and the second BFD packet includes the first descriptor and the second descriptor.
  • the to-be-detected bidirectional link includes a first link from the first routing device to the second routing device, and the second routing device to the first route The second link of the device;
  • the identifier of the to-be-detected bidirectional link is an identifier of the first link or an identifier of the second link.
  • the identifier of the bidirectional link to be detected is The identifier of the second link.
  • the first routing device sends, to the second routing device, a link identifier and a location for identifying the bidirectional link to be detected.
  • the first descriptor allocated by the first routing device to the to-be-detected bidirectional link includes:
  • the first routing device sends the link identifier and the first descriptor to the second routing device by using a control channel between the first routing device and the second routing device.
  • the first routing device receives the second routing device according to the first association relationship, Before the first BFD packet sent by the bidirectional link to be detected, the method further includes:
  • the first routing device receives the second descriptor sent by the second routing device by using a control channel between the first routing device and the second routing device.
  • the first routing device sends, to the second routing device, the identifier that is to be detected.
  • a link identifier of the link and a first descriptor allocated by the first routing device to the to-be-detected bidirectional link including:
  • the first routing device sends the link identifier and the first descriptor to the second routing device by using the bidirectional link to be detected.
  • Another aspect of the present application provides a method for establishing a BFD session, including:
  • the second routing device receives the link sent by the first routing device to identify the bidirectional link to be detected. Determining, by the first routing device, a first descriptor allocated to the to-be-detected bidirectional link; determining, by the second routing device, the bidirectional link to be detected according to the link identifier, and establishing the to-be-detected a first association relationship between the bidirectional link, the first descriptor, and the second descriptor, where the second descriptor is a descriptor allocated by the second routing device to the bidirectional link to be detected; The second routing device sends a first BFD packet to the first routing device to detect the fault according to the first association relationship, where the first BFD packet includes the first description. And the second descriptor;
  • the second routing device Receiving, by the second routing device, the second BFD packet sent by the first routing device by using the to-be-detected bidirectional link according to the second association, where the second BFD packet includes the first descriptor And the second descriptor, the second association relationship is an association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor established by the first routing device.
  • the to-be-detected bidirectional link includes a first link from the first routing device to the second routing device, and the second routing device to the first route The second link of the device;
  • the identifier of the to-be-detected bidirectional link is an identifier of the first link or an identifier of the second link.
  • the identifier of the bidirectional link to be detected is The identifier of the second link.
  • the second routing device passes the to-be-detected bidirectional link to the first Before the routing device sends the first BFD packet for fault detection, it also includes:
  • the second routing device sends the second descriptor to the first routing device by using a control channel between the first routing device and the second routing device.
  • a routing device including:
  • a sending unit configured to send, to the second routing device, a link identifier used to identify the bidirectional link to be detected and a first descriptor allocated by the routing device to the to-be-detected bidirectional link, so that the second route Determining, according to the link identifier, the bidirectional link to be detected, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, where the second descriptor is Descriptor allocated by the second routing device to the bidirectional link to be detected;
  • a receiving unit configured to receive, by the second routing device, the first BFD packet that is sent by using the to-be-detected bidirectional link according to the first association, where the first BFD packet includes the first description And the second descriptor;
  • the association unit is configured to establish a second association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, and transmit the second association relationship to the sending unit;
  • the sending unit is further configured to: send, according to the second association relationship, the second BFD packet to the second routing device by using the to-be-detected bidirectional link to perform fault detection, where the second BFD packet includes The first descriptor and the second descriptor.
  • the to-be-detected bidirectional link includes a first link of the routing device to the second routing device, and a second routing device of the second routing device to the routing device.
  • the identifier of the to-be-detected bidirectional link is an identifier of the first link or an identifier of the second link.
  • the identifier of the bidirectional link to be detected is The identifier of the second link.
  • the sending unit is specifically used to
  • the receiving unit is further used
  • the sending unit is specifically configured to be used.
  • the routing device sends the link identifier and the first descriptor to the second routing device by using the bidirectional link to be detected.
  • Another aspect of the present application provides a routing device, including:
  • a receiving unit configured to receive a link identifier that is sent by the first routing device to identify the bidirectional link to be detected, and a first descriptor that is allocated by the first routing device to the bidirectional link to be detected, and the Transmitting the link identifier and the first descriptor to the associated unit;
  • the association unit is configured to determine the to-be-detected bidirectional link according to the link identifier, and establish a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, and Transmitting the first association relationship to a sending unit, where the second descriptor is a descriptor allocated by the routing device to the to-be-detected bidirectional link;
  • the sending unit is configured to send, by using the to-be-detected bidirectional link, the first BFD packet to the first routing device to perform fault detection according to the first association relationship, where the first BFD packet includes Describe the first descriptor and the second descriptor;
  • the receiving unit is further configured to receive, by the first routing device, the second BFD packet that is sent by using the to-be-detected bidirectional link according to the second association, where the second BFD packet includes the first a descriptor and the second descriptor, where the second association relationship is an association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor established by the first routing device.
  • the to-be-detected bidirectional link includes a first link of the first routing device to the routing device, and a second of the routing device to the first routing device.
  • the identifier of the to-be-detected bidirectional link is an identifier of the first link or an identifier of the second link.
  • the identifier of the bidirectional link to be detected is The identifier of the second link.
  • the sending unit is further used to
  • a routing device including:
  • a transmitter configured to send, to the second routing device, a link identifier used to identify the bidirectional link to be detected and a first descriptor allocated by the routing device to the to-be-detected bidirectional link, so that the second Determining, by the routing device, the bidirectional link to be detected according to the link identifier, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, the second descriptor Is a descriptor allocated by the second routing device to the to-be-detected bidirectional link;
  • a receiver configured to receive, by the second routing device, the first BFD packet sent by the to-be-detected bidirectional link according to the first association, where the first BFD packet includes the first description And the second descriptor;
  • the processor is configured to establish a second association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, and transmit the second association relationship to the transmitter;
  • the transmitter is further configured to send, by using the to-be-detected bidirectional link, the second BFD packet to the second routing device to perform fault detection according to the second association, where the second BFD packet includes The first descriptor and the second descriptor.
  • the to-be-detected bidirectional link includes a first link of the routing device to the second routing device, and a second routing device of the second routing device to the routing device.
  • the identifier of the to-be-detected bidirectional link is an identifier of the first link or an identifier of the second link.
  • the identifier of the bidirectional link to be detected is The identifier of the second link.
  • the transmitter is specifically used to
  • the receiver is further used
  • the transmitter is specifically used
  • a routing device including:
  • a receiver configured to receive a link identifier sent by the first routing device to identify the bidirectional link to be detected, and a first descriptor that is allocated by the first routing device to the bidirectional link to be detected, and Transmitting the link identifier and the first descriptor to the processor;
  • the processor is configured to determine the to-be-detected bidirectional link according to the link identifier, and establish a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, and Transmitting the first association relationship to a transmitter, where the second descriptor is a descriptor allocated by the routing device to the to-be-detected bidirectional link;
  • the transmitter is configured to send, by using the to-be-detected bidirectional link, the first BFD packet to the first routing device to perform fault detection according to the first association relationship, where the first BFD packet includes Describe the first descriptor and the second descriptor;
  • the receiver is further configured to receive, by the first routing device, the second BFD packet that is sent by using the to-be-detected bidirectional link according to the second association, where the second BFD packet includes the first a descriptor and the second descriptor, where the second association relationship is an association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor established by the first routing device.
  • the to-be-detected bidirectional link includes a first link of the first routing device to the routing device, and a second of the routing device to the first routing device.
  • the identifier of the to-be-detected bidirectional link is an identifier of the first link or an identifier of the second link.
  • the identifier of the bidirectional link to be detected is The identifier of the second link.
  • the transmitter is further used
  • the first routing device sends a link identifier for identifying the bidirectional link to be detected and the first routing device to the second routing device by using the first routing device. Determining a first descriptor for detecting a bidirectional link allocation, so that the second routing device determines the to-be-detected bidirectional link according to the link identifier, and establishing the to-be-detected bidirectional link, the first a first association relationship between the descriptor and the second descriptor, the second descriptor is a descriptor allocated by the second routing device to the bidirectional link to be detected, and the first routing device further receives the first According to the first association relationship, the second routing device includes the first descriptor and the second descriptor by using the first BFD packet sent by the to-be-detected bidirectional link.
  • the bidirectional link sends a second BFD packet to the second routing device for fault detection, where the second BFD packet includes the first descriptor and the second descriptor, End routing
  • the device can establish the association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor. Therefore, it is not necessary to perform backhaul processing on the IP path, so that the backhaul is avoided in the prior art. If the path of the IP address is faulty, the detection result of the BFD is still the fault of the bidirectional link to be detected, which improves the reliability of fault detection.
  • the second routing device receives, by the second routing device, the link identifier that is sent by the first routing device to identify the bidirectional link to be detected, and the first routing device is the to-be-detected. a first descriptor of the bidirectional link allocation, and determining the to-be-detected bidirectional link according to the link identifier, and establishing the first to-be-detected bidirectional link, the first descriptor, and the second descriptor
  • the second descriptor is a descriptor allocated by the second routing device to the to-be-detected bidirectional link, and the second routing device further passes the to-be-detected two-way according to the first association relationship.
  • the link sends the first BFD packet to the first routing device to perform fault detection, where the first BFD packet includes the first descriptor and the second descriptor, so that the second routing device can Receiving, by the first routing device, the second BFD packet sent by the to-be-detected bidirectional link according to the second association, where the second BFD packet includes the first descriptor and the second description
  • the second association relationship is an association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor that is established by the first routing device, because both ends of the bidirectional link to be detected are
  • the routing device can establish the association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor.
  • IP path is processed if the IP path is out If the fault occurs, the detection result of the BFD is still a problem that the bidirectional link to be detected is faulty, thereby improving the reliability of the fault detection.
  • FIG. 1 is a schematic flowchart of a method for establishing a BFD session according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a method for establishing a BFD session according to another embodiment of the present disclosure
  • Schematic diagram of the routing device
  • FIG. 4 is a schematic structural diagram of a routing device according to another embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a routing device according to another embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a routing device according to another embodiment of the present disclosure.
  • the technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application.
  • the embodiments are part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present invention.
  • the term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate: A exists separately, and A and B exist simultaneously. There are three cases of B alone.
  • the character T in this paper generally indicates that the contextual object is an "or" relationship.
  • FIG. 1 is a schematic flowchart of a method for establishing a BFD session according to an embodiment of the present disclosure, as shown in FIG. 1 .
  • the first routing device sends, to the second routing device, a link identifier for identifying the bidirectional link to be detected and a first descriptor that is allocated by the first routing device to the bidirectional link to be detected, so that Determining, by the second routing device, the bidirectional link to be detected according to the link identifier, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor,
  • the second descriptor is a descriptor allocated by the second routing device for the to-be-detected bidirectional link.
  • the first routing device receives the first BFD packet that is sent by the second routing device by using the to-be-detected bidirectional link according to the first association, where the first BFD packet includes the a first descriptor and the second descriptor.
  • the first routing device establishes a second association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, and the to-be-detected according to the second association relationship.
  • the bidirectional link sends a second BFD packet to the second routing device for fault detection, where the second BFD packet includes the first descriptor and the second descriptor.
  • the routing device ie, the first routing device and the second routing device at both ends of the bidirectional link to be detected can establish the association between the to-be-detected bidirectional link, the first descriptor, and the second descriptor. Therefore, the first routing device and the second routing device can use the established association relationship to transmit the BFD packets in the two directions, that is, the first BFD packet and the second BFD packet, by using the to-be-detected bidirectional link. ) for fault detection without the need for backhaul on the IP path.
  • the bidirectional link to be detected may include, but is not limited to, a Label Switched Path in a Traffic Engineering (TE) tunnel established by a Resource Resert Protocol (RSVP).
  • TE Traffic Engineering
  • RSVP Resource Resert Protocol
  • LSP LSP
  • LSP LSP
  • PW Pseudo Wire
  • LDP Label Distribution Protocol
  • the to-be-detected bidirectional link may include a first link from the first routing device to the second routing device, and the second route The second link of the device to the first routing device.
  • the identifier of the to-be-detected bidirectional link may be the identifier of the first link or the identifier of the second link.
  • the identifier of the bidirectional link to be detected may be an identifier of the second link.
  • a first routing device eg, Master, etc.
  • a second routing device eg, an AP, etc.
  • Communication between the control channels is performed to complete the packet forwarding process that is completely controlled by the switch/router, thereby realizing the separation of data forwarding and routing control.
  • the first routing device may specifically pass the first routing device and the second And a control channel between the routing devices, sending the link identifier and the first descriptor to the second routing device.
  • the first routing device may further receive the second routing device by using the first routing device and the second routing device. Between the control channels, the second descriptor is sent.
  • the first routing device may send the second routing device to the second routing device by using the to-be-detected bidirectional link.
  • the link identifier and the first descriptor may be used to indicate the second routing device by using the to-be-detected bidirectional link.
  • the first routing device sends a link identifier for identifying the bidirectional link to be detected to the second routing device, and a first descriptor that is allocated by the first routing device to the bidirectional link to be detected. So that the second routing device determines the to-be-detected bidirectional link according to the link identifier, and establishes a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, The second descriptor is a descriptor allocated by the second routing device to the to-be-detected bidirectional link, and the first routing device further receives the second routing device according to the first association relationship, Determining to detect the first BFD packet sent by the bidirectional link, where the first BFD packet includes the first descriptor and the second descriptor, so that the first routing device can establish the to-be-detected a bidirectional link, a second association relationship between the first descriptor and the second descriptor, and sending, by the to-be-detected
  • bidirectional link since BFD packets in both directions can pass from one routing device to another routing device through the bidirectional link to be detected (ie, the bidirectional link), there is no need to perform backhaul processing on the IP path. Therefore, the fault detection of the bidirectional link to be detected needs to be completed in one session, thereby reducing the number of interactions between the two routing devices, and saving interaction costs.
  • FIG. 2 is a schematic flowchart of a method for establishing a BFD session according to another embodiment of the present application, as shown in FIG. 2.
  • the second routing device receives, by the first routing device, a link identifier that is used to identify the bidirectional link to be detected, and a first descriptor that is allocated by the first routing device to the to-be-detected bidirectional link.
  • the second routing device determines the to-be-detected bidirectional link according to the link identifier, and establishes a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor.
  • the second descriptor is a descriptor allocated by the second routing device to the to-be-detected bidirectional link.
  • the second routing device sends a first BFD packet to the first routing device to detect a fault according to the first association relationship, where the first BFD packet is included in the first BFD packet.
  • the first descriptor and the second descriptor are included in the first BFD packet.
  • the second routing device receives the second BFD packet sent by the first routing device by using the to-be-detected bidirectional link according to the second association, where the second BFD packet includes the first a descriptor and the second descriptor, where the second association relationship is an association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor established by the first routing device.
  • the routing device ie, the first routing device and the second routing device at both ends of the bidirectional link to be detected can establish the association between the to-be-detected bidirectional link, the first descriptor, and the second descriptor. Therefore, the first routing device and the second routing device can use the established association relationship to transmit the BFD packets in the two directions, that is, the first BFD packet and the second BFD packet, by using the to-be-detected bidirectional link. ) for fault detection without the need for backhaul on the IP path.
  • the bidirectional link to be detected may include, but is not limited to, a Label Switched Path in a Traffic Engineering (TE) tunnel established by a Resource Resert Protocol (RSVP).
  • TE Traffic Engineering
  • RSVP Resource Resert Protocol
  • LSP LSP
  • LSP LSP
  • PW Pseudo Wire
  • LDP Label Distribution Protocol
  • the to-be-detected bidirectional link may include a first link from the first routing device to the second routing device, and the second route The second link of the device to the first routing device.
  • the identifier of the to-be-detected bidirectional link may be the identifier of the first link or the identifier of the second link.
  • the identifier of the bidirectional link to be detected may be an identifier of the second link.
  • the first routing device (for example, the Master, etc.) communicates with the second routing device (for example, an AP, etc.) through the control channel to jointly complete the packet forwarding process that is completely controlled by the switch/router, thereby implementing data forwarding and Separation of routing control.
  • the second routing device may specifically receive the first routing device by using the first And a control channel between the routing device and the second routing device, the link identifier sent by the first descriptor.
  • the second routing device may further be configured by using a control channel between the first routing device and the second routing device.
  • the first routing device sends the second descriptor.
  • the second routing device may receive, by the second routing device, the first routing device by using the to-be-detected bidirectional link.
  • the link identifier and the first descriptor may be used to identify the second routing device by using the to-be-detected bidirectional link.
  • the second routing device receives, by the first routing device, a link identifier that is used by the first routing device to identify the bidirectional link to be detected, and a first descriptor that is allocated by the first routing device to the to-be-detected bidirectional link. Determining, according to the link identifier, the to-be-detected bidirectional link, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, the second descriptor a descriptor that is allocated by the second routing device to the to-be-detected bidirectional link, and the second routing device, according to the first association relationship, to the first routing device by using the to-be-detected bidirectional link.
  • the bidirectional link since the BFD packets in both directions can pass from one routing device to another routing device through the bidirectional link to be detected (ie, the bidirectional link), there is no need to perform backhaul processing on the IP path, therefore, only one The fault detection of the bidirectional link to be detected is completed in the session, thereby reducing the number of interactions between the two routing devices and saving interaction costs.
  • FIG. 3 is a schematic structural diagram of a routing device according to another embodiment of the present disclosure.
  • the routing device in this embodiment may include a sending unit 31, a receiving unit 32, and an associating unit 33.
  • the sending unit 31 is configured to send, to the second routing device, a link identifier that is used to identify the bidirectional link to be detected, and a first descriptor that is allocated by the routing device to the bidirectional link to be detected, so that the Determining, by the second routing device, the bidirectional link to be detected according to the link identifier, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, where the second The descriptor is a descriptor allocated by the second routing device to the to-be-detected bidirectional link; the receiving unit 32 is configured to receive, by the second routing device, the doubly chain to be detected according to the first association relationship.
  • the first BFD packet sent by the path includes the first descriptor and the second descriptor
  • the association unit 33 is configured to establish the bidirectional link to be detected. Decoding a first descriptor and a second association relationship of the second descriptor, and transmitting the second association relationship to the sending unit 31; the sending unit 31 is further configured to use the second association relationship By the stated
  • the bidirectional link to be detected sends a second BFD packet to the second routing device for fault detection, where the second BFD packet includes the first descriptor and the second descriptor.
  • the routing device ie, the routing device and the second routing device at both ends of the bidirectional link to be detected can establish the association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor. Therefore, the routing device and the second routing device can use the established association relationship to transmit the BFD packets in the two directions, that is, the first BFD packet and the second BFD packet, by using the to-be-detected bidirectional link. Fault detection, no need to perform backhaul processing on the IP path.
  • the bidirectional link to be detected may include, but is not limited to, a Label Switched Path in a Traffic Engineering (TE) tunnel established by a Resource Resert Protocol (RSVP).
  • TE Traffic Engineering
  • RSVP Resource Resert Protocol
  • LSP LSP
  • LSP LSP
  • PW Pseudo Wire
  • LDP Label Distribution Protocol
  • the to-be-detected bidirectional link may include a first link from the first routing device to the second routing device, and the second route The second link of the device to the first routing device.
  • the identifier of the to-be-detected bidirectional link may be the identifier of the first link or the identifier of the second link.
  • the identifier of the bidirectional link to be detected may be an identifier of the second link.
  • the first routing device (for example, the Master, etc.) communicates with the second routing device (for example, an AP, etc.) through the control channel to jointly complete the packet forwarding process that is completely controlled by the switch/router, thereby implementing data forwarding and Separation of routing control.
  • the link identifier and the first description payment are sent to the second routing device for controlling and forwarding a control channel between separate devices.
  • the receiving unit 32 may further receive that the second routing device sends by using a control channel between the routing device and the second routing device. Said second descriptor, and transmitting said second descriptor to said associating unit 33.
  • the sending unit 31 may specifically send, by the routing device, the second routing device to the second routing device by using the to-be-detected bidirectional link. The link identifier and the first descriptor.
  • the routing device sends, by the sending unit, a link identifier for identifying the bidirectional link to be detected and a first descriptor allocated by the routing device to the bidirectional link to be detected, to the second routing device, so that Determining, by the second routing device, the bidirectional link to be detected according to the link identifier, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor,
  • the second descriptor is a descriptor allocated by the second routing device to the to-be-detected bidirectional link, and the receiving unit receives the second routing device, according to the first association relationship, by using the to-be-detected two-way chain.
  • the second BFD packet is configured to detect the fault, and the second BFD packet includes the first descriptor and the second descriptor, and the routing device at both ends of the bidirectional link to be detected can establish the two-way to be detected.
  • the bidirectional link since the BFD packets in both directions can pass from one routing device to another routing device through the bidirectional link to be detected (ie, the bidirectional link), there is no need to perform backhaul processing on the IP path, therefore, only one The fault detection of the bidirectional link to be detected is completed in the session, thereby reducing the number of interactions between the two routing devices and saving interaction costs.
  • FIG. 4 is a schematic structural diagram of a routing device according to another embodiment of the present disclosure.
  • the routing device in this embodiment may include a receiving unit 41, an association unit 42, and a sending unit 43.
  • the receiving unit 41 is configured to receive, by the first routing device, a link identifier that is used to identify the bidirectional link to be detected, and a first descriptor that is allocated by the first routing device to the to-be-detected bidirectional link, and Transmitting the link identifier and the first descriptor to the association unit 42;
  • the association unit 42 is configured to determine the to-be-detected bidirectional link according to the link identifier, and establish the to-be-detected two-way chain a first association relationship between the first descriptor and the second descriptor, and the first
  • the association is transmitted to the sending unit 43, the second descriptor is a descriptor allocated by the routing device to the to-be-detected bidirectional link, and the sending unit 43 is configured to pass the first association relationship
  • the detecting the bidirectional link sends the first BFD packet to the first routing device to perform fault detection, where the first BFD packet includes the first descriptor and the second descriptor; the receiving unit
  • the second BFD packet is sent by the first routing device according to the second association relationship, and the second BFD packet is sent by the second BFD packet.
  • the second descriptor, the second association relationship is an association relationship between the to-be-detected bidirectional link established by the first routing device, the first descriptor, and the second descriptor.
  • the routing device ie, the first routing device and the routing device at both ends of the bidirectional link to be detected can establish the association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor. Therefore, the first routing device and the routing device can use the established association relationship to transmit the BFD packets in the two directions, that is, the first BFD packet and the second BFD packet, by using the to-be-detected bidirectional link. Fault detection, no need to perform backhaul processing on the IP path.
  • the bidirectional link to be detected may include, but is not limited to, a Label Switched Path in a Traffic Engineering (TE) tunnel established by a Resource Resert Protocol (RSVP).
  • TE Traffic Engineering
  • RSVP Resource Resert Protocol
  • LSP LSP
  • LSP LSP
  • PW Pseudo Wire
  • LDP Label Distribution Protocol
  • the to-be-detected bidirectional link may include a first link from the first routing device to the second routing device, and the second route The second link of the device to the first routing device.
  • the identifier of the to-be-detected bidirectional link may be the identifier of the first link or the identifier of the second link.
  • the identifier of the bidirectional link to be detected may be an identifier of the second link.
  • the first routing device (for example, the Master, etc.) communicates with the second routing device (for example, an AP, etc.) through the control channel to jointly complete the packet forwarding process that is completely controlled by the switch/router, thereby implementing data forwarding and Separation of routing control.
  • the sending unit 43 may further perform control between the first routing device and the routing device. Channel, sending the second descriptor to the first routing device.
  • the routing device receives, by the receiving unit, a link identifier that is sent by the first routing device to identify the bidirectional link to be detected, and a first descriptor that is allocated by the first routing device to the to-be-detected bidirectional link. And determining, by the association unit, the bidirectional link to be detected according to the link identifier, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, where The second descriptor is a descriptor allocated by the routing device to the to-be-detected bidirectional link, and the sending unit sends the first routing device to the first routing device by using the to-be-detected bidirectional link according to the first association relationship.
  • a second BFD packet sent by the bidirectional link to be detected, where the second BFD packet includes the first descriptor and the second descriptor, and the second association relationship is The relationship between the two-way link to be detected, the first descriptor, and the second descriptor that is established by the first routing device, because the routing devices at both ends of the bidirectional link to be detected can establish the to-be-detected
  • the association relationship between the bidirectional link, the first descriptor, and the second descriptor therefore, there is no need to perform backhaul processing on the IP path, and it is possible to avoid the prior art if the backhaul is processed in the IP path. If the IP path is faulty, the detection result of BFD is still the fault of the bidirectional link to be detected, which improves the reliability of fault detection.
  • the bidirectional link since the BFD packets in both directions can pass from one routing device to another routing device through the bidirectional link to be detected (ie, the bidirectional link), there is no need to perform backhaul processing on the IP path, therefore, only one The fault detection of the bidirectional link to be detected is completed in the session, thereby reducing the number of interactions between the two routing devices and saving interaction costs.
  • FIG. 5 is a schematic structural diagram of a routing device according to another embodiment of the present disclosure.
  • the routing device in this embodiment may include a transmitter 51, a receiver 52, and a processor 53.
  • the transmitter 51 is configured to send, to the second routing device, a link identifier that is used to identify the bidirectional link to be detected, and a first descriptor that is allocated by the routing device to the bidirectional link to be detected, so that the Determining, by the second routing device, the bidirectional link to be detected according to the link identifier, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, where the second a descriptor is a descriptor allocated by the second routing device to the bidirectional link to be detected;
  • a receiver 52 is configured to connect Receiving, by the second routing device, the first BFD packet 53 sent by the to-be-detected bidirectional link according to the first association, the first BFD packet includes the first descriptor and
  • the routing device ie, the routing device and the second routing device at both ends of the bidirectional link to be detected can establish the association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor. Therefore, the routing device and the second routing device can use the established association relationship to transmit the BFD packets in the two directions, that is, the first BFD packet and the second BFD packet, by using the to-be-detected bidirectional link. Fault detection, no need to perform backhaul processing on the IP path.
  • the bidirectional link to be detected may include, but is not limited to, a Label Switched Path in a Traffic Engineering (TE) tunnel established by a Resource Resert Protocol (RSVP).
  • TE Traffic Engineering
  • RSVP Resource Resert Protocol
  • LSP LSP
  • LSP LSP
  • PW Pseudo Wire
  • LDP Label Distribution Protocol
  • the to-be-detected bidirectional link may include a first link from the first routing device to the second routing device, and the second route The second link of the device to the first routing device.
  • the identifier of the to-be-detected bidirectional link may be the identifier of the first link or the identifier of the second link.
  • the identifier of the bidirectional link to be detected may be an identifier of the second link.
  • the first routing device (for example, the Master, etc.) communicates with the second routing device (for example, an AP, etc.) through the control channel to jointly complete the packet forwarding process that is completely controlled by the switch/router, thereby implementing data forwarding and Separation of routing control.
  • the control and forwarding are separated.
  • the transmitter 51 may specifically send the link identifier and the first descriptor to the second routing device by using a control channel between the routing device and the second routing device.
  • the receiver 52 may further receive that the second routing device sends by using a control channel between the routing device and the second routing device. Said second descriptor, and transmitting said second descriptor to said processor 53.
  • the sending device 51 may specifically send, by the routing device, the second routing device to the second routing device by using the to-be-detected bidirectional link.
  • the link identifier and the first descriptor may specifically send, by the routing device, the second routing device to the second routing device by using the to-be-detected bidirectional link.
  • the routing device sends, by using a transmitter, a link identifier for identifying the bidirectional link to be detected and a first descriptor allocated by the routing device to the bidirectional link to be detected, to the second routing device, so that Determining, by the second routing device, the bidirectional link to be detected according to the link identifier, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor,
  • the second descriptor is a descriptor allocated by the second routing device to the to-be-detected bidirectional link, and the receiver receives the second routing device by the receiver according to the first association relationship, by using the to-be-detected two-way chain.
  • first BFD packet sent by the path, where the first BFD packet includes the first descriptor and the second descriptor, so that the processor can establish the bidirectional link to be detected, and the first description And a second association relationship of the second descriptor, and sending, by the sender, the second BF to the second routing device by using the to-be-detected bidirectional link according to the second association relationship
  • the D packet is fault-detected, and the second BFD packet includes the first descriptor and the second descriptor, and the routing device at both ends of the bidirectional link to be detected can establish the bidirectional link to be detected.
  • the association relationship between the first descriptor and the second descriptor therefore, there is no need to perform backhaul processing on the IP path, and it can be avoided if the IP path appears in the prior art because the backhaul is processed in the IP path. If the fault occurs, the detection result of BFD is still the fault of the bidirectional link to be detected, which improves the reliability of fault detection.
  • the bidirectional link since the BFD packets in both directions can pass from one routing device to another routing device through the bidirectional link to be detected (ie, the bidirectional link), there is no need to perform backhaul processing on the IP path, therefore, only one The fault detection of the bidirectional link to be detected is completed in the session, thereby reducing the number of interactions between the two routing devices and saving interaction costs.
  • FIG. 6 is a schematic structural diagram of a routing device according to another embodiment of the present disclosure, as shown in FIG.
  • the routing device of this embodiment may include a receiver 61, a processor 62, and a transmitter 63.
  • the receiver 61 is configured to receive, by the first routing device, a link identifier that is used to identify the bidirectional link to be detected, and a first descriptor that is allocated by the first routing device to the to-be-detected bidirectional link, and Transmitting the link identifier and the first descriptor to the processor 62;
  • the processor 62 configured to determine the to-be-detected bidirectional link according to the link identifier, and establish the to-be-detected two-way chain a first association relationship between the first descriptor and the second descriptor, and transmitting the first association relationship to the transmitter 63, where the second descriptor is that the routing device is the two-way to be detected a descriptor for the link allocation, the transmitter 63, configured to send, by
  • Second BFD packet sent by the road includes the first descriptor and the second descriptor, where the second association relationship is the to-be-detected bidirectional link established by the first routing device, and the A descriptor and an association relationship of the second descriptor.
  • the routing device ie, the first routing device and the routing device at both ends of the bidirectional link to be detected can establish the association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor. Therefore, the first routing device and the routing device can use the established association relationship to transmit the BFD packets in the two directions, that is, the first BFD packet and the second BFD packet, by using the to-be-detected bidirectional link. Fault detection, no need to perform backhaul processing on the IP path.
  • the bidirectional link to be detected may include but is not limited to a resource reservation protocol.
  • LSP Recycled Switching Path
  • TE Traffic Engineering
  • LSP Pseudo-based Label Distribution Protocol
  • RSVP Resource ReSerVation Protocol
  • the to-be-detected bidirectional link may include a first link from the first routing device to the second routing device, and the second route The second link of the device to the first routing device.
  • the identifier of the to-be-detected bidirectional link may be the identifier of the first link or the identifier of the second link.
  • the identifier of the link may be the identifier of the second link.
  • the first routing device (for example, the Master, etc.) communicates with the second routing device (for example, an AP, etc.) through the control channel to jointly complete the packet forwarding process that is completely controlled by the switch/router, thereby implementing data forwarding and Separation of routing control.
  • the transmitter 63 may further perform control between the first routing device and the routing device for a centralized system that separates control and forwarding. Channel, sending the second descriptor to the first routing device.
  • the routing device receives, by the receiver, a link identifier that is sent by the first routing device to identify the bidirectional link to be detected, and a first descriptor that is allocated by the first routing device to the to-be-detected bidirectional link. Determining, by the processor, the bidirectional link to be detected according to the link identifier, and establishing a first association relationship between the to-be-detected bidirectional link, the first descriptor, and the second descriptor, where The second descriptor is a descriptor allocated by the routing device to the to-be-detected bidirectional link, and the sender sends the first routing device to the first routing device by using the to-be-detected bidirectional link according to the first association relationship.
  • the association relationship between the first descriptor and the second descriptor therefore, there is no need to perform backhaul processing on the IP path, and it is possible to avoid the failure of the IP path caused by the backhaul being processed in the IP path in the prior art.
  • the detection result of the BFD is still a problem that the bidirectional link to be detected is faulty, thereby improving the reliability of the fault detection.
  • the bidirectional link since the BFD packets in both directions can pass from one routing device to another routing device through the bidirectional link to be detected (ie, the bidirectional link), there is no need to perform backhaul processing on the IP path, therefore, only one The fault detection of the bidirectional link to be detected is completed in the session, thereby reducing the number of interactions between the two routing devices and saving interaction costs.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

Landscapes

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

Abstract

Les modes de réalisation de la présente demande concernent un procédé et un dispositif de routage pour l'établissement d'une session BFD. Dans les modes de réalisation de la présente invention, un premier dispositif de routage envoie d'une part un identifiant de liaison destiné à identifier la liaison bidirectionnelle à détecter, et d'autre part, un premier descripteur est affecté par le premier dispositif de routage à la liaison bidirectionnelle à détecter à un second dispositif de routage, cela permettant au second dispositif de routage de déterminer la liaison bidirectionnelle à détecter conformément à l'identifiant de liaison, et de créer une première relation entre la liaison bidirectionnelle à détecter, le premier descripteur et le second descripteur, le second descripteur étant le descripteur affecté par le second dispositif de routage à la liaison bidirectionnelle à détecter ; le premier dispositif de routage reçoit en outre un premier message BFD envoyé par le second dispositif de routage par l'intermédiaire de la liaison bidirectionnelle à détecter conformément à la première relation, le premier message BFD comprenant le premier descripteur et le second descripteur, cela permettant au premier dispositif de routage de créer une seconde relation entre la liaison bidirectionnelle à détecter, le premier descripteur et le second descripteur.
PCT/CN2012/078561 2012-07-12 2012-07-12 Procédé et dispositif de routage pour établissement d'une session bfd WO2014008651A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280000944.8A CN102918807B (zh) 2012-07-12 2012-07-12 Bfd会话建立的方法及路由设备
PCT/CN2012/078561 WO2014008651A1 (fr) 2012-07-12 2012-07-12 Procédé et dispositif de routage pour établissement d'une session bfd

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/078561 WO2014008651A1 (fr) 2012-07-12 2012-07-12 Procédé et dispositif de routage pour établissement d'une session bfd

Publications (1)

Publication Number Publication Date
WO2014008651A1 true WO2014008651A1 (fr) 2014-01-16

Family

ID=47615752

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078561 WO2014008651A1 (fr) 2012-07-12 2012-07-12 Procédé et dispositif de routage pour établissement d'une session bfd

Country Status (2)

Country Link
CN (1) CN102918807B (fr)
WO (1) WO2014008651A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102918807B (zh) * 2012-07-12 2015-04-08 华为技术有限公司 Bfd会话建立的方法及路由设备
CN107979500B (zh) * 2016-10-21 2020-04-17 中国电信股份有限公司 基于Openflow协议实现路径探测的方法、网络系统和Openflow交换机
CN107547383B (zh) * 2017-07-26 2020-04-03 新华三技术有限公司 路径检测方法及装置
CN109379241B (zh) * 2018-12-27 2021-12-24 新华三技术有限公司 一种路径信息确定方法及装置
CN114172798B (zh) * 2021-11-08 2023-10-24 烽火通信科技股份有限公司 Bier网络故障检测方法、装置、设备及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (zh) * 2007-10-23 2008-03-12 华为技术有限公司 一种为lsp隧道建立bfd检测的方法、系统及设备
US20080247324A1 (en) * 2007-04-06 2008-10-09 Nadeau Thomas D Detection of specific bfd path failures
CN101447900A (zh) * 2008-12-15 2009-06-03 华为技术有限公司 一种建立双向转发检测的方法、系统及设备
CN102918807A (zh) * 2012-07-12 2013-02-06 华为技术有限公司 Bfd会话建立的方法及路由设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771577B (zh) * 2008-12-31 2012-10-17 华为技术有限公司 一种为双向lsp建立双向转发检测的方法、系统及设备
CN102158371A (zh) * 2011-04-12 2011-08-17 杭州华三通信技术有限公司 一种基于bfd的链路性能检测方法及其装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080247324A1 (en) * 2007-04-06 2008-10-09 Nadeau Thomas D Detection of specific bfd path failures
CN101141330A (zh) * 2007-10-23 2008-03-12 华为技术有限公司 一种为lsp隧道建立bfd检测的方法、系统及设备
CN101447900A (zh) * 2008-12-15 2009-06-03 华为技术有限公司 一种建立双向转发检测的方法、系统及设备
CN102918807A (zh) * 2012-07-12 2013-02-06 华为技术有限公司 Bfd会话建立的方法及路由设备

Also Published As

Publication number Publication date
CN102918807B (zh) 2015-04-08
CN102918807A (zh) 2013-02-06

Similar Documents

Publication Publication Date Title
CN103748835B (zh) 标签交换路径的动态更新
JP5484590B2 (ja) 擬似ワイヤに基づいてサービストラヒックを処理するための方法、デバイスおよびシステム
CN101212400B (zh) 一种协商伪线的双向转发检测会话区分符的方法及系统
CN106656794B (zh) 一种报文传输方法及装置
US8130775B2 (en) Mechanism for protecting a pseudo-wire
WO2014047784A1 (fr) Procédé pour déterminer un trajet d'envoi de paquets, dispositif de réseau et dispositif de commande
WO2014032435A1 (fr) Procédé et dispositif de traitement des informations de localisation d'un point de défaut
WO2009056034A1 (fr) Procédé, système et équipement pour établir une détection bfd pour un tunnel lsp
WO2012106986A1 (fr) Procédé de négociation d'une étiquette de flux; dispositif et système connexes
CN103916275A (zh) 一种bfd检测装置和方法
CN109672619A (zh) 一种处理报文的方法、设备及系统
WO2014012207A1 (fr) Procédé pour l'établissement d'un chemin à commutation d'étiquettes, et procédé et dispositif pour le transfert de données
CN102282805B (zh) 一种业务保护方法及接入设备
US20090185495A1 (en) Method, system of fault detection for pseudo wires and service provider edge router thereof
CN101610535A (zh) 多链路直连场景下保证bfd会话稳定性的方法、系统及装置
WO2014008651A1 (fr) Procédé et dispositif de routage pour établissement d'une session bfd
WO2015149353A1 (fr) Procédé de traitement de paquets oam, dispositif de réseau, et système de réseau
EP3255838B1 (fr) Procédé, dispositif de commutation et contrôleur de réseau pour protéger des liaisons dans un réseau défini par logiciel (réseau sdn)
KR20220123070A (ko) 검출 장치, 처리 방법, 시스템 및 제어, 통신 디바이스, 저장 매체
CN109788018B (zh) 跨域的业务互通方法、网络设备及存储介质
US9515923B2 (en) Method and device for processing interconnected ring in multi-protocol label switching
US8427939B2 (en) MPLS tunnel identification method and device
WO2014101185A1 (fr) Procédé, appareil et système de détection des performances d'un canal de multidiffusion
WO2014048120A1 (fr) Procédé, nœud de réseau et système pour mettre en œuvre une diffusion groupée point à multipoint
WO2012142753A1 (fr) Procédé et dispositif de surveillance des performances d'un réseau support ip

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201280000944.8

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12881110

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12881110

Country of ref document: EP

Kind code of ref document: A1