[go: up one dir, main page]

CN111385165A - 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
CN111385165A
CN111385165A CN201911129891.XA CN201911129891A CN111385165A CN 111385165 A CN111385165 A CN 111385165A CN 201911129891 A CN201911129891 A CN 201911129891A CN 111385165 A CN111385165 A CN 111385165A
Authority
CN
China
Prior art keywords
sbfd
configuration information
forwarding node
node
forwarding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911129891.XA
Other languages
Chinese (zh)
Other versions
CN111385165B (en
Inventor
邰博
吕金生
王丽娜
王海波
胡志波
唐宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911129891.XA priority Critical patent/CN111385165B/en
Publication of CN111385165A publication Critical patent/CN111385165A/en
Application granted granted Critical
Publication of CN111385165B publication Critical patent/CN111385165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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 application provides a method and a device for configuring a Seamless Bidirectional Forwarding Detection (SBFD) mechanism. The method comprises the following steps: the controller determines SBFD configuration information according to an SBFD mechanism configuration state of a first forwarding node of the plurality of forwarding nodes, wherein the SBFD configuration information comprises: configuring information required by an SBFD instance associated with a Segment Routing (SR) service; and the controller sends a Border Gateway Protocol (BGP) message to the first forwarding node, wherein the BGP message carries the SBFD configuration information.

Description

配置无缝双向转发检测SBFD机制的方法和装置Method and device for configuring seamless bidirectional forwarding detection SBFD mechanism

技术领域technical field

本申请涉及计算机领域,并且更具体地,涉及一种配置无缝双向转发检测SBFD机制的方法和装置。The present application relates to the field of computers, and more particularly, to a method and apparatus for configuring a seamless bidirectional 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 switch (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 using SR as a control protocol. SR-TE refers to the tunnel created by the SR protocol based on the constraint attribute of TE. The controller is responsible for calculating the forwarding path of the tunnel and delivering the label stack strictly corresponding to the path to the forwarder. On the ingress node of the SR-TE tunnel, the forwarder 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 does not have a protocol established, the link-state packet (LSP) will be established successfully as long as the label stack is delivered, and the LSP will not be in protocol Down except for the label stack cancellation. Therefore, SR-TE LSP fault detection needs to rely on the deployment of bidirectional forwarding detection (BFD) detection, and switch the backup LSP through BFD fault detection. Seamless bidirectional forwarding detection (seamless BFD, SBFD) simplifies the state machine of BFD, 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 the forwarder. Static configuration of SBFD instances and parameters provides end-to-end fault detection for the created SR Policy tunnel, and cannot provide timely and dynamic tunnel protection.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请提供一种配置无缝双向转发检测SBFD机制的方法和装置,能够实现SBFD的动态部署,有助于及时提供隧道保护。In view of this, the present application provides a method and apparatus for configuring a seamless bidirectional forwarding detection SBFD mechanism, which can realize dynamic deployment of SBFD and help to provide tunnel protection in time.

第一方面,提供了一种配置无缝双向转发检测SBFD机制的方法,所述方法应用于支持分段路由流量工程SR-TE的网络,所述网络包括控制器和多个转发节点,所述方法包括:控制器根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;控制器向第一转发节点发送边界网关协议BGP报文,BGP报文中携带所述SBFD配置信息,即控制器可以为转发节点动态配置SBFD实例,不需要用户为转发节点静态配置SBFD实例,能够实现更灵活的动态部署,有助于及时提供隧道保护。A first aspect provides a method for configuring a seamless bidirectional forwarding detection SBFD mechanism, the method is applied to a network supporting segment routing traffic engineering SR-TE, the network includes a controller and a plurality of forwarding nodes, the The method includes: a controller determines SBFD configuration information according to the SBFD mechanism configuration state of a first forwarding node in the plurality of forwarding nodes, where the SBFD configuration information includes: information required for configuring an SBFD instance associated with a 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, Enables more flexible dynamic deployment, which helps to provide tunnel protection in a timely manner.

可选地,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 in the plurality of forwarding nodes, including: SBFD is not configured in the first forwarding node In the case of the SBFD mechanism, the SBFD configuration information includes the 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 Including 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 establishes or adjusts the SBFD instance based on the SBFD configuration information to meet the forwarding requirements. Node requirements.

在一种可能的实现方式中,所述BGP报文中还携带所述SR业务的信息。因此,控制器还可以在BGP报文中携带SR业务的信息,使得转发节点创建与SBFD实例相关联的SR业务。In a possible implementation manner, the BGP message also carries the information of the SR service. Therefore, the controller can also carry the information of the SR service 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 a plurality of the 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 contents: a field used to indicate the transceiver type of the first forwarding node, a field used to indicate the SBFD configuration information Whether it is a field of SBFD, a field of the local end discriminator resource pool of the first forwarding node, a field of the opposite end discriminator resource pool of the first forwarding node.

可选地,所述SBFD配置信息中还可以包括可选字段。Optionally, the SBFD configuration information may further include optional fields.

第二方面,提供了一种配置无缝双向转发检测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 bidirectional forwarding detection SBFD mechanism is provided, the method is applied to a network supporting segment routing traffic engineering SR-TE, the network includes a controller and a plurality of forwarding nodes, the The method includes: a first forwarding node of 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 information required by the SBFD instance associated with the segment routing SR service; the first forwarding node configures the SBFD instance associated with the SR service according to the SBFD configuration information; configure 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 enables more flexible dynamic deployment and helps to provide tunnel protection in time.

可选地,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 the 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, in the case where the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes a parameter for adjusting the configuration parameters of the SBFD configured in the first forwarding node information; the first forwarding node adjusts the configured configuration parameters of the SBFD based on the SBFD configuration information. Therefore, the first forwarding node can 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 the information of the SR service. Therefore, the first forwarding node can create the SR service associated with the SBFD instance based on the information of the SR service carried in the BGP message by the controller.

在一种可能的实现方式中,所述SBFD配置信息与多个所述SR业务相关联。In a possible implementation manner, the SBFD configuration information is associated with a plurality of the 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 contents: a field used to indicate the transceiver type of the first forwarding node, a field used to indicate the SBFD configuration information Whether it is a field of SBFD, a field of the local end discriminator resource pool of the first forwarding node, a field of the opposite end discriminator resource pool of the first forwarding node.

可选地,所述SBFD配置信息中还可以包括可选字段。Optionally, the SBFD configuration information may further include optional fields.

第三方面,提供了一种控制器,该控制器包括用于执行上述第一方面或第一方面的任意可能的实现方式中的方法的模块。In a third aspect, a controller is provided, the controller comprising a module for performing the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

第四方面,提供了一种转发节点,该转发节点包括用于执行上述第二方面或第二方面的任意可能的实现方式中的方法的模块。In a fourth aspect, a forwarding node is provided, the forwarding node comprising a module for performing the method in the second aspect or any possible implementation manner of the second aspect.

第五方面,提供了一种网络,该网络包括控制器和多个转发节点,其中,该控制器用于执行上述第一方面或第一方面的任意可能的实现方式中的方法;该多个转发节点中的第一转发节点用于执行上述第二方面或第二方面的任意可能的实现方式中的方法。In a fifth aspect, a network is provided, the network includes a controller and multiple forwarding nodes, wherein the controller is configured to execute the method in the first aspect or any possible implementation manner of the first aspect; the multiple forwarding nodes The first forwarding node among the nodes is configured to execute 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网络。Optionally, the network may be a network supporting segment routing traffic engineering SR-TE, such as an SDN network.

第六方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有程序,该程序使得控制器执行上述第一方面,及其各种实现方式中的任一种配置无缝双向转发检测SBFD机制的方法。In a sixth aspect, a computer-readable storage medium is provided, the computer-readable storage medium stores a program, the program enables the controller to execute the above-mentioned first aspect, and any one of its various implementations is configured in a seamless bidirectional manner The method of forwarding detection SBFD mechanism.

第七方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有程序,该程序使得转发节点执行上述第二方面,及其各种实现方式中的任一种配置无缝双向转发检测SBFD机制的方法。In a seventh aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores a program, the program enables the forwarding node to execute the second aspect, and any one of its various implementations is configured in a seamless bidirectional manner The method of forwarding detection SBFD mechanism.

第八方面,本申请还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面中的配置无缝双向转发检测SBFD机制的方法。In an eighth aspect, the present application further provides a computer program product comprising instructions, which, when run on a computer, cause the computer to execute the method for configuring the seamless bidirectional forwarding detection SBFD mechanism in the above aspects.

第九方面,提供了一种配置无缝双向转发检测SBFD机制的装置,该装置包括处理器、存储器和收发器。处理器与存储器和收发器连接。存储器用于存储指令,处理器用于执行该指令,收发器用于在处理器的控制下与其他网元进行通信。该处理器执行该存储器存储的指令时,该执行使得该处理器执行上述各方面中的配置无缝双向转发检测SBFD机制的方法。In a ninth aspect, an apparatus for configuring a seamless bidirectional forwarding detection SBFD mechanism is provided, the apparatus including 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 bidirectional forwarding detection SBFD mechanism in the above aspects.

附图说明Description of drawings

图1是应用本申请实施例的网络场景示意图;1 is a schematic diagram of a network scenario applying an embodiment of the present application;

图2是SBFD机制进行可达性检测的一种示例图;Fig. 2 is an example diagram of reachability detection performed by the SBFD mechanism;

图3是根据本申请实施例的配置无缝双向转发检测SBFD机制的方法的示意图;3 is a schematic diagram of a method for configuring a seamless bidirectional 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 bidirectional 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 seamless bidirectional forwarding detection SBFD mechanism according to another embodiment of the present application;

图6是根据本申请实施例的配置无缝双向转发检测SBFD机制的装置的示意结构图;6 is a schematic structural diagram of an apparatus for configuring a seamless bidirectional forwarding detection SBFD mechanism according to an embodiment of the present application;

图7是根据本申请另一实施例的配置无缝双向转发检测SBFD机制的装置的示意结构图。FIG. 7 is a schematic structural diagram of an apparatus for configuring a seamless bidirectional forwarding detection SBFD mechanism according to another embodiment of the present application.

具体实施方式Detailed ways

下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.

本申请实施例的技术方案适用于支持段路由(segment routing,SR)技术或SRPolicy技术的网络其中,该网络中包括控制器和多个转发节点。比如,网络可以是SDN网络。转发节点之间建立的隧道可以是分段路由流量工程(segment routing-trafficengineering,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 SRPolicy technology, wherein 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 this embodiment 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, which is not limited in this embodiment of the present application.

SR policy技术是在SR技术基础上发展的一种新的隧道引流技术。SR-TE算路按照代表业务隧道服务级别协议(service level agreement,SLA)要求的Color属性计算隧道路径。业务网络头结点通过扩展的业务路由Color团体属性和网络远端节点信息来匹配对应的隧道实现业务流量转发。通过SR Policy技术可以实现对具有特定SLA要求的业务定制SR隧道路径,实现应用级的业务转发网络细分。SR policy的进一步详细描述可以参见现有技术的介绍,这里不作赘述。SR policy technology is a new tunnel traffic diversion technology developed on the basis of SR technology. The SR-TE path calculation calculates the tunnel path according to the Color attribute required by the service level agreement (Service Level Agreement, SLA) representing the service tunnel. The service network head node matches the corresponding tunnel through the extended service route Color community attribute and the network remote node information to realize service traffic forwarding. The SR Policy technology can customize SR tunnel paths for services with specific SLA requirements, and implement application-level service forwarding network segmentation. For a further detailed description of the SR policy, reference may be made 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 by the embodiments of the present application, the SR Policy service establishment process is first described with reference to FIG. 1 . 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 management) and forwarding nodes (for example, the forwarding nodes include 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 adjacency labels are pre-allocated by any forwarding node through IGP routing. The controller collects network topology and label space information through border gateway protocol link state (BGP-LS) messages. The controller provides an interface; the user plans the VPN service source and sink nodes (RT1-RT3) and traffic diversion strategies (correspondence between Color and tunnel service level agreement SLA path 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 the session of the BGP SR policy address family. In the (border gateway protocol, BGP) session packet, it 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 issues a 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 routes delivered by the tail node RT3, and generates a BGP routing table. The head node RT1 matches the stored BGP routes with the SR Policy BGP session packets sent by the controller, establishes an SR policy tunnel after successful matching, and attaches the next hop of the route to the SR policy tunnel. The next hop in the table matches BSID 30027 and the traffic is directed to the SR policy tunnel for forwarding.

头节点RT1是指流量入口节点。尾节点RT3是指流量出口节点。The head node RT1 refers to the traffic entry node. The tail node RT3 refers to the traffic exit node.

下面对本申请实施例涉及到的一些术语或概念作介绍。Some terms or concepts involved in the embodiments of the present application are introduced below.

SBFD是一种快速检测协议。SBFD通过快速不间断地发布协议报文做到可达性检测的目的。如图2所示,SBFD机制分为发起端和反射端,在链路检测之前,发起端和反射端通过互相发送SBFD控制报文(SBFD Control Packet)通告SBFD描述符(Discriminator)等信息。在链路检测时,发起端主动发送SBFD Echo报文,反射端根据本端情况环回此报文,发起端根据反射报文决定本端状态。SBFD应用到SR场景检测时,主要有SBFD for SR LSP和SBFDfor SR-TE LSP两种场景。在SBFD检测SR场景,SBFD发起端到反射端路径走MPLS标签转发,反射端向发起端回程路径走多跳IP路径。SBFD is a rapid detection protocol. SBFD achieves reachability detection by rapidly and uninterruptedly publishing protocol packets. As shown in Figure 2, the SBFD mechanism is divided into an initiator and a reflector. Before link detection, the initiator and the reflector notify each other of information such as SBFD descriptors (Discriminators) by sending SBFD Control Packets to each other. During link detection, the initiator actively sends an SBFD Echo packet, the reflector loops back this packet according to the local situation, and the initiator determines the local state according to the reflected packet. When SBFD is applied to SR scenario detection, there are mainly two scenarios: SBFD for SR LSP and SBFD for SR-TE LSP. In the SBFD detection SR scenario, the path from the SBFD initiator to the reflector uses MPLS label forwarding, and the return path from the reflector to the initiator uses a multi-hop IP 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 state machine of the initiator has only Up and Down states, and only sends packets in Up and Down states, and can only receive Up or Admin Down state packets. SBFD packets are sent from the initiator to the reflector. The initial status of the packets is Down, and the destination port number of the packets is 7784. For a further detailed description of the SBFD, reference may be made to the introduction of the prior art, which will not be repeated here.

应理解,本申请实施例中,不应将头尾节点,与发起反射端混为一谈。其中,头节点与尾节点是从网络中隧道的流量的出入口的角度来区分的;而发起端和反射端是SBFD机制中作报文可达性检测的角度来区分的。比如,在SBFD机制中,头节点可以是发起端,对应的尾节点可以是反射端;或者,头节点可以是反射端,对应的尾节点可以是发起端。It should be understood that, in this embodiment of the present application, the head and tail nodes should not be confused with the initiating reflection end. Among them, the head node and the tail node are distinguished from the point of entry and exit of the traffic of the tunnel in the network; the initiator and the reflector are distinguished from the point of view of packet reachability detection in the SBFD mechanism. 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 nodes are all statically configured by the user, which does not support selective management based on service dynamics, and is not flexible enough. The embodiment of the present application proposes a method for configuring a seamless bidirectional forwarding detection SBFD mechanism, which dynamically configures an SBFD instance for a forwarding node, which can realize more flexible dynamic deployment.

图3示出了根据本申请实施例的配置无缝双向转发检测SBFD机制的方法300的示意图。所述方法300应用于支持分段路由流量工程SR-TE的网络,所述网络包括控制器和多个转发节点。如图3所示,所述方法300包括:FIG. 3 shows a schematic diagram of a method 300 for configuring a seamless bidirectional forwarding detection SBFD mechanism according to an embodiment of the present application. The method 300 is applied to a network supporting segment routing traffic engineering SR-TE, the network including a controller and a plurality of 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 SBFD mechanism configuration state of the first forwarding node among the plurality of forwarding nodes, where the SBFD configuration information includes: required for configuring the SBFD instance associated with the segment routing SR service information.

其中,SR业务可以是SR Policy业务。SR Policy业务的相关配置流程可以参见上文描述。The SR service may be an SR Policy service. For the related configuration process of the SR Policy service, please refer to the above description.

可选地,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段(比如,字段取值为1时表示SBFD,字段取值为0时表示普通BFD)、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段、预留字段。Optionally, the SBFD configuration information includes one or more of the following: a field used to indicate the transceiver type of the first forwarding node, a field used to indicate whether the SBFD configuration information is SBFD (For example, when the field value is 1, it means SBFD, and when the field value is 0, it means normal BFD), the field of the local identifier resource pool of the first forwarding node, and the peer identifier of the first forwarding node Resource pool fields, reserved fields.

控制器可以对BGP协议扩展地址族,增加上述SBFD配置信息。比如,控制器基于BGPSR-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-mentioned SBFD configuration information. For example, the controller adds a BFD extended community (extend community) attribute based on the BGPSR-Policy multi-protocol extended address family, which is used to carry the above-mentioned SBFD configuration information. That is, the controller can advertise the above-mentioned SBFD configuration information through the BGP SR-Policy address family route. Optionally, the SBFD configuration information includes one or more of the following: a field used to indicate the transceiver type of the first forwarding node, a field used to indicate whether the SBFD configuration information is SBFD , a field of the local identifier resource pool of the first forwarding node, a field of the peer identifier resource pool of the first forwarding node, and other fields. For example, the field used to indicate the transceiver type of the first forwarding node may be the Flags field to indicate whether the first forwarding node is an initiator or a 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 common BFD or SBFD types); the field of the local discriminator resource pool of the first forwarding node may be the Local Discriminators field; the first forwarding node Fields such as the peer discriminator resource pool field can be the Remote Discriminators 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机制或链路捆绑LinkBandle 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 control packets, A field used to indicate the minimum reception interval of control packets (Min-rx-interval field), a field used to indicate the local detection multiple of BFD sessions (Detect-multiplier field), a field used to indicate authentication data (key) A field (Auth Lenth field) of length information of a part, a field (Auth Type field) for indicating the authentication type of the control message, a field (Authentication Data field) for indicating authentication data, and the like. It should be understood that the control packet here can be a BFD control packet or an SBFD control packet, which is not specifically limited. The specific control packet can be based on which BFD mechanism needs to be configured on the controller (such as the SBFD mechanism or the SBFD mechanism). Ordinary BFD mechanism or LinkBandle 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, which may be determined based on actual requirements. For example, the fields included in the SBFD configuration information may be one or more of the above fields , and can include other fields as well.

例如,可以对BGP协议作如下扩展,使得BGP中携带所述SBFD配置信息,BGP协议新增扩展团体属性的一个格式的例子具体如下所示:For example, the BGP protocol can be extended as follows, so that the SBFD configuration information is carried in the BGP protocol, and an example of a format for adding an extended community attribute to the BGP protocol is as follows:

Figure BDA0002277999370000061
Figure BDA0002277999370000061

基于上述内容,扩展后的BGP报文中携带Type字段、flag字段、保留字段、本端区分符local Discriminatior字段、远端区分符Remote Discriminatior字段、可选参数Optional Para或变量(variable)字段等。Based on the above content, the extended BGP packet carries the Type field, flag field, reserved field, local discriminator field, remote discriminatior field, optional parameter Optional Para or variable (variable) field, etc.

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 at the same time, multiple BFD extended community attributes need to be carried.

其中,Flags字段格式如下:Among them, the Flags field format is as follows:

0 1 2 3 4 5 6 70 1 2 3 4 5 6 7

+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+

|R|P|Reserved| (Reserved保留字段默认置0)|R|P|Reserved| (Reserved 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 the Reflector, which is used to indicate the reflector or initiator of the SBFD. For example, when R is set to 1, it means the reflection end of SBFD; when R is set to 0, it means the initiator end 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 reflector or initiator of BFD. When set to 1, it means the reflection end of ordinary BFD, and when set to 0, it means the initiating end of ordinary BFD.

当R比特为置0时,表示SBFD的发起端,此时,本端区分符local Discriminatior字段携带创建SBFD或BFD所需的本端区分符,长度为4字节;远端区分符RemoteDiscriminatior字段携带创建SBFD或BFD所需的远端区分符。特别地,当localDiscriminatior字段为时,表示不特定指定创建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 field carries the local discriminator required to create SBFD or BFD, and the length is 4 bytes; the remote discriminator The RemoteDiscriminatior field carries Create the far-end specifier required for SBFD or BFD. In particular, when the localDiscriminatior field is , it indicates that the segment discriminator 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 , it indicates that the remote discriminator for creating an SBFD instance is not specified, and can be configured locally or automatically generated by the forwarding node.

当R比特为置1时,表示SBFD的反射端,此时,本端区分符local Discriminatior字段携带创建SBFD或BFD所需的反射端区分符(Reflector Discriminatior),RemoteDiscriminatior字段在默认置零。When the R bit is set to 1, it indicates the reflector of the SBFD. In this case, the local discriminator field carries the reflector discriminatior (Reflector Discriminatior) required to create SBFD or BFD, and the RemoteDiscriminatior field is set to zero by default.

其中,Optional Para字段格式如下:Among them, the format of the Optional Para field is as follows:

Figure BDA0002277999370000071
Figure BDA0002277999370000071

示例性地,本申请实施例可以通过Min-tx-interval字段携带BFD控制报文的最小发送间隔,单位为微秒。应理解,上述“Min-tx-interval字段”中涉及的“BFD控制报文”只是一种示例,本申请实施例对BFD的类型不作限定,可以是普通BFD,也可以是SBFD,这取决于控制器给转发节点配置哪种BFD机制。也就是说,“可选字段”中涉及的“BFD控制报文”也可以替换为“SBFD控制报文”。下面的可选字段中涉及的“BFD控制报文”也可以做类似解释,下文不再赘述。Exemplarily, in this embodiment of the present application, the Min-tx-interval field may carry the minimum sending interval of the BFD control packet, and the unit is microseconds. It should be understood that the "BFD control message" involved in the above "Min-tx-interval field" is only an example, and the embodiment of this application does not limit the type of BFD, which may be ordinary BFD or SBFD, depending on Which BFD mechanism the controller configures for the forwarding node. That is to say, the "BFD control message" involved in the "optional field" may also be replaced with an "SBFD control message". The "BFD control packet" involved in the following optional fields can also be similarly interpreted, and will not be repeated below.

本申请实施例可以通过Min-rx-interval字段携带BFD控制报文的最小接收间隔,单位为微秒。本申请实施例可以通过Detect-multiplier字段携带BFD会话的本地检测倍数。本申请实施例可以通过Auth Type字段携带BFD控制报文的鉴权类型,有如下几种取值:In this embodiment of the present application, the Min-rx-interval field may carry the minimum receiving interval of the BFD control packet, and the unit is microseconds. In this embodiment of the present application, the local detection multiple of the BFD session may be carried through the Detect-multiplier field. In this embodiment of the present application, the Auth Type field can carry the authentication type of the BFD control packet, and there are the following values:

0-Reserved0-Reserved

1-Simple Password1-Simple Password

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, in this embodiment of the present application, each encryption algorithm may be assigned a type value to refer to a corresponding authentication type. It should be understood that the above seven values may respectively correspond to encryption algorithms in industry standards, and the relevant explanation or description of the encryption algorithms may refer to the description of the prior art, and the description of the encryption algorithms will not be described in detail here.

本申请实施例可以通过Auth Lenth字段携带鉴权数据(秘钥)部分的长度信息。In this embodiment of the present application, the Auth Lenth field may carry the length information of the authentication data (secret key) part.

本申请实施例可以通过Authentication Data字段携带鉴权数据(秘钥)信息。In this embodiment of the present application, authentication data (key) information may be carried 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 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 the SBFD configuration information required for the first forwarding node SBFD instance. information, so that the first forwarding node can 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 SBFD information about the configuration parameters. Among them, "adjusting the configuration parameters of the configured SBFD" can be interpreted as operations such as "adding, updating or deleting the configuration parameters of the configured SBFD".

S320,所述控制器向所述第一转发节点发送BGP报文,所述BGP报文中携带所述SBFD配置信息。对应地,第一转发节点接收所述BGP报文,得到所述SBFD配置信息。S320, the controller sends a BGP packet to the first forwarding node, where the BGP packet carries the SBFD configuration information. Correspondingly, the first forwarding node receives the BGP packet 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 an 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 communicates with the first forwarding node. The peer node corresponding to the forwarding node performs SBFD negotiation. The opposite 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 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 a head node, which is not specified. limited.

可选地,所述SBFD配置信息可以单独下发,也可以与SBFD配置信息相关联的SR业务一起下发,对此不作限定。Optionally, the SBFD configuration information may be delivered independently, 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, local discriminator field, and remote discriminatior field of the Flag field in the SBFD configuration information to distinguish the head node or the tail node. SBFD configuration information.

举例来说,若上述第一转发节点是头节点,那么头节点收到的SBFD配置信息在BGPSR-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 BGPSR-Policy route may be as follows:

Figure BDA0002277999370000081
Figure BDA0002277999370000081

Figure BDA0002277999370000091
Figure BDA0002277999370000091

其中,Flags字段的具体格式如下:The specific format of the Flags field is as follows:

0 1 2 3 4 5 6 70 1 2 3 4 5 6 7

+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+

|0|0|Reserved| (Reserved保留字段默认置0)|0|0|Reserved| (Reserved reserved field is set to 0 by default)

+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+

在上述头节点接收到的SBFD配置信息中,Type字段设置为0x01,表示当前使用的是SBFD类型保护;Flag字段R比特位为0,表示头节点为SBFD的发起端;LocalDiscriminatior字段可以设置为本端区分符资源池中某一特定值,特别地,当设置为0时由转发节点本地配置或者自动生成。In the SBFD configuration information received by the 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 LocalDiscriminatior field can be set to this A specific value in the end-specifier resource pool, in particular, when set to 0, it is configured locally or automatically generated by the forwarding node.

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 use Local Discriminatior and Remote Discriminatior to match to create an SBFD instance.

若头节点收到的上述SBFD配置信息对应的字段的总长度大于12字节,则表示头节点需要读取Optional Para(可选参数)字段取。If the total length of the fields corresponding to the above 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 (optional parameter) field.

例如,Optional Para字段格式如下:For example, the Optional Para field format is as follows:

Figure BDA0002277999370000092
Figure BDA0002277999370000092

可选地,控制器可以通过上述Optional Para字段,为头节点指定报文最小发送/接收间隔,检测时间周期和鉴权加密算法。Optionally, the controller may specify the minimum packet sending/receiving interval, the detection time period and the authentication encryption algorithm for the head node through the above-mentioned Optional Para field.

头节点在收到控制器发送的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配置信息在BGPSR-Policy路由中的格式可以如下所示:For example, if the above-mentioned first forwarding node is a tail node, the format of the SBFD configuration information received by the tail node in the BGPSR-Policy route can be as follows:

Figure BDA0002277999370000093
Figure BDA0002277999370000093

Figure BDA0002277999370000101
Figure BDA0002277999370000101

其中,Flags字段格式如下:Among them, the Flags field format is as follows:

0 1 2 3 4 5 6 70 1 2 3 4 5 6 7

+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+

|1|0|Reserved| (Reserved保留字段默认置0)|1|0|Reserved| (Reserved reserved field is set to 0 by default)

+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+

Type字段设置为0x01,表示当前使用的是SBFD类型保护;Flag字段中的R比特位置1,标识RT3是SBFD反射端;Flag字段中的P比特位置0,表示不需要配置为BFD反射端;LocalDiscriminatior字段设置为与头节点中的Remote Discriminatior字段相同的值。The Type field is set to 0x01, indicating that SBFD type protection is currently used; the R bit in the Flag field is set to 1, indicating that RT3 is the SBFD reflector; the P bit position in the Flag field is 0, indicating that it does not need to be configured as a BFD reflector; LocalDiscriminatior The field is set to the same value as the Remote Discriminatior field in the head node.

类似地,若尾节点收到的上述SBFD配置信息对应的字段的总长度大于12字节,表示尾节点需要读取可选参数(Optional Para)字段。可选地,控制器可以通过上述OptionalPara字段,为尾节点指定报文最小发送/接收间隔,检测时间周期和鉴权加密算法。Similarly, if the total length of the fields corresponding to the foregoing SBFD configuration information received by the tail node is greater than 12 bytes, it means that the tail node needs to read the optional parameter (Optional Para) field. Optionally, the controller may specify the minimum packet sending/receiving interval, the detection time period and the authentication encryption algorithm for the tail node through the above-mentioned OptionalPara field.

尾节点在收到控制器发送的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 have received the BFD extended community attribute delivered by the controller, and after the head node and the tail node complete the service deployment according to the above-mentioned 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 will describe the situations of whether or not 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 implementation method:

如果第一转发节点上没有配置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实例,包括:The first forwarding node configures the SBFD instance associated with the SR service according to the SBFD configuration information, including:

所述第一转发节点基于所述SBFD配置信息,新建与所述SR业务相关联的SBFD实例。The first forwarding node creates a new SBFD instance associated with the SR service based on the SBFD configuration information.

如果第一转发节点中没有配置SBFD机制,控制器可以通过BGP报文将SBFD配置信息单独下发给第一转发节点,或者,也可以通过BGP报文同时下发创建SR业务的信息和SBFD配置信息。这里,由于第一转发节点中没有配置SBFD,SBFD配置信息中需要包含创建SBFD的全部必要信息。If the SBFD mechanism is not configured in the first forwarding node, the controller can individually deliver the SBFD configuration information to the first forwarding node through a BGP packet, or it can simultaneously deliver the SR service creation information and the SBFD configuration through a BGP packet. information. Here, since SBFD is not configured in the first forwarding node, the SBFD configuration information needs to include 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, when the head node receives the BGP message sent by the controller to create the SR service information and the SBFD configuration information at the same time, it can first create the SR based on the BGP message The SR-Policy service is created based on the service information, and the SBFD instance associated with the SR-Policy service is created immediately after the SR-Policy service is established. In the case where the first forwarding node is the tail node, in the scenario of a bidirectional tunnel, after receiving the SR service creation information and SBFD configuration information sent by the controller, the tail node can first create an SR service based on the information in the packet. Create the SR-Policy service, and create the SBFD instance associated with the SR-Policy service immediately after the SR-Policy service is established. Configure the reflector side. After the SBFD instance is created, wait for SBFD negotiation with the head node. Or, in the scenario of establishing a unidirectional tunnel, when the tail node does not need the information for creating the SR-Policy service sent by the controller, the network layer reachable information of the SR service received by the tail node (network layer reachable information) , NLRI) will be set to zero (zero means that the BGP packet sent by the controller to the tail node will not carry the information for creating 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 first creates the SR-Policy service or first creates the SBFD instance, which may be determined based on actual requirements.

在头节点和尾节点中的SBFD实例都创建完成后,头节点与尾节点可以进行SBFD协商,并将SBFD实例与SR-Policy业务形成关联,为SR业务提供故障检测。After the SBFD instances in 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 implement:

如果第一转发节点上配置了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 the configuration parameters of the SBFD configured in the first forwarding node, wherein the first forwarding node according to the SBFD Configuration information, configure the SBFD instance associated with the SR service, including:

所述第一转发节点基于所述SBFD配置信息,对已配置的SBFD的配置参数进行调整。The first forwarding node adjusts the configured configuration parameters of the SBFD based on the SBFD configuration information.

具体而言,如果第一转发节点中配置了SBFD机制,那么控制器无需在BGP报文中携带创建SBFD实例的所有信息。第一转发节点可以使用原有静态配置的SBFD的基础配置,比如本地静态配置或者自动生成的配置值。这里,在控制器向第一转发节点发送的SBFD配置信息中,可以携带SBFD中的部分信息,作为对SBFD配置对应的绑定策略和/或参数补充。比如,所述SBFD配置信息中包括的字段中,可以对Local Discriminatior和RemoteDiscriminatior置零,对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 the information for creating an SBFD instance in the BGP message. The first forwarding node may use the original statically configured basic configuration of the SBFD, such as a local static configuration or an automatically generated configuration value. Here, the SBFD configuration information sent by the controller to the first forwarding node may carry some information in the SBFD as a supplement to the binding policy and/or parameters corresponding to the SBFD configuration. For example, in the fields included in the SBFD configuration information, the Local Discriminatior and the Remote Discriminatior can be set to zero, and the Local Discriminatior and the Remote Discriminatior can be set to zero. The information of the Local Discriminatior and the Remote Discriminatior is not carried, and the rest of the fields can be controlled The server 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 BDA0002277999370000111
Figure BDA0002277999370000111

Figure BDA0002277999370000121
Figure BDA0002277999370000121

对于上述SBFD配置信息在BGP SR-Policy路由中的字段,控制器将LocalDiscriminatior字段置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 LocalDiscriminatior 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 some information, so that the first forwarding node can adjust the parameters of the basic SBFD 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 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 this embodiment of the present application, the BGP message sent by the controller to the first forwarding node may carry the SR service and the configuration information of the SBFD instance associated with the SR service. In particular, when the SBFD instance associated with the SR service needs to be deleted, that is, when the SR service is no longer associated with the SBFD instance, the BGP packet 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 can 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 created SBFD instance, which can release resources and help 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 the SBFD static configuration, after the first forwarding node is configured with an SBFD instance associated with a certain SR service by using the method in this embodiment of the present application, if the first forwarding node subsequently receives the required If the BGP message of the SR service is cancelled or deleted, and all the SR services have been cancelled, 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 this embodiment of the present application may be associated with multiple SR services. When delivering BGP packets to the forwarding node, the controller may deliver multiple BGP packets corresponding to multiple SR services to the first forwarding node, wherein each BGP packet carries the same SBFD configuration information. The first forwarding node may multiplex the SBFD configuration information to multiple different SR services when receiving such BGP packets.

或者,控制器在向第一转发节点下发BGP报文时,可以向第一转发节点下发一个BGP报文,该一个BGP报文中携带多个SR业务的配置信息,以及同一个SBFD配置信息。第一转发节点在收到该BGP报文时,可以将SBFD配置信息复用给多个不同的SR业务。Alternatively, when delivering a BGP packet to the first forwarding node, the controller may deliver a BGP packet to the first forwarding node, where the BGP packet carries configuration information of multiple SR services and the same SBFD configuration information. When receiving the BGP packet, the first forwarding node can 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 for configuring the seamless bidirectional forwarding detection SBFD mechanism in the embodiment of the present application is described by taking the configuration of SBFD as an example, and the technical solution in the embodiment of the present application is also applicable to the dynamic deployment of ordinary BFD, Link Bandle BFD, or other BFDs. , which is not limited. For example, the configuration information of common BFD can be extended to other BGP service address families, or a special BFD control address family can be added.

还应理解,本申请实施例中出现的各个字段的格式的举例均不对本申请实施例构成限定,本领域技术人员基于上述举例可以做等价变换或者调整,这些等价变换或者调整都应落入本申请实施例的保护范围。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 perform equivalent transformations or adjustments based on the above examples, and these equivalent transformations or adjustments should be fall into the protection scope of the embodiments of the present application.

上文结合图1至图3详细描述了根据本申请实施例的配置无缝双向转发检测SBFD机制的方法。下面将结合图4至图7描述根据本申请实施例的配置无缝双向转发检测SBFD机制的装置。应理解,方法实施例所描述的技术特征同样适用于以下装置实施例。The method for configuring a seamless bidirectional forwarding detection SBFD mechanism according to an embodiment of the present application is described in detail above with reference to FIGS. 1 to 3 . An apparatus for configuring a seamless bidirectional forwarding detection SBFD mechanism according to an embodiment of the present application will be described below with reference to FIG. 4 to FIG. 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 bidirectional forwarding detection SBFD mechanism according to an embodiment of the present application. Alternatively, apparatus 400 may be a controller. As shown in FIG. 4, the apparatus 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 in the plurality of 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 packet to the first forwarding node, where the BGP packet carries the SBFD configuration information.

在一种可能的实现方式中,所述确定模块410用于根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,具体包括:In a possible implementation manner, the determining module 410 is configured to determine the 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实例所需的信息;In the 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;

在所述第一转发节点中配置了SBFD机制的情况下,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息。When the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes information for adjusting the configuration parameters of the SBFD configured in the first forwarding node.

在一种可能的实现方式中,所述BGP报文中还携带所述SR业务的信息。In a possible implementation manner, the BGP message also carries the 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 contents: a field used to indicate the transceiver type of the first forwarding node, a field used to indicate the SBFD configuration information Whether it is a field of SBFD, a field of the local end discriminator resource pool of the first forwarding node, a field of the opposite end discriminator resource pool of the first forwarding node.

应理解,根据本申请实施例的装置400可对应于前述方法实施例中控制器侧的方法,并且装置400中的各个模块的上述和其它管理操作和/或功能分别为了实现前述各个方法的相应步骤,因此也可以实现前述方法实施例中的有益效果,为了简洁,这里不作赘述。It should be understood that the apparatus 400 according to this embodiment of the present application may correspond to the method on the controller side in the foregoing method embodiments, and the above-mentioned and other management operations and/or functions of each module in the apparatus 400 are respectively to implement the corresponding methods of the foregoing methods. Therefore, the beneficial effects in the foregoing method embodiments can also be achieved. For the sake of brevity, details are not described here.

图5示出了根据本申请实施例的配置无缝双向转发检测SBFD机制的装置500的示意性结构图。如图5所示,所述装置500包括:FIG. 5 shows a schematic structural diagram of an apparatus 500 for configuring a seamless bidirectional forwarding detection SBFD mechanism according to an embodiment of the present application. As shown in FIG. 5, the apparatus 500 includes:

处理器501、存储器502和收发器503。Processor 501 , memory 502 and 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 to transmit control and/or data signals. In one possible design, the processor 501, the memory 502 and the transceiver 503 may be implemented in a chip. The memory 502 can 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 an SBFD mechanism configuration state of a first forwarding node in the plurality of forwarding nodes, where the SBFD configuration information includes: configuring an SBFD associated with a segment routing SR service Information required by the instance; the transceiver 503 is configured 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 implementation manner, the transceiver may be implemented by being divided into two components: 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 apparatus 600 is applied to a network supporting segment routing traffic engineering SR-TE, and the network includes a controller and a plurality of forwarding nodes. Optionally, the apparatus 600 is a first forwarding node among the plurality of forwarding nodes. As shown in FIG. 6, the apparatus 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, where the SBFD configuration information includes: the configuration required for the SBFD instance associated with the segment route SR service information;

处理模块620,用于根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例;a processing module 620, 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 perform SBFD negotiation with the opposite node corresponding to the first forwarding node after the SBFD instance associated with the SR service is successfully configured.

在一种可能的实现方式中,在所述第一转发节点中没有配置SBFD机制的情况下,所述SBFD配置信息中包括用于所述第一转发节点创建SBFD实例所需的信息;In a possible implementation manner, in the case that 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;

其中,所述处理模块620用于根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例,具体包括:The processing module 620 is configured to configure the SBFD instance associated with the SR service according to the SBFD configuration information, specifically including:

所述第一转发节点基于所述SBFD配置信息,新建与所述SR业务相关联的SBFD实例。The first forwarding node creates a new SBFD instance associated with the SR service based on the SBFD configuration information.

在一种可能的实现方式中,在所述第一转发节点中配置了SBFD机制的情况下,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息;其中,所述处理模块620用于根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例,具体包括:In a possible implementation manner, in the case where the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes a parameter for adjusting the configuration parameters of the SBFD configured in the first forwarding node information; wherein, the processing module 620 is configured to configure the 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 the information of 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 used to indicate the transceiver type of the first forwarding node, a field used to indicate whether the SBFD configuration information is SBFD , a field of the local end discriminator resource pool of the first forwarding node, and a field of the opposite end discriminator resource pool of the first forwarding node.

应理解,根据本申请实施例的装置600可对应于前述方法实施例中转发节点侧的方法,并且装置600中的各个模块的上述和其它管理操作和/或功能分别为了实现前述各个方法的相应步骤,因此也可以实现前述方法实施例中的有益效果,为了简洁,这里不作赘述。It should be understood that the apparatus 600 according to this embodiment of the present application may correspond to the method on the forwarding node side in the foregoing method embodiments, and the above-mentioned and other management operations and/or functions of the various modules in the apparatus 600 are to implement the corresponding methods of the foregoing methods, respectively. Therefore, the beneficial effects in the foregoing method embodiments can also be achieved. For the sake of brevity, details are not described here.

图7示出了根据本申请实施例的配置无缝双向转发检测SBFD机制的装置700的示意性结构图。如图7所示,所述装置700包括:FIG. 7 shows a schematic structural diagram of an apparatus 700 for configuring a seamless bidirectional forwarding detection SBFD mechanism according to an embodiment of the present application. As shown in FIG. 7, the apparatus 700 includes:

处理器701、存储器702和收发器703。Processor 701 , memory 702 and 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 to transmit control and/or data signals. In one possible design, the processor 701, the memory 702 and the transceiver 703 may be implemented in a chip. The memory 702 can 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, where the SBFD configuration information includes: required for configuring the SBFD instance associated with the segment route SR service information; the processor 701 is configured to configure the 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 implementation manner, the transceiver may be implemented by being divided into two components: a receiver and a transmitter.

本申请还提供了一种网络,该网络包括控制器、多个转发节点。控制器可以执行前文所述的由控制器执行的方法。多个转发节点中可以包括第一转发节点。第一转发节点可以是一个SR Policy隧道的头节点,或者,第一转发节点可以是一个SR Policy隧道的尾节点。The present application also provides a network including a controller and a plurality of forwarding nodes. The controller may execute the methods described above for execution by the controller. The first forwarding node may be included in the plurality of 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.

实施方式1.一种配置无缝双向转发检测SBFD机制的方法,其特征在于,所述方法应用于支持分段路由流量工程SR-TE的网络,所述网络包括控制器和多个转发节点,所述方法包括:Embodiment 1. A method for configuring a seamless bidirectional forwarding detection SBFD mechanism, wherein the method is applied to a network supporting segment routing traffic engineering SR-TE, and the network includes a controller and a plurality of forwarding nodes, The method includes:

所述控制器根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;The controller determines SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node in the plurality of forwarding nodes, where the SBFD configuration information includes: the configuration required for the SBFD instance associated with the segment routing SR service. information;

所述控制器向所述第一转发节点发送边界网关协议BGP报文,所述BGP报文中携带所述SBFD配置信息。The controller sends a Border Gateway Protocol BGP packet to the first forwarding node, where the BGP packet carries the SBFD configuration information.

实施方式2、根据实施方式1所述的方法,其特征在于,所述控制器根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,包括:Embodiment 2. The method according to Embodiment 1, wherein the controller determines the SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node in the plurality of forwarding nodes, including:

在所述第一转发节点中没有配置SBFD机制的情况下,所述SBFD配置信息中包括用于所述第一转发节点创建SBFD实例所需的信息;In the 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;

在所述第一转发节点中配置了SBFD机制的情况下,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息。When the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes information for adjusting the configuration parameters of the SBFD configured in the first forwarding node.

实施方式3、根据实施方式1或2所述的方法,其特征在于,所述BGP报文中还携带所述SR业务的信息。Embodiment 3. The method according to Embodiment 1 or 2, wherein the BGP packet further carries the information of the SR service.

实施方式4、根据实施方式1至3中任一项所述的方法,其特征在于,所述SBFD配置信息与多个SR业务相关联。Embodiment 4. The method according to any one of Embodiments 1 to 3, wherein the SBFD configuration information is associated with multiple SR services.

实施方式5、根据实施方式1至4中任一项所述的方法,其特征在于,所述第一转发节点是所述多个转发节点中的头节点,或者,所述第一转发节点是所述多个转发节点中的尾节点。Embodiment 5. The method according to any one of Embodiments 1 to 4, wherein the first forwarding node is a head node among the plurality of forwarding nodes, or the first forwarding node is a a tail node in the plurality of forwarding nodes.

实施方式6、根据实施方式1至5中任一项所述的方法,其特征在于,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段。Embodiment 6. The method according to any one of Embodiments 1 to 5, wherein the SBFD configuration information includes one or more of the following: A field of the transceiver type, a field used to indicate whether the SBFD configuration information is SBFD, a field of the local identifier resource pool of the first forwarding node, a field of the peer identifier resource pool of the first forwarding node. field.

实施方式7、一种配置无缝双向转发检测SBFD机制的方法,其特征在于,所述方法应用于支持分段路由流量工程SR-TE的网络,所述网络包括控制器和多个转发节点,所述方法包括:Embodiment 7. A method for configuring a seamless bidirectional forwarding detection SBFD mechanism, characterized in that the method is applied to a network supporting segment routing traffic engineering SR-TE, and the network includes a controller and a plurality of forwarding nodes, The method includes:

所述多个转发节点中的第一转发节点接收所述控制器发送的边界网关协议BGP报文,所述BGP报文中携带SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;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 segment routing SR Information required by the SBFD instance associated with the business;

所述第一转发节点根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例;The first forwarding node configures the SBFD instance associated with the SR service according to the SBFD configuration information;

在所述SR业务相关联的SBFD实例配置成功后,所述第一转发节点与所述第一转发节点对应的对端节点进行SBFD协商。After the SBFD instance associated with the SR service is successfully configured, the first forwarding node performs SBFD negotiation with a peer node corresponding to the first forwarding node.

实施方式8、根据实施方式7所述的方法,其特征在于,在所述第一转发节点中没有配置SBFD机制的情况下,所述SBFD配置信息中包括用于所述第一转发节点创建SBFD实例所需的信息;Embodiment 8. The method according to Embodiment 7, wherein, in the case that the SBFD mechanism is not configured in the first forwarding node, the SBFD configuration information includes a method for the first forwarding node to create an SBFD. information required by the instance;

其中,所述第一转发节点根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例,包括:The first forwarding node configures the SBFD instance associated with the SR service according to the SBFD configuration information, including:

所述第一转发节点基于所述SBFD配置信息,新建与所述SR业务相关联的SBFD实例。The first forwarding node creates a new SBFD instance associated with the SR service based on the SBFD configuration information.

实施方式9、根据实施方式7所述的方法,其特征在于,在所述第一转发节点中配置了SBFD机制的情况下,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息;其中,所述第一转发节点根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例,包括:Embodiment 9. The method according to Embodiment 7, wherein, in a case where an SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes a method for adjusting the first forwarding node. Information about the configuration parameters of the configured SBFD; wherein, the first forwarding node configures the SBFD instance associated with the SR service according to the SBFD configuration information, including:

所述第一转发节点基于所述SBFD配置信息,对已配置的SBFD的配置参数进行调整。The first forwarding node adjusts the configured configuration parameters of the SBFD based on the SBFD configuration information.

实施方式10、根据实施方式7至9中任一项所述的方法,其特征在于,所述BGP报文中还携带所述SR业务的信息。Embodiment 10. The method according to any one of Embodiments 7 to 9, wherein the BGP packet further carries the information of the SR service.

实施方式11、根据实施方式7至10中任一项所述的方法,其特征在于,所述SBFD配置信息与多个所述SR业务相关联。Embodiment 11. The method according to any one of Embodiments 7 to 10, wherein the SBFD configuration information is associated with a plurality of the SR services.

实施方式12、根据实施方式7至11中任一项所述的方法,其特征在于,所述第一转发节点是所述多个转发节点中的头节点,或者,所述第一转发节点是所述多个转发节点中的尾节点。Embodiment 12. The method according to any one of Embodiments 7 to 11, wherein the first forwarding node is a head node in the plurality of forwarding nodes, or the first forwarding node is a a tail node in the plurality of forwarding nodes.

实施方式13、根据实施方式7至12中任一项所述的方法,其特征在于,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段。Embodiment 13. The method according to any one of Embodiments 7 to 12, wherein the SBFD configuration information includes one or more of the following: A field of the transceiver type, a field used to indicate whether the SBFD configuration information is SBFD, a field of the local identifier resource pool of the first forwarding node, a field of the peer identifier resource pool of the first forwarding node. field.

实施方式14、一种配置无缝双向转发检测SBFD机制的装置,其特征在于,所述装置应用于支持分段路由流量工程SR-TE的网络,所述网络包括控制器和多个转发节点,所述装置包括:Embodiment 14. An apparatus for configuring a seamless bidirectional forwarding detection SBFD mechanism, wherein the apparatus is applied to a network supporting segment routing traffic engineering SR-TE, and the network includes a controller and a plurality of forwarding nodes, The device includes:

确定模块,用于根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;A determining module, configured to determine SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node in the plurality of forwarding nodes, where the SBFD configuration information includes: required for configuring the SBFD instance associated with the segment routing SR service Information;

收发模块,用于向所述第一转发节点发送边界网关协议BGP报文,所述BGP报文中携带所述SBFD配置信息。A transceiver module, configured to send a border gateway protocol BGP message to the first forwarding node, where the BGP message carries the SBFD configuration information.

实施方式15、根据实施方式14所述的装置,其特征在于,所述确定模块用于根据所述多个转发节点中的第一转发节点的SBFD机制配置状态,确定SBFD配置信息,具体包括:Embodiment 15. The apparatus according to Embodiment 14, wherein the determining module is configured to determine the SBFD configuration information according to the SBFD mechanism configuration state of the first forwarding node in the plurality of forwarding nodes, specifically including:

在所述第一转发节点中没有配置SBFD机制的情况下,所述SBFD配置信息中包括用于所述第一转发节点创建SBFD实例所需的信息;In the 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;

在所述第一转发节点中配置了SBFD机制的情况下,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息。When the SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes information for adjusting the configuration parameters of the SBFD configured in the first forwarding node.

实施方式16、根据实施方式14或15所述的装置,其特征在于,所述BGP报文中还携带所述SR业务的信息。Embodiment 16. The apparatus according to Embodiment 14 or 15, wherein the BGP packet further carries the information of the SR service.

实施方式17、根据实施方式14至16中任一项所述的装置,其特征在于,所述SBFD配置信息与多个SR业务相关联。Embodiment 17. The apparatus according to any one of Embodiments 14 to 16, wherein the SBFD configuration information is associated with multiple SR services.

实施方式18、根据实施方式14至17中任一项所述的装置,其特征在于,所述第一转发节点是所述多个转发节点中的头节点,或者,所述第一转发节点是所述多个转发节点中的尾节点。Embodiment 18: The apparatus according to any one of Embodiments 14 to 17, wherein the first forwarding node is a head node in the plurality of forwarding nodes, or the first forwarding node is a a tail node in the plurality of forwarding nodes.

实施方式19、根据实施方式14至18中任一项所述的装置,其特征在于,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段。Embodiment 19. The apparatus according to any one of Embodiments 14 to 18, wherein the SBFD configuration information includes one or more of the following: A field of the transceiver type, a field used to indicate whether the SBFD configuration information is SBFD, a field of the local identifier resource pool of the first forwarding node, a field of the peer identifier resource pool of the first forwarding node. field.

实施方式20、一种配置无缝双向转发检测SBFD机制的装置,其特征在于,所述装置应用于支持分段路由流量工程SR-TE的网络,所述网络包括控制器和多个转发节点,所述装置是所述多个转发节点中的第一转发节点,所述装置包括:Embodiment 20. An apparatus for configuring a seamless bidirectional forwarding detection SBFD mechanism, wherein the apparatus is applied to a network supporting segment routing traffic engineering SR-TE, and the network includes a controller and a plurality of forwarding nodes, The apparatus is a first forwarding node among the plurality of forwarding nodes, and the apparatus includes:

收发模块,用于接收所述控制器发送的边界网关协议BGP报文,所述BGP报文中携带SBFD配置信息,所述SBFD配置信息中包括:配置与段路由SR业务相关联的SBFD实例所需要的信息;A transceiver module, configured to receive a border gateway protocol BGP message sent by the controller, where the BGP message carries SBFD configuration information, where the SBFD configuration information includes: configuring the SBFD instance associated with the segment route SR service required information;

处理模块,用于根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例;a processing module, configured to configure the SBFD instance associated with the SR service according to the SBFD configuration information;

所述处理模块还用于,在所述SR业务相关联的SBFD实例配置成功后,与所述第一转发节点对应的对端节点进行SBFD协商。The processing module is further configured to perform SBFD negotiation with the opposite node corresponding to the first forwarding node after the SBFD instance associated with the SR service is successfully configured.

实施方式21、根据实施方式20所述的装置,其特征在于,在所述第一转发节点中没有配置SBFD机制的情况下,所述SBFD配置信息中包括用于所述第一转发节点创建SBFD实例所需的信息;Embodiment 21. The apparatus according to Embodiment 20, wherein, in the case where the SBFD mechanism is not configured in the first forwarding node, the SBFD configuration information includes a method for the first forwarding node to create an SBFD. information required by the instance;

其中,所述处理模块用于根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例,具体包括:Wherein, the processing module is configured to configure the SBFD instance associated with the SR service according to the SBFD configuration information, specifically including:

基于所述SBFD配置信息,新建与所述SR业务相关联的SBFD实例。Based on the SBFD configuration information, create a new SBFD instance associated with the SR service.

实施方式22、根据实施方式20所述的装置,其特征在于,在所述第一转发节点中配置了SBFD机制的情况下,所述SBFD配置信息中包括用于调整所述第一转发节点中已配置的SBFD的配置参数的信息;其中,所述处理模块用于根据所述SBFD配置信息,配置与所述SR业务相关联的SBFD实例,具体包括:Embodiment 22. The apparatus according to Embodiment 20, wherein, in a case where an SBFD mechanism is configured in the first forwarding node, the SBFD configuration information includes a method for adjusting the SBFD in the first forwarding node. Information about the configuration parameters of the configured SBFD; wherein, the processing module is configured to configure the 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.

实施方式23、根据实施方式20至22中任一项所述的装置,其特征在于,所述BGP报文中还携带所述SR业务的信息。Embodiment 23. The apparatus according to any one of Embodiments 20 to 22, wherein the BGP packet further carries the information of the SR service.

实施方式24、根据实施方式20至23中任一项所述的装置,其特征在于,所述SBFD配置信息与多个SR业务相关联。Embodiment 24. The apparatus according to any one of Embodiments 20 to 23, wherein the SBFD configuration information is associated with multiple SR services.

实施方式25、根据实施方式20至24中任一项所述的装置,其特征在于,所述第一转发节点是所述多个转发节点中的头节点,或者,所述第一转发节点是所述多个转发节点中的尾节点。Embodiment 25: The apparatus according to any one of Embodiments 20 to 24, wherein the first forwarding node is a head node in the plurality of forwarding nodes, or the first forwarding node is a a tail node in the plurality of forwarding nodes.

实施方式26、根据实施方式20至25中任一项所述的装置,其特征在于,所述SBFD配置信息中包括以下内容中的一项或多项:用于指示所述第一转发节点的收发端类型的字段、用于指示所述SBFD配置信息是否是SBFD的字段、所述第一转发节点的本端区分符资源池的字段、所述第一转发节点的对端区分符资源池的字段。Embodiment 26. The apparatus according to any one of Embodiments 20 to 25, wherein the SBFD configuration information includes one or more of the following: A field of the transceiver type, a field used to indicate whether the SBFD configuration information is SBFD, a field of the local identifier resource pool of the first forwarding node, a field of the peer identifier resource pool of the first forwarding node. field.

上述本申请实施例揭示的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,还可以是系统芯片(system on chip,SoC),还可以是中央处理器(centralprocessor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controllerunit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the above embodiments of the present application may be applied to a processor, or implemented by a processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned 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 off-the-shelf programmable gate array (FieldProgrammable Gate Array, FPGA) or other programmable A logic device, a discrete gate or transistor logic device, and a discrete hardware component may also be a system on chip (SoC), a central processor unit (CPU), or a network processor (network processor, NP), may also be a digital signal processing circuit (digital signal processor, DSP), may also be a microcontroller unit (micro controller unit, MCU), may also be a programmable logic device (programmable logic device, PLD) or other integrated chips. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the methods disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. 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 RateSDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (Erasable PROM, EPROM), Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), 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 link dynamic random access memory (Synchlink DRAM, SLDRAM) And direct memory bus random access memory (DirectRambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.

本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本申请中使用的术语“制品”涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(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, apparatus, or articles of manufacture 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, computer readable media may include, but are not limited to: magnetic storage devices (eg, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (eg, compact discs (CDs), digital versatile discs (DVDs) etc.), smart cards and flash memory devices (eg, erasable programmable read-only memory (EPROM), cards, stick or key drives, etc.). Additionally, various storage media described herein can 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.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes 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, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. 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. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of 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 components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in 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 physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, read-only memory ROM, random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (21)

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

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911129891.XA CN111385165B (en) 2018-12-28 2018-12-28 Method and device for configuring seamless bidirectional forwarding detection (SBFD) mechanism

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811626536.9A CN109587009B (en) 2018-12-28 2018-12-28 Method and device for configuring seamless bidirectional forwarding detection SBFD mechanism
CN201911129891.XA CN111385165B (en) 2018-12-28 2018-12-28 Method and device for configuring seamless bidirectional forwarding detection (SBFD) mechanism

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201811626536.9A Division CN109587009B (en) 2018-12-28 2018-12-28 Method and device for configuring seamless bidirectional forwarding detection SBFD mechanism

Publications (2)

Publication Number Publication Date
CN111385165A true CN111385165A (en) 2020-07-07
CN111385165B CN111385165B (en) 2024-04-09

Family

ID=65933412

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201911129891.XA Active CN111385165B (en) 2018-12-28 2018-12-28 Method and device for configuring seamless bidirectional forwarding detection (SBFD) mechanism
CN201811626536.9A Active CN109587009B (en) 2018-12-28 2018-12-28 Method and device for configuring seamless bidirectional forwarding detection SBFD mechanism

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201811626536.9A Active CN109587009B (en) 2018-12-28 2018-12-28 Method and device for configuring seamless bidirectional forwarding detection SBFD mechanism

Country Status (2)

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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917643A (en) * 2020-07-17 2020-11-10 中盈优创资讯科技有限公司 Seamless bidirectional forwarding detection method and device for segmented routing tunnel
CN111935004A (en) * 2020-10-12 2020-11-13 网络通信与安全紫金山实验室 Automatic traffic diversion extension method, router and system based on SR Policy
CN112104557A (en) * 2020-08-27 2020-12-18 新华三技术有限公司 Method and device for detecting link
CN112398967A (en) * 2020-11-13 2021-02-23 中盈优创资讯科技有限公司 SR-based centralized traffic scheduling method and device
CN113992581A (en) * 2021-09-17 2022-01-28 新华三信息安全技术有限公司 Message processing method and device
WO2022143874A1 (en) * 2020-12-31 2022-07-07 华为技术有限公司 Method for detecting state of bgp session, apparatus and network devices
CN115373755A (en) * 2021-05-20 2022-11-22 中国移动通信集团有限公司 Parameter configuration method, device, equipment and storage medium

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385165B (en) * 2018-12-28 2024-04-09 华为技术有限公司 Method and device for configuring seamless bidirectional forwarding detection (SBFD) mechanism
CN112217724B (en) * 2019-07-11 2024-06-18 中兴通讯股份有限公司 Path management method, 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
CN113497800B (en) * 2020-04-02 2025-06-10 华为技术有限公司 Boundary filtering method and device for SRv trust domain
CN113542154A (en) * 2020-04-17 2021-10-22 中国移动通信集团江西有限公司 Traffic scheduling method, system, apparatus, storage medium and computer equipment
CN111901387B (en) * 2020-07-01 2022-07-08 中国联合网络通信集团有限公司 A kind of cloud private line connection method and device
CN113472653B (en) * 2021-05-25 2022-11-18 新华三信息安全技术有限公司 Method and device for detecting path consistency
CN113507410B (en) * 2021-06-29 2023-04-07 新华三信息安全技术有限公司 CGN backup method and device
CN115706706A (en) * 2021-07-14 2023-02-17 中兴通讯股份有限公司 SBFD detection path optimization method, controller, node, and storage medium
CN115622915A (en) * 2021-07-16 2023-01-17 华为技术有限公司 Fault detection method, device and system
CN114338514B (en) * 2021-12-27 2023-06-16 中国电信股份有限公司 Network detection method, device, medium and electronic equipment
CN115473798B (en) * 2022-10-20 2025-01-03 中国电信股份有限公司 End-to-end service fault detection method, device, electronic device and storage medium
CN118827748A (en) * 2024-08-08 2024-10-22 中国移动通信集团设计院有限公司 A SBFD session creation method, device, equipment, medium and product

Citations (8)

* 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
AU2014204540B1 (en) * 2014-07-21 2015-08-20 Matthew Brown Audio Signal Processing Methods and Systems
CN105391633A (en) * 2015-12-11 2016-03-09 北京华为数字技术有限公司 Transponder, controller and route distribution method of controller
CN107222449A (en) * 2016-03-21 2017-09-29 华为技术有限公司 Communication method, device and system based on flow rule protocol
CN107306222A (en) * 2016-04-25 2017-10-31 华为技术有限公司 The method and apparatus that traffic engineering tunnel on label switched path is set up
CN107925624A (en) * 2016-07-01 2018-04-17 华为技术有限公司 Message forwarding method, device and system based on service function chain SFC
CN108156050A (en) * 2017-11-28 2018-06-12 盛科网络(苏州)有限公司 Seamless bidirectional forwarding detection (BFD) method and device
CN108370333A (en) * 2015-12-09 2018-08-03 华为技术有限公司 Systems, methods and nodes for performance measurement in segment routing networks

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US10069708B2 (en) * 2015-03-02 2018-09-04 Cisco Technology, Inc. Monitoring through S-BFD (seamless bidirectional forwarding detection)
CN107864091B (en) * 2017-10-31 2020-04-03 新华三技术有限公司 Link failure processing method and device
CN108768788A (en) * 2018-06-26 2018-11-06 新华三技术有限公司合肥分公司 Path failure detection method and device
CN111385165B (en) * 2018-12-28 2024-04-09 华为技术有限公司 Method and device for configuring seamless bidirectional forwarding detection (SBFD) mechanism

Patent Citations (8)

* 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
AU2014204540B1 (en) * 2014-07-21 2015-08-20 Matthew Brown Audio Signal Processing Methods and Systems
CN108370333A (en) * 2015-12-09 2018-08-03 华为技术有限公司 Systems, methods and nodes for performance measurement in segment routing networks
CN105391633A (en) * 2015-12-11 2016-03-09 北京华为数字技术有限公司 Transponder, controller and route distribution method of controller
CN107222449A (en) * 2016-03-21 2017-09-29 华为技术有限公司 Communication method, device and system based on flow rule protocol
CN107306222A (en) * 2016-04-25 2017-10-31 华为技术有限公司 The method and apparatus that traffic engineering tunnel on label switched path is set up
CN107925624A (en) * 2016-07-01 2018-04-17 华为技术有限公司 Message forwarding method, device and system based on service function chain SFC
CN108156050A (en) * 2017-11-28 2018-06-12 盛科网络(苏州)有限公司 Seamless bidirectional forwarding detection (BFD) method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3GPP TSG-RAN WG2 NR AH1807 MEETING: ""r2-18xxxxx-ran2-nr-ah1807-montreal-agenda-v1.0"", 3GPP TSG_RAN\\WG2_RL2, pages 1 - 10 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917643A (en) * 2020-07-17 2020-11-10 中盈优创资讯科技有限公司 Seamless bidirectional forwarding detection method and device for segmented routing tunnel
CN112104557A (en) * 2020-08-27 2020-12-18 新华三技术有限公司 Method and device for detecting link
CN112104557B (en) * 2020-08-27 2022-10-21 新华三技术有限公司 Method and device for detecting link
CN111935004A (en) * 2020-10-12 2020-11-13 网络通信与安全紫金山实验室 Automatic traffic diversion extension method, router and system based on SR Policy
CN111935004B (en) * 2020-10-12 2020-12-22 网络通信与安全紫金山实验室 Automatic traffic diversion extension method, router and system based on SR Policy
CN112398967A (en) * 2020-11-13 2021-02-23 中盈优创资讯科技有限公司 SR-based centralized traffic scheduling method and device
CN112398967B (en) * 2020-11-13 2023-03-14 中盈优创资讯科技有限公司 SR-based centralized traffic scheduling method and device
WO2022143874A1 (en) * 2020-12-31 2022-07-07 华为技术有限公司 Method for detecting state of bgp session, apparatus and network devices
CN114765621A (en) * 2020-12-31 2022-07-19 华为技术有限公司 Method, device and network equipment for detecting state of BGP session
CN115373755A (en) * 2021-05-20 2022-11-22 中国移动通信集团有限公司 Parameter configuration method, device, equipment and storage medium
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

Also Published As

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

Similar Documents

Publication Publication Date Title
CN109587009B (en) Method and device for configuring seamless bidirectional forwarding detection SBFD mechanism
JP7290732B2 (en) Data transfer method and related equipment
EP3154227B1 (en) Packet transmission method, node, path management server and storage medium
CN103607349B (en) Method for determining route in virtual network and provider edge equipment
CN103391296B (en) A kind of controller, transponder and Path Setup method and system
CN107306222B (en) Method and equipment for establishing traffic engineering tunnel on label switching path
CN103004147B (en) Message forwarding path determining method, network device and control device
US10791053B2 (en) Service function chain SFC-based communication method, and apparatus
US20160006614A1 (en) Source Routing Using Path Computation Elements
WO2019007166A1 (en) Method and apparatus for determining identification information about cross-domain path, and storage medium
CN110430076B (en) Route management method and device
CN108270673B (en) Message sending method, device and system
WO2015165311A1 (en) Method for transmitting data packet and provider edge device
CN107612809A (en) A kind of multicast list synchronous method and equipment
CN105323176A (en) Method and apparatus for publishing address information
EP3253012B1 (en) Method and apparatus for obtaining port path
WO2019007316A1 (en) Method and device for achieving bidirectional segment routing tunnel, storage medium, and apparatus
CN110324225B (en) Method and device for processing message
CN107026796A (en) A VPN route notification method, data flow forwarding method, and related equipment
WO2017124709A1 (en) Method of establishing traffic engineering tunnel and device
US20230336377A1 (en) Packet forwarding method and apparatus, and network system
US11489768B2 (en) Method for creating inter-domain bidirectional tunnel, communication method and device, and storage medium
CN100574247C (en) Ethernet tunnel processing method, communication system and related equipment
EP3503484B1 (en) Message transmission methods and devices
WO2024002101A1 (en) Packet transmission method and apparatus, related device, and storage medium

Legal Events

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