CN109587009A - The method and apparatus for configuring seamless two-way converting detection SBFD mechanism - Google Patents

The method and apparatus for configuring seamless two-way converting detection SBFD mechanism Download PDF

Info

Publication number
CN109587009A
CN109587009A CN201811626536.9A CN201811626536A CN109587009A CN 109587009 A CN109587009 A CN 109587009A CN 201811626536 A CN201811626536 A CN 201811626536A CN 109587009 A CN109587009 A CN 109587009A
Authority
CN
China
Prior art keywords
sbfd
forward node
configuration information
node
configuration
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
CN201811626536.9A
Other languages
Chinese (zh)
Other versions
CN109587009B (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
Beijing Huawei Digital 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 Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201911129891.XA priority Critical patent/CN111385165B/en
Priority to CN201811626536.9A priority patent/CN109587009B/en
Publication of CN109587009A publication Critical patent/CN109587009A/en
Application granted granted Critical
Publication of CN109587009B publication Critical patent/CN109587009B/en
Priority to PCT/CN2019/119825 priority patent/WO2020134739A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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

Abstract

This application provides a kind of method and apparatus for configuring seamless two-way converting detection SBFD mechanism, are that forward node configures SBFD mechanism by controller, can be realized the dynamic configuration of SBFD mechanism, provide protection for tunnel.This method comprises: SBFD mechanism configuration status of the controller according to the first forward node in multiple forward node, determines SBFD configuration information, it include: information required for configuration SBFD example associated with section routing SR business in the SBFD configuration information;The controller sends Border Gateway Protocol (BGP) message to first forward node, carries the SBFD configuration information in the BGP message.

Description

The method and apparatus for configuring seamless two-way converting detection SBFD mechanism
Technical field
This application involves computer fields, and detect SBFD machine more particularly, to a kind of seamless two-way converting of configuration The method and apparatus of system.
Background technique
Section routing (segment routing, SR) is design data packet is forwarded on network based on source routing theory A kind of agreement.SR multiprotocol label switching (multi-protocol label switch, MPLS) refers to be forwarded based on MPLS The Segment Routing of plane.Segment routing traffic engineering (segment routing-traffic engineering, It SR-TE) is the traffic engineering tunnel technology for using SR novel as one kind of control protocol.SR-TE refers to the constrained attributes based on TE, benefit The tunnel created with SR agreement.Controller be responsible for calculate tunnel forward-path, and will under path strictly corresponding label stack Issue transponder.On the ingress in the tunnel SR-TE, transponder is according to label stack, i.e., the controllable transmission of message in a network Path.
SR-TE is not due to having agreement foundation, as long as label stack issues, link state packet (link-state packet, LSP it) will be successfully established, and other than cancelling label stack, the case where LSP is not in agreement Down.So SR-TE LSP Fault detection is needed by deployment two-way converting detection (bidirectional forwarding detection, BFD) detection, Switch backup LSP by BFD fault detection.Seamless two-way converting detection (seamless BFD, SBFD) simplifies the state of BFD Machine shortens negotiation time, improves the flexibility of whole network, can support SR Tunnel testing.At present using SBFD to SR Tactful (Policy) business provides protection.But SBFD is only supported at static configuration on transponder at present, passes through static configuration SBFD example and parameter provide end-to-end fault detection for the tunnel SR Policy created, can not dynamically mention in time For protecting tunnel.
Summary of the invention
In view of this, the application provides a kind of method and apparatus for configuring seamless two-way converting detection SBFD mechanism, it can The Dynamical Deployment for realizing SBFD, helps to provide protecting tunnel in time.
In a first aspect, providing a kind of method for configuring seamless two-way converting detection SBFD mechanism, the method is applied to Support the network of Segment routing traffic engineering SR-TE, the network includes controller and multiple forward node, the method packet Include: controller determines that SBFD is configured according to the SBFD mechanism configuration status of the first forward node in the multiple forward node Information includes: information required for configuration SBFD example associated with section routing SR business in SBFD configuration information;Controller Border Gateway Protocol (BGP) message is sent to the first forward node, carries the SBFD configuration information, i.e. controller in BGP message It can be forward node dynamic configuration SBFD example, not needing user is forward node static configuration SBFD example, be can be realized More flexible Dynamical Deployment helps to provide protecting tunnel in time.
Optionally, SR business is SR Policy business.
In one possible implementation, the controller is according to the first forward node in the multiple forward node SBFD mechanism configuration status, determine SBFD configuration information, comprising: in first forward node without configuration SBFD mechanism In the case where, it include information needed for creating SBFD example for first forward node in the SBFD configuration information;? It include for adjusting described in the case where being configured with SBFD mechanism in first forward node, in the SBFD configuration information The information of the configuration parameter of configured SBFD in one forward node.Therefore, no matter whether being configured in the first forward node SBFD mechanism, controller all can be the first forward node generate corresponding SBFD configuration information so that the first forward node base The foundation or adjustment of SBFD example are carried out in SBFD configuration information, to meet the needs of forward node.
In one possible implementation, the information of the SR business is also carried in the BGP message.Therefore, it controls Device can also carry the information of SR business in BGP message, so that forward node creates SR business associated with SBFD example.
In one possible implementation, the SBFD configuration information is associated with multiple SR business.
In one possible implementation, first forward node is the head node in the multiple forward node, Alternatively, first forward node is the tail node in the multiple forward node.
In one possible implementation, include one or more in the following contents in the SBFD configuration information: It is used to indicate the field of the sending and receiving end type of first forward node, is used to indicate whether the SBFD configuration information is SBFD Field, the field of local terminal specificator resource pool of first forward node, first forward node opposite end specificator The field of resource pool.
It optionally, can also include Optional Field in the SBFD configuration information.
Second aspect, provides a kind of method for configuring seamless two-way converting detection SBFD mechanism, and the method is applied to Support the network of Segment routing traffic engineering SR-TE, the network includes controller and multiple forward node, the method packet Include: the first forward node in the multiple forward node receives the Border Gateway Protocol (BGP) message that the controller is sent, institute Carrying SBFD configuration information in BGP message is stated, includes: that configuration is associated with section routing SR business in the SBFD configuration information Information required for SBFD example;First forward node is according to the SBFD configuration information, configuration and the SR business phase Associated SBFD example;After the SR business associated SBFD exemplary configuration success, first forward node with it is described The corresponding peer node of first forward node carries out SBFD negotiation.Therefore, the first forward node can be issued based on controller SBFD configuration information dynamic configuration SBFD example, not needing user is the first forward node static configuration SBFD example, Neng Goushi Existing more flexible Dynamical Deployment, helps to provide protecting tunnel in time.
Optionally, SR business is SR Policy business.
In one possible implementation, in the case where in first forward node without configuration SBFD mechanism, It include information needed for creating SBFD example for first forward node in the SBFD configuration information;First forwarding Node is based on the SBFD configuration information, creates SBFD example associated with the SR business.Therefore, the first forward node can With the SBFD configuration information issued based on controller, SBFD example associated with SR business is created.
In one possible implementation, in the case where being configured with SBFD mechanism in first forward node, institute Stating includes information for adjusting the configuration parameter of SBFD configured in first forward node in SBFD configuration information;Institute It states the first forward node and is based on the SBFD configuration information, the configuration parameter of configured SBFD is adjusted.Therefore, first Forward node can adjust SBFD example associated with SR business based on the SBFD configuration information that controller issues.
In one possible implementation, the information of the SR business is also carried in the BGP message.Therefore, first Forward node can carry the information of SR business based on controller in BGP message, while create associated with SBFD example SR business.
In one possible implementation, the SBFD configuration information is associated with multiple SR business.
In one possible implementation, first forward node is the head node in the multiple forward node, Alternatively, first forward node is the tail node in the multiple forward node.
In one possible implementation, include one or more in the following contents in the SBFD configuration information: It is used to indicate the field of the sending and receiving end type of first forward node, is used to indicate whether the SBFD configuration information is SBFD Field, the field of local terminal specificator resource pool of first forward node, first forward node opposite end specificator The field of resource pool.
It optionally, can also include Optional Field in the SBFD configuration information.
The third aspect provides a kind of controller, which includes for executing above-mentioned first aspect or first aspect Any possible implementation in method module.
Fourth aspect provides a kind of forward node, which includes for executing above-mentioned second aspect or second The module of method in any possible implementation of aspect.
5th aspect, provides a kind of network, which includes controller and multiple forward node, wherein the controller The method in any possible implementation for executing above-mentioned first aspect or first aspect;In multiple forward node First forward node is used to execute the method in any possible implementation of above-mentioned second aspect or second aspect.
Optionally, which is head node, and peer node corresponding with first forward node is tail node; Alternatively, first forward node is tail node, peer node corresponding with first forward node is head node.
Optionally, which can be the network for supporting Segment routing traffic engineering SR-TE, for example, SDN network.
6th aspect, provides a kind of computer readable storage medium, which has program, It is above-mentioned in a first aspect, and its seamless two-way converting inspection of any one of various implementations configuration that the program executes controller The method for surveying SBFD mechanism.
7th aspect, provides a kind of computer readable storage medium, which has program, The program makes forward node execute the seamless two-way converting of any one of above-mentioned second aspect and its various implementations configuration The method for detecting SBFD mechanism.
Eighth aspect, the application also provide a kind of computer program product comprising instruction, when it runs on computers When, so that the method that computer executes the seamless two-way converting detection SBFD mechanism of the configuration in above-mentioned various aspects.
9th aspect provides a kind of device for configuring seamless two-way converting detection SBFD mechanism, which includes processing Device, memory and transceiver.Processor is connect with memory and transceiver.For storing instruction, processor is for holding for memory The row instruction, transceiver with other network elements for being communicated under the control of a processor.The processor executes the memory and deposits When the instruction of storage, the execution is so that the processor executes the seamless two-way converting detection SBFD mechanism of the configuration in above-mentioned various aspects Method.
Detailed description of the invention
Fig. 1 is the network scenarios schematic diagram using the embodiment of the present application;
Fig. 2 is a kind of exemplary diagram that SBFD mechanism carries out accessible detecting;
Fig. 3 is the schematic diagram according to the method for the seamless two-way converting detection SBFD mechanism of configuration of the embodiment of the present application;
Fig. 4 is the schematic block diagram according to the device of the seamless two-way converting detection SBFD mechanism of configuration of the embodiment of the present application;
Fig. 5 is the schematic block according to the device of the seamless two-way converting detection SBFD mechanism of configuration of another embodiment of the application Figure;
Fig. 6 is the schematic construction according to the device of the seamless two-way converting detection SBFD mechanism of configuration of the embodiment of the present application Figure;
Fig. 7 is the signal knot according to the device of the seamless two-way converting detection SBFD mechanism of configuration of another embodiment of the application Composition.
Specific embodiment
Below in conjunction with attached drawing, the technical solution in the application is described.
The technical solution of the embodiment of the present application is suitable for supporting section routing (segment routing, SR) technology or SR The network of Policy technology includes controller and multiple forward node in the network wherein.For example, network can be SDN network. The tunnel established between forward node can be Segment routing traffic engineering (segment routing-traffic Engineering, SR-TE) tunnel.Forward node supports SR Policy business.It should be understood that in the embodiment of the present application, forwarding Node can be interchanger, router, be also possible to that other supports E-Packet or the equipment or network element of data, the application are implemented Example, is not construed as limiting this.
SR policy technology is a kind of new tunnel drainage technology developed in SR technical foundation.SR-TE calculate road according to The Color attribute for representing service tunnel Service Level Agreement (service level agreement, SLA) requirement calculates tunnel Path.Service network headstall node by the business of extension routes Color group attribute and network distant-end node information to match pair Realize service traffics forwarding in the tunnel answered.It may be implemented by SR Policy technology to the business customizing required with specific SLA SR tunnel path realizes the business forwarding network subdivision of application layer.Being described in further detail of SR policy may refer to existing The introduction of technology, does not repeat here.
The method proposed in order to facilitate understanding with description the embodiment of the present application, combines Fig. 1 to describe SR Policy business first Establishing process.Fig. 1 shows the network scenarios schematic diagram using the embodiment of the present application.As shown in Figure 1, the network includes controller (or network management) and forward node (for example, forward node includes head node RT1, intermediate node RT2 and tail node RT3).Controller SR policy message can be handed down to head node RT1 and tail node RT3, to dispose SR policy industry in the network Business.Node label and adjacent label are routed by IGP by any one forward node and are pre-allocated.Controller passes through borde gateway chain Line state agreement (border gateway protocol link state, BGP-LS) message collection network topology and label are empty Between information.Controller provides interface;User is that specific private user plans vpn service sourcesink node (RT1-RT3), drainage strategy (Color and tunnel service level agreement SLA calculate road and constrain corresponding relationship).Controller calculate from the beginning node R T1 to tail node The SR policy tunnel path of RT3, is converted into label stack for calculated tunnel path;Controller passes through BGP SR policy The session of address family, by path label stack be encapsulated in SR policy Border Gateway Protocol (border gateway protocol, BGP) in session message, it is handed down to head node RT1.Tail node RT3 injects Color extended community category to specific user's VPN route Property, issue bgp routing policy.The BGP routing for carrying Color group attribute is distributed to head node RT1 by tail node RT3.Cephalomere The BGP routing that point RT1 storage tail node RT3 is issued, generates bgp routing table.BGP routing and control of the head node RT1 based on storage The SR Policy bgp session message that device processed issues is matched, and the tunnel SR policy is established after successful match, will be routed Next-hop is articulated to the tunnel SR policy, and entrance specific user flow, which will match BSID 30027 according to routing table next-hop, to flow Amount, which is directed on the tunnel SR policy, to be forwarded.
Head node RT1 refers to traffic ingress node.Tail node RT3 refers to flowexit node.
Below to the invention relates to some terms or concept be described.
SBFD is a kind of quick detection protocol.SBFD is by the way that quickly distribution protocol message accomplishes accessible detecting incessantly Purpose.As shown in Fig. 2, SBFD mechanism is divided into originating end and reflection end, before link detecting, originating end and reflection end pass through The information such as SBFD control message (SBFD Control Packet) notice SBFD descriptor (Discriminator) are sent mutually. In link detecting, originating end active transmission SBFD Echo message, reflection end is according to this message of local terminal situation loopback, originating end Local terminal state is determined according to reflection message.When SBFD is applied to SR scene detection, mainly there are SBFD for SR LSP and SBFD Two kinds of scenes of for SR-TE LSP.SR scene is detected in SBFD, SBFD originating end to reflection end path walks MPLS label forwarding, Reflection end walks the path multi-hop IP to originating end backhaul pathways.
Originating end has SBFD state machine mechanism and testing mechanism as test side.It initiates end state machine and there was only Up and Down State, the message of sending also only have Up and Down state, can only receive Up or Admin Down state message.SBFD message is by sending out Origin or beginning is sent to reflection end, and message original state is Down, and message destination slogan is 7784.SBFD's is described in further detail The introduction that may refer to the prior art, does not repeat here.
It should be understood that in the embodiment of the present application, should not will node end to end, lump together with reflection end is initiated.Wherein, head node It is distinguished with tail node is the angle of the entrance of the flow in tunnel from network;And originating end and reflection end are SBFD mechanism The middle angle for making message accessible detecting is distinguished.For example, head node can be originating end, corresponding in SBFD mechanism Tail node can be reflection end;Alternatively, head node can be reflection end, corresponding tail node can be originating end.
In the prior art, the SBFD example in forward node is all user's static configuration, can not supported based on business State is selectively managed, inflexible.The embodiment of the present application is quasi- to propose a kind of seamless two-way converting detection SBFD machine of configuration The method of system is forward node dynamic configuration SBFD example, can be realized more flexible Dynamical Deployment.
Fig. 3 shows showing for the method 300 of the seamless two-way converting detection SBFD mechanism of configuration according to the embodiment of the present application It is intended to.The method 300 is applied to support that the network of Segment routing traffic engineering SR-TE, the network include controller and more A forward node.As shown in figure 3, the method 300 includes:
S310, controller is according to the SBFD mechanism configuration status of the first forward node in the multiple forward node, really Determine SBFD configuration information, includes: needed for configuration SBFD example associated with section routing SR business in the SBFD configuration information The information wanted.
Wherein, SR business can be SR Policy business.The relevant configuration process of SR Policy business may refer to Text description.
Optionally, include one or more in the following contents in the SBFD configuration information: being used to indicate described first The field of the sending and receiving end type of forward node is used to indicate whether the SBFD configuration information is the field of SBFD (for example, field Value indicates SBFD when being 1, and field value indicates common BFD when being 0), the local terminal specificator resource of first forward node The field in pond, the field of the opposite end specificator resource pool of first forward node, reserved field.
Controller can increase above-mentioned SBFD configuration information to bgp protocol extended address race.For example, controller is based on BGP SR-Policy multi-protocols extended address race increases a kind of BFD extended community (extend community) attribute newly, for carrying Above-mentioned SBFD configuration information.Match that is, controller can route the above-mentioned SBFD of publication by BGP SR-Policy address family Confidence breath.Optionally, include one or more in the following contents in the SBFD configuration information: being used to indicate described first turn Send out the field of the sending and receiving end type of node, be used to indicate the SBFD configuration information whether be SBFD field, first turn described Send out the words such as field, the field of opposite end specificator resource pool of first forward node of local terminal specificator resource pool of node Section.For example, the field for being used to indicate the sending and receiving end type of first forward node can be Flags field, to indicate first Forward node is originating end or reflection end;It is used to indicate whether the SBFD configuration information is that the field of SBFD can be Type Field, to indicate the type of the SBFD configuration information (type may include the types such as common BFD or SBFD);Described first turn The field for sending out the local terminal specificator resource pool of node can be Local Discriminatiors field;The first forwarding section The fields such as the field of opposite end specificator resource pool of point can be Remote Discriminatiors field.
It optionally, can also include other Optional Fields, such as Optional Para in the SBFD configuration information (Variable), it can specifically include: being used to indicate the field (Min-tx-interval of the Desired Min Tx Interval of control message Field), be used to indicate control message Required Min Rx Interval field (Min-rx-interval field), be used to indicate detection The field (Detect-multiplier field) of the local detection multiple of BFD session is used to indicate authorization data (code key) part Length information field (Auth Lenth field), be used to indicate control message authentication type field (Auth Type word Section) and the field (Authentication Data field) for being used to indicate authorization data etc..It should be understood that control report here Text can be BFD control message, is also possible to SBFD control message, is not especially limited to this, specifically what control message Which kind of BFD mechanism (such as SBFD mechanism or common BFD mechanism or multilink bundling Link can be needed to configure based on controller Bandle BFD mechanism) it determines.It should be understood that the embodiment of the present application is not made to have to the field for including in the SBFD configuration information Body limits, and can be based on depending on actual demand, for example, the field for including in the SBFD configuration information can be in above-mentioned field It is one or more, also may include other fields.
For example, can make extended below to bgp protocol, so that carrying the SBFD configuration information in BGP, bgp protocol is new The example for increasing a format of extended community attribute is specific as follows shown:
The type field, flag field, reserved field, local terminal is carried based on above content, in the BGP message after extension to distinguish Accord with local Discriminatior field, distal end specificator Remote Discriminatior field, optional parameters Optional Para or variable (variable) field etc..
The type field is used to identify the type of BFD, for example, the common BFD of Type=0x00 expression carrying (for example, RFC5880) configuration information, Type=0x01 indicate to carry SBFD configuration information.Optionally, multiple types are if desired disposed simultaneously BFD when, need to carry multiple BFD extended community attributes.
Wherein, Flags field format is as follows:
In Flags field, R bit indicates Reflector, is used to indicate the reflection end or originating end of SBFD.For example, When R sets 1, the reflection end of SBFD is indicated;When R sets 0, the originating end of SBFD is indicated.
In Flags field, P bit indicates Passive, is used to indicate the reflection end or originating end of BFD.Set 1 table It is shown as the reflection end of common BFD, the originating end of common BFD is expressed as when setting 0.
When R bit is to set 0, the originating end of SBFD is indicated, at this point, local terminal specificator local Discriminatior word Local terminal specificator needed for section carries creation SBFD or BFD, length are 4 bytes;Distal end specificator Remote Distal end specificator needed for Discriminatior field carries creation SBFD or BFD.Particularly, work as local When Discriminatior field is, this section of specificator of not specific specified creation SBFD or BFD is indicated, it can be by forward node It is locally configured or automatically generates.Particularly, when Remote Discriminatior field is, not specific specified creation is indicated The distal end specificator of SBFD example can be locally configured or be automatically generated by forward node.
When R bit is to set 1, the reflection end of SBFD is indicated, at this point, local terminal specificator local Discriminatior word Reflection end specificator (Reflector Discriminatior) needed for section carries creation SBFD or BFD, Remote Discriminatior field is in default zero setting.
Wherein, Optional Para field format is as follows:
Illustratively, the embodiment of the present application can carry the minimum that BFD controls message by Min-tx-interval field Interval is sent, unit is microsecond.It should be understood that " BFD controls message " involved in above-mentioned " Min-tx-interval field " is only A kind of example, the embodiment of the present application are not construed as limiting the type of BFD, can be common BFD, are also possible to SBFD, this is depended on Which kind of BFD mechanism controller configures to forward node.That is, " BFD controls message " can also involved in " Optional Field " To replace with " SBFD controls message "." BFD controls message " involved in following Optional Field can also do similar explanation, under Text repeats no more.
The embodiment of the present application can carry the Required Min Rx Interval that BFD controls message by Min-rx-interval field, Unit is microsecond.The embodiment of the present application can carry the local detection times of BFD session by Detect-multiplier field Number.The embodiment of the present application can carry the authentication type that BFD controls message by Auth the type field, and there are several types of values:
0-Reserved
1-Simple Password
2-Keyed MD5
3-Meticulous Keyed MD5
4-Keyed SHA1
5-Meticulous Keyed SHA1
6-255-Reserved for future use
That is, the embodiment of the present application can distribute a type value for each Encryption Algorithm, to refer to corresponding mirror Weigh type.It should be understood that above-mentioned 7 kinds of values can respectively correspond the Encryption Algorithm in industrywide standard, the relevant explanation of Encryption Algorithm Or description may refer to the description of the prior art, and description of Encryption Algorithm is not developed in details at this.
The embodiment of the present application can carry the length information of authorization data (code key) part by Auth Lenth field.
The embodiment of the present application can carry authorization data (code key) information by Authentication Data field.
In the embodiment of the present application, controller may determine that the configuration status of SBFD in forward node, be then based on forwarding It whether is configured with SBFD mechanism in node, determines corresponding SBFD configuration information for forward node.
It is described by taking the first forward node as an example, in the case where in first forward node without configuration SBFD mechanism, It includes for letter needed for the first forward node SBFD example that controller, which is in the determining SBFD configuration information of the first forward node, Breath, in order to which the first forward node creates SBFD example;In the case where being configured with SBFD mechanism in first forward node, Controller is the configuration parameter that the SBFD configuration information that first forward node determines includes for adjusting configured SBFD Information.Wherein, " configuration parameter for adjusting configured SBFD " can be construed to " supplement, update or delete and is configured The operation such as configuration parameter of SBFD ".
S320, the controller sends BGP message to first forward node, in the BGP message described in carrying SBFD configuration information.Accordingly, the first forward node receives the BGP message, obtains the SBFD configuration information.
Here, controller can send the SBFD configuration information to the first forward node by BGP message.First forwarding Node is after receiving the BGP message, based on the SBFD configuration information carried in the BGP message, to configure SBFD example.The One forward node can be head node, be also possible to tail node, be not construed as limiting to this.
First forward node is receiving the SBFD configuration information, and it is real to configure SBFD associated with the SR business Example;After the associated SBFD exemplary configuration success of the SR business, first forward node and first forward node Corresponding peer node carries out SBFD negotiation.The corresponding peer node of first forward node refers to that needs are built with the first forward node The node that vertical SBFD negotiates.For example, the first forward node is head node, the corresponding peer node of the first forward node is periproct Point;Alternatively, the first forward node is tail node, the corresponding peer node of the first forward node is head node, is not made to this specific It limits.
Optionally, the SBFD configuration information can be issued individually, can also SR industry associated with SBFD configuration information Business issues together, is not construed as limiting to this.
Optionally, controller can be R bit, P bit, the local terminal specificator of the Flag field in SBFD configuration information Local Discriminatior field, opposite end specificator Remote Discriminatior field assign different values, come Distinguish the SBFD configuration information of head node or tail node.
For example, if above-mentioned first forward node is head node, then the SBFD configuration information that head node receives is in BGP Format in SR-Policy routing can be as follows:
Wherein, the specific format of Flags field is as follows:
In the SBFD configuration information that above-mentioned head node receives, the type field is set as 0x01, indicates currently used It is the protection of SBFD type;Flag field R bit is 0, indicates that head node is the originating end of SBFD;Local Discriminatior field can be set to a certain particular value in local terminal specificator resource pool, particularly, when being set as 0 by Forward node is locally configured or automatically generates.
Remote Discriminatior field is set as a certain particular value in the specificator resource pool of opposite end, particularly, when When being set as 0, it is locally configured by transponder or is obtained by other means.Here, opposite end refers to the opposite end of head node, such as Tail node.
Head node can be used Local Discriminatior and Remote Discriminatior and be matched, and come Establish SBFD example.
If the total length for the corresponding field of above-mentioned SBFD configuration information that head node receives is greater than 12 bytes, then it represents that cephalomere Point needs to read Optional Para (optional parameters) field and takes.
For example, Optional Para field format is as follows:
Optionally, controller can by above-mentioned Optional Para field, for head node specify message minimum send/ Receive interval, detection time period and authentication ciphering algorithm.
Head node, can be based on the particular content of SBFD configuration information after the SBFD configuration information for receiving controller transmission Carry out the creation or adjustment of SBFD example.
For example, if above-mentioned first forward node is tail node, then the SBFD configuration information that tail node receives is in BGP Format in SR-Policy routing can be as follows:
Wherein, Flags field format is as follows:
The type field is set as 0x01, and indicating currently used is the protection of SBFD type;The bit position R in Flag field 1, mark RT3 is SBFD reflection end;The bit position P 0 in Flag field, expression do not need to be configured to BFD reflection end;Local Discriminatior field is set as value identical with the Remote Discriminatior field in head node.
Similarly, if the total length for the corresponding field of above-mentioned SBFD configuration information that tail node receives is greater than 12 bytes, table Show that tail node needs to read optional parameters (Optional Para) field.Optionally, controller can pass through above-mentioned Optional Para field specifies message minimum transmission/reception interval, detection time period and authentication ciphering algorithm for tail node.
Tail node, can be based on the particular content of SBFD configuration information after the SBFD configuration information for receiving controller transmission Carry out the creation or adjustment of SBFD example.
In present application example, if head node and tail node have received the BFD extended community attribute that controller issues, Also, after head node and tail node are disposed according to the above-mentioned SBFD configuration information finishing service carried in attribute, head node and tail Node carries out SBFD service negotiation.Head node and tail node are negotiated successfully, then the success of SBFD for SR-Policy service creation.
The situation that SBFD mechanism whether is configured in the first forward node will be described respectively below.No matter first turn Whether SBFD mechanism is configured in hair node, and the technical solution of the embodiment of the present application is applicable in.
The first implementation:
If including being used for described first in the SBFD configuration information without configuring SBFD mechanism on the first forward node Information needed for forward node creates SBFD example;
Wherein, first forward node configures associated with the SR business according to the SBFD configuration information SBFD example, comprising:
First forward node is based on the SBFD configuration information, and it is real to create SBFD associated with the SR business Example.
If without configuration SBFD mechanism in the first forward node, SBFD can be matched confidence by BGP message by controller Interest statement is solely handed down to the first forward node, alternatively, can also issue the information and SBFD of creation SR business simultaneously by BGP message Configuration information.Here, due to, without configuring SBFD, being needed in SBFD configuration information comprising creation SBFD's in the first forward node Whole necessary informations.
Specifically, be the situation of head node for the first forward node, head node is in the BGP report for receiving controller and issuing It, can be first based on the information for creating SR business in BGP message when creating the information and SBFD configuration information of SR business simultaneously in text SR-Policy business is created, it is real to create SBFD associated with SR-Policy business immediately after the foundation of SR-Policy business Example.It is the situation of tail node for the first forward node, under the scene of bidirectional tunnel, tail node is receiving what controller issued It, can be first based on the information creating SR- for creating SR business in message after the information and the SBFD configuration information that create SR business Policy business creates the reflection of SBFD example associated with SR-Policy business immediately after the foundation of SR-Policy business The configuration at end waits after creating SBFD example and carries out SBFD negotiation with head node.Alternatively, in the scene for establishing unidirectional tunnel Under, when tail node do not need that controller issues for creating the information of SR-Policy business when, SR industry that tail node receives Endpoint in the Network Layer Reachable Information (network layer reachable information, NLRI) of business will be set Zero (zero setting is meant that controller is handed down in the BGP message of tail node not carry and is used to create SR-Policy business Information).
It should be understood that the embodiment of the present application first creates SR-Policy business to the first forward node, still first creation SBFD is real The sequencing of example is not especially limited, can be based on depending on actual demand.
After the completion of SBFD example in head node and tail node all creates, head node and tail node can carry out SBFD association Quotient, and SBFD example is associated with the formation of SR-Policy business, fault detection is provided for SR business.
Second of implementation:
It include for adjusting described if being configured with SBFD mechanism on the first forward node, in the SBFD configuration information The information of the configuration parameter of configured SBFD in one forward node, wherein first forward node is matched according to the SBFD Confidence breath, configures SBFD example associated with the SR business, comprising:
First forward node is based on the SBFD configuration information, adjusts to the configuration parameter of configured SBFD It is whole.
Specifically, controller in BGP message without taking if being configured with SBFD mechanism in the first forward node All information with creation SBFD example.The configurations of the SBFD of original static configuration can be used in first forward node, than Such as local static configuration or the Configuration Values automatically generated.Here, the SBFD configuration sent in controller to the first forward node In information, the partial information in SBFD can be carried, configures corresponding binding strategy and/or parameter supplement as to SBFD.Than It such as, can be to Local Discriminatior and Remote in the field for including in the SBFD configuration information Discriminatior zero setting refers to Local Discriminatior and Remote Discriminatior zero setting: not taking Information with Local Discriminatior and Remote Discriminatior, and remaining field can be controller (can refer to and be described above) newly configured for the first forward node.
For example, format of the SBFD configuration information that the first forward node receives in BGP SR-Policy routing can With as follows:
For field of the above-mentioned SBFD configuration information in BGP SR-Policy routing, controller is by Local Discriminatior field sets 0, and Remote Discriminatior field is set 0, that is, indicates that the two fields use first The value of static configuration in forward node.Particularly, if the two fields are non-zero value, there is also static state to match for the first forward node The case where setting should then be created SBFD example using the value carried in SBFD configuration information, and be closed with SR-Policy business Connection.
Therefore, in the second implementation, in the SBFD configuration information that controller issues, partial information can be carried, So that the first forward node can be adjusted the parameter of SBFD configurations.
In the second implementation, the first forward node can be updated SBFD example.If the first forwarding section SR business in point has been associated with SBFD example, but needs to change incidence relation, then controller gives the first forward node In the SBFD configuration information issued, the configuration information of new SBFD example can be.First forward node is real based on new SBFD The configuration information of example, to SR business, associated SBFD example refreshes.
In the embodiment of the present application, controller can be carried into the BGP message that the first forward node is sent SR business with And the configuration information of SBFD example associated with SR business.Particularly, real when needing to delete SBFD associated with SR business When example, i.e., when SR business is no longer associated with the SBFD example, controller is carried into the BGP message that the first forward node issues The information of SR business, and no longer carry SBFD configuration information.In this way, the first forward node can be deleted when receiving the BGP message Remove or solve the incidence relation for binding the SBFD example and SR business.
Optionally, as a kind of implementation, the first forward node can delete the SBFD example created, can release Resource is put, helps to reduce the occupancy to forward node and Internet resources.
For example, if SBFD static configuration is initially not present in the first forward node, the method for using the embodiment of the present application for After first forward node is configured with SBFD example associated with a certain SR business, if the first forward node, which has been successfully received, to be needed The BGP message of the SR business is cancelled or deletes, and the SR business all cancels, then the SR business can be associated SBFD example also delete, in order to economize on resources.
Optionally, the SBFD configuration information in the embodiment of the present application can be associated with multiple SR business.Controller to When forward node issues BGP message, the corresponding multiple BGP messages of multiple SR business can be issued to the first forward node, wherein Each BGP message carries identical SBFD configuration information.First forward node can be incited somebody to action when receiving such BGP message SBFD configuration information is multiplexed to multiple and different SR business.
Alternatively, controller when issuing BGP message to the first forward node, can issue one to the first forward node BGP message carries the configuration information and the same SBFD configuration information of multiple SR business in one BGP message.First turn Node is sent out when receiving the BGP message, SBFD configuration information can be multiplexed to multiple and different SR business.
It should be understood that the method for the seamless two-way converting detection SBFD mechanism of the configuration of the embodiment of the present application is to configure SBFD and be What example was illustrated, the technical solution of the embodiment of the present application is equally applicable to common BFD, Link Bandle BFD or other BFD Dynamical Deployment, this is not construed as limiting.For example, the configuration information of common BFD can be extended in other services addresses races of BGP In, or increase special BFD control address family newly.
It should also be understood that the citing of the format of each field occurred in the embodiment of the present application is not to the embodiment of the present application structure At restriction, those skilled in the art, which are based on the example above, can do equivalence transformation perhaps these equivalence transformations of adjustment or adjustment The protection scope of the embodiment of the present application should all be fallen into.
The seamless two-way converting detection SBFD of configuration according to the embodiment of the present application is described in detail above in association with Fig. 1 to Fig. 3 The method of mechanism.SBFD machine is detected according to the seamless two-way converting of configuration of the embodiment of the present application below in conjunction with Fig. 4 to Fig. 7 description The device of system.It should be understood that technical characteristic described in embodiment of the method is equally applicable to following Installation practice.
Fig. 4 shows showing for the device 400 of the seamless two-way converting detection SBFD mechanism of configuration according to the embodiment of the present application Meaning block diagram.Optionally, device 400 can be controller.As shown in figure 4, the device 400 includes:
Determining module 410, for configuring shape according to the SBFD mechanism of the first forward node in the multiple forward node State, determines SBFD configuration information, includes: configuration SBFD example associated with section routing SR business in the SBFD configuration information Required information;
Transceiver module 420, for sending BGP message to first forward node, in the BGP message described in carrying SBFD configuration information.
In one possible implementation, the determining module 410 is used for according to the in the multiple forward node The SBFD mechanism configuration status of one forward node, determines SBFD configuration information, specifically includes:
It include using in the SBFD configuration information in the case where in first forward node without configuration SBFD mechanism The information needed for first forward node creates SBFD example;
It include being used in the SBFD configuration information in the case where being configured with SBFD mechanism in first forward node Adjust the information of the configuration parameter of SBFD configured in first forward node.
In one possible implementation, the information of the SR business is also carried in the BGP message.
In one possible implementation, the SBFD configuration information is associated with multiple SR business.
In one possible implementation, first forward node is the head node in the multiple forward node, Alternatively, first forward node is the tail node in the multiple forward node.
In one possible implementation, include one or more in the following contents in the SBFD configuration information: It is used to indicate the field of the sending and receiving end type of first forward node, is used to indicate whether the SBFD configuration information is SBFD Field, the field of local terminal specificator resource pool of first forward node, first forward node opposite end specificator The field of resource pool.
It should be understood that can correspond to the side of controller side in preceding method embodiment according to the device 400 of the embodiment of the present application Method, and above and other management operation and/or function of the modules in device 400 is respectively in order to realize aforementioned each side The corresponding steps of method, therefore the beneficial effect in preceding method embodiment also may be implemented, for sake of simplicity, not repeating here.
Fig. 5 shows showing for the device 500 of the seamless two-way converting detection SBFD mechanism of configuration according to the embodiment of the present application Meaning property structure chart.As shown in figure 5, described device 500 includes:
Processor 501, memory 502 and transceiver 503.
It is communicated with each other between processor 501, memory 502 and transceiver 503 by internal connecting path, transmitting control And/or data-signal.In a possible design, processor 501, memory 502 and transceiver 503 can pass through chip reality It is existing.The memory 502 can store program code, and the program code that processor 501 calls memory 502 to store is somebody's turn to do with realizing The corresponding function of terminal device.
The processor 501 is used for, and is configured according to the SBFD mechanism of the first forward node in the multiple forward node State, determines SBFD configuration information, includes: configuration SBFD associated with section routing SR business real in the SBFD configuration information Information required for example;The transceiver 503 is used for, the first forward node of Xiang Suoshu transmission BGP message, in the BGP message Carry the SBFD configuration information.
Optionally, the determining module 410 in Fig. 4 can be corresponded to the processor 501 in corresponding diagram 5, transceiver module 420 Transceiver 503 in Fig. 5.In another embodiment, transceiver can be divided into two components of receiver and transmitter and realize.
Fig. 6 shows showing for the device 600 of the seamless two-way converting detection SBFD mechanism of configuration according to the embodiment of the present application Meaning block diagram.Described device 600 be applied to support Segment routing traffic engineering SR-TE network, the network include controller and Multiple forward node.Optionally, described device 600 is the first forward node in the multiple forward node.As shown in fig. 6, The device 600 includes:
Transceiver module 610 carries SBFD configuration in the BGP message for receiving the BGP message of the controller transmission Information includes: information required for configuration SBFD example associated with section routing SR business in the SBFD configuration information;
Processing module 620, for it is real to configure SBFD associated with the SR business according to the SBFD configuration information Example;
The processing module 620 is also used to, after the SR business associated SBFD exemplary configuration success, with described the The corresponding peer node of one forward node carries out SBFD negotiation.
In one possible implementation, in the case where in first forward node without configuration SBFD mechanism, It include information needed for creating SBFD example for first forward node in the SBFD configuration information;
Wherein, the processing module 620 is used to be configured associated with the SR business according to the SBFD configuration information SBFD example, specifically includes:
First forward node is based on the SBFD configuration information, and it is real to create SBFD associated with the SR business Example.
In one possible implementation, in the case where being configured with SBFD mechanism in first forward node, institute Stating includes information for adjusting the configuration parameter of SBFD configured in first forward node in SBFD configuration information;Its In, the processing module 620 is used to configure SBFD example associated with the SR business according to the SBFD configuration information, It specifically includes:
Based on the SBFD configuration information, the configuration parameter of configured SBFD is adjusted.
Optionally, the information of the SR business is also carried in the BGP message.
Optionally, the SBFD configuration information is associated with multiple SR business.
Optionally, first forward node is the head node in the multiple forward node, alternatively, first forwarding Node is the tail node in the multiple forward node.
Optionally, include one or more in the following contents in the SBFD configuration information: being used to indicate described first The field of the sending and receiving end type of forward node, be used to indicate the SBFD configuration information whether be SBFD field, described first Field, the field of the opposite end specificator resource pool of first forward node of the local terminal specificator resource pool of forward node.
It should be understood that can correspond to forward node side in preceding method embodiment according to the device 600 of the embodiment of the present application Method, and above and other management operation and/or function of the modules in device 600 is aforementioned each in order to realize respectively The corresponding steps of method, therefore the beneficial effect in preceding method embodiment also may be implemented, for sake of simplicity, not going to live in the household of one's in-laws on getting married here It states.
Fig. 7 shows showing for the device 700 of the seamless two-way converting detection SBFD mechanism of configuration according to the embodiment of the present application Meaning property structure chart.As shown in fig. 7, described device 700 includes:
Processor 701, memory 702 and transceiver 703.
It is communicated with each other between processor 701, memory 702 and transceiver 703 by internal connecting path, transmitting control And/or data-signal.In a possible design, processor 701, memory 702 and transceiver 703 can pass through chip reality It is existing.The memory 702 can store program code, and the program code that processor 701 calls memory 702 to store is somebody's turn to do with realizing The corresponding function of terminal device.
The transceiver 703 is used to receive the BGP message that the controller is sent, and carries SBFD in the BGP message and matches Confidence ceases, and includes: information required for configuration SBFD example associated with section routing SR business in the SBFD configuration information; The processor 701 is used to configure SBFD example associated with the SR business according to the SBFD configuration information;Described After the associated SBFD exemplary configuration success of SR business, peer node corresponding with first forward node carries out SBFD association Quotient.
Optionally, the processing module 620 in Fig. 6 can be corresponded to the processor 701 in corresponding diagram 7, transceiver module 610 Transceiver 703 in Fig. 7.In another embodiment, transceiver can be divided into two components of receiver and transmitter and realize.
Present invention also provides a kind of network, which includes controller, multiple forward node.Before controller can execute Method performed by controller described in text.It may include the first forward node in multiple forward node.First forward node can To be the head node in a tunnel SR Policy, alternatively, the first forward node can be the periproct in a tunnel SR Policy Point.
The method that above-mentioned the embodiment of the present application discloses can be applied in processor, or be realized by processor.Processor It may be a kind of IC chip, the processing capacity with signal.During realization, each step of above method embodiment It can be completed by the integrated logic circuit of the hardware in processor or the instruction of software form.Above-mentioned processor can be General processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components can also be System on Chip/SoC (system on chip, SoC), can also be central processing unit (central Processor unit, CPU), it can also be network processing unit (network processor, NP), can also be digital signal Processing circuit (digital signal processor, DSP), can also be microcontroller (micro controller Unit, MCU), it can also be programmable controller (programmable logic device, PLD) or other integrated chips. It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present application.General processor can be Microprocessor or the processor are also possible to any conventional processor etc..The method in conjunction with disclosed in the embodiment of the present application Step can be embodied directly in hardware decoding processor and execute completion, or with the hardware and software module group in decoding processor Conjunction executes completion.Software module can be located at random access memory, flash memory, read-only memory, programmable read only memory or electricity In the storage medium of this fields such as erasable programmable memory, register maturation.The storage medium is located at memory, processor The step of reading the information in memory, completing the above method in conjunction with its hardware.
It is appreciated that the memory in the embodiment of the present application can be volatile memory or nonvolatile memory, or It may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDR SDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DR RAM).It should be noted that the memory of system and method described herein be intended to include but be not limited to these and The memory of any other suitable type.
The various aspects or feature of the application may be implemented into method, apparatus or use standard program and/or engineering technology Product.Term " product " used herein is covered can be from any computer-readable device, carrier or the meter of medium access Calculation machine program.For example, computer-readable medium may include, but be not limited to: magnetic memory device is (for example, hard disk, floppy disk or tape Deng), CD is (for example, compact disk (compact disc, CD), digital versatile disc (digital versatile disc, DVD) Deng), smart card and flush memory device are (for example, Erarable Programmable Read only Memory (erasable programmable read- Only memory, EPROM), card, stick or Keyed actuator etc.).It is used in addition, various storage media described herein can represent One or more equipment of storage information and/or other machine readable medias.Term " machine readable media " may include but unlimited In wireless channel and the various other media that can be stored, include and/or carry instruction and/or data.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read only memory ROM, random access memory ram, magnetic disk or light The various media that can store program code such as disk.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.

Claims (26)

1. a kind of method for configuring seamless two-way converting detection SBFD mechanism, which is characterized in that the method is applied to support to divide The network of section routing traffic engineering SR-TE, the network includes controller and multiple forward node, which comprises
The controller determines SBFD according to the SBFD mechanism configuration status of the first forward node in the multiple forward node Configuration information includes: letter required for configuration SBFD example associated with section routing SR business in the SBFD configuration information Breath;
The controller sends Border Gateway Protocol (BGP) message to first forward node, in the BGP message described in carrying SBFD configuration information.
2. the method according to claim 1, wherein the controller is according in the multiple forward node The SBFD mechanism configuration status of one forward node, determines SBFD configuration information, comprising:
It include being used for institute in the SBFD configuration information in the case where in first forward node without configuration SBFD mechanism Information needed for stating the first forward node creation SBFD example;
It include for adjusting in the SBFD configuration information in the case where being configured with SBFD mechanism in first forward node The information of the configuration parameter of configured SBFD in first forward node.
3. method according to claim 1 or 2, which is characterized in that also carry the letter of the SR business in the BGP message Breath.
4. according to the method in any one of claims 1 to 3, which is characterized in that the SBFD configuration information and multiple SR Business is associated.
5. method according to claim 1 to 4, which is characterized in that first forward node is described more Head node in a forward node, alternatively, first forward node is the tail node in the multiple forward node.
6. the method according to any one of claims 1 to 5, which is characterized in that include in the SBFD configuration information with It is one or more in lower content: be used to indicate the field of the sending and receiving end type of first forward node, be used to indicate it is described SBFD configuration information whether be the field of SBFD, first forward node local terminal specificator resource pool field, described The field of the opposite end specificator resource pool of one forward node.
7. a kind of method for configuring seamless two-way converting detection SBFD mechanism, which is characterized in that the method is applied to support to divide The network of section routing traffic engineering SR-TE, the network includes controller and multiple forward node, which comprises
The first forward node in the multiple forward node receives the Border Gateway Protocol (BGP) message that the controller is sent, SBFD configuration information is carried in the BGP message, includes: that configuration is associated with section routing SR business in the SBFD configuration information SBFD example required for information;
First forward node configures SBFD example associated with the SR business according to the SBFD configuration information;
After the associated SBFD exemplary configuration success of the SR business, first forward node and first forward node Corresponding peer node carries out SBFD negotiation.
8. the method according to the description of claim 7 is characterized in that without configuration SBFD mechanism in first forward node In the case where, it include information needed for creating SBFD example for first forward node in the SBFD configuration information;
Wherein, it is real to configure SBFD associated with the SR business according to the SBFD configuration information for first forward node Example, comprising:
First forward node is based on the SBFD configuration information, creates SBFD example associated with the SR business.
9. the method according to the description of claim 7 is characterized in that being configured with SBFD mechanism in first forward node In the case of, it include the configuration parameter for adjusting SBFD configured in first forward node in the SBFD configuration information Information;Wherein, first forward node configures SBFD associated with the SR business according to the SBFD configuration information Example, comprising:
First forward node is based on the SBFD configuration information, is adjusted to the configuration parameter of configured SBFD.
10. method according to any one of claims 7 to 9, which is characterized in that described in also being carried in the BGP message The information of SR business.
11. method according to any one of claims 7 to 10, which is characterized in that the SBFD configuration information with it is multiple The SR business is associated.
12. method according to any one of claims 7 to 11, which is characterized in that first forward node is described Head node in multiple forward node, alternatively, first forward node is the tail node in the multiple forward node.
13. method according to any one of claims 7 to 12, which is characterized in that include in the SBFD configuration information It is one or more in the following contents: to be used to indicate the field of the sending and receiving end type of first forward node, be used to indicate institute State SBFD configuration information whether be the field of SBFD, first forward node local terminal specificator resource pool field, described The field of the opposite end specificator resource pool of first forward node.
14. a kind of device for configuring seamless two-way converting detection SBFD mechanism, which is characterized in that described device is applied to support to divide The network of section routing traffic engineering SR-TE, the network includes controller and multiple forward node, and described device includes:
Determining module is determined for the SBFD mechanism configuration status according to the first forward node in the multiple forward node SBFD configuration information includes: required for configuration SBFD example associated with section routing SR business in the SBFD configuration information Information;
Transceiver module carries in the BGP message for sending Border Gateway Protocol (BGP) message to first forward node The SBFD configuration information.
15. device according to claim 14, which is characterized in that the determining module is used to be saved according to the multiple forwarding The SBFD mechanism configuration status of the first forward node in point, determines SBFD configuration information, specifically includes:
It include being used for institute in the SBFD configuration information in the case where in first forward node without configuration SBFD mechanism Information needed for stating the first forward node creation SBFD example;
It include for adjusting in the SBFD configuration information in the case where being configured with SBFD mechanism in first forward node The information of the configuration parameter of configured SBFD in first forward node.
16. device according to claim 14 or 15, which is characterized in that also carry the SR business in the BGP message Information.
17. device described in any one of 4 to 16 according to claim 1, which is characterized in that the SBFD configuration information with it is multiple SR business is associated.
18. device described in any one of 4 to 17 according to claim 1, which is characterized in that first forward node is described Head node in multiple forward node, alternatively, first forward node is the tail node in the multiple forward node.
19. device described in any one of 4 to 18 according to claim 1, which is characterized in that include in the SBFD configuration information It is one or more in the following contents: to be used to indicate the field of the sending and receiving end type of first forward node, be used to indicate institute State SBFD configuration information whether be the field of SBFD, first forward node local terminal specificator resource pool field, described The field of the opposite end specificator resource pool of first forward node.
20. a kind of device for configuring seamless two-way converting detection SBFD mechanism, which is characterized in that described device is applied to support to divide The network of section routing traffic engineering SR-TE, the network includes controller and multiple forward node, and described device is the multiple The first forward node in forward node, described device include:
Transceiver module carries in the BGP message for receiving the Border Gateway Protocol (BGP) message of the controller transmission SBFD configuration information includes: required for configuration SBFD example associated with section routing SR business in the SBFD configuration information Information;
Processing module, for configuring SBFD example associated with the SR business according to the SBFD configuration information;
The processing module is also used to, after the associated SBFD exemplary configuration success of the SR business, with first forwarding The corresponding peer node of node carries out SBFD negotiation.
21. device according to claim 20, which is characterized in that without configuration SBFD machine in first forward node It include information needed for creating SBFD example for first forward node in the case where system, in the SBFD configuration information;
Wherein, the processing module is used to that it is real to configure SBFD associated with the SR business according to the SBFD configuration information Example, specifically includes:
Based on the SBFD configuration information, SBFD example associated with the SR business is created.
22. device according to claim 20, which is characterized in that be configured with SBFD mechanism in first forward node In the case where, it include joining in the SBFD configuration information for adjusting the configuration of SBFD configured in first forward node Several information;Wherein, the processing module is used to be configured associated with the SR business according to the SBFD configuration information SBFD example, specifically includes:
Based on the SBFD configuration information, the configuration parameter of configured SBFD is adjusted.
23. the device according to any one of claim 20 to 22, which is characterized in that also carry institute in the BGP message State the information of SR business.
24. the device according to any one of claim 20 to 23, which is characterized in that the SBFD configuration information with it is multiple SR business is associated.
25. the device according to any one of claim 20 to 24, which is characterized in that first forward node is described Head node in multiple forward node, alternatively, first forward node is the tail node in the multiple forward node.
26. the device according to any one of claim 20 to 25, which is characterized in that include in the SBFD configuration information It is one or more in the following contents: to be used to indicate the field of the sending and receiving end type of first forward node, be used to indicate institute State SBFD configuration information whether be the field of SBFD, first forward node local terminal specificator resource pool field, described The field of the opposite end specificator resource pool of first forward node.
CN201811626536.9A 2018-12-28 2018-12-28 The method and apparatus for configuring seamless two-way converting detection SBFD mechanism Active CN109587009B (en)

Priority Applications (3)

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
CN201811626536.9A CN109587009B (en) 2018-12-28 2018-12-28 The method and apparatus for configuring seamless two-way converting detection SBFD mechanism
PCT/CN2019/119825 WO2020134739A1 (en) 2018-12-28 2019-11-21 Method and device for configuring seamless bidirectional forwarding detection (sbfd) mechanism

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
CN109587009A true CN109587009A (en) 2019-04-05
CN109587009B CN109587009B (en) 2019-11-08

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 The method and apparatus for configuring seamless two-way converting detection SBFD mechanism

Family Applications Before (1)

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

Country Status (2)

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

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460507A (en) * 2019-09-11 2019-11-15 赛尔网络有限公司 Service bearer method, apparatus
CN110519168A (en) * 2019-08-27 2019-11-29 北京华为数字技术有限公司 A kind of method and relevant device creating the tunnel SRTE
CN110752992A (en) * 2019-10-28 2020-02-04 盛科网络(苏州)有限公司 Device and method for realizing point-to-multipoint by MPLS SBFD reflection end
WO2020134739A1 (en) * 2018-12-28 2020-07-02 华为技术有限公司 Method and device for configuring seamless bidirectional forwarding detection (sbfd) mechanism
CN111901387A (en) * 2020-07-01 2020-11-06 中国联合网络通信集团有限公司 Connection method and device of cloud special line
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
WO2021004277A1 (en) * 2019-07-11 2021-01-14 中兴通讯股份有限公司 Routing management method and apparatus, network device, and readable storage medium
CN112448877A (en) * 2019-09-05 2021-03-05 华为技术有限公司 SBFD session establishment method, device and system
WO2021046689A1 (en) * 2019-09-09 2021-03-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and network node for label switched path traceroute
WO2021129029A1 (en) * 2019-12-27 2021-07-01 华为技术有限公司 Tunnel segmentation method and apparatus, and data transmission system
CN113472653A (en) * 2021-05-25 2021-10-01 新华三信息安全技术有限公司 Method and device for detecting path consistency
CN113507410A (en) * 2021-06-29 2021-10-15 新华三信息安全技术有限公司 CGN backup method and device
CN113542154A (en) * 2020-04-17 2021-10-22 ***通信集团江西有限公司 Traffic scheduling method, system, device, storage medium and computer equipment
CN114765621A (en) * 2020-12-31 2022-07-19 华为技术有限公司 Method, device and network equipment for detecting state of BGP session
WO2023284547A1 (en) * 2021-07-16 2023-01-19 华为技术有限公司 Fault detection method, apparatus and system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935004B (en) * 2020-10-12 2020-12-22 网络通信与安全紫金山实验室 SR Policy-based automatic drainage expansion method, router and system
CN112398967B (en) * 2020-11-13 2023-03-14 中盈优创资讯科技有限公司 SR-based centralized traffic scheduling method and device
CN113992581B (en) * 2021-09-17 2023-03-31 新华三信息安全技术有限公司 Message processing method and device
CN114338514B (en) * 2021-12-27 2023-06-16 中国电信股份有限公司 Network detection method, device, medium and electronic equipment
CN115473798A (en) * 2022-10-20 2022-12-13 中国电信股份有限公司 End-to-end service fault detection method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710466A (en) * 2012-06-11 2012-10-03 烽火通信科技股份有限公司 Master and backup board card changeover protection system, and bidirectional forwarding detection seamless handover method and device
CN103384251A (en) * 2013-07-16 2013-11-06 中国人民解放军信息工程大学 Multi-class safety service combinable safety network construction method and device
US20160261474A1 (en) * 2015-03-02 2016-09-08 Cisco Technology, Inc. Monitoring through s-bfd (seamless bidirectional forwarding detection)
CN107864091A (en) * 2017-10-31 2018-03-30 新华三技术有限公司 The processing method and processing device of link failure
CN108156050A (en) * 2017-11-28 2018-06-12 盛科网络(苏州)有限公司 Seamless bidirectional forwarding detection (BFD) method and device

Family Cites Families (9)

* 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
CN108370333B (en) * 2015-12-09 2021-05-18 华为技术有限公司 System, method and node for performance measurement in a segmented routing network
CN105391633B (en) * 2015-12-11 2018-11-16 北京华为数字技术有限公司 The route issuing method of transponder, controller and controller
CN107222449B (en) * 2016-03-21 2020-06-16 华为技术有限公司 Communication method, device and system based on flow rule protocol
CN107306222B (en) * 2016-04-25 2020-09-25 华为技术有限公司 Method and equipment for establishing traffic engineering tunnel on label switching path
CN113055289B (en) * 2016-07-01 2023-12-08 华为技术有限公司 Message forwarding method, device and system based on service function chain SFC
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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710466A (en) * 2012-06-11 2012-10-03 烽火通信科技股份有限公司 Master and backup board card changeover protection system, and bidirectional forwarding detection seamless handover method and device
CN103384251A (en) * 2013-07-16 2013-11-06 中国人民解放军信息工程大学 Multi-class safety service combinable safety network construction method and device
US20160261474A1 (en) * 2015-03-02 2016-09-08 Cisco Technology, Inc. Monitoring through s-bfd (seamless bidirectional forwarding detection)
CN107864091A (en) * 2017-10-31 2018-03-30 新华三技术有限公司 The processing method and processing device of link failure
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
C.PIGNATARO: ""Seamless Bidirectional Forwarding Detection (S-BFD)"", 《IETF INTERNET-DRAFT》 *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020134739A1 (en) * 2018-12-28 2020-07-02 华为技术有限公司 Method and device for configuring seamless bidirectional forwarding detection (sbfd) mechanism
WO2021004277A1 (en) * 2019-07-11 2021-01-14 中兴通讯股份有限公司 Routing management method and apparatus, network device, and readable storage medium
CN110519168A (en) * 2019-08-27 2019-11-29 北京华为数字技术有限公司 A kind of method and relevant device creating the tunnel SRTE
CN110519168B (en) * 2019-08-27 2022-03-11 北京华为数字技术有限公司 Method for establishing SRTE tunnel and related equipment
WO2021043086A1 (en) * 2019-09-05 2021-03-11 华为技术有限公司 Method, device and system for establishing sbfd session
CN112448877A (en) * 2019-09-05 2021-03-05 华为技术有限公司 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
WO2021046689A1 (en) * 2019-09-09 2021-03-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and network node for label switched path traceroute
CN114342334B (en) * 2019-09-09 2024-03-12 瑞典爱立信有限公司 Method and network node for label switched path route tracking
CN114342334A (en) * 2019-09-09 2022-04-12 瑞典爱立信有限公司 Method and network node for label switched path route tracing
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
CN110752992A (en) * 2019-10-28 2020-02-04 盛科网络(苏州)有限公司 Device and method for realizing point-to-multipoint by MPLS SBFD reflection end
WO2021129029A1 (en) * 2019-12-27 2021-07-01 华为技术有限公司 Tunnel segmentation method and apparatus, and data transmission system
CN113542154A (en) * 2020-04-17 2021-10-22 ***通信集团江西有限公司 Traffic scheduling method, system, device, storage medium and computer equipment
CN111901387A (en) * 2020-07-01 2020-11-06 中国联合网络通信集团有限公司 Connection method and device of cloud special line
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
CN114765621A (en) * 2020-12-31 2022-07-19 华为技术有限公司 Method, device and network equipment for detecting state of BGP session
CN113472653B (en) * 2021-05-25 2022-11-18 新华三信息安全技术有限公司 Method and device for detecting path consistency
CN113472653A (en) * 2021-05-25 2021-10-01 新华三信息安全技术有限公司 Method and device for detecting path consistency
CN113507410A (en) * 2021-06-29 2021-10-15 新华三信息安全技术有限公司 CGN backup method and device
WO2023284547A1 (en) * 2021-07-16 2023-01-19 华为技术有限公司 Fault detection method, apparatus and system

Also Published As

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

Similar Documents

Publication Publication Date Title
CN109587009B (en) The method and apparatus for configuring seamless two-way converting detection SBFD mechanism
US11431526B2 (en) Deterministic forwarding across L2 and L3 networks
CN111510387B (en) Data forwarding method and related device
JP5081576B2 (en) MAC (Media Access Control) tunneling, its control and method
US8867349B2 (en) Regulation of network traffic in virtual private networks
CN103229468B (en) Packet-switched resources distribution method and equipment
US7486659B1 (en) Method and apparatus for exchanging routing information between virtual private network sites
WO2016197344A1 (en) Method, device and system for realizing service link
CN107306222B (en) Method and equipment for establishing traffic engineering tunnel on label switching path
WO2016115823A1 (en) Method and apparatus for forwarding label construction and label packet
US20160006614A1 (en) Source Routing Using Path Computation Elements
WO2019007166A1 (en) Method and apparatus for determining identification information about cross-domain path, and storage medium
US7590074B1 (en) Method and apparatus for obtaining routing information on demand in a virtual private network
CN110417651B (en) Tunnel establishment method, device and system
WO2017124709A1 (en) Method of establishing traffic engineering tunnel and device
CN107404436A (en) Communication means and device for virtual expansible LAN
WO2017211164A1 (en) Method, apparatus, and system for determining inter-as label switched path tunnel
CN105323176A (en) Method and apparatus for publishing address information
CN101243654A (en) Method and apparatus for enabling routing of label switched data packets
CN114244771A (en) PECP segmented routing path segmented label binding extension
CN105577540B (en) A kind of method for building up of service link, apparatus and system
JP2020527918A (en) Data flow transmission
CN109218195A (en) A kind of method and device for realizing the tunnel two-way segment routing
CN115004656B (en) Message sending method, device and system
Perlman et al. Introduction to TRILL

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
TA01 Transfer of patent application right

Effective date of registration: 20190527

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: Huawei Technologies Co., Ltd.

Address before: 100085 No. 3 Shangdi Information Road, Haidian District, Beijing

Applicant before: Beijing Huawei Digital Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant