WO2020134739A1 - Method and device for configuring seamless bidirectional forwarding detection (sbfd) mechanism - Google Patents

Method and device for configuring seamless bidirectional forwarding detection (sbfd) mechanism Download PDF

Info

Publication number
WO2020134739A1
WO2020134739A1 PCT/CN2019/119825 CN2019119825W WO2020134739A1 WO 2020134739 A1 WO2020134739 A1 WO 2020134739A1 CN 2019119825 W CN2019119825 W CN 2019119825W WO 2020134739 A1 WO2020134739 A1 WO 2020134739A1
Authority
WO
WIPO (PCT)
Prior art keywords
sbfd
configuration information
forwarding node
node
forwarding
Prior art date
Application number
PCT/CN2019/119825
Other languages
French (fr)
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 华为技术有限公司
Publication of WO2020134739A1 publication Critical patent/WO2020134739A1/en

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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/34Source routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/70Routing based on monitoring results

Definitions

  • the present application relates to the computer field, and more specifically, to a method and apparatus for configuring a seamless two-way forwarding detection SBFD mechanism.
  • Segment routing is a protocol designed to forward data packets on the network based on the concept of source routing.
  • SR multi-protocol label switching multi-protocol label switch, MPLS
  • MPLS multi-protocol label switch
  • MPLS MPLS
  • Segment Routing based on the MPLS forwarding plane.
  • Segment routing-traffic engineering SR-TE
  • SR-TE is a new type of TE tunneling technology that uses SR as a control protocol.
  • SR-TE refers to the tunnel based on the constraint attribute of TE and created by SR protocol.
  • the controller is responsible for calculating the forwarding path of the tunnel and delivering the label stack corresponding to the path to the repeater.
  • the repeater can control the transmission path of the packet in the network according to the label stack.
  • SR-TE LSP failure detection needs to rely on the deployment of bidirectional forwarding detection (bidirectional forwarding detection, BFD) detection, and switch back-up LSPs through BFD failure detection.
  • BFD bidirectional forwarding detection
  • Seamless bidirectional forwarding detection simplifies the BFD state machine, shortens the negotiation time, improves the flexibility of the entire network, and can support SR tunnel detection.
  • SBFD is used to provide protection for SR policy (Policy) services.
  • SBFD currently only supports static configuration on transponders. By statically configuring SBFD instances and parameters to provide end-to-end fault detection for the SR Policy tunnel that has been created, it cannot provide tunnel protection in a timely and dynamic manner.
  • the present application provides a method and device for configuring a seamless two-way forwarding detection SBFD mechanism, which can realize the dynamic deployment of SBFD and help to provide timely tunnel protection.
  • a method for configuring a seamless two-way forwarding detection SBFD mechanism is provided.
  • the method is applied to a network that supports segmented routing traffic engineering SR-TE.
  • the network includes a controller and multiple forwarding nodes.
  • the method includes: the controller determines the SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node among the plurality of forwarding nodes, and the SBFD configuration information includes: information required to configure an SBFD instance associated with the segment routing SR service ;
  • the controller sends a border gateway protocol BGP message to the first forwarding node, and the BGP message carries the SBFD configuration information, that is, the controller can dynamically configure the SBFD instance for the forwarding node, and the user does not need to statically configure the SBFD instance for the forwarding node. It can realize more flexible and dynamic deployment and help to provide tunnel protection in time.
  • the SR service is an SR Policy service.
  • the controller determines the SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node among the multiple forwarding nodes, including: no SBFD is configured in the first forwarding node
  • the SBFD configuration information includes information required for the first forwarding node to create an SBFD instance; in the case where the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information It includes information for adjusting the configuration parameters of the SBFD configured in the first forwarding node.
  • the controller can generate corresponding SBFD configuration information for the first forwarding node, so that the first forwarding node can establish or adjust the SBFD instance based on the SBFD configuration information to satisfy the forwarding Node needs.
  • the BGP message also carries information of the SR service. Therefore, the controller may also carry the SR service information in the BGP message, so that the forwarding node creates the SR service associated with the SBFD instance.
  • the SBFD configuration information is associated with multiple SR services.
  • the first forwarding node is a head node among the multiple forwarding nodes, or the first forwarding node is a tail node among the multiple forwarding nodes.
  • the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver end of the first forwarding node, and indicating the SBFD configuration information Whether it is the field of SBFD, the field of the local discriminator resource pool of the first forwarding node, and the field of the peer discriminator resource pool of the first forwarding node.
  • the SBFD configuration information may further include an optional field.
  • a method for configuring a seamless two-way forwarding detection SBFD mechanism is provided.
  • the method is applied to a network that supports segmented routing traffic engineering SR-TE.
  • the network includes a controller and multiple forwarding nodes.
  • the method includes: a first forwarding node among the plurality of forwarding nodes receives a border gateway protocol BGP message sent by the controller, the BGP message carries SBFD configuration information, and the SBFD configuration information includes: configuration and The information required for the SBFD instance associated with the SR service of the segment route; the first forwarding node configures the SBFD instance associated with the SR service according to the SBFD configuration information; and configures the SBFD instance associated with the SR service After success, the first forwarding node performs SBFD negotiation with the peer node corresponding to the first forwarding node.
  • the first forwarding node can dynamically configure the SBFD instance based on the SBFD configuration information delivered by the controller, and the user does not need to statically configure the SBFD instance for the first forwarding node, which can realize more flexible and dynamic deployment and help provide timely tunnel protection.
  • the SR service is an SR Policy service.
  • the SBFD configuration information includes information required for the first forwarding node to create an SBFD instance; the The first forwarding node creates a new SBFD instance associated with the SR service based on the SBFD configuration information. Therefore, the first forwarding node may create an SBFD instance associated with the SR service based on the SBFD configuration information delivered by the controller.
  • the SBFD configuration information includes configuration parameters for adjusting the SBFD configured in the first forwarding node Information; the first forwarding node adjusts the configuration parameters of the configured SBFD based on the SBFD configuration information. Therefore, the first forwarding node may adjust the SBFD instance associated with the SR service based on the SBFD configuration information delivered by the controller.
  • the BGP message also carries information of the SR service. Therefore, the first forwarding node may create the SR service associated with the SBFD instance based on the controller carrying SR service information in the BGP message.
  • the SBFD configuration information is associated with multiple SR services.
  • the first forwarding node is a head node among the multiple forwarding nodes, or the first forwarding node is a tail node among the multiple forwarding nodes.
  • the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver end of the first forwarding node, and indicating the SBFD configuration information Whether it is the field of SBFD, the field of the local discriminator resource pool of the first forwarding node, and the field of the peer discriminator resource pool of the first forwarding node.
  • the SBFD configuration information may further include an optional field.
  • a controller which includes a module for performing the method in the first aspect or any possible implementation manner of the first aspect.
  • a forwarding node includes a module for performing the method in the second aspect or any possible implementation manner of the second aspect.
  • a network including a controller and a plurality of forwarding nodes, wherein the controller is used to perform the method in the first aspect or any possible implementation manner of the first aspect; the multiple forwarding The first forwarding node in the node is used to perform the method in the second aspect or any possible implementation manner of the second aspect.
  • the first forwarding node is a head node, and the opposite node corresponding to the first forwarding node is a tail node; or, the first forwarding node is a tail node and the opposite node corresponding to the first forwarding node Is the head node.
  • the network may be a network that supports segmented routing traffic engineering SR-TE, for example, an SDN network.
  • a computer-readable storage medium that stores a program that causes a controller to execute the first aspect described above and any of its various implementations to seamlessly configure Forwarding detection method of SBFD mechanism.
  • a computer-readable storage medium stores a program that causes a forwarding node to perform the second aspect described above, and any one of its various implementations in a seamless two-way configuration Forwarding detection method of SBFD mechanism.
  • the present application also provides a computer program product containing instructions that, when run on a computer, causes the computer to perform the method for configuring the seamless two-way forwarding detection SBFD mechanism in the above aspects.
  • an apparatus for configuring a seamless two-way forwarding detection SBFD mechanism includes a processor, a memory, and a transceiver.
  • the processor is connected to the memory and the transceiver.
  • the memory is used to store instructions
  • the processor is used to execute the instructions
  • the transceiver is used to communicate with other network elements under the control of the processor.
  • FIG. 1 is a schematic diagram of a network scenario to which an embodiment of the present application is applied;
  • Figure 2 is an example diagram of SBFD mechanism for reachability detection
  • FIG. 3 is a schematic diagram of a method for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application
  • FIG. 4 is a schematic block diagram of an apparatus for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application
  • FIG. 5 is a schematic block diagram of an apparatus for configuring a SBFD mechanism for seamless bidirectional forwarding detection according to another embodiment of the present application
  • FIG. 6 is a schematic structural diagram of an apparatus for configuring a SBFD mechanism for seamless bidirectional forwarding detection according to an embodiment of the present application
  • FIG. 7 is a schematic structural diagram of an apparatus for configuring a seamless two-way forwarding detection SBFD mechanism according to another embodiment of the present application. detailed description
  • the technical solutions of the embodiments of the present application are applicable to a network supporting segment routing (SR) technology or SR Policy technology, where the network includes a controller and multiple forwarding nodes.
  • the network may be an SDN network.
  • the tunnel established between the forwarding nodes may be a segment routing-traffic engineering (SR-TE) tunnel.
  • SR-TE segment routing-traffic engineering
  • the forwarding node supports the SR Policy service.
  • the forwarding node may be a switch, a router, or other devices or network elements that support forwarding packets or data. This embodiment of the present application does not limit this.
  • SRpolicy technology is a new tunnel drainage technology developed on the basis of SR technology.
  • SR-TE calculates the path according to the Color attribute required by the service level agreement (SLA) representing the service tunnel.
  • SLA service level agreement
  • the service network head node matches the corresponding tunnel to realize the forwarding of service traffic through the extended service routing Color community attribute and the information of the remote node of the network.
  • SLA service level agreement
  • the SR tunnel path can be customized for services with specific SLA requirements, and the application-level service forwarding network can be subdivided.
  • FIG. 1 shows a schematic diagram of a network scenario to which an embodiment of the present application is applied.
  • the network includes a controller (or network manager) and a forwarding node (for example, the forwarding node includes a head node RT1, an intermediate node RT2, and a tail node RT3).
  • the controller can deliver the SR policy message to the head node RT1 and the tail node RT3, so as to deploy the SR policy service in the network.
  • Node labels and adjacent labels are pre-distributed by any forwarding node through IGP routing.
  • the controller collects network topology and label space information through border gateway link state protocol (BGP-LS) messages.
  • the controller provides an interface; users plan VPN service source and sink nodes (RT1-RT3) and diversion strategies (correspondence between Color and tunnel service level agreement SLA calculation constraints) for specific private network users.
  • the controller calculates the SR policy tunnel path from the head node RT1 to the tail node RT3, and converts the calculated tunnel path into a label stack; the controller encapsulates the path label stack in the SR policy border gateway protocol through a session of the BGP SR policy address family (border gateway protocol, BGP)
  • the session message is delivered to the head node RT1.
  • the tail node RT3 injects the Color extended community attribute into the private network route of a specific user, and delivers the BGP routing policy.
  • the tail node RT3 advertises the BGP route carrying the Color community attribute to the head node RT1.
  • the head node RT1 stores the BGP route delivered by the tail node RT3, and generates a BGP routing table.
  • the head node RT1 matches the SR Policy sent by the controller based on the stored BGP route, and establishes the SR policy tunnel after the match is successful, connects the next hop of the route to the SR policy tunnel, and the ingress specific user traffic is based on the route
  • the next hop in the table matches the BSID 30027 to direct traffic to the SR policy tunnel for forwarding.
  • the head node RT1 refers to a traffic ingress node.
  • the tail node RT3 refers to the traffic exit node.
  • SBFD is a fast detection protocol. SBFD achieves the purpose of reachability detection by quickly and continuously releasing protocol messages. As shown in Figure 2, the SBFD mechanism is divided into an initiator and a reflector. Before the link is detected, the initiator and the reflector send SBFD control packets (SBFD Control Packet) to notify the SBFD descriptor (Discriminator) and other information. During link detection, the initiator actively sends the SBFD Echo message, and the reflector loops back the message according to the local situation. The initiator determines the local status based on the reflected message. When SBFD is applied to SR scene detection, there are mainly two scenarios: SBFD for SR LSP and SBFD for SR-TE LSP. In the SR scenario where SBFD detects SR, the SBFD initiator-to-reflector path takes MPLS label forwarding, and the reflective end takes the multi-hop IP path to the initiator return path.
  • SBFD Control Packet SBFD Control Packet
  • SBFD descriptor Discriminator
  • the initiator has SBFD state machine mechanism and detection mechanism.
  • the initiator's state machine has only Up and Down states, and the outgoing messages are only Up and Down states, and can only receive Up or Admin Down messages.
  • the SBFD message is sent from the initiator to the reflector.
  • the initial state of the message is Down and the destination port number of the message is 7784.
  • the head and tail nodes should not be confused with the initiating reflector.
  • the head node and the tail node are distinguished from the perspective of the entrance and exit of the tunnel traffic in the network; and the initiator and the reflector are distinguished from the perspective of the SBFD mechanism for packet reachability detection.
  • the head node may be the initiator and the corresponding tail node may be the reflector; or, the head node may be the reflector and the corresponding tail node may be the initiator.
  • the SBFD instances in the forwarding node are all statically configured by the user, do not support selective management based on service dynamics, and are not flexible enough.
  • the embodiment of the present application intends to propose a method for configuring a seamless two-way forwarding detection SBFD mechanism to dynamically configure SBFD instances for forwarding nodes, so as to achieve more flexible and dynamic deployment.
  • FIG. 3 shows a schematic diagram of a method 300 for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application.
  • the method 300 is applied to a network that supports segmented routing traffic engineering SR-TE, and the network includes a controller and multiple forwarding nodes. As shown in FIG. 3, the method 300 includes:
  • the controller determines SBFD configuration information according to the configuration state of the SBFD mechanism of the first forwarding node among the multiple forwarding nodes.
  • the SBFD configuration information includes: required for configuring an SBFD instance associated with the segment routing SR service. information.
  • the SR service may be an SR Policy service.
  • the relevant configuration process of the SR Policy service can be described above.
  • the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver of the first forwarding node, and a field indicating whether the SBFD configuration information is SBFD (For example, when the field value is 1, it indicates SBFD, and when the field value is 0, it indicates ordinary BFD), the field of the local distinguisher resource pool of the first forwarding node, and the peer distinguisher of the first forwarding node Fields and reserved fields of the resource pool.
  • the controller can extend the address family to the BGP protocol and add the above SBFD configuration information. For example, based on the BGP SR-Policy multi-protocol extended address family, the controller adds a BFD extended community attribute to carry the above SBFD configuration information. In other words, the controller can advertise the SBFD configuration information through BGP-SR-Policy address family routing.
  • the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver of the first forwarding node, and a field indicating whether the SBFD configuration information is SBFD , The field of the local discriminator resource pool of the first forwarding node, the field of the peer discriminator resource pool of the first forwarding node, and the like.
  • the field used to indicate the type of the transceiver of the first forwarding node may be the Flags field to indicate whether the first forwarding node is the initiator or the reflector; the field used to indicate whether the SBFD configuration information is SBFD may be Type field to indicate the type of the SBFD configuration information (types may include ordinary BFD or SBFD, etc.); the field of the local discriminator resource pool of the first forwarding node may be the Local Discriminatiors field; the first forwarding node Fields such as the peer discriminator resource pool field can be the Remote Discriminatiors field.
  • the SBFD configuration information may also include other optional fields, such as Optional Para (Variable), which may specifically include: a field (Min-tx-interval field) used to indicate the minimum transmission interval of the control message, Fields used to indicate the minimum reception interval of control packets (Min-rx-interval field), fields used to indicate the local detection multiple of the BFD session (Detect-multiplier field), and used to indicate authentication data (secret key) Fields for part of the length information (AuthLenth field), a field for indicating the authentication type of the control message (AuthType field), a field for indicating the authentication data (AuthenticationData field), etc.
  • Optional Para Variable
  • control message here may be a BFD control message or an SBFD control message, which is not specifically limited, and what control message can be based on which BFD mechanism (such as the SBFD mechanism or Ordinary BFD mechanism or link bundling Link (Bandle BFD mechanism) to decide.
  • BFD mechanism such as the SBFD mechanism or Ordinary BFD mechanism or link bundling Link (Bandle BFD mechanism) to decide.
  • the embodiments of the present application do not specifically limit the fields included in the SBFD configuration information, and may be determined based on actual needs.
  • the fields included in the SBFD configuration information may be one or more of the above fields , Can also include other fields.
  • the BGP protocol can be extended as follows, so that BGP carries the SBFD configuration information, and an example of a format in which the BGP protocol adds an extended community attribute is as follows:
  • the extended BGP packet carries the Type field, flag field, reserved field, local discriminator local field, discriminatior field, remote discriminator remote field, optional parameter Optional Para or variable field.
  • Type field is used to identify the type of BFD.
  • multiple types of BFD need to be deployed simultaneously, multiple BFD extended community attributes need to be carried.
  • Flags field format is as follows:
  • the R bit represents Reflector, which is used to indicate the reflecting end or initiating end of SBFD. For example, when R is set to 1, it indicates the reflective end of SBFD; when R is set to 0, it indicates the initiator of SBFD.
  • the P bit indicates Passive, which is used to indicate the reflective or initiating end of BFD. When set to 1, it indicates the reflection end of the ordinary BFD, and when set to 0, it indicates the origination end of the ordinary BFD.
  • the R bit When the R bit is set to 0, it indicates the initiator of SBFD.
  • the local discriminator local field carries the local discriminator required to create SBFD or BFD, and the length is 4 bytes;
  • the remote discriminator Remote Discriminatior field Carry the remote discriminator required to create SBFD or BFD.
  • the local Discriminatior field when the local Discriminatior field is set, it means that the segment specifier for creating SBFD or BFD is not specified and can be configured locally or automatically generated by the forwarding node.
  • the Remote Discriminatior field when the Remote Discriminatior field is set, it indicates that the remote discriminator to create the SBFD instance is not specifically specified, and can be locally configured or automatically generated by the forwarding node.
  • the local discriminator local field carries the reflection end discriminator (Reflector Discriminatior) required to create SBFD or BFD.
  • the Remote Discriminatior field is set to zero by default.
  • Optional Para field format is as follows:
  • the embodiment of the present application may carry the minimum sending interval of the BFD control message through the Min-tx-interval field, in units of microseconds.
  • the “BFD control message” referred to in the above “Min-tx-interval field” is only an example, and the embodiment of the present application does not limit the type of BFD, which may be ordinary BFD or SBFD, depending on The controller configures which BFD mechanism to forward the node.
  • the "BFD control message” involved in the "optional field” can also be replaced with "SBFD control message”.
  • the "BFD control message” involved in the optional field below can also be explained similarly, and will not be repeated here.
  • the Min-rx-interval field may be used to carry the minimum receiving interval of the BFD control message, in microseconds.
  • the Detect-multiplier field may be used to carry the local detection multiple of the BFD session.
  • the embodiment of the present application may carry the authentication type of the BFD control message through the AuthType field, which has the following values:
  • each encryption algorithm may be assigned a type value to refer to the corresponding authentication type. It should be understood that the above seven values may correspond to the encryption algorithm in the industry standard respectively.
  • the relevant explanation or description of the encryption algorithm please refer to the description of the prior art, and the description of the encryption algorithm will not be expanded in detail here.
  • the embodiment of the present application may carry the length information of the authentication data (secret key) through the AuthLenth field.
  • the embodiment of the present application may carry authentication data (secret key) information through the Authentication Data field.
  • the controller may determine the configuration state of the SBFD in the forwarding node, and then determine the corresponding SBFD configuration information for the forwarding node based on whether the SBFD mechanism is configured in the forwarding node.
  • the SBFD configuration information determined by the controller for the first forwarding node includes required for the SBFD instance of the first forwarding node Information to facilitate the first forwarding node to create an SBFD instance; when the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information determined by the controller for the first forwarding node includes the SBFD used to adjust the configured Configuration information.
  • “adjust the configuration parameters of the configured SBFD” can be interpreted as "supplement, update, or delete the configuration parameters of the configured SBFD" and other operations.
  • the controller sends a BGP message to the first forwarding node, where the BGP message carries the SBFD configuration information.
  • the first forwarding node receives the BGP message and obtains the SBFD configuration information.
  • the controller may send the SBFD configuration information to the first forwarding node through a BGP message.
  • the first forwarding node configures the SBFD instance based on the SBFD configuration information carried in the BGP message.
  • the first forwarding node may be a head node or a tail node, which is not limited.
  • the first forwarding node After receiving the SBFD configuration information, the first forwarding node configures the SBFD instance associated with the SR service; after the SBFD instance associated with the SR service is successfully configured, the first forwarding node and the first forwarding node
  • the peer node corresponding to the forwarding node performs SBFD negotiation.
  • the peer node corresponding to the first forwarding node refers to a node that needs to establish SBFD negotiation with the first forwarding node.
  • the first forwarding node is the head node, and the opposite node corresponding to the first forwarding node is the tail node; or, the first forwarding node is the tail node, and the opposite node corresponding to the first forwarding node is the head node, which is not specific. limited.
  • the SBFD configuration information may be delivered separately, or may be delivered together with the SR service associated with the SBFD configuration information, which is not limited.
  • the controller may assign different values to the R bit, P bit of the Flag field in the SBFD configuration information, the local discriminator local field, and the remote discriminator remote field to distinguish the head node or the tail node SBFD configuration information.
  • the format of the SBFD configuration information received by the head node in the BGP SR-Policy route may be as follows:
  • the Type field is set to 0x01, indicating that SBFD type protection is currently used; the R bit of the Flag field is 0, indicating that the head node is the initiator of SBFD; the Local Discriminatior field can be set to A specific value in the local discriminator resource pool. In particular, when set to 0, it is locally configured by the forwarding node or automatically generated.
  • the Remote Discriminatior field is set to a specific value in the peer discriminator resource pool. In particular, when set to 0, it is configured locally by the repeater or obtained by other means.
  • the peer refers to the peer of the head node, such as the tail node.
  • the head node can be matched with Local Discriminatior and Remote Discriminatior to create an SBFD instance.
  • the head node needs to read the Optional Para field.
  • the format of the Optional Para field is as follows:
  • the controller can specify the minimum message sending/receiving interval, detection time period, and authentication encryption algorithm for the head node through the Optional Para field described above.
  • the head node After receiving the SBFD configuration information sent by the controller, the head node may create or adjust the SBFD instance based on the specific content of the SBFD configuration information.
  • the format of the SBFD configuration information received by the tail node in the BGP SR-Policy route may be as follows:
  • Flags field format is as follows:
  • the Type field is set to 0x01, indicating that the SBFD type protection is currently used; the R bit position in the Flag field is 1, indicating that RT3 is the SBFD reflective end; the P bit position in the Flag field is 0, indicating that it does not need to be configured as a BFD reflective end; Local The Discriminatior field is set to the same value as the Remote Discriminatior field in the head node.
  • the controller can specify the minimum message sending/receiving interval, detection time period, and authentication encryption algorithm for the tail node through the Optional Para field described above.
  • the tail node After receiving the SBFD configuration information sent by the controller, the tail node can create or adjust the SBFD instance based on the specific content of the SBFD configuration information.
  • the head node if both the head node and the tail node receive the BFD extended community attribute delivered by the controller, and the head node and the tail node complete the service deployment according to the above SBFD configuration information carried in the attribute, the head node negotiateate the SBFD service with the tail node. If the negotiation between the head node and the tail node is successful, the SBFD for SR-Policy service is successfully created.
  • the SBFD configuration information includes information required for the first forwarding node to create an SBFD instance
  • the first forwarding node configuring the SBFD instance associated with the SR service according to the SBFD configuration information includes:
  • the first forwarding node Based on the SBFD configuration information, the first forwarding node creates a new SBFD instance associated with the SR service.
  • the controller can separately deliver the SBFD configuration information to the first forwarding node through BGP packets, or it can also simultaneously deliver the information for creating SR services and the SBFD configuration through BGP packets. information.
  • SBFD configuration information needs to contain all necessary information for creating SBFD.
  • the head node may first create the SR based on the BGP packet when receiving the BGP message and the SBFD configuration information from the BGP message delivered by the controller
  • the information of the service creates an SR-Policy service, and immediately creates an SBFD instance associated with the SR-Policy service after the SR-Policy service is established.
  • the tail node may first create the SR service information based on the message Create an SR-Policy service.
  • the SR-Policy service After the SR-Policy service is established, create the configuration of the reflective end of the SBFD instance associated with the SR-Policy service. After creating the SBFD instance, wait for SBFD negotiation with the head node. Or, in the scenario of establishing a one-way tunnel, when the tail node does not need the information issued by the controller to create the SR-Policy service, the network layer reachable information (network layer reachable information) of the SR service received by the tail node , NLRI) The endpoint will be set to zero (zero means that the BGP message sent by the controller to the tail node will not carry the information used to create the SR-Policy service).
  • the embodiment of the present application does not specifically limit the order in which the first forwarding node creates the SR-Policy service or the SBFD instance first, and may be determined based on actual requirements.
  • the head node and the tail node can negotiate SBFD and associate the SBFD instance with the SR-Policy service to provide fault detection for the SR service.
  • the SBFD configuration information includes information for adjusting configuration parameters of the SBFD configured in the first forwarding node, wherein the first forwarding node is based on the SBFD Configuration information, configuring the SBFD instance associated with the SR service, including:
  • the first forwarding node adjusts the configuration parameters of the configured SBFD based on the SBFD configuration information.
  • the controller does not need to carry all information for creating an SBFD instance in the BGP packet.
  • the first forwarding node may use the original statically configured SBFD basic configuration, such as a local static configuration or an automatically generated configuration value.
  • some information in the SBFD may be carried as a supplement to the binding strategy and/or parameters corresponding to the SBFD configuration.
  • Local Discriminatior and Remote Discriminatior can be set to zero, and Local Discriminatior and Remote Discriminatior can be set to zero. This means that information about Local Discriminatior and Remote Discriminatior is not carried, and the remaining fields can be
  • the controller is newly configured for the first forwarding node (refer to the foregoing description).
  • the format of the SBFD configuration information received by the first forwarding node in the BGP SR-Policy route may be as follows:
  • the controller sets the Local Discriminatior field to 0 and the Remote Discriminatior field to 0, which means that these two fields use the statically configured values in the first forwarding node.
  • the value carried in the SBFD configuration information should be used to create a new SBFD instance and associate it with the SR-Policy service.
  • the SBFD configuration information delivered by the controller may carry part of the information, so that the first forwarding node can adjust the parameters of the SBFD basic configuration.
  • the first forwarding node may update the SBFD instance. If the SR service in the first forwarding node has been associated with the SBFD instance, but the association relationship needs to be changed, the SBFD configuration information delivered by the controller to the first forwarding node may be the configuration information of the new SBFD instance. The first forwarding node refreshes the SBFD instance that has been associated with the SR service based on the configuration information of the new SBFD instance.
  • the BGP message sent by the controller to the first forwarding node may carry the configuration information of the SR service and the SBFD instance associated with the SR service.
  • the BGP message delivered by the controller to the first forwarding node carries the information of the SR service, and No longer carry SBFD configuration information.
  • the first forwarding node may delete or unbind the association relationship between the SBFD instance and the SR service.
  • the first forwarding node may delete the SBFD instance that has been created, which can release resources, which helps reduce the occupation of forwarding nodes and network resources.
  • the first forwarding node does not initially have a static configuration of SBFD
  • after configuring the first forwarding node with an SBFD instance associated with a certain SR service by using the method of the embodiment of the present application if the first forwarding node subsequently receives a need If the BGP message of the SR service is revoked or deleted, and the SR service has been completely revoked, the SBFD instance associated with the SR service can also be deleted, so as to save resources.
  • the SBFD configuration information in the embodiment of the present application may be associated with multiple SR services.
  • the controller may deliver multiple BGP messages corresponding to multiple SR services to the first forwarding node, where each BGP message carries the same SBFD configuration information.
  • the first forwarding node may multiplex the SBFD configuration information to multiple different SR services.
  • the controller when the controller delivers the BGP message to the first forwarding node, it may deliver a BGP message to the first forwarding node, where the BGP message carries configuration information of multiple SR services and the same SBFD configuration information.
  • the first forwarding node may multiplex the SBFD configuration information to multiple different SR services.
  • FIG. 4 shows a schematic block diagram of an apparatus 400 for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application.
  • the device 400 may be a controller.
  • the device 400 includes:
  • the determining module 410 is configured to determine SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node among the multiple forwarding nodes, where the SBFD configuration information includes: configuring the SBFD instance associated with the segment routing SR service Required information;
  • the transceiver module 420 is configured to send a BGP message to the first forwarding node, where the BGP message carries the SBFD configuration information.
  • the determining module 410 is configured to determine SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node among the multiple forwarding nodes, specifically including:
  • the SBFD configuration information includes information required for the first forwarding node to create an SBFD instance
  • the SBFD configuration information includes information for adjusting configuration parameters of the SBFD configured in the first forwarding node.
  • the BGP message also carries information of the SR service.
  • the SBFD configuration information is associated with multiple SR services.
  • the first forwarding node is a head node among the multiple forwarding nodes, or the first forwarding node is a tail node among the multiple forwarding nodes.
  • the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver end of the first forwarding node, and indicating the SBFD configuration information Whether it is the field of SBFD, the field of the local discriminator resource pool of the first forwarding node, and the field of the peer discriminator resource pool of the first forwarding node.
  • the device 400 may correspond to the method on the controller side in the foregoing method embodiments, and the above and other management operations and/or functions of the various modules in the device 400 are to implement the corresponding Steps, therefore, the beneficial effects in the foregoing method embodiments can also be achieved, and for the sake of brevity, they will not be repeated here.
  • FIG. 5 shows a schematic structural diagram of an apparatus 500 for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application.
  • the device 500 includes:
  • the processor 501 the memory 502, and the transceiver 503.
  • the processor 501, the memory 502, and the transceiver 503 communicate with each other through an internal connection path, and transfer control and/or data signals.
  • the processor 501, the memory 502, and the transceiver 503 may be implemented by a chip.
  • the memory 502 may store program codes, and the processor 501 calls the program codes stored in the memory 502 to implement corresponding functions of the terminal device.
  • the processor 501 is configured to determine SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node among the multiple forwarding nodes, where the SBFD configuration information includes: configuring SBFD associated with the segment routing SR service Information required by the example; the transceiver 503 is used to send a BGP packet to the first forwarding node, where the BGP packet carries the SBFD configuration information.
  • the determination module 410 in FIG. 4 may correspond to the processor 501 in FIG. 5, and the transceiver module 420 may correspond to the transceiver 503 in FIG. 5.
  • the transceiver can be divided into two parts: a receiver and a transmitter.
  • FIG. 6 shows a schematic block diagram of an apparatus 600 for configuring a seamless bidirectional forwarding detection SBFD mechanism according to an embodiment of the present application.
  • the device 600 is applied to a network that supports segmented routing traffic engineering SR-TE, and the network includes a controller and multiple forwarding nodes.
  • the device 600 is the first forwarding node among the multiple forwarding nodes.
  • the device 600 includes:
  • the transceiver module 610 is configured to receive a BGP message sent by the controller, where the BGP message carries SBFD configuration information, and the SBFD configuration information includes: required for configuring an SBFD instance associated with the segment routing SR service information;
  • the processing module 620 is configured to configure an SBFD instance associated with the SR service according to the SBFD configuration information
  • the processing module 620 is further configured to, after the SBFD instance associated with the SR service is successfully configured, perform SBFD negotiation with the peer node corresponding to the first forwarding node.
  • the SBFD configuration information includes information required for the first forwarding node to create an SBFD instance
  • processing module 620 is configured to configure an SBFD instance associated with the SR service according to the SBFD configuration information, specifically including:
  • the first forwarding node Based on the SBFD configuration information, the first forwarding node creates a new SBFD instance associated with the SR service.
  • the SBFD configuration information includes configuration parameters for adjusting the SBFD configured in the first forwarding node Information; wherein, the processing module 620 is configured to configure an SBFD instance associated with the SR service according to the SBFD configuration information, specifically including:
  • the configuration parameters of the configured SBFD are adjusted.
  • the BGP message also carries information about the SR service.
  • the SBFD configuration information is associated with multiple SR services.
  • the first forwarding node is a head node among the multiple forwarding nodes, or the first forwarding node is a tail node among the multiple forwarding nodes.
  • the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver of the first forwarding node, and a field indicating whether the SBFD configuration information is SBFD , The field of the local discriminator resource pool of the first forwarding node, and the field of the peer discriminator resource pool of the first forwarding node.
  • the device 600 may correspond to the method on the forwarding node side in the foregoing method embodiment, and the above and other management operations and/or functions of the various modules in the device 600 are respectively to implement the corresponding Steps, therefore, the beneficial effects in the foregoing method embodiments can also be achieved, and for the sake of brevity, they will not be repeated here.
  • FIG. 7 shows a schematic structural diagram of an apparatus 700 for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application.
  • the device 700 includes:
  • the processor 701, the memory 702, and the transceiver 703 communicate with each other through an internal connection path, and transfer control and/or data signals.
  • the processor 701, the memory 702, and the transceiver 703 may be implemented by a chip.
  • the memory 702 may store program codes, and the processor 701 calls the program codes stored in the memory 702 to implement corresponding functions of the terminal device.
  • the transceiver 703 is configured to receive a BGP message sent by the controller, where the BGP message carries SBFD configuration information, and the SBFD configuration information includes: required to configure an SBFD instance associated with the segment routing SR service Information; the processor 701 is configured to configure an SBFD instance associated with the SR service according to the SBFD configuration information; after the SBFD instance associated with the SR service is successfully configured, communicate with the first forwarding node The corresponding peer node performs SBFD negotiation.
  • the processing module 620 in FIG. 6 may correspond to the processor 701 in FIG. 7, and the transceiver module 610 may correspond to the transceiver 703 in FIG. 7.
  • the transceiver can be divided into two parts: a receiver and a transmitter.
  • the present application also provides a network including a controller and multiple forwarding nodes.
  • the controller can execute the method performed by the controller described above.
  • the first forwarding node may be included in the multiple forwarding nodes.
  • the first forwarding node may be the head node of an SR Policy tunnel, or the first forwarding node may be the tail node of an SR Policy tunnel.
  • the method disclosed in the above embodiments of the present application may be applied to a processor, or implemented by a processor.
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the foregoing method embodiment may be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software.
  • the aforementioned processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an existing programmable gate array (Field Programmable Gate Array, FPGA), or other available Programming logic devices, discrete gates or transistor logic devices, discrete hardware components, can also be a system chip (system on chip, SoC), can also be a central processor (central processor (unit), CPU), can also be a network processor (network processor (NP), can also be a digital signal processing circuit (digital signal processor, DSP), can also be a microcontroller (micro controller (unit), MCU), can also be a programmable controller (programmable logic device (PLD) or other Integrated chip.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • Programming logic devices discrete gates or transistor logic devices, discrete hardware components, can also be a system chip (system on chip, SoC), can also be a
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application may be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, and registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically Erasable programmable read only memory (Electrically, EPROM, EEPROM) or flash memory.
  • the volatile memory may be a random access memory (Random Access Memory, RAM), which is used as an external cache.
  • RAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDR SDRAM
  • enhanced SDRAM ESDRAM
  • Synchlink DRAM SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • the term "article of manufacture” as used in this application encompasses a computer program accessible from any computer-readable device, carrier, or medium.
  • the computer-readable medium may include, but is not limited to: magnetic storage devices (for example, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (for example, compact discs (CDs), digital universal discs (digital discs, digital discs, DVDs)) Etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.).
  • various storage media described herein may represent one or more devices and/or other machine-readable media for storing information.
  • machine-readable medium may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
  • 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, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application essentially or part of the contribution to the existing technology or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
  • the foregoing storage media include various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory ROM, a random access memory RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

The present invention provides a method and device for configuring a seamless bidirectional forwarding detection (SBFD) mechanism. An SBFD mechanism is configured for a forwarding node by means of a controller, dynamic configuration of the SBFD mechanism is achieved, and protection is provided for a tunnel. The method comprises: the controller determines SBFD configuration information according to a SBFD mechanism configuration status of a first forwarding node in a plurality of forwarding nodes, the SBFD configuration information comprising information required for configuring a SBFD instance related to a segment routing (SR) service; and the controller sends to the first forwarding node a border gateway protocol (BGP) message, the BGP message carrying the SBFD configuration information therein.

Description

配置无缝双向转发检测SBFD机制的方法和装置Method and device for configuring seamless two-way forwarding detection SBFD mechanism
本申请要求于2018年12月28日提交中国国家知识产权局、申请号为201811626536.9、申请名称为“配置无缝双向转发检测SBFD机制的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application submitted to the State Intellectual Property Office of China on December 28, 2018, with the application number 201811626536.9 and the application name as "Method and Device for Configuring Seamless Two-Way Forwarding Detection SBFD Mechanism", all of its content Incorporated by reference in this application.
技术领域Technical field
本申请涉及计算机领域,并且更具体地,涉及一种配置无缝双向转发检测SBFD机制的方法和装置。The present application relates to the computer field, and more specifically, to a method and apparatus for configuring a seamless two-way forwarding detection SBFD mechanism.
背景技术Background technique
段路由(segment routing,SR)是基于源路由理念而设计的在网络上转发数据包的一种协议。SR多协议标签交换(multi-protocol label switch,MPLS)是指基于MPLS转发平面的Segment Routing。分段路由流量工程(segment routing-traffic engineering,SR-TE)是使用SR作为控制协议的一种新型的TE隧道技术。SR-TE是指基于TE的约束属性,利用SR协议创建的隧道。控制器负责计算隧道的转发路径,并将与路径严格对应的标签栈下发给转发器。在SR-TE隧道的入节点上,转发器根据标签栈,即可控制报文在网络中的传输路径。Segment routing (SR) is a protocol designed to forward data packets on the network based on the concept of source routing. SR multi-protocol label switching (multi-protocol label switch, MPLS) refers to Segment Routing based on the MPLS forwarding plane. Segment routing-traffic engineering (SR-TE) is a new type of TE tunneling technology that uses SR as a control protocol. SR-TE refers to the tunnel based on the constraint attribute of TE and created by SR protocol. The controller is responsible for calculating the forwarding path of the tunnel and delivering the label stack corresponding to the path to the repeater. On the ingress node of the SR-TE tunnel, the repeater can control the transmission path of the packet in the network according to the label stack.
SR-TE由于没有协议建立,只要标签栈下发,链路状态包(link-state packet,LSP)就会建立成功,且除了撤销标签栈之外,LSP不会出现协议Down的情况。所以SR-TE LSP故障检测需要依靠部署双向转发检测(bidirectional forwarding detection,BFD)检测,通过BFD故障检测切换备份LSP。无缝双向转发检测(seamless BFD,SBFD)简化了BFD的状态机,缩短了协商时间,提高了整个网络的灵活性,能够支撑SR隧道检测。目前采用SBFD对SR策略(Policy)业务提供保护。但是,SBFD目前仅支持在转发器上静态配置,通过静态配置SBFD实例和参数为已经创建好的SR Policy隧道提供端到端故障检测,无法及时动态地提供隧道保护。Since SR-TE has no protocol establishment, as long as the label stack is delivered, a link-state packet (LSP) will be established successfully, and except for the cancellation of the label stack, the LSP will not have a protocol Down situation. Therefore, SR-TE LSP failure detection needs to rely on the deployment of bidirectional forwarding detection (bidirectional forwarding detection, BFD) detection, and switch back-up LSPs through BFD failure detection. Seamless bidirectional forwarding detection (seamless BFD, SBFD) simplifies the BFD state machine, shortens the negotiation time, improves the flexibility of the entire network, and can support SR tunnel detection. Currently, SBFD is used to provide protection for SR policy (Policy) services. However, SBFD currently only supports static configuration on transponders. By statically configuring SBFD instances and parameters to provide end-to-end fault detection for the SR Policy tunnel that has been created, it cannot provide tunnel protection in a timely and dynamic manner.
发明内容Summary of the invention
有鉴于此,本申请提供一种配置无缝双向转发检测SBFD机制的方法和装置,能够实现SBFD的动态部署,有助于及时提供隧道保护。In view of this, the present application provides a method and device for configuring a seamless two-way forwarding detection SBFD mechanism, which can realize the dynamic deployment of SBFD and help to provide timely tunnel protection.
第一方面,提供了一种配置无缝双向转发检测SBFD机制的方法,所述方法应用于支持分段路由流量工程SR-TE的网络,所述网络包括控制器和多个转发节点,所述方法包括:控制器根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;控制器向第一转发节点发送边界网关协议BGP报文,BGP报文中携带所述SBFD配置信息,即控制器可以为转发节点动态配置SBFD实例,不需要用户为转发节点静态配置SBFD实例,能够实现更灵活的动态部署,有助于及时提供隧道保护。In a first aspect, a method for configuring a seamless two-way forwarding detection SBFD mechanism is provided. The method is applied to a network that supports segmented routing traffic engineering SR-TE. The network includes a controller and multiple forwarding nodes. The method includes: the controller determines the SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node among the plurality of forwarding nodes, and the SBFD configuration information includes: information required to configure an SBFD instance associated with the segment routing SR service ; The controller sends a border gateway protocol BGP message to the first forwarding node, and the BGP message carries the SBFD configuration information, that is, the controller can dynamically configure the SBFD instance for the forwarding node, and the user does not need to statically configure the SBFD instance for the forwarding node. It can realize more flexible and dynamic deployment and help to provide tunnel protection in time.
可选地,SR业务是SR Policy业务。Optionally, the SR service is an SR Policy service.
在一种可能的实现方式中,所述控制器根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,包括:在所述第一转发节点中没有配置SBFD机制的情况下,所述SBFD配置信息中包括用于所述第一转发节点创建SBFD实例所需的信息;在所述第一转发节点中配置了SBFD机制的情况下,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息。因此,不论第一转发节点中是否配置了SBFD机制,控制器均可以为第一转发节点生成相应的SBFD配置信息,使得第一转发节点基于SBFD配置信息进行SBFD实例的建立或调整,以满足转发节点的需求。In a possible implementation manner, the controller determines the SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node among the multiple forwarding nodes, including: no SBFD is configured in the first forwarding node In the case of a mechanism, the SBFD configuration information includes information required for the first forwarding node to create an SBFD instance; in the case where the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information It includes information for adjusting the configuration parameters of the SBFD configured in the first forwarding node. Therefore, regardless of whether the SBFD mechanism is configured in the first forwarding node, the controller can generate corresponding SBFD configuration information for the first forwarding node, so that the first forwarding node can establish or adjust the SBFD instance based on the SBFD configuration information to satisfy the forwarding Node needs.
在一种可能的实现方式中,所述BGP报文中还携带所述SR业务的信息。因此,控制器还可以在BGP报文中携带SR业务的信息,使得转发节点创建与SBFD实例相关联的SR业务。In a possible implementation manner, the BGP message also carries information of the SR service. Therefore, the controller may also carry the SR service information in the BGP message, so that the forwarding node creates the SR service associated with the SBFD instance.
在一种可能的实现方式中,所述SBFD配置信息与多个所述SR业务相关联。In a possible implementation manner, the SBFD configuration information is associated with multiple SR services.
在一种可能的实现方式中,所述第一转发节点是所述多个转发节点中的头节点,或者,所述第一转发节点是所述多个转发节点中的尾节点。In a possible implementation manner, the first forwarding node is a head node among the multiple forwarding nodes, or the first forwarding node is a tail node among the multiple forwarding nodes.
在一种可能的实现方式中,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段。In a possible implementation manner, the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver end of the first forwarding node, and indicating the SBFD configuration information Whether it is the field of SBFD, the field of the local discriminator resource pool of the first forwarding node, and the field of the peer discriminator resource pool of the first forwarding node.
可选地,所述SBFD配置信息中还可以包括可选字段。Optionally, the SBFD configuration information may further include an optional field.
第二方面,提供了一种配置无缝双向转发检测SBFD机制的方法,所述方法应用于支持分段路由流量工程SR-TE的网络,所述网络包括控制器和多个转发节点,所述方法包括:所述多个转发节点中的第一转发节点接收所述控制器发送的边界网关协议BGP报文,所述BGP报文中携带SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;所述第一转发节点根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例;在所述SR业务相关联的SBFD实例配置成功后,所述第一转发节点与所述第一转发节点对应的对端节点进行SBFD协商。因此,第一转发节点可以基于控制器下发的SBFD配置信息动态配置SBFD实例,不需要用户为第一转发节点静态配置SBFD实例,能够实现更灵活的动态部署,有助于及时提供隧道保护。In a second aspect, a method for configuring a seamless two-way forwarding detection SBFD mechanism is provided. The method is applied to a network that supports segmented routing traffic engineering SR-TE. The network includes a controller and multiple forwarding nodes. The method includes: a first forwarding node among the plurality of forwarding nodes receives a border gateway protocol BGP message sent by the controller, the BGP message carries SBFD configuration information, and the SBFD configuration information includes: configuration and The information required for the SBFD instance associated with the SR service of the segment route; the first forwarding node configures the SBFD instance associated with the SR service according to the SBFD configuration information; and configures the SBFD instance associated with the SR service After success, the first forwarding node performs SBFD negotiation with the peer node corresponding to the first forwarding node. Therefore, the first forwarding node can dynamically configure the SBFD instance based on the SBFD configuration information delivered by the controller, and the user does not need to statically configure the SBFD instance for the first forwarding node, which can realize more flexible and dynamic deployment and help provide timely tunnel protection.
可选地,SR业务是SR Policy业务。Optionally, the SR service is an SR Policy service.
在一种可能的实现方式中,在所述第一转发节点中没有配置SBFD机制的情况下,所述SBFD配置信息中包括用于所述第一转发节点创建SBFD实例所需的信息;所述第一转发节点基于所述SBFD配置信息,新建与所述SR业务相关联的SBFD实例。因此,第一转发节点可以基于控制器下发的SBFD配置信息,创建与SR业务相关联的SBFD实例。In a possible implementation manner, in a case where the SBFD mechanism is not configured in the first forwarding node, the SBFD configuration information includes information required for the first forwarding node to create an SBFD instance; the The first forwarding node creates a new SBFD instance associated with the SR service based on the SBFD configuration information. Therefore, the first forwarding node may create an SBFD instance associated with the SR service based on the SBFD configuration information delivered by the controller.
在一种可能的实现方式中,在所述第一转发节点中配置了SBFD机制的情况下,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息;所述第一转发节点基于所述SBFD配置信息,对已配置的SBFD的配置参数进行调整。因此,第一转发节点可以基于控制器下发的SBFD配置信息,调整与SR业务相关 联的SBFD实例。In a possible implementation manner, when the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes configuration parameters for adjusting the SBFD configured in the first forwarding node Information; the first forwarding node adjusts the configuration parameters of the configured SBFD based on the SBFD configuration information. Therefore, the first forwarding node may adjust the SBFD instance associated with the SR service based on the SBFD configuration information delivered by the controller.
在一种可能的实现方式中,所述BGP报文中还携带所述SR业务的信息。因此,第一转发节点可以基于控制器在BGP报文中携带SR业务的信息,同时创建与SBFD实例相关联的SR业务。In a possible implementation manner, the BGP message also carries information of the SR service. Therefore, the first forwarding node may create the SR service associated with the SBFD instance based on the controller carrying SR service information in the BGP message.
在一种可能的实现方式中,所述SBFD配置信息与多个所述SR业务相关联。In a possible implementation manner, the SBFD configuration information is associated with multiple SR services.
在一种可能的实现方式中,所述第一转发节点是所述多个转发节点中的头节点,或者,所述第一转发节点是所述多个转发节点中的尾节点。In a possible implementation manner, the first forwarding node is a head node among the multiple forwarding nodes, or the first forwarding node is a tail node among the multiple forwarding nodes.
在一种可能的实现方式中,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段。In a possible implementation manner, the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver end of the first forwarding node, and indicating the SBFD configuration information Whether it is the field of SBFD, the field of the local discriminator resource pool of the first forwarding node, and the field of the peer discriminator resource pool of the first forwarding node.
可选地,所述SBFD配置信息中还可以包括可选字段。Optionally, the SBFD configuration information may further include an optional field.
第三方面,提供了一种控制器,该控制器包括用于执行上述第一方面或第一方面的任意可能的实现方式中的方法的模块。In a third aspect, a controller is provided, which includes a module for performing the method in the first aspect or any possible implementation manner of the first aspect.
第四方面,提供了一种转发节点,该转发节点包括用于执行上述第二方面或第二方面的任意可能的实现方式中的方法的模块。According to a fourth aspect, a forwarding node is provided. The forwarding node includes a module for performing the method in the second aspect or any possible implementation manner of the second aspect.
第五方面,提供了一种网络,该网络包括控制器和多个转发节点,其中,该控制器用于执行上述第一方面或第一方面的任意可能的实现方式中的方法;该多个转发节点中的第一转发节点用于执行上述第二方面或第二方面的任意可能的实现方式中的方法。According to a fifth aspect, a network is provided, the network including a controller and a plurality of forwarding nodes, wherein the controller is used to perform the method in the first aspect or any possible implementation manner of the first aspect; the multiple forwarding The first forwarding node in the node is used to perform the method in the second aspect or any possible implementation manner of the second aspect.
可选地,该第一转发节点是头节点,与该第一转发节点对应的对端节点是尾节点;或者,该第一转发节点是尾节点,与该第一转发节点对应的对端节点是头节点。Optionally, the first forwarding node is a head node, and the opposite node corresponding to the first forwarding node is a tail node; or, the first forwarding node is a tail node and the opposite node corresponding to the first forwarding node Is the head node.
可选地,该网络可以是支持分段路由流量工程SR-TE的网络,比如,SDN网络。Alternatively, the network may be a network that supports segmented routing traffic engineering SR-TE, for example, an SDN network.
第六方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有程序,该程序使得控制器执行上述第一方面,及其各种实现方式中的任一种配置无缝双向转发检测SBFD机制的方法。According to a sixth aspect, there is provided a computer-readable storage medium that stores a program that causes a controller to execute the first aspect described above and any of its various implementations to seamlessly configure Forwarding detection method of SBFD mechanism.
第七方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有程序,该程序使得转发节点执行上述第二方面,及其各种实现方式中的任一种配置无缝双向转发检测SBFD机制的方法。In a seventh aspect, a computer-readable storage medium is provided, the computer-readable storage medium stores a program that causes a forwarding node to perform the second aspect described above, and any one of its various implementations in a seamless two-way configuration Forwarding detection method of SBFD mechanism.
第八方面,本申请还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面中的配置无缝双向转发检测SBFD机制的方法。In an eighth aspect, the present application also provides a computer program product containing instructions that, when run on a computer, causes the computer to perform the method for configuring the seamless two-way forwarding detection SBFD mechanism in the above aspects.
第九方面,提供了一种配置无缝双向转发检测SBFD机制的装置,该装置包括处理器、存储器和收发器。处理器与存储器和收发器连接。存储器用于存储指令,处理器用于执行该指令,收发器用于在处理器的控制下与其他网元进行通信。该处理器执行该存储器存储的指令时,该执行使得该处理器执行上述各方面中的配置无缝双向转发检测SBFD机制的方法。In a ninth aspect, an apparatus for configuring a seamless two-way forwarding detection SBFD mechanism is provided. The apparatus includes a processor, a memory, and a transceiver. The processor is connected to the memory and the transceiver. The memory is used to store instructions, the processor is used to execute the instructions, and the transceiver is used to communicate with other network elements under the control of the processor. When the processor executes the instructions stored in the memory, the execution causes the processor to execute the method for configuring the seamless two-way forwarding detection SBFD mechanism in the above aspects.
附图说明BRIEF DESCRIPTION
图1是应用本申请实施例的网络场景示意图;FIG. 1 is a schematic diagram of a network scenario to which an embodiment of the present application is applied;
图2是SBFD机制进行可达性检测的一种示例图;Figure 2 is an example diagram of SBFD mechanism for reachability detection;
图3是根据本申请实施例的配置无缝双向转发检测SBFD机制的方法的示意图;3 is a schematic diagram of a method for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application;
图4是根据本申请实施例的配置无缝双向转发检测SBFD机制的装置的示意框图;4 is a schematic block diagram of an apparatus for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application;
图5是根据本申请另一实施例的配置无缝双向转发检测SBFD机制的装置的示意框图;5 is a schematic block diagram of an apparatus for configuring a SBFD mechanism for seamless bidirectional forwarding detection according to another embodiment of the present application;
图6是根据本申请实施例的配置无缝双向转发检测SBFD机制的装置的示意结构图;6 is a schematic structural diagram of an apparatus for configuring a SBFD mechanism for seamless bidirectional forwarding detection according to an embodiment of the present application;
图7是根据本申请另一实施例的配置无缝双向转发检测SBFD机制的装置的示意结构图。具体实施方式7 is a schematic structural diagram of an apparatus for configuring a seamless two-way forwarding detection SBFD mechanism according to another embodiment of the present application. detailed description
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in this application will be described below with reference to the drawings.
本申请实施例的技术方案适用于支持段路由(segment routing,SR)技术或SR Policy技术的网络其中,该网络中包括控制器和多个转发节点。比如,网络可以是SDN网络。转发节点之间建立的隧道可以是分段路由流量工程(segment routing-traffic engineering,SR-TE)隧道。转发节点支持SR Policy业务。应理解,在本申请实施例中,转发节点可以是交换机,路由器,也可以是其他支持转发报文或数据的设备或网元,本申请实施例,对此不作限定。The technical solutions of the embodiments of the present application are applicable to a network supporting segment routing (SR) technology or SR Policy technology, where the network includes a controller and multiple forwarding nodes. For example, the network may be an SDN network. The tunnel established between the forwarding nodes may be a segment routing-traffic engineering (SR-TE) tunnel. The forwarding node supports the SR Policy service. It should be understood that, in the embodiments of the present application, the forwarding node may be a switch, a router, or other devices or network elements that support forwarding packets or data. This embodiment of the present application does not limit this.
SR policy技术是在SR技术基础上发展的一种新的隧道引流技术。SR-TE算路按照代表业务隧道服务级别协议(service level agreement,SLA)要求的Color属性计算隧道路径。业务网络头结点通过扩展的业务路由Color团体属性和网络远端节点信息来匹配对应的隧道实现业务流量转发。通过SR Policy技术可以实现对具有特定SLA要求的业务定制SR隧道路径,实现应用级的业务转发网络细分。SR policy的进一步详细描述可以参见现有技术的介绍,这里不作赘述。SRpolicy technology is a new tunnel drainage technology developed on the basis of SR technology. SR-TE calculates the path according to the Color attribute required by the service level agreement (SLA) representing the service tunnel. The service network head node matches the corresponding tunnel to realize the forwarding of service traffic through the extended service routing Color community attribute and the information of the remote node of the network. Through the SRPolicy technology, the SR tunnel path can be customized for services with specific SLA requirements, and the application-level service forwarding network can be subdivided. For further detailed description of SRpolicy, please refer to the introduction of the prior art, which will not be repeated here.
为了便于理解和描述本申请实施例提出的方法,首先结合图1描述SR Policy业务建立流程。图1示出了应用本申请实施例的网络场景示意图。如图1所示,该网络包括控制器(或网管)和转发节点(比如,转发节点包括头节点RT1、中间节点RT2和尾节点RT3)。控制器可以将SR policy报文下发给头节点RT1和尾节点RT3,以便在该网络中部署SR policy业务。节点标签和邻接标签由任意一个转发节点通过IGP路由预分配。控制器通过边界网关链路状态协议(border gateway protocol link state,BGP-LS)报文收集网络拓扑和标签空间信息。控制器提供界面;用户为特定私网用户规划VPN业务源宿节点(RT1-RT3)、引流策略(Color与隧道服务级别协议SLA算路约束对应关系)。控制器计算出从头节点RT1到尾节点RT3的SR policy隧道路径,将计算出的隧道路径转换成标签栈;控制器通过BGP SR policy地址族的会话,将路径标签栈封装在SR policy边界网关协议(border gateway protocol,BGP)会话报文中,下发给头节点RT1。尾节点RT3给特定用户私网路由注入Color扩展团体属性,下发BGP路由策略。尾节点RT3将携带Color团体属性的BGP路由发布给头节点RT1。头节点RT1存储尾节点RT3下发的BGP路由,生成BGP路由表。头节点RT1基于存储的BGP路由与控制器下发的SR Policy BGP会话报文进行匹配,在匹配成功后建立SR policy隧道,将路由下一跳挂接到SR policy隧道,入口特定用户流量根据路由表下一跳匹配BSID 30027将流量引导到SR policy隧道上转发。In order to facilitate understanding and description of the method proposed in the embodiments of the present application, the process of establishing an SR Policy service will be described with reference to FIG. 1 first. FIG. 1 shows a schematic diagram of a network scenario to which an embodiment of the present application is applied. As shown in FIG. 1, the network includes a controller (or network manager) and a forwarding node (for example, the forwarding node includes a head node RT1, an intermediate node RT2, and a tail node RT3). The controller can deliver the SR policy message to the head node RT1 and the tail node RT3, so as to deploy the SR policy service in the network. Node labels and adjacent labels are pre-distributed by any forwarding node through IGP routing. The controller collects network topology and label space information through border gateway link state protocol (BGP-LS) messages. The controller provides an interface; users plan VPN service source and sink nodes (RT1-RT3) and diversion strategies (correspondence between Color and tunnel service level agreement SLA calculation constraints) for specific private network users. The controller calculates the SR policy tunnel path from the head node RT1 to the tail node RT3, and converts the calculated tunnel path into a label stack; the controller encapsulates the path label stack in the SR policy border gateway protocol through a session of the BGP SR policy address family (border gateway protocol, BGP) The session message is delivered to the head node RT1. The tail node RT3 injects the Color extended community attribute into the private network route of a specific user, and delivers the BGP routing policy. The tail node RT3 advertises the BGP route carrying the Color community attribute to the head node RT1. The head node RT1 stores the BGP route delivered by the tail node RT3, and generates a BGP routing table. The head node RT1 matches the SR Policy sent by the controller based on the stored BGP route, and establishes the SR policy tunnel after the match is successful, connects the next hop of the route to the SR policy tunnel, and the ingress specific user traffic is based on the route The next hop in the table matches the BSID 30027 to direct traffic to the SR policy tunnel for forwarding.
头节点RT1是指流量入口节点。尾节点RT3是指流量出口节点。The head node RT1 refers to a traffic ingress node. The tail node RT3 refers to the traffic exit node.
下面对本申请实施例涉及到的一些术语或概念作介绍。The following describes some terms or concepts involved in the embodiments of the present application.
SBFD是一种快速检测协议。SBFD通过快速不间断地发布协议报文做到可达性检测的目的。如图2所示,SBFD机制分为发起端和反射端,在链路检测之前,发起端和反射端通过互相发送SBFD控制报文(SBFD Control Packet)通告SBFD描述符(Discriminator)等信息。在链路检测时,发起端主动发送SBFD Echo报文,反射端根据本端情况环回此报文,发起端根据反射报文决定本端状态。SBFD应用到SR场景检测时,主要有SBFD for SR LSP和SBFD for SR-TE LSP两种场景。在SBFD检测SR场景,SBFD发起端到反射端路径走MPLS标签转发,反射端向发起端回程路径走多跳IP路径。SBFD is a fast detection protocol. SBFD achieves the purpose of reachability detection by quickly and continuously releasing protocol messages. As shown in Figure 2, the SBFD mechanism is divided into an initiator and a reflector. Before the link is detected, the initiator and the reflector send SBFD control packets (SBFD Control Packet) to notify the SBFD descriptor (Discriminator) and other information. During link detection, the initiator actively sends the SBFD Echo message, and the reflector loops back the message according to the local situation. The initiator determines the local status based on the reflected message. When SBFD is applied to SR scene detection, there are mainly two scenarios: SBFD for SR LSP and SBFD for SR-TE LSP. In the SR scenario where SBFD detects SR, the SBFD initiator-to-reflector path takes MPLS label forwarding, and the reflective end takes the multi-hop IP path to the initiator return path.
发起端作为检测端,有SBFD状态机机制和检测机制。发起端状态机只有Up和Down状态,发出的报文也只有Up和Down状态,只能接收Up或Admin Down状态报文。SBFD报文由发起端向反射端发送,报文初始状态为Down,报文目的端口号为7784。SBFD的进一步详细描述可以参见现有技术的介绍,这里不作赘述。As the detection end, the initiator has SBFD state machine mechanism and detection mechanism. The initiator's state machine has only Up and Down states, and the outgoing messages are only Up and Down states, and can only receive Up or Admin Down messages. The SBFD message is sent from the initiator to the reflector. The initial state of the message is Down and the destination port number of the message is 7784. For further detailed description of SBFD, please refer to the introduction of the prior art, which will not be repeated here.
应理解,本申请实施例中,不应将头尾节点,与发起反射端混为一谈。其中,头节点与尾节点是从网络中隧道的流量的出入口的角度来区分的;而发起端和反射端是SBFD机制中作报文可达性检测的角度来区分的。比如,在SBFD机制中,头节点可以是发起端,对应的尾节点可以是反射端;或者,头节点可以是反射端,对应的尾节点可以是发起端。It should be understood that in the embodiments of the present application, the head and tail nodes should not be confused with the initiating reflector. Among them, the head node and the tail node are distinguished from the perspective of the entrance and exit of the tunnel traffic in the network; and the initiator and the reflector are distinguished from the perspective of the SBFD mechanism for packet reachability detection. For example, in the SBFD mechanism, the head node may be the initiator and the corresponding tail node may be the reflector; or, the head node may be the reflector and the corresponding tail node may be the initiator.
在现有技术中,转发节点中的SBFD实例都是用户静态配置的,不支持基于业务动态有选择地进行管理,不够灵活。本申请实施例拟提出一种配置无缝双向转发检测SBFD机制的方法,为转发节点动态配置SBFD实例,能够实现更灵活的动态部署。In the prior art, the SBFD instances in the forwarding node are all statically configured by the user, do not support selective management based on service dynamics, and are not flexible enough. The embodiment of the present application intends to propose a method for configuring a seamless two-way forwarding detection SBFD mechanism to dynamically configure SBFD instances for forwarding nodes, so as to achieve more flexible and dynamic deployment.
图3示出了根据本申请实施例的配置无缝双向转发检测SBFD机制的方法300的示意图。所述方法300应用于支持分段路由流量工程SR-TE的网络,所述网络包括控制器和多个转发节点。如图3所示,所述方法300包括:FIG. 3 shows a schematic diagram of a method 300 for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application. The method 300 is applied to a network that supports segmented routing traffic engineering SR-TE, and the network includes a controller and multiple forwarding nodes. As shown in FIG. 3, the method 300 includes:
S310,控制器根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息。S310. The controller determines SBFD configuration information according to the configuration state of the SBFD mechanism of the first forwarding node among the multiple forwarding nodes. The SBFD configuration information includes: required for configuring an SBFD instance associated with the segment routing SR service. information.
其中,SR业务可以是SR Policy业务。SR Policy业务的相关配置流程可以参见上文描述。Among them, the SR service may be an SR Policy service. The relevant configuration process of the SR Policy service can be described above.
可选地,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段(比如,字段取值为1时表示SBFD,字段取值为0时表示普通BFD)、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段、预留字段。Optionally, the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver of the first forwarding node, and a field indicating whether the SBFD configuration information is SBFD (For example, when the field value is 1, it indicates SBFD, and when the field value is 0, it indicates ordinary BFD), the field of the local distinguisher resource pool of the first forwarding node, and the peer distinguisher of the first forwarding node Fields and reserved fields of the resource pool.
控制器可以对BGP协议扩展地址族,增加上述SBFD配置信息。比如,控制器基于BGP SR-Policy多协议扩展地址族,新增一种BFD扩展团体(extend community)属性,用于携带上述SBFD配置信息。也就是说,控制器可以通过BGP SR-Policy地址族路由发布上述SBFD配置信息。可选地,所述SBFD配置信息中包括以下内容中的一项 或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段等字段。比如,用于指示所述第一转发节点的收发端类型的字段可以是Flags字段,以指示第一转发节点是发起端还是反射端;用于指示所述SBFD配置信息是否是SBFD的字段可以是Type字段,以指示该SBFD配置信息的类型(类型可以包括普通BFD或者SBFD等类型);所述第一转发节点的本端区分符资源池的字段可以是Local Discriminatiors字段;所述第一转发节点的对端区分符资源池的字段等字段可以是Remote Discriminatiors字段。The controller can extend the address family to the BGP protocol and add the above SBFD configuration information. For example, based on the BGP SR-Policy multi-protocol extended address family, the controller adds a BFD extended community attribute to carry the above SBFD configuration information. In other words, the controller can advertise the SBFD configuration information through BGP-SR-Policy address family routing. Optionally, the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver of the first forwarding node, and a field indicating whether the SBFD configuration information is SBFD , The field of the local discriminator resource pool of the first forwarding node, the field of the peer discriminator resource pool of the first forwarding node, and the like. For example, the field used to indicate the type of the transceiver of the first forwarding node may be the Flags field to indicate whether the first forwarding node is the initiator or the reflector; the field used to indicate whether the SBFD configuration information is SBFD may be Type field to indicate the type of the SBFD configuration information (types may include ordinary BFD or SBFD, etc.); the field of the local discriminator resource pool of the first forwarding node may be the Local Discriminatiors field; the first forwarding node Fields such as the peer discriminator resource pool field can be the Remote Discriminatiors field.
可选地,所述SBFD配置信息中还可以包括其他可选字段,比如Optional Para(Variable),具体可以包括:用于指示控制报文的最小发送间隔的字段(Min-tx-interval字段)、用于指示控制报文的最小接收间隔的字段(Min-rx-interval字段)、用于指示检测BFD会话的本地检测倍数的字段(Detect-multiplier字段)、用于指示鉴权数据(秘钥)部分的长度信息的字段(Auth Lenth字段)、用于指示控制报文的鉴权类型的字段(Auth Type字段)和用于指示鉴权数据的字段(Authentication Data字段)等等。应理解,这里的控制报文可以是BFD控制报文,也可以是SBFD控制报文,对此不作具体限定,具体是什么控制报文可以基于控制器需要配置哪种BFD机制(比如SBFD机制或者普通BFD机制或链路捆绑Link Bandle BFD机制)来决定。应理解,本申请实施例对所述SBFD配置信息中包括的字段不作具体限定,可以基于实际需求而定,比如,所述SBFD配置信息中包括的字段可以是上述字段中的一项或多项,也可以包括其他字段。Optionally, the SBFD configuration information may also include other optional fields, such as Optional Para (Variable), which may specifically include: a field (Min-tx-interval field) used to indicate the minimum transmission interval of the control message, Fields used to indicate the minimum reception interval of control packets (Min-rx-interval field), fields used to indicate the local detection multiple of the BFD session (Detect-multiplier field), and used to indicate authentication data (secret key) Fields for part of the length information (AuthLenth field), a field for indicating the authentication type of the control message (AuthType field), a field for indicating the authentication data (AuthenticationData field), etc. It should be understood that the control message here may be a BFD control message or an SBFD control message, which is not specifically limited, and what control message can be based on which BFD mechanism (such as the SBFD mechanism or Ordinary BFD mechanism or link bundling Link (Bandle BFD mechanism) to decide. It should be understood that the embodiments of the present application do not specifically limit the fields included in the SBFD configuration information, and may be determined based on actual needs. For example, the fields included in the SBFD configuration information may be one or more of the above fields , Can also include other fields.
例如,可以对BGP协议作如下扩展,使得BGP中携带所述SBFD配置信息,BGP协议新增扩展团体属性的一个格式的例子具体如下所示:For example, the BGP protocol can be extended as follows, so that BGP carries the SBFD configuration information, and an example of a format in which the BGP protocol adds an extended community attribute is as follows:
Figure PCTCN2019119825-appb-000001
Figure PCTCN2019119825-appb-000001
基于上述内容,扩展后的BGP报文中携带Type字段、flag字段、保留字段、本端区分符local Discriminatior字段、远端区分符Remote Discriminatior字段、可选参数Optional Para或变量(variable)字段等。Based on the above, the extended BGP packet carries the Type field, flag field, reserved field, local discriminator local field, discriminatior field, remote discriminator remote field, optional parameter Optional Para or variable field.
Type字段用于标识BFD的类型,比如,Type=0x00表示携带普通BFD(比如,RFC5880)配置信息,Type=0x01表示携带SBFD配置信息。可选地,若需要同时部署多种类型的 BFD时,需要携带多个BFD扩展团体属性。The Type field is used to identify the type of BFD. For example, Type=0x00 means carrying common BFD (for example, RFC5880) configuration information, and Type=0x01 means carrying SBFD configuration information. Optionally, if multiple types of BFD need to be deployed simultaneously, multiple BFD extended community attributes need to be carried.
其中,Flags字段格式如下:Among them, the Flags field format is as follows:
Figure PCTCN2019119825-appb-000002
(Reserved保留字段默认置0)
Figure PCTCN2019119825-appb-000002
(The Reserved field is set to 0 by default)
在Flags字段中,R比特位表示Reflector,用于指示SBFD的反射端或发起端。比如,当R置1时,表示SBFD的反射端;当R置0时,表示SBFD的发起端。In the Flags field, the R bit represents Reflector, which is used to indicate the reflecting end or initiating end of SBFD. For example, when R is set to 1, it indicates the reflective end of SBFD; when R is set to 0, it indicates the initiator of SBFD.
在Flags字段中,P比特位表示Passive,用于指示BFD的反射端或发起端。置1则表示为普通BFD的反射端,置0时表示为普通BFD的发起端。In the Flags field, the P bit indicates Passive, which is used to indicate the reflective or initiating end of BFD. When set to 1, it indicates the reflection end of the ordinary BFD, and when set to 0, it indicates the origination end of the ordinary BFD.
当R比特为置0时,表示SBFD的发起端,此时,本端区分符local Discriminatior字段携带创建SBFD或BFD所需的本端区分符,长度为4字节;远端区分符Remote Discriminatior字段携带创建SBFD或BFD所需的远端区分符。特别地,当local Discriminatior字段为时,表示不特定指定创建SBFD或BFD的本段区分符,可以由转发节点本地配置或自动生成。特别地,当Remote Discriminatior字段为时,表示不特定指定创建SBFD实例的远端区分符,可以由转发节点本地配置或自动生成。When the R bit is set to 0, it indicates the initiator of SBFD. At this time, the local discriminator local field carries the local discriminator required to create SBFD or BFD, and the length is 4 bytes; the remote discriminator Remote Discriminatior field Carry the remote discriminator required to create SBFD or BFD. In particular, when the local Discriminatior field is set, it means that the segment specifier for creating SBFD or BFD is not specified and can be configured locally or automatically generated by the forwarding node. In particular, when the Remote Discriminatior field is set, it indicates that the remote discriminator to create the SBFD instance is not specifically specified, and can be locally configured or automatically generated by the forwarding node.
当R比特为置1时,表示SBFD的反射端,此时,本端区分符local Discriminatior字段携带创建SBFD或BFD所需的反射端区分符(Reflector Discriminatior),Remote Discriminatior字段在默认置零。When the R bit is set to 1, it indicates the reflection end of SBFD. At this time, the local discriminator local field carries the reflection end discriminator (Reflector Discriminatior) required to create SBFD or BFD. The Remote Discriminatior field is set to zero by default.
其中,Optional Para字段格式如下:Among them, the Optional Para field format is as follows:
Figure PCTCN2019119825-appb-000003
Figure PCTCN2019119825-appb-000003
示例性地,本申请实施例可以通过Min-tx-interval字段携带BFD控制报文的最小发送间隔,单位为微秒。应理解,上述“Min-tx-interval字段”中涉及的“BFD控制报文”只是一种示例,本申请实施例对BFD的类型不作限定,可以是普通BFD,也可以是SBFD,这取决于控制器给转发节点配置哪种BFD机制。也就是说,“可选字 段”中涉及的“BFD控制报文”也可以替换为“SBFD控制报文”。下面的可选字段中涉及的“BFD控制报文”也可以做类似解释,下文不再赘述。Exemplarily, the embodiment of the present application may carry the minimum sending interval of the BFD control message through the Min-tx-interval field, in units of microseconds. It should be understood that the “BFD control message” referred to in the above “Min-tx-interval field” is only an example, and the embodiment of the present application does not limit the type of BFD, which may be ordinary BFD or SBFD, depending on The controller configures which BFD mechanism to forward the node. In other words, the "BFD control message" involved in the "optional field" can also be replaced with "SBFD control message". The "BFD control message" involved in the optional field below can also be explained similarly, and will not be repeated here.
本申请实施例可以通过Min-rx-interval字段携带BFD控制报文的最小接收间隔,单位为微秒。本申请实施例可以通过Detect-multiplier字段携带BFD会话的本地检测倍数。本申请实施例可以通过Auth Type字段携带BFD控制报文的鉴权类型,有如下几种取值:In this embodiment of the present application, the Min-rx-interval field may be used to carry the minimum receiving interval of the BFD control message, in microseconds. In this embodiment of the present application, the Detect-multiplier field may be used to carry the local detection multiple of the BFD session. The embodiment of the present application may carry the authentication type of the BFD control message through the AuthType field, which has the following values:
0-Reserved0-Reserved
1-Simple Password1-SimplePassword
2-Keyed MD52-Keyed MD5
3-Meticulous Keyed MD53-Meticulous Keyed MD5
4-Keyed SHA14-Keyed SHA1
5-Meticulous Keyed SHA15-Meticulous Keyed SHA1
6-255-Reserved for future use6-255-Reserved for future use
也就是说,本申请实施例可以为每个加密算法分配一个type值,以指代相应的鉴权类型。应理解,上述7种取值可以分别对应业界标准中的加密算法,加密算法的相关解释或描述可以参见现有技术的描述,在此对加密算法的描述不作详细展开。That is to say, in this embodiment of the present application, each encryption algorithm may be assigned a type value to refer to the corresponding authentication type. It should be understood that the above seven values may correspond to the encryption algorithm in the industry standard respectively. For the relevant explanation or description of the encryption algorithm, please refer to the description of the prior art, and the description of the encryption algorithm will not be expanded in detail here.
本申请实施例可以通过Auth Lenth字段携带鉴权数据(秘钥)部分的长度信息。The embodiment of the present application may carry the length information of the authentication data (secret key) through the AuthLenth field.
本申请实施例可以通过Authentication Data字段携带鉴权数据(秘钥)信息。The embodiment of the present application may carry authentication data (secret key) information through the Authentication Data field.
在本申请实施例中,控制器可以判断转发节点中SBFD的配置状态,然后基于转发节点中是否配置了SBFD机制,为转发节点确定相应的SBFD配置信息。In the embodiment of the present application, the controller may determine the configuration state of the SBFD in the forwarding node, and then determine the corresponding SBFD configuration information for the forwarding node based on whether the SBFD mechanism is configured in the forwarding node.
以第一转发节点为例描述,在所述第一转发节点中没有配置SBFD机制的情况下,控制器为第一转发节点确定的SBFD配置信息中包括用于第一转发节点SBFD实例所需的信息,以便于第一转发节点创建SBFD实例;在所述第一转发节点中配置了SBFD机制的情况下,控制器为所述第一转发节点确定的SBFD配置信息包括用于调整已配置的SBFD的配置参数的信息。其中,“调整已配置的SBFD的配置参数”可以解释为“补充、更新或删除已配置的SBFD的配置参数”等操作。Taking the first forwarding node as an example, in the case where the SBFD mechanism is not configured in the first forwarding node, the SBFD configuration information determined by the controller for the first forwarding node includes required for the SBFD instance of the first forwarding node Information to facilitate the first forwarding node to create an SBFD instance; when the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information determined by the controller for the first forwarding node includes the SBFD used to adjust the configured Configuration information. Among them, "adjust the configuration parameters of the configured SBFD" can be interpreted as "supplement, update, or delete the configuration parameters of the configured SBFD" and other operations.
S320,所述控制器向所述第一转发节点发送BGP报文,所述BGP报文中携带所述SBFD配置信息。对应地,第一转发节点接收所述BGP报文,得到所述SBFD配置信息。S320. The controller sends a BGP message to the first forwarding node, where the BGP message carries the SBFD configuration information. Correspondingly, the first forwarding node receives the BGP message and obtains the SBFD configuration information.
这里,控制器可以通过BGP报文向第一转发节点发送所述SBFD配置信息。第一转发节点在收到所述BGP报文后,基于所述BGP报文中携带的SBFD配置信息,来配置SBFD实例。第一转发节点可以是头节点,也可以是尾节点,对此不作限定。Here, the controller may send the SBFD configuration information to the first forwarding node through a BGP message. After receiving the BGP message, the first forwarding node configures the SBFD instance based on the SBFD configuration information carried in the BGP message. The first forwarding node may be a head node or a tail node, which is not limited.
第一转发节点在接收到所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例;在所述SR业务相关联的SBFD实例配置成功后,所述第一转发节点与所述第一转发节点对应的对端节点进行SBFD协商。第一转发节点对应的对端节点是指需要与第一转发节点建立SBFD协商的节点。比如,第一转发节点是头节点,第一转发节点对应的对端节点是尾节点;或者,第一转发节点是尾节点,第一转发节点对应的对端节点是头节点,对此不作具体限定。After receiving the SBFD configuration information, the first forwarding node configures the SBFD instance associated with the SR service; after the SBFD instance associated with the SR service is successfully configured, the first forwarding node and the first forwarding node The peer node corresponding to the forwarding node performs SBFD negotiation. The peer node corresponding to the first forwarding node refers to a node that needs to establish SBFD negotiation with the first forwarding node. For example, the first forwarding node is the head node, and the opposite node corresponding to the first forwarding node is the tail node; or, the first forwarding node is the tail node, and the opposite node corresponding to the first forwarding node is the head node, which is not specific. limited.
可选地,所述SBFD配置信息可以单独下发,也可以与SBFD配置信息相关联的SR业务一起下发,对此不作限定。Optionally, the SBFD configuration information may be delivered separately, or may be delivered together with the SR service associated with the SBFD configuration information, which is not limited.
可选地,控制器可以为SBFD配置信息中的Flag字段的R比特、P比特、本端区分符local Discriminatior字段、对端区分符Remote Discriminatior字段赋予不同的取值,来区分头节点或者尾节点的SBFD配置信息。Optionally, the controller may assign different values to the R bit, P bit of the Flag field in the SBFD configuration information, the local discriminator local field, and the remote discriminator remote field to distinguish the head node or the tail node SBFD configuration information.
举例来说,若上述第一转发节点是头节点,那么头节点收到的SBFD配置信息在BGP SR-Policy路由中的格式可以如下所示:For example, if the first forwarding node is the head node, the format of the SBFD configuration information received by the head node in the BGP SR-Policy route may be as follows:
Figure PCTCN2019119825-appb-000004
Figure PCTCN2019119825-appb-000004
其中,Flags字段的具体格式如下:Among them, the specific format of the Flags field is as follows:
Figure PCTCN2019119825-appb-000005
(Reserved保留字段默认置0)
Figure PCTCN2019119825-appb-000005
(The Reserved field is set to 0 by default)
在上述头节点接收到的SBFD配置信息中,Type字段设置为0x01,表示当前使用的是SBFD类型保护;Flag字段R比特位为0,表示头节点为SBFD的发起端;Local Discriminatior字段可以设置为本端区分符资源池中某一特定值,特别地,当设置为0时由转发节点本地配置或者自动生成。In the SBFD configuration information received by the above head node, the Type field is set to 0x01, indicating that SBFD type protection is currently used; the R bit of the Flag field is 0, indicating that the head node is the initiator of SBFD; the Local Discriminatior field can be set to A specific value in the local discriminator resource pool. In particular, when set to 0, it is locally configured by the forwarding node or automatically generated.
Remote Discriminatior字段设置为对端区分符资源池中某一特定值,特别地,当设置为0时,由转发器本地配置或通过其他方式获取。这里,对端指的是头节点的对端,比如尾节点。The Remote Discriminatior field is set to a specific value in the peer discriminator resource pool. In particular, when set to 0, it is configured locally by the repeater or obtained by other means. Here, the peer refers to the peer of the head node, such as the tail node.
头结点可以使用Local Discriminatior和Remote Discriminatior进行匹配,来建立SBFD实例。The head node can be matched with Local Discriminatior and Remote Discriminatior to create an SBFD instance.
若头节点收到的上述SBFD配置信息对应的字段的总长度大于12字节,则表示头节点需要读取Optional Para(可选参数)字段取。If the total length of the field corresponding to the SBFD configuration information received by the head node is greater than 12 bytes, it means that the head node needs to read the Optional Para field.
例如,Optional Para字段格式如下:For example, the format of the Optional Para field is as follows:
Figure PCTCN2019119825-appb-000006
Figure PCTCN2019119825-appb-000006
Figure PCTCN2019119825-appb-000007
Figure PCTCN2019119825-appb-000007
可选地,控制器可以通过上述Optional Para字段,为头节点指定报文最小发送/接收间隔,检测时间周期和鉴权加密算法。Optionally, the controller can specify the minimum message sending/receiving interval, detection time period, and authentication encryption algorithm for the head node through the Optional Para field described above.
头节点在收到控制器发送的SBFD配置信息后,可以基于SBFD配置信息的具体内容进行SBFD实例的创建或调整。After receiving the SBFD configuration information sent by the controller, the head node may create or adjust the SBFD instance based on the specific content of the SBFD configuration information.
举例来说,若上述第一转发节点是尾节点,那么尾节点收到的SBFD配置信息在BGP SR-Policy路由中的格式可以如下所示:For example, if the first forwarding node is a tail node, the format of the SBFD configuration information received by the tail node in the BGP SR-Policy route may be as follows:
Figure PCTCN2019119825-appb-000008
Figure PCTCN2019119825-appb-000008
其中,Flags字段格式如下:Among them, the Flags field format is as follows:
Figure PCTCN2019119825-appb-000009
(Reserved保留字段默认置0)
Figure PCTCN2019119825-appb-000009
(The Reserved field is set to 0 by default)
Type字段设置为0x01,表示当前使用的是SBFD类型保护;Flag字段中的R比特位置1,标识RT3是SBFD反射端;Flag字段中的P比特位置0,表示不需要配置为BFD反射端;Local Discriminatior字段设置为与头节点中的Remote Discriminatior字段相同的值。The Type field is set to 0x01, indicating that the SBFD type protection is currently used; the R bit position in the Flag field is 1, indicating that RT3 is the SBFD reflective end; the P bit position in the Flag field is 0, indicating that it does not need to be configured as a BFD reflective end; Local The Discriminatior field is set to the same value as the Remote Discriminatior field in the head node.
类似地,若尾节点收到的上述SBFD配置信息对应的字段的总长度大于12字节,表示尾节点需要读取可选参数(Optional Para)字段。可选地,控制器可以通过上述Optional Para字段,为尾节点指定报文最小发送/接收间隔,检测时间周期和鉴权加密算法。Similarly, if the total length of the field corresponding to the SBFD configuration information received by the tail node is greater than 12 bytes, it indicates that the tail node needs to read the optional parameter (Optional Para) field. Optionally, the controller can specify the minimum message sending/receiving interval, detection time period, and authentication encryption algorithm for the tail node through the Optional Para field described above.
尾节点在收到控制器发送的SBFD配置信息后,可以基于SBFD配置信息的具体内 容进行SBFD实例的创建或调整。After receiving the SBFD configuration information sent by the controller, the tail node can create or adjust the SBFD instance based on the specific content of the SBFD configuration information.
在本申请实例中,如果头结点和尾节点均收到了控制器下发的BFD扩展团体属性,并且,头节点和尾节点根据属性中携带的上述SBFD配置信息完成业务部署后,头结点和尾节点进行SBFD业务协商。头节点和尾节点协商成功,则SBFD for SR-Policy业务创建成功。In the example of this application, if both the head node and the tail node receive the BFD extended community attribute delivered by the controller, and the head node and the tail node complete the service deployment according to the above SBFD configuration information carried in the attribute, the head node Negotiate the SBFD service with the tail node. If the negotiation between the head node and the tail node is successful, the SBFD for SR-Policy service is successfully created.
下面将对第一转发节点中是否配置了SBFD机制的情形进行分别描述。不论第一转发节点中是否配置了SBFD机制,本申请实施例的技术方案均适用。The following describes whether the SBFD mechanism is configured in the first forwarding node. Regardless of whether the SBFD mechanism is configured in the first forwarding node, the technical solutions of the embodiments of the present application are applicable.
第一种实现方式:The first way to achieve:
如果第一转发节点上没有配置SBFD机制,所述SBFD配置信息中包括用于所述第一转发节点创建SBFD实例所需的信息;If the SBFD mechanism is not configured on the first forwarding node, the SBFD configuration information includes information required for the first forwarding node to create an SBFD instance;
其中,所述第一转发节点根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例,包括:Wherein, the first forwarding node configuring the SBFD instance associated with the SR service according to the SBFD configuration information includes:
所述第一转发节点基于所述SBFD配置信息,新建与所述SR业务相关联的SBFD实例。Based on the SBFD configuration information, the first forwarding node creates a new SBFD instance associated with the SR service.
如果第一转发节点中没有配置SBFD机制,控制器可以通过BGP报文将SBFD配置信息单独下发给第一转发节点,或者,也可以通过BGP报文同时下发创建SR业务的信息和SBFD配置信息。这里,由于第一转发节点中没有配置SBFD,SBFD配置信息中需要包含创建SBFD的全部必要信息。If the SBFD mechanism is not configured in the first forwarding node, the controller can separately deliver the SBFD configuration information to the first forwarding node through BGP packets, or it can also simultaneously deliver the information for creating SR services and the SBFD configuration through BGP packets. information. Here, since SBFD is not configured in the first forwarding node, the SBFD configuration information needs to contain all necessary information for creating SBFD.
具体而言,对于第一转发节点是头节点的情形,头节点在收到控制器下发的BGP报文中同时创建SR业务的信息和SBFD配置信息时,可以先基于BGP报文中创建SR业务的信息创建SR-Policy业务,在SR-Policy业务建立后立即创建与SR-Policy业务相关联的SBFD实例。对于第一转发节点是尾节点的情形,在双向隧道的场景下,尾节点在收到控制器下发的创建SR业务的信息和SBFD配置信息后,可以先基于报文中创建SR业务的信息创建SR-Policy业务,在SR-Policy业务建立后立即创建与SR-Policy业务相关联的SBFD实例的反射端的配置,在创建SBFD实例后,等待与头节点进行SBFD协商。或者,在建立单向隧道的场景下,当尾节点不需要控制器下发的用于创建SR-Policy业务的信息时,尾节点接收到的SR业务的网络层可达信息(network layer reachable information,NLRI)中的endpoint将置零(置零的意思是指控制器下发给尾节点的BGP报文中将不携带用于创建SR-Policy业务的信息)。Specifically, for the case where the first forwarding node is the head node, the head node may first create the SR based on the BGP packet when receiving the BGP message and the SBFD configuration information from the BGP message delivered by the controller The information of the service creates an SR-Policy service, and immediately creates an SBFD instance associated with the SR-Policy service after the SR-Policy service is established. For the case where the first forwarding node is the tail node, in the scenario of a two-way tunnel, after receiving the SR service creation information and SBFD configuration information delivered by the controller, the tail node may first create the SR service information based on the message Create an SR-Policy service. After the SR-Policy service is established, create the configuration of the reflective end of the SBFD instance associated with the SR-Policy service. After creating the SBFD instance, wait for SBFD negotiation with the head node. Or, in the scenario of establishing a one-way tunnel, when the tail node does not need the information issued by the controller to create the SR-Policy service, the network layer reachable information (network layer reachable information) of the SR service received by the tail node , NLRI) The endpoint will be set to zero (zero means that the BGP message sent by the controller to the tail node will not carry the information used to create the SR-Policy service).
应理解,本申请实施例对第一转发节点先创建SR-Policy业务还是先创建SBFD实例的先后顺序不作具体限定,可以基于实际需求而定。It should be understood that the embodiment of the present application does not specifically limit the order in which the first forwarding node creates the SR-Policy service or the SBFD instance first, and may be determined based on actual requirements.
在头节点和尾节点中的SBFD实例都创建完成后,头节点与尾节点可以进行SBFD协商,并将SBFD实例与SR-Policy业务形成关联,为SR业务提供故障检测。After the SBFD instances in both the head node and the tail node are created, the head node and the tail node can negotiate SBFD and associate the SBFD instance with the SR-Policy service to provide fault detection for the SR service.
第二种实现方式:The second way to achieve:
如果第一转发节点上配置了SBFD机制,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息,其中,所述第一转发节点根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例,包括:If the SBFD mechanism is configured on the first forwarding node, the SBFD configuration information includes information for adjusting configuration parameters of the SBFD configured in the first forwarding node, wherein the first forwarding node is based on the SBFD Configuration information, configuring the SBFD instance associated with the SR service, including:
所述第一转发节点基于所述SBFD配置信息,对已配置的SBFD的配置参数进行调 整。The first forwarding node adjusts the configuration parameters of the configured SBFD based on the SBFD configuration information.
具体而言,如果第一转发节点中配置了SBFD机制,那么控制器无需在BGP报文中携带创建SBFD实例的所有信息。第一转发节点可以使用原有静态配置的SBFD的基础配置,比如本地静态配置或者自动生成的配置值。这里,在控制器向第一转发节点发送的SBFD配置信息中,可以携带SBFD中的部分信息,作为对SBFD配置对应的绑定策略和/或参数补充。比如,所述SBFD配置信息中包括的字段中,可以对Local Discriminatior和Remote Discriminatior置零,对Local Discriminatior和Remote Discriminatior置零是指:不携带Local Discriminatior和Remote Discriminatior的信息,而其余的字段可以是控制器为第一转发节点新配置的(可以参考前文描述)。Specifically, if the SBFD mechanism is configured in the first forwarding node, the controller does not need to carry all information for creating an SBFD instance in the BGP packet. The first forwarding node may use the original statically configured SBFD basic configuration, such as a local static configuration or an automatically generated configuration value. Here, in the SBFD configuration information sent by the controller to the first forwarding node, some information in the SBFD may be carried as a supplement to the binding strategy and/or parameters corresponding to the SBFD configuration. For example, in the fields included in the SBFD configuration information, Local Discriminatior and Remote Discriminatior can be set to zero, and Local Discriminatior and Remote Discriminatior can be set to zero. This means that information about Local Discriminatior and Remote Discriminatior is not carried, and the remaining fields can be The controller is newly configured for the first forwarding node (refer to the foregoing description).
举例来说,第一转发节点收到的SBFD配置信息在BGP SR-Policy路由中的格式可以如下所示:For example, the format of the SBFD configuration information received by the first forwarding node in the BGP SR-Policy route may be as follows:
Figure PCTCN2019119825-appb-000010
Figure PCTCN2019119825-appb-000010
对于上述SBFD配置信息在BGP SR-Policy路由中的字段,控制器将Local Discriminatior字段置0,将Remote Discriminatior字段置0,即表示这两个字段使用第一转发节点中静态配置的值。特别地,如果这两个字段是非0值,第一转发节点也存在静态配置的情况,则应使用SBFD配置信息中携带的值来新建SBFD实例,并与SR-Policy业务进行关联。For the fields of the SBFD configuration information in the BGP SR-Policy route, the controller sets the Local Discriminatior field to 0 and the Remote Discriminatior field to 0, which means that these two fields use the statically configured values in the first forwarding node. In particular, if these two fields are non-zero values and the first forwarding node is also statically configured, the value carried in the SBFD configuration information should be used to create a new SBFD instance and associate it with the SR-Policy service.
因此,在第二种实现方式中,控制器下发的SBFD配置信息中,可以携带部分信息,以使得第一转发节点可以对SBFD基础配置的参数进行调整。Therefore, in the second implementation manner, the SBFD configuration information delivered by the controller may carry part of the information, so that the first forwarding node can adjust the parameters of the SBFD basic configuration.
在第二种实现方式中,第一转发节点可以对SBFD实例进行更新。如果第一转发节点中的SR业务已经关联了SBFD实例,但是需要变更关联关系,那么控制器给第一转发节点下发的SBFD配置信息中,可以是新的SBFD实例的配置信息。第一转发节点基于新的SBFD实例的配置信息,对SR业务已经关联的SBFD实例进行刷新。In the second implementation manner, the first forwarding node may update the SBFD instance. If the SR service in the first forwarding node has been associated with the SBFD instance, but the association relationship needs to be changed, the SBFD configuration information delivered by the controller to the first forwarding node may be the configuration information of the new SBFD instance. The first forwarding node refreshes the SBFD instance that has been associated with the SR service based on the configuration information of the new SBFD instance.
在本申请实施例中,控制器向第一转发节点发送的BGP报文中可以携带SR业务以及与SR业务相关联的SBFD实例的配置信息。特别地,当需要删除与SR业务相关联的SBFD实例时,即SR业务不再与该SBFD实例关联时,控制器向第一转发节点下发的BGP报文中携带了SR业务的信息,而不再携带SBFD配置信息。这样,第一转发节点在收 到该BGP报文时,可以删除或解绑定该SBFD实例与SR业务的关联关系。In the embodiment of the present application, the BGP message sent by the controller to the first forwarding node may carry the configuration information of the SR service and the SBFD instance associated with the SR service. In particular, when it is necessary to delete the SBFD instance associated with the SR service, that is, when the SR service is no longer associated with the SBFD instance, the BGP message delivered by the controller to the first forwarding node carries the information of the SR service, and No longer carry SBFD configuration information. In this way, when receiving the BGP message, the first forwarding node may delete or unbind the association relationship between the SBFD instance and the SR service.
可选地,作为一种实现方式,第一转发节点可以删除已经创建的SBFD实例,能够释放资源,有助于减少对转发节点及网络资源的占用。Optionally, as an implementation manner, the first forwarding node may delete the SBFD instance that has been created, which can release resources, which helps reduce the occupation of forwarding nodes and network resources.
例如,若第一转发节点初始不存在SBFD静态配置,在采用本申请实施例的方法为第一转发节点配置了与某一SR业务相关联的SBFD实例后,如果第一转发节点后续收到了需要撤销或删除该SR业务的BGP报文,且该SR业务已经全部撤销,那么可以将该SR业务相关联的SBFD实例也删除,以便于节约资源。For example, if the first forwarding node does not initially have a static configuration of SBFD, after configuring the first forwarding node with an SBFD instance associated with a certain SR service by using the method of the embodiment of the present application, if the first forwarding node subsequently receives a need If the BGP message of the SR service is revoked or deleted, and the SR service has been completely revoked, the SBFD instance associated with the SR service can also be deleted, so as to save resources.
可选地,本申请实施例中的SBFD配置信息可以与多个SR业务相关联。控制器在向转发节点下发BGP报文时,可以向第一转发节点下发多个SR业务对应的多个BGP报文,其中,每个BGP报文都携带相同的SBFD配置信息。第一转发节点在收到此类BGP报文时,可以将SBFD配置信息复用给多个不同的SR业务。Optionally, the SBFD configuration information in the embodiment of the present application may be associated with multiple SR services. When delivering the BGP message to the forwarding node, the controller may deliver multiple BGP messages corresponding to multiple SR services to the first forwarding node, where each BGP message carries the same SBFD configuration information. When receiving the BGP message, the first forwarding node may multiplex the SBFD configuration information to multiple different SR services.
或者,控制器在向第一转发节点下发BGP报文时,可以向第一转发节点下发一个BGP报文,该一个BGP报文中携带多个SR业务的配置信息,以及同一个SBFD配置信息。第一转发节点在收到该BGP报文时,可以将SBFD配置信息复用给多个不同的SR业务。Alternatively, when the controller delivers the BGP message to the first forwarding node, it may deliver a BGP message to the first forwarding node, where the BGP message carries configuration information of multiple SR services and the same SBFD configuration information. When receiving the BGP message, the first forwarding node may multiplex the SBFD configuration information to multiple different SR services.
应理解,本申请实施例的配置无缝双向转发检测SBFD机制的方法是以配置SBFD为例进行说明的,本申请实施例的技术方案同样适用于普通BFD、Link Bandle BFD或其他BFD的动态部署,对此不作限定。例如,可以将普通BFD的配置信息扩展在BGP其他业务地址族中,或者新增专门的BFD控制地址族。It should be understood that the method of configuring the seamless two-way forwarding detection SBFD mechanism in the embodiment of the present application is described by using SBFD as an example. The technical solution in the embodiment of the present application is also applicable to the dynamic deployment of ordinary BFD, LinkBandle BFD, or other BFD. , This is not limited. For example, you can extend the configuration information of common BFD to other BGP service address families, or add a special BFD control address family.
还应理解,本申请实施例中出现的各个字段的格式的举例均不对本申请实施例构成限定,本领域技术人员基于上述举例可以做等价变换或者调整,这些等价变换或者调整都应落入本申请实施例的保护范围。It should also be understood that the examples of the format of each field appearing in the embodiments of the present application do not limit the embodiments of the present application, and those skilled in the art can make equivalent transformations or adjustments based on the above examples, and these equivalent transformations or adjustments should fall It falls into the protection scope of the embodiments of the present application.
上文结合图1至图3详细描述了根据本申请实施例的配置无缝双向转发检测SBFD机制的方法。下面将结合图4至图7描述根据本申请实施例的配置无缝双向转发检测SBFD机制的装置。应理解,方法实施例所描述的技术特征同样适用于以下装置实施例。The method for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application is described in detail above with reference to FIGS. 1 to 3. The following describes an apparatus for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application with reference to FIGS. 4 to 7. It should be understood that the technical features described in the method embodiments are also applicable to the following device embodiments.
图4示出了根据本申请实施例的配置无缝双向转发检测SBFD机制的装置400的示意框图。可选地,装置400可以是控制器。如图4所示,该装置400包括:FIG. 4 shows a schematic block diagram of an apparatus 400 for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application. Alternatively, the device 400 may be a controller. As shown in FIG. 4, the device 400 includes:
确定模块410,用于根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;The determining module 410 is configured to determine SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node among the multiple forwarding nodes, where the SBFD configuration information includes: configuring the SBFD instance associated with the segment routing SR service Required information;
收发模块420,用于向所述第一转发节点发送BGP报文,所述BGP报文中携带所述SBFD配置信息。The transceiver module 420 is configured to send a BGP message to the first forwarding node, where the BGP message carries the SBFD configuration information.
在一种可能的实现方式中,所述确定模块410用于根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,具体包括:In a possible implementation manner, the determining module 410 is configured to determine SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node among the multiple forwarding nodes, specifically including:
在所述第一转发节点中没有配置SBFD机制的情况下,所述SBFD配置信息中包括用于所述第一转发节点创建SBFD实例所需的信息;When the SBFD mechanism is not configured in the first forwarding node, the SBFD configuration information includes information required for the first forwarding node to create an SBFD instance;
在所述第一转发节点中配置了SBFD机制的情况下,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息。When the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes information for adjusting configuration parameters of the SBFD configured in the first forwarding node.
在一种可能的实现方式中,所述BGP报文中还携带所述SR业务的信息。In a possible implementation manner, the BGP message also carries information of the SR service.
在一种可能的实现方式中,所述SBFD配置信息与多个SR业务相关联。In a possible implementation manner, the SBFD configuration information is associated with multiple SR services.
在一种可能的实现方式中,所述第一转发节点是所述多个转发节点中的头节点,或者,所述第一转发节点是所述多个转发节点中的尾节点。In a possible implementation manner, the first forwarding node is a head node among the multiple forwarding nodes, or the first forwarding node is a tail node among the multiple forwarding nodes.
在一种可能的实现方式中,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段。In a possible implementation manner, the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver end of the first forwarding node, and indicating the SBFD configuration information Whether it is the field of SBFD, the field of the local discriminator resource pool of the first forwarding node, and the field of the peer discriminator resource pool of the first forwarding node.
应理解,根据本申请实施例的装置400可对应于前述方法实施例中控制器侧的方法,并且装置400中的各个模块的上述和其它管理操作和/或功能分别为了实现前述各个方法的相应步骤,因此也可以实现前述方法实施例中的有益效果,为了简洁,这里不作赘述。It should be understood that the device 400 according to an embodiment of the present application may correspond to the method on the controller side in the foregoing method embodiments, and the above and other management operations and/or functions of the various modules in the device 400 are to implement the corresponding Steps, therefore, the beneficial effects in the foregoing method embodiments can also be achieved, and for the sake of brevity, they will not be repeated here.
图5示出了根据本申请实施例的配置无缝双向转发检测SBFD机制的装置500的示意性结构图。如图5所示,所述装置500包括:FIG. 5 shows a schematic structural diagram of an apparatus 500 for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application. As shown in FIG. 5, the device 500 includes:
处理器501、存储器502和收发器503。The processor 501, the memory 502, and the transceiver 503.
处理器501、存储器502和收发器503之间通过内部连接通路互相通信,传递控制和/或数据信号。在一个可能的设计中,处理器501、存储器502和收发器503可以通过芯片实现。该存储器502可以存储程序代码,处理器501调用存储器502存储的程序代码,以实现该终端设备的相应功能。The processor 501, the memory 502, and the transceiver 503 communicate with each other through an internal connection path, and transfer control and/or data signals. In one possible design, the processor 501, the memory 502, and the transceiver 503 may be implemented by a chip. The memory 502 may store program codes, and the processor 501 calls the program codes stored in the memory 502 to implement corresponding functions of the terminal device.
所述处理器501用于,根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;所述收发器503用于,向所述第一转发节点发送BGP报文,所述BGP报文中携带所述SBFD配置信息。The processor 501 is configured to determine SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node among the multiple forwarding nodes, where the SBFD configuration information includes: configuring SBFD associated with the segment routing SR service Information required by the example; the transceiver 503 is used to send a BGP packet to the first forwarding node, where the BGP packet carries the SBFD configuration information.
可选地,图4中的确定模块410可以对应图5中的处理器501,收发模块420可以对应图5中的收发器503。另一种实施方式中,收发器可以分为接收器和发送器两个部件实现。Optionally, the determination module 410 in FIG. 4 may correspond to the processor 501 in FIG. 5, and the transceiver module 420 may correspond to the transceiver 503 in FIG. 5. In another embodiment, the transceiver can be divided into two parts: a receiver and a transmitter.
图6示出了根据本申请实施例的配置无缝双向转发检测SBFD机制的装置600的示意框图。所述装置600应用于支持分段路由流量工程SR-TE的网络,所述网络包括控制器和多个转发节点。可选地,所述装置600是所述多个转发节点中的第一转发节点。如图6所示,该装置600包括:FIG. 6 shows a schematic block diagram of an apparatus 600 for configuring a seamless bidirectional forwarding detection SBFD mechanism according to an embodiment of the present application. The device 600 is applied to a network that supports segmented routing traffic engineering SR-TE, and the network includes a controller and multiple forwarding nodes. Optionally, the device 600 is the first forwarding node among the multiple forwarding nodes. As shown in FIG. 6, the device 600 includes:
收发模块610,用于接收所述控制器发送的BGP报文,所述BGP报文中携带SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;The transceiver module 610 is configured to receive a BGP message sent by the controller, where the BGP message carries SBFD configuration information, and the SBFD configuration information includes: required for configuring an SBFD instance associated with the segment routing SR service information;
处理模块620,用于根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例;The processing module 620 is configured to configure an SBFD instance associated with the SR service according to the SBFD configuration information;
所述处理模块620还用于,在所述SR业务相关联的SBFD实例配置成功后,与所述第一转发节点对应的对端节点进行SBFD协商。The processing module 620 is further configured to, after the SBFD instance associated with the SR service is successfully configured, perform SBFD negotiation with the peer node corresponding to the first forwarding node.
在一种可能的实现方式中,在所述第一转发节点中没有配置SBFD机制的情况下,所述SBFD配置信息中包括用于所述第一转发节点创建SBFD实例所需的信息;In a possible implementation manner, in a case where no SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes information required for the first forwarding node to create an SBFD instance;
其中,所述处理模块620用于根据所述SBFD配置信息,配置与所述SR业务相关 联的SBFD实例,具体包括:Wherein, the processing module 620 is configured to configure an SBFD instance associated with the SR service according to the SBFD configuration information, specifically including:
所述第一转发节点基于所述SBFD配置信息,新建与所述SR业务相关联的SBFD实例。Based on the SBFD configuration information, the first forwarding node creates a new SBFD instance associated with the SR service.
在一种可能的实现方式中,在所述第一转发节点中配置了SBFD机制的情况下,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息;其中,所述处理模块620用于根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例,具体包括:In a possible implementation manner, when the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes configuration parameters for adjusting the SBFD configured in the first forwarding node Information; wherein, the processing module 620 is configured to configure an SBFD instance associated with the SR service according to the SBFD configuration information, specifically including:
基于所述SBFD配置信息,对已配置的SBFD的配置参数进行调整。Based on the SBFD configuration information, the configuration parameters of the configured SBFD are adjusted.
可选地,所述BGP报文中还携带所述SR业务的信息。Optionally, the BGP message also carries information about the SR service.
可选地,所述SBFD配置信息与多个SR业务相关联。Optionally, the SBFD configuration information is associated with multiple SR services.
可选地,所述第一转发节点是所述多个转发节点中的头节点,或者,所述第一转发节点是所述多个转发节点中的尾节点。Optionally, the first forwarding node is a head node among the multiple forwarding nodes, or the first forwarding node is a tail node among the multiple forwarding nodes.
可选地,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段。Optionally, the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver of the first forwarding node, and a field indicating whether the SBFD configuration information is SBFD , The field of the local discriminator resource pool of the first forwarding node, and the field of the peer discriminator resource pool of the first forwarding node.
应理解,根据本申请实施例的装置600可对应于前述方法实施例中转发节点侧的方法,并且装置600中的各个模块的上述和其它管理操作和/或功能分别为了实现前述各个方法的相应步骤,因此也可以实现前述方法实施例中的有益效果,为了简洁,这里不作赘述。It should be understood that the device 600 according to the embodiment of the present application may correspond to the method on the forwarding node side in the foregoing method embodiment, and the above and other management operations and/or functions of the various modules in the device 600 are respectively to implement the corresponding Steps, therefore, the beneficial effects in the foregoing method embodiments can also be achieved, and for the sake of brevity, they will not be repeated here.
图7示出了根据本申请实施例的配置无缝双向转发检测SBFD机制的装置700的示意性结构图。如图7所示,所述装置700包括:FIG. 7 shows a schematic structural diagram of an apparatus 700 for configuring a seamless two-way forwarding detection SBFD mechanism according to an embodiment of the present application. As shown in FIG. 7, the device 700 includes:
处理器701、存储器702和收发器703。The processor 701, the memory 702, and the transceiver 703.
处理器701、存储器702和收发器703之间通过内部连接通路互相通信,传递控制和/或数据信号。在一个可能的设计中,处理器701、存储器702和收发器703可以通过芯片实现。该存储器702可以存储程序代码,处理器701调用存储器702存储的程序代码,以实现该终端设备的相应功能。The processor 701, the memory 702, and the transceiver 703 communicate with each other through an internal connection path, and transfer control and/or data signals. In a possible design, the processor 701, the memory 702, and the transceiver 703 may be implemented by a chip. The memory 702 may store program codes, and the processor 701 calls the program codes stored in the memory 702 to implement corresponding functions of the terminal device.
所述收发器703用于接收所述控制器发送的BGP报文,所述BGP报文中携带SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;所述处理器701用于根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例;在所述SR业务相关联的SBFD实例配置成功后,与所述第一转发节点对应的对端节点进行SBFD协商。The transceiver 703 is configured to receive a BGP message sent by the controller, where the BGP message carries SBFD configuration information, and the SBFD configuration information includes: required to configure an SBFD instance associated with the segment routing SR service Information; the processor 701 is configured to configure an SBFD instance associated with the SR service according to the SBFD configuration information; after the SBFD instance associated with the SR service is successfully configured, communicate with the first forwarding node The corresponding peer node performs SBFD negotiation.
可选地,图6中的处理模块620可以对应图7中的处理器701,收发模块610可以对应图7中的收发器703。另一种实施方式中,收发器可以分为接收器和发送器两个部件实现。Optionally, the processing module 620 in FIG. 6 may correspond to the processor 701 in FIG. 7, and the transceiver module 610 may correspond to the transceiver 703 in FIG. 7. In another embodiment, the transceiver can be divided into two parts: a receiver and a transmitter.
本申请还提供了一种网络,该网络包括控制器、多个转发节点。控制器可以执行前文所述的由控制器执行的方法。多个转发节点中可以包括第一转发节点。第一转发节点可以是一个SR Policy隧道的头节点,或者,第一转发节点可以是一个SR Policy隧道的尾节点。The present application also provides a network including a controller and multiple forwarding nodes. The controller can execute the method performed by the controller described above. The first forwarding node may be included in the multiple forwarding nodes. The first forwarding node may be the head node of an SR Policy tunnel, or the first forwarding node may be the tail node of an SR Policy tunnel.
上述本申请实施例揭示的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The method disclosed in the above embodiments of the present application may be applied to a processor, or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method embodiment may be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software. The aforementioned processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an existing programmable gate array (Field Programmable Gate Array, FPGA), or other available Programming logic devices, discrete gates or transistor logic devices, discrete hardware components, can also be a system chip (system on chip, SoC), can also be a central processor (central processor (unit), CPU), can also be a network processor (network processor (NP), can also be a digital signal processing circuit (digital signal processor, DSP), can also be a microcontroller (micro controller (unit), MCU), can also be a programmable controller (programmable logic device (PLD) or other Integrated chip. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, and registers. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically Erasable programmable read only memory (Electrically, EPROM, EEPROM) or flash memory. The volatile memory may be a random access memory (Random Access Memory, RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) ) And direct memory bus random access memory (Direct Rambus RAM, DR RAM). It should be noted that the memories of the systems and methods described herein are intended to include, but are not limited to these and any other suitable types of memories.
本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本申请中使用的术语“制品”涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、卡、棒或钥匙驱动器等)。另外,本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。Various aspects or features of the present application may be implemented as methods, devices, or articles using standard programming and/or engineering techniques. The term "article of manufacture" as used in this application encompasses a computer program accessible from any computer-readable device, carrier, or medium. For example, the computer-readable medium may include, but is not limited to: magnetic storage devices (for example, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (for example, compact discs (CDs), digital universal discs (digital discs, digital discs, DVDs)) Etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.). In addition, the various storage media described herein may represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Persons of ordinary skill in the art may realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application essentially or part of the contribution to the existing technology or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage media include various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory ROM, a random access memory RAM, a magnetic disk, or an optical disk.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only the specific implementation of this application, but the scope of protection of this application is not limited to this, any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only the specific embodiments of the present invention, but the scope of protection of the present invention is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present invention. It should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (21)

  1. 一种配置无缝双向转发检测SBFD机制的方法,其特征在于,所述方法包括:A method for configuring a seamless two-way forwarding detection SBFD mechanism, characterized in that the method includes:
    控制器确定SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;The controller determines SBFD configuration information, where the SBFD configuration information includes: information required to configure an SBFD instance associated with the segment routing SR service;
    所述控制器向转发节点发送边界网关协议BGP报文,所述BGP报文中携带所述SBFD配置信息。The controller sends a border gateway protocol BGP message to the forwarding node, where the BGP message carries the SBFD configuration information.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述SBFD配置信息中包括用于所述转发节点创建所述SBFD实例所需的信息;或者The SBFD configuration information includes information required by the forwarding node to create the SBFD instance; or
    所述SBFD配置信息中包括用于调整所述转发节点中已配置的所述SBFD实例的配置参数的信息。The SBFD configuration information includes information for adjusting configuration parameters of the SBFD instance that have been configured in the forwarding node.
  3. 根据权利要求1或2所述的方法,其特征在于,所述BGP报文中还携带所述SR业务的信息。The method according to claim 1 or 2, wherein the BGP message further carries information of the SR service.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述SBFD配置信息与多个SR业务相关联。The method according to any one of claims 1 to 3, wherein the SBFD configuration information is associated with multiple SR services.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述转发节点是隧道的头节点,或者,所述转发节点是隧道的尾节点。The method according to any one of claims 1 to 4, wherein the forwarding node is a head node of a tunnel, or the forwarding node is a tail node of a tunnel.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述转发节点的本端区分符资源池的字段、所述转发节点的对端区分符资源池的字段。The method according to any one of claims 1 to 5, wherein the SBFD configuration information includes one or more of the following: a field indicating the type of the transceiver end of the forwarding node, A field for indicating whether the SBFD configuration information is an SBFD, a field of a local discriminator resource pool of the forwarding node, and a field of a peer discriminator resource pool of the forwarding node.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述SBFD配置信息还可以包括以下内容中的一项或者多项:发送BFD控制报文的最小发送间隔;BFD控制报文的鉴权信息。The method according to any one of claims 1-6, wherein the SBFD configuration information may further include one or more of the following: a minimum transmission interval for sending BFD control messages; BFD control messages Authentication information.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述SBFD配置信息携带在所述BGP报文新增的扩展团体属性中。The method according to any one of claims 1-7, wherein the SBFD configuration information is carried in an extended community attribute added to the BGP packet.
  9. 一种配置无缝双向转发检测SBFD机制的方法,其特征在于所述方法包括:A method for configuring a seamless two-way forwarding detection SBFD mechanism, characterized in that the method includes:
    转发节点接收控制器发送的边界网关协议BGP报文,所述BGP报文中携带SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;The forwarding node receives the border gateway protocol BGP message sent by the controller, and the BGP message carries SBFD configuration information, and the SBFD configuration information includes: information required to configure an SBFD instance associated with the segment routing SR service;
    所述转发节点根据所述SBFD配置信息,配置所述SBFD实例。The forwarding node configures the SBFD instance according to the SBFD configuration information.
  10. 根据权利要求9所述的方法,其特征在于,所述转发节点根据所述SBFD配置信息,配置所述SBFD实例,包括:The method according to claim 9, wherein the forwarding node configuring the SBFD instance according to the SBFD configuration information includes:
    所述转发节点根据所述SBFD配置信息,创建所述SBFD。The forwarding node creates the SBFD according to the SBFD configuration information.
  11. 根据权利要求9所述的方法,其特征在于,所述转发节点根据所述SBFD配置信息,配置所述SBFD实例,包括:The method according to claim 9, wherein the forwarding node configuring the SBFD instance according to the SBFD configuration information includes:
    所述转发节点基于所述SBFD配置信息,对已配置的所述SBFD实例的配置参数进行调整。The forwarding node adjusts the configured configuration parameters of the SBFD instance based on the SBFD configuration information.
  12. 根据权利要求9-11中任一项所述的方法,其特征在于,所述BGP报文中还携 带所述SR业务的信息。The method according to any one of claims 9 to 11, wherein the BGP message also carries information of the SR service.
  13. 根据权利要求9-12中任一项所述的方法,其特征在于,所述SBFD配置信息与多个所述SR业务相关联。The method according to any one of claims 9-12, wherein the SBFD configuration information is associated with multiple SR services.
  14. 根据权利要求9-13中任一项所述的方法,其特征在于,所述转发节点是隧道的头节点,或者,所述转发节点是隧道的尾节点。The method according to any one of claims 9-13, wherein the forwarding node is a head node of a tunnel, or the forwarding node is a tail node of a tunnel.
  15. 根据权利要求9-14中任一项所述的方法,其特征在于,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段。The method according to any one of claims 9 to 14, wherein the SBFD configuration information includes one or more of the following: used to indicate the type of the transceiver end of the first forwarding node A field, a field for indicating whether the SBFD configuration information is SBFD, a field of the local discriminator resource pool of the first forwarding node, and a field of the peer discriminator resource pool of the first forwarding node.
  16. 根据权利要求9-15任一项所述的方法,其特征在于,所述SBFD配置信息还可以包括以下内容中的一项或者多项:发送BFD控制报文的最小发送间隔;BFD控制报文的鉴权信息。The method according to any one of claims 9 to 15, wherein the SBFD configuration information may further include one or more of the following: a minimum transmission interval for sending BFD control messages; BFD control messages Authentication information.
  17. 根据权利要求9-16任一项所述的方法,其特征在于,所述SBFD配置信息携带在所述BGP报文新增的扩展团体属性中。The method according to any one of claims 9 to 16, wherein the SBFD configuration information is carried in the extended community attribute added to the BGP packet.
  18. 一种控制器,其特征在于,包括:A controller, characterized in that it includes:
    存储器,存储有指令;Memory, storing instructions;
    与所述存储器通信的处理器,所述处理器运行所述指令,使得所述装置执行权利要求1-8任一项所述的方法。A processor in communication with the memory, the processor executing the instructions, causing the device to perform the method of any one of claims 1-8.
  19. 一种转发节点,其特征在于,包括:A forwarding node, characterized in that it includes:
    存储器,存储有指令;Memory, storing instructions;
    与所述存储器通信的处理器,所述处理器运行所述指令,使得所述装置执行权利要求9-17任一项所述的方法。A processor in communication with the memory, the processor executing the instructions, causing the device to perform the method of any one of claims 9-17.
  20. 一种计算机可读存储介质,其特征在于,包括计算机可读指令,当其在计算机上运行时,使得计算机执行权利要求1-17任一项所述的方法。A computer-readable storage medium, characterized by comprising computer-readable instructions, which when run on a computer, causes the computer to perform the method of any one of claims 1-17.
  21. 一种通信系统,其特征在于,包括权利要求18所述的控制器和权利要求19所述的转发节点。A communication system, characterized by comprising the controller of claim 18 and the forwarding node of claim 19.
PCT/CN2019/119825 2018-12-28 2019-11-21 Method and device for configuring seamless bidirectional forwarding detection (sbfd) mechanism WO2020134739A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811626536.9A CN109587009B (en) 2018-12-28 2018-12-28 The method and apparatus for configuring seamless two-way converting detection SBFD mechanism
CN201811626536.9 2018-12-28

Publications (1)

Publication Number Publication Date
WO2020134739A1 true WO2020134739A1 (en) 2020-07-02

Family

ID=65933412

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/119825 WO2020134739A1 (en) 2018-12-28 2019-11-21 Method and device for configuring seamless bidirectional forwarding detection (sbfd) mechanism

Country Status (2)

Country Link
CN (2) CN109587009B (en)
WO (1) WO2020134739A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472653A (en) * 2021-05-25 2021-10-01 新华三信息安全技术有限公司 Method and device for detecting path consistency
CN113992581A (en) * 2021-09-17 2022-01-28 新华三信息安全技术有限公司 Message processing method and device
CN114338514A (en) * 2021-12-27 2022-04-12 中国电信股份有限公司 Network detection method, device, medium and electronic equipment
CN114765621A (en) * 2020-12-31 2022-07-19 华为技术有限公司 Method, device and network equipment for detecting state of BGP session
CN115473798A (en) * 2022-10-20 2022-12-13 中国电信股份有限公司 End-to-end service fault detection method, device, electronic equipment and storage medium
EP4354809A4 (en) * 2021-07-14 2024-09-25 Zte Corp Sbfd path optimization method, controller, node, and storage medium
EP4369661A4 (en) * 2021-07-16 2024-10-16 Huawei Tech Co Ltd Fault detection method, apparatus and system

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587009B (en) * 2018-12-28 2019-11-08 华为技术有限公司 The method and apparatus for configuring seamless two-way converting detection SBFD mechanism
CN112217724B (en) * 2019-07-11 2024-06-18 中兴通讯股份有限公司 Path management method, path management device, network equipment and readable storage medium
CN110519168B (en) * 2019-08-27 2022-03-11 北京华为数字技术有限公司 Method for establishing SRTE tunnel and related equipment
CN112448877B (en) * 2019-09-05 2022-07-22 华为技术有限公司 SBFD session establishment method, device and system
US11949591B2 (en) 2019-09-09 2024-04-02 Telefonaktiebolaget Lm Ericsson (Publ) Method and network node for label switched path traceroute
CN110460507A (en) * 2019-09-11 2019-11-15 赛尔网络有限公司 Service bearer method, apparatus
CN110752992B (en) * 2019-10-28 2021-11-26 苏州盛科通信股份有限公司 Device and method for realizing point-to-multipoint by MPLS SBFD reflection end
CN113132234B (en) * 2019-12-27 2024-06-11 华为技术有限公司 Tunnel segmentation method and device and data transmission system
CN113542154A (en) * 2020-04-17 2021-10-22 中国移动通信集团江西有限公司 Traffic scheduling method, system, device, storage medium and computer equipment
CN111901387B (en) * 2020-07-01 2022-07-08 中国联合网络通信集团有限公司 Connection method and device of cloud special line
CN111917643B (en) * 2020-07-17 2023-01-13 中盈优创资讯科技有限公司 Seamless bidirectional forwarding detection method and device for segmented routing tunnel
CN112104557B (en) * 2020-08-27 2022-10-21 新华三技术有限公司 Method and device for detecting link
CN111935004B (en) * 2020-10-12 2020-12-22 网络通信与安全紫金山实验室 SR Policy-based automatic drainage expansion method, router and system
CN112398967B (en) * 2020-11-13 2023-03-14 中盈优创资讯科技有限公司 SR-based centralized traffic scheduling method and device
CN113507410B (en) * 2021-06-29 2023-04-07 新华三信息安全技术有限公司 CGN backup method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160261474A1 (en) * 2015-03-02 2016-09-08 Cisco Technology, Inc. Monitoring through s-bfd (seamless bidirectional forwarding detection)
CN108156050A (en) * 2017-11-28 2018-06-12 盛科网络(苏州)有限公司 Seamless bidirectional forwarding detection (BFD) method and device
CN108768788A (en) * 2018-06-26 2018-11-06 新华三技术有限公司合肥分公司 Path failure detection method and device
CN109587009A (en) * 2018-12-28 2019-04-05 北京华为数字技术有限公司 The method and apparatus for configuring seamless two-way converting detection SBFD mechanism

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425942A (en) * 2008-12-09 2009-05-06 华为技术有限公司 Method, apparatus and system for bidirectional forwarding detection implementation
CN102710466B (en) * 2012-06-11 2015-09-30 烽火通信科技股份有限公司 Standby usage board switches protection system and two-way converting detects seamless switching method and apparatus
CN103384251B (en) * 2013-07-16 2016-02-03 中国人民解放军信息工程大学 The secure network construction method capable of being combined of many hierarchically secure services and device thereof
AU2014204540B1 (en) * 2014-07-21 2015-08-20 Matthew Brown Audio Signal Processing Methods and Systems
CN108370333B (en) * 2015-12-09 2021-05-18 华为技术有限公司 System, method and node for performance measurement in a segmented routing network
CN105391633B (en) * 2015-12-11 2018-11-16 北京华为数字技术有限公司 The route issuing method of transponder, controller and controller
CN111865898B (en) * 2016-03-21 2023-07-21 华为技术有限公司 Communication method, device and system based on flow rule protocol
CN107306222B (en) * 2016-04-25 2020-09-25 华为技术有限公司 Method and equipment for establishing traffic engineering tunnel on label switching path
EP3468117B1 (en) * 2016-07-01 2023-05-24 Huawei Technologies Co., Ltd. Service function chaining (sfc)-based packet forwarding method, device and system
CN107864091B (en) * 2017-10-31 2020-04-03 新华三技术有限公司 Link failure processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160261474A1 (en) * 2015-03-02 2016-09-08 Cisco Technology, Inc. Monitoring through s-bfd (seamless bidirectional forwarding detection)
CN108156050A (en) * 2017-11-28 2018-06-12 盛科网络(苏州)有限公司 Seamless bidirectional forwarding detection (BFD) method and device
CN108768788A (en) * 2018-06-26 2018-11-06 新华三技术有限公司合肥分公司 Path failure detection method and device
CN109587009A (en) * 2018-12-28 2019-04-05 北京华为数字技术有限公司 The method and apparatus for configuring seamless two-way converting detection SBFD mechanism

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
AKIYA, N. ET AL.: "Seamless Bidirectional Forwarding Detection (S-BFD) for IPv4, IPv6 and MPLS draft-akiya-bfd-seamless-ip-05", "IETF INTERNET-DRAFTS", HTTPS://DATATRACKER.IETF.ORG/DOC/RFC7881/HISTORY/, 4 May 2016 (2016-05-04), DOI: 20200211113144A *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114765621A (en) * 2020-12-31 2022-07-19 华为技术有限公司 Method, device and network equipment for detecting state of BGP session
CN114765621B (en) * 2020-12-31 2024-10-18 华为技术有限公司 Method, device and network equipment for detecting state of BGP session
CN113472653A (en) * 2021-05-25 2021-10-01 新华三信息安全技术有限公司 Method and device for detecting path consistency
CN113472653B (en) * 2021-05-25 2022-11-18 新华三信息安全技术有限公司 Method and device for detecting path consistency
EP4354809A4 (en) * 2021-07-14 2024-09-25 Zte Corp Sbfd path optimization method, controller, node, and storage medium
EP4369661A4 (en) * 2021-07-16 2024-10-16 Huawei Tech Co Ltd Fault detection method, apparatus and system
CN113992581A (en) * 2021-09-17 2022-01-28 新华三信息安全技术有限公司 Message processing method and device
CN113992581B (en) * 2021-09-17 2023-03-31 新华三信息安全技术有限公司 Message processing method and device
CN114338514A (en) * 2021-12-27 2022-04-12 中国电信股份有限公司 Network detection method, device, medium and electronic equipment
CN114338514B (en) * 2021-12-27 2023-06-16 中国电信股份有限公司 Network detection method, device, medium and electronic equipment
CN115473798A (en) * 2022-10-20 2022-12-13 中国电信股份有限公司 End-to-end service fault detection method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109587009B (en) 2019-11-08
CN111385165A (en) 2020-07-07
CN111385165B (en) 2024-04-09
CN109587009A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
WO2020134739A1 (en) Method and device for configuring seamless bidirectional forwarding detection (sbfd) mechanism
WO2020156105A1 (en) Data forwarding method and related device
US20200396162A1 (en) Service function chain sfc-based communication method, and apparatus
EP3154227B1 (en) Packet transmission method, node, path management server and storage medium
US10826722B2 (en) Controller based service policy mapping to establish different tunnels for different applications
EP3468123B1 (en) Method and device for use in processing low-latency traffic
CN110430076B (en) Route management method and device
WO2018188425A1 (en) Vxlan single-homing and dual-homing hybrid access method and apparatus, pe device and storage medium
US10454711B2 (en) Method for obtaining port path and apparatus
WO2011103781A2 (en) Method, device for implementing identifier and locator split, and method for data encapsulating
WO2017124709A1 (en) Method of establishing traffic engineering tunnel and device
WO2019007316A1 (en) Method and device for achieving bidirectional segment routing tunnel, storage medium, and apparatus
US10341140B2 (en) Dynamic network service overlay establishment in hub-and-spoke packet switching networks
US10291522B1 (en) Applications-aware targeted LDP sessions
WO2015039617A1 (en) Method, system, and device for packet processing
US9521072B2 (en) Method and network device for distributing multi-protocol label switching labels
CN112737954B (en) Message processing method, device, system, equipment and storage medium
CN111213345B (en) Apparatus, method and system for transmitting or receiving a message containing control information
JP2007336545A (en) Data transfer method and data transfer control apparatus
WO2018090210A1 (en) Service packet transmission method, and node apparatus
CN114448859B (en) Supporting multiple transport options for border gateway protocol
CN102355402A (en) Method, system and router for establishing LSP (Label Switched Path) based on VPN (Virtual Private Network) route
WO2020114083A1 (en) Method and apparatus for processing ioam information
WO2006056131A1 (en) A method for realizing intercommunication between the l3 vpn
CN103095507B (en) Based on message transmitting method and the edge device of Ethernet virtualization internet network

Legal Events

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

Ref document number: 19905254

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

Country of ref document: EP

Kind code of ref document: A1