CN112583650A - SR-BE tunnel link detection method and system in SPN - Google Patents

SR-BE tunnel link detection method and system in SPN Download PDF

Info

Publication number
CN112583650A
CN112583650A CN201910924330.2A CN201910924330A CN112583650A CN 112583650 A CN112583650 A CN 112583650A CN 201910924330 A CN201910924330 A CN 201910924330A CN 112583650 A CN112583650 A CN 112583650A
Authority
CN
China
Prior art keywords
alarm
component
igp
rdi
oam
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
CN201910924330.2A
Other languages
Chinese (zh)
Other versions
CN112583650B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201910924330.2A priority Critical patent/CN112583650B/en
Publication of CN112583650A publication Critical patent/CN112583650A/en
Application granted granted Critical
Publication of CN112583650B publication Critical patent/CN112583650B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Abstract

The invention discloses a method and a system for detecting SR-BE tunnel links in SPN, relating to the technical field of communication.A VS OAM is deployed between nodes in an SPN SR-BE network, once a link fails, the VS OAM rapidly reports generated LOC alarm or RDI alarm to a corresponding upper IGP protocol module, further triggering TI-LFA protection switching, meeting the requirement of TI-LFA50ms protection switching mentioned in the SPN overall technical requirement, and further expanding the application range of the VS OAM. And naming the reserved BIT which is immediately behind the RDI BIT in the VS layer CCM message format as an EI alarm BIT. When the device ingress port detects an SD alarm, the upstream adjacent node is notified of the EI alarm position of the CCM message, so that the notification of the SD alarm to the upstream adjacent node is supported in an SR-BE scene.

Description

SR-BE tunnel link detection method and system in SPN
Technical Field
The invention relates to the technical field of communication, in particular to a method and a system for detecting an SR-BE tunnel link in an SPN.
Background
SR (Segment Routing) is a method designed based on the concept of source Routing to forward packets on a network, where SR divides a network path into segments, assigns identification IDs to the segments and forwarding nodes in the network, and obtains a forwarding path by arranging the segments and network nodes in order.
The SPN network slice packet layer network transport sublayer is divided into a VP (virtual path, virtual path layer) and a VS (virtual section layer). Wherein, the VP corresponds to MPLS-TP (MPLS Transport Profile, MPLS Transport subset) and SR-TP (Segment Routing Profile-Traffic Engineering, Traffic Engineering-based Segment Routing Transport subset) tunnels; and the VS is selectable and only corresponds to the MPLS-TP Section tunnel.
The SR-TP tunnel is based on IETF (Internet Engineering Task Force ) SR (Segment Routing) (Segment Routing architecture standard published by IETF, standard number: RFC8402) source Routing tunnel technology, and is a new tunnel technology for enhancing the Transport-field-oriented operation and maintenance capability, and comprises two types of tunnels, namely SR-TP (Segment Routing-Traffic Engineering, Traffic Engineering-based Segment Routing subset) and SR-BE (Segment Routing-Best Effort, Best-Effort forwarding-based Segment Routing). The SR-BE tunnel is used for bearing a connectionless Mesh service, providing any topological service connection and simplifying tunnel planning and deployment.
The SR-BE tunnel uses a TI-LFA (Topology Independent Loop Free alternative protection) protection mechanism. Running an IGP (interior gateway protocol) protocol through network equipment, diffusing node labels and generating an optimal forwarding path to a destination node to generate an SR-BE (SR-BE) working tunnel; meanwhile, the IGP protocol computationally generates a suboptimal forwarding path (not co-routed with the primary path) to the destination node for each device of the network. The SR-BE tunnel TI-LFA has the advantages that manual planning and deployment are not needed, 50ms switching of any topology is adapted, and the method is suitable for service bearing of Fullmesh connection as required.
SR-BE tunnel protection basic capability requirement:
(1) should support the switching face TI-LFA protection switching, the protection mechanism follows draft-bashandy-rtwgg-segment-routing-TI-LFA draft requirement;
(2) the TI-LFA protection switching performance should be less than 50 ms.
SR-BE tunnel TI-LFA protection switching triggering condition:
(1) the device detects port level faults such as adjacent interface ETH _ LOS (LOSs of signal), Link _ Down (Link interruption) and the like;
(2) the device detects an adjacent link state exception, such as link state Detection by BFD (Bidirectional Forwarding Detection).
However, the detection of port-level faults such as ETH _ LOS and Link _ Down is often slow in fault detection time, and the requirement of TI-LFA protection 50ms switching is difficult to achieve. And link state detection through BFD may not deploy BFD in part of access devices on one hand, and on the other hand, has great difficulty in intermediate site SD notification support in SR-BE scenarios.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method and a system for detecting an SR-BE tunnel link in an SPN (shortest Path first) to meet the requirement of TI-LFA50ms protection switching of the SPN and realize the support of SD alarm notification in an SR-BE scene.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows: a method for detecting SR-BE tunnel link in SPN includes the following steps:
VS OAM is deployed between nodes in SR-BE, and connectivity detection and link error code detection are started;
if the link interruption is detected, generating an LOC alarm at a local end node, and setting the RDI position of an FLAG field in a CCM message to be sent to be 1 by VS OAM; when the opposite end node receives the CCM message, an RDI alarm is generated;
if the link is not interrupted but error codes appear, a link SD alarm is generated at a local end node, VS OAM sets a BIT after an RDI BIT in a CCM message to be sent as an EI alarm BIT, and sets the EI alarm BIT as 1; and when the opposite end node receives the CCM message, generating an EI alarm.
On the basis of the scheme, the method further comprises the following steps: polling whether an alarm is generated in the current VS OAM, and reporting the alarm to an upper-layer IGP protocol module if the alarm is generated;
if the alarm is LOC alarm or RDI alarm, triggering TI-LFA protection switching;
if the path IS EI alarm, IGP convergence IS triggered, IS-IS re-calculation IS triggered, and the optimal path IS selected to reach the destination node.
On the basis of the above scheme, the polling whether an alarm is generated in the current VS OAM, and if an alarm is generated, reporting the alarm to an upper IGP protocol module includes the following steps:
a polling thread is started in an event reporting component at the equipment side, and an interface function corresponding to a TPOAM software adaptation module is called to collect LOC alarm, RDI alarm or EI alarm; when the TPOAM software adaptation module collects LOC alarm, RDI alarm or EI alarm, the TPOAM software adaptation module informs the corresponding event reporting component, and the event reporting component sends the collected alarm to the TPOAM component at the platform side;
after receiving the alarm, the TPOAM component at the platform side informs the interface management component in a LIB communication mode through the TPOAM component at the platform side;
the interface management component informs the upper IGP protocol module of the alarm.
On the basis of the scheme, the method further comprises the following steps: when the alarm is reported to the upper IGP protocol module, if the alarm disappears, the anti-shake time is set for delaying reporting.
On the basis of the scheme, the IGP convergence is triggered, and the method specifically comprises the following steps:
and modifying the metric value of the IGP to be the maximum value to trigger IGP convergence.
The invention also provides a system for detecting the SR-BE tunnel link in the SPN, which comprises a VS OAM module, wherein the VS OAM module is deployed between nodes in the SR-BE and used for:
starting connectivity detection and link error code detection;
if the link interruption is detected, generating an LOC alarm at a local end node, and setting the RDI position of an FLAG field in a CCM message to be sent to be 1 by VS OAM; when the opposite end node receives the CCM message, an RDI alarm is generated;
if the link is not interrupted but error codes appear, a link SD alarm is generated at a local end node, VS OAM sets a BIT after an RDI BIT in a CCM message to be sent as an EI alarm BIT, and sets the EI alarm BIT as 1; and when the opposite end node receives the CCM message, generating an EI alarm.
On the basis of the scheme, the system also comprises an alarm reporting module and an upper IGP protocol module;
the alarm reporting module is used for: polling whether an alarm is generated in the current VS OAM, and reporting the alarm to an upper-layer IGP protocol module if the alarm is generated;
the upper IGP protocol module is used for: if the alarm is LOC alarm or RDI alarm, triggering TI-LFA protection switching; if the path IS EI alarm, IGP convergence IS triggered, IS-IS re-calculation IS triggered, and the optimal path IS selected to reach the destination node.
On the basis of the above scheme, the alarm reporting module includes an event reporting component, a TPOAM component, and an interface management component:
the event reporting component on the device side is configured to: starting a polling thread, and calling a corresponding interface function of a TPOAM software adaptation module to collect LOC alarm, RDI alarm or EI alarm; when the TPOAM software adaptation module collects LOC alarm, RDI alarm or EI alarm, informing the corresponding event reporting component, and the event reporting component uploading the collected alarm to the TPOAM component at the platform side;
the TPOAM component on the platform side is used for: after receiving the alarm, informing the interface management component in a mode of LIB communication of the TPOAM component at the platform side;
the interface management component is to: and informing the upper IGP protocol module of the alarm.
On the basis of the above scheme, the interface management component is further configured to: when the alarm is reported to the upper IGP protocol module, if the alarm disappears, the anti-shake time is set for delaying reporting.
On the basis of the above scheme, the reporting upper IGP protocol module triggers IGP convergence, which specifically includes the following steps:
and the upper reporting IGP protocol module modifies the metric value of the IGP to the maximum value and triggers IGP convergence.
Compared with the prior art, the invention has the advantages that:
VS OAM is deployed between nodes in SR-BE network of SPN, once link is failed, VS OAM reports generated LOC alarm or RDI alarm to corresponding upper IGP protocol module, then TI-LFA protection switching is triggered, TI-LFA50ms protection switching requirement mentioned in general technical requirement of China mobile Slice Packet Network (SPN) is satisfied, application range of VS OAM is further expanded.
And naming the reserved BIT which is immediately behind the RDI BIT in the VS layer CCM message format as an EI alarm BIT. When the device input port detects the SD alarm, the EI alarm position of the CCM message is notified to the upstream adjacent node, and the adjacent node triggers IGP convergence after receiving the EI alarm notification, so that the notification of the SD alarm to the upstream adjacent node is supported in an SR-BE scene.
Drawings
Fig. 1 is a schematic diagram of an SR-BE switching scenario of an SR-BE tunnel link detection method in an SPN according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a process of alarm detection reporting according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The embodiment of the invention provides a method for detecting an SR-BE tunnel link in an SPN, which comprises the following steps:
VS OAM is deployed between nodes in SR-BE, and connectivity detection and link error code detection are started;
if the link interruption is detected, generating a LOC (Loss of connectivity) alarm at a local node, and setting the RDI position of an FLAG field in a CCM (continuity Ch eck Message, continuity detection Message) Message to be sent to be 1 by VS OAM; when the opposite end node receives the CCM message, generating an RDI (Remote Defect Indication) alarm;
if the link is not interrupted but error codes appear, a link SD (Signal degradation) alarm is generated at a node of the local end, the VS OAM sets a BIT behind an RDI in a CCM message to be sent as an EI alarm BIT, and the EI alarm BIT is set as 1; and when the opposite end node receives the CCM message, generating an EI alarm.
As a preferred embodiment, the method further comprises the steps of: polling whether an alarm is generated in the current VS OAM, and reporting the alarm to an upper-layer IGP protocol module if the alarm is generated;
if the alarm is LOC alarm or RDI alarm, triggering TI-LFA protection switching;
if the alarm IS EI alarm, IGP convergence IS triggered, IS-IS (Intermediate System-t o-Intermediate System, Intermediate System to Intermediate System) IS triggered to re-calculate the path, and the optimal path IS selected to reach the destination node.
As a preferred embodiment, the polling whether an alarm is generated in the current VS OAM, and if the alarm is generated, reporting the alarm to an upper IGP protocol module specifically includes the following steps:
a polling thread is started in an event reporting component at the equipment side, and an interface function corresponding to a TPOAM software adaptation module is called to collect LOC alarm, RDI alarm or EI alarm; when the TPOA M software adaptation module acquires LOC alarm, RDI alarm or EI alarm, informing the corresponding event reporting component, and uploading the acquired alarm to the TPOA M component on the platform side by the event reporting component;
after receiving the alarm, the platform side TPOAM (Transport Profile Operation, administration a nd maintence) component informs the interface management component in a LIB communication mode;
the interface management component on the platform side informs the upper IGP protocol module of the alarm.
As a preferred embodiment, the method further comprises the steps of: when the alarm is reported to the upper IGP protocol module, if the alarm disappears, the anti-shake time is set for delaying reporting.
As a preferred embodiment, triggering IGP convergence specifically includes the following steps:
the metric value of IGP is modified to a maximum value, triggering IGP convergence.
The SR-BE switching scenario of the embodiment of the present invention is shown in fig. 1, the specific software implementation flowchart is shown in fig. 2, and several key steps of the whole process are described as follows:
step 1: according to an actual scene graph (taking fig. 1 as an example) of the SR-BE, two VS OAM functions are deployed between each NOD E node in the graph, and OAM CV function detection is started bidirectionally at the same time. In addition, the error detection of the link before the node also needs to be correspondingly started at the same time, and the SD alarm condition of the link is counted by adopting a CRC mode.
Step 2: as shown in fig. 1, if a link failure occurs between NODE C and NODE D (assuming that the direction of stone C- > D is the same, the following is the same), there are two possible situations, one is a link failure, and the other is not, but a CRC error occurs, which causes a link SD alarm. The two conditions are different in processing on the device level, in the former case, NODE D will generate LOC alarm, and at the same time, set FLAG RDI bit in CCM PDU (Payload Data Un it) to be transmitted, and NODE C at the opposite end will generate RDI alarm when receiving the CCM message. For the latter case, the embodiment of the present invention newly defines an EI alarm BIT, which is located immediately after the RDI BIT of the FLGA field in the CCM PDU, and the BIT currently belongs to the Reserved field in the Y1731 protocol. When the local end of NODE D detects SD alarm, it will set the newly defined EI position in CCM message as 1, and NODE C at the opposite end will generate EI alarm after receiving the CCM message.
Step 3: as shown in fig. 2, a fast 5ms polling thread is started inside the event reporting component on the device side, and a corresponding interface function of the TPOAM software adaptation module is called to collect a corresponding VS OAM alarm. The TPOAM software adaptation module then accesses the hardware FPGA to acquire EI/RDI/LOC and other alarms corresponding to VS OAM. The TPOAM software adaptation module informs the corresponding event reporting component after acquiring the corresponding alarm, and meanwhile, the event reporting further uploads the corresponding related alarm to the TPOAM component at the platform side. After receiving the alarm, the platform TPOAM component informs the interface management component in a platform side component LIB communication mode, and finally the platform interface management component informs the upper layer protocol module of the alarm.
Particularly, the event reporting component should perform corresponding anti-jitter processing on the alarm acquisition report, and if the alarm disappears, the anti-jitter time needs to be set for delaying the report, so as to avoid the oscillation of the upper layer protocol caused by the jitter of the alarm.
Step 4: through steps 2 and 3, no matter NODE C or NODE D in fig. 1, the protocol module of each NODE has received corresponding alarm information, which is either NODE C LOC or NODE D LOC, or NODE C RDI or NODE D LOC, or NODE C EI or NODE DSD. In particular, for the third case, the IGP link COS value will be increased internally in the protocol. But in any case, the IS-IS IS triggered to re-calculate the path and select the optimal path to reach the destination node. Taking fig. 1 as an example, the service path ABCDFG before switching becomes abcdefg after switching.
The embodiment of the invention also provides a system for detecting the SR-BE tunnel link in the SPN, which comprises a VS OAM module, wherein the VS OAM module is deployed between nodes in the SR-BE and used for:
starting connectivity detection and link error code detection;
if the link interruption is detected, generating an LOC alarm at a local end node, and setting the RDI position of an FLAG field in a CCM message to be sent to be 1 by VS OAM; when the opposite end node receives the CCM message, an RDI alarm is generated;
if the link is not interrupted but error codes appear, a link SD alarm is generated at a local end node, VS OAM sets a BIT after an RDI BIT in a CCM message to be sent as an EI alarm BIT, and sets the EI alarm BIT as 1; and when the opposite end node receives the CCM message, generating an EI alarm.
As a preferred implementation, the system further comprises an alarm reporting module and an upper IGP protocol module;
the alarm reporting module is used for: polling whether an alarm is generated in the current VS OAM, and reporting the alarm to an upper-layer IGP protocol module if the alarm is generated;
the upper IGP protocol module is used for: if the alarm is LOC alarm or RDI alarm, triggering TI-LFA protection switching; if the path IS EI alarm, IGP convergence IS triggered, IS-IS re-calculation IS triggered, and the optimal path IS selected to reach the destination node.
As a preferred embodiment, the alarm reporting module includes an event reporting component, a TPOAM component, and an interface management component:
the event reporting component on the device side is used for: starting a polling thread, and calling a corresponding interface function of a TPOAM software adaptation module to collect LOC alarm, RDI alarm or EI alarm; when the TPOAM software adaptation module collects LOC alarm, RDI alarm or EI alarm, the TPOAM software adaptation module informs the corresponding event reporting component, and the event reporting component sends the collected alarm to the TPOAM component at the platform side;
the platform-side TPOAM components are used to: after receiving the alarm, informing the interface management component in a mode of LIB communication of the TPOAM component at the platform side;
the interface management component is to: and informing the upper IGP protocol module of the alarm.
As a preferred embodiment, the interface management component is further configured to: when the alarm is reported to the upper IGP protocol module, if the alarm disappears, the anti-shake time is set for delaying reporting.
As a preferred embodiment, the reporting upper IGP protocol module triggers IGP convergence, which specifically includes the following steps:
and the upper reporting IGP protocol module modifies the metric value of the IGP to the maximum value and triggers IGP convergence.
Based on the same inventive concept, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements all or part of method steps of an SR-BE tunnel link detection method in an SPN.
The present invention realizes all or part of the flow in the SR-BE tunnel link detection method in the SPN, and may also BE completed by instructing related hardware through a computer program, where the computer program may BE stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned method embodiments may BE implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor implements all or part of method steps in the SR-BE tunnel link detection method in the SPN when executing the computer program.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for detecting SR-BE tunnel link in SPN is characterized by comprising the following steps:
VS OAM is deployed between nodes in SR-BE, and connectivity detection and link error code detection are started;
if the link interruption is detected, generating an LOC alarm at a local end node, and setting the RDI position of an FLAG field in a CCM message to be sent to be 1 by VS OAM; when the opposite end node receives the CCM message, an RDI alarm is generated;
if the link is not interrupted but error codes appear, a link SD alarm is generated at a local end node, VS OAM sets a BIT after an RDI BIT in a CCM message to be sent as an EI alarm BIT, and sets the EI alarm BIT as 1; and when the opposite end node receives the CCM message, generating an EI alarm.
2. The method of claim 1, further comprising the steps of: polling whether an alarm is generated in the current VS OAM, and reporting the alarm to an upper-layer IGP protocol module if the alarm is generated;
if the alarm is LOC alarm or RDI alarm, triggering TI-LFA protection switching;
if the path IS EI alarm, IGP convergence IS triggered, IS-IS re-calculation IS triggered, and the optimal path IS selected to reach the destination node.
3. The method according to claim 2, wherein said polling whether an alarm is generated in the current VS OAM, and if the alarm is generated, reporting the alarm to an upper IGP protocol module, specifically includes the following steps:
a polling thread is started in an event reporting component at the equipment side, and an interface function corresponding to a TPOAM software adaptation module is called to collect LOC alarm, RDI alarm or EI alarm; when the TPOAM software adaptation module collects LOC alarm, RDI alarm or EI alarm, the TPOAM software adaptation module informs the corresponding event reporting component, and the event reporting component sends the collected alarm to the TPOAM component at the platform side;
after receiving the alarm, the TPOAM component at the platform side informs the interface management component in a LIB communication mode through the TPOAM component at the platform side;
the interface management component informs the upper IGP protocol module of the alarm.
4. The method of claim 2, further comprising the steps of: when the alarm is reported to the upper IGP protocol module, if the alarm disappears, the anti-shake time is set for delaying reporting.
5. The method of claim 2, wherein triggering IGP convergence comprises:
and modifying the metric value of the IGP to be the maximum value to trigger IGP convergence.
6. An SR-BE tunnel link detection system in SPN is characterized in that: the system comprises a VS OAM module, wherein the VS OAM module is deployed between nodes in SR-BE and is used for:
starting connectivity detection and link error code detection;
if the link interruption is detected, generating an LOC alarm at a local end node, and setting the RDI position of an FLAG field in a CCM message to be sent to be 1 by VS OAM; when the opposite end node receives the CCM message, an RDI alarm is generated;
if the link is not interrupted but error codes appear, a link SD alarm is generated at a local end node, VS OAM sets a BIT after an RDI BIT in a CCM message to be sent as an EI alarm BIT, and sets the EI alarm BIT as 1; and when the opposite end node receives the CCM message, generating an EI alarm.
7. The system of claim 6, wherein the system further comprises an alarm reporting module and an upper IGP protocol module;
the alarm reporting module is used for: polling whether an alarm is generated in the current VS OAM, and reporting the alarm to an upper-layer IGP protocol module if the alarm is generated;
the upper IGP protocol module is used for: if the alarm is LOC alarm or RDI alarm, triggering TI-LFA protection switching; if the path IS EI alarm, IGP convergence IS triggered, IS-IS re-calculation IS triggered, and the optimal path IS selected to reach the destination node.
8. The system of claim 7, wherein the alarm reporting module comprises an event reporting component, a TPOAM component, and an interface management component:
the event reporting component on the device side is configured to: starting a polling thread, and calling a corresponding interface function of a TPOAM software adaptation module to collect LOC alarm, RDI alarm or EI alarm; when the TPOAM software adaptation module collects LOC alarm, RDI alarm or EI alarm, informing the corresponding event reporting component, and the event reporting component uploading the collected alarm to the TPOAM component at the platform side;
the TPOAM component on the platform side is used for: after receiving the alarm, informing the interface management component in a mode of LIB communication of the TPOAM component at the platform side;
the interface management component is to: and informing the upper IGP protocol module of the alarm.
9. The system of claim 7, wherein the interface management component is further to: when the alarm is reported to the upper IGP protocol module, if the alarm disappears, the anti-shake time is set for delaying reporting.
10. The system according to claim 7, wherein said reporting an upper IGP protocol module to trigger IGP convergence comprises the steps of:
and the upper reporting IGP protocol module modifies the metric value of the IGP to the maximum value and triggers IGP convergence.
CN201910924330.2A 2019-09-27 2019-09-27 SR-BE tunnel link detection method and system in SPN Active CN112583650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910924330.2A CN112583650B (en) 2019-09-27 2019-09-27 SR-BE tunnel link detection method and system in SPN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910924330.2A CN112583650B (en) 2019-09-27 2019-09-27 SR-BE tunnel link detection method and system in SPN

Publications (2)

Publication Number Publication Date
CN112583650A true CN112583650A (en) 2021-03-30
CN112583650B CN112583650B (en) 2022-06-10

Family

ID=75109911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910924330.2A Active CN112583650B (en) 2019-09-27 2019-09-27 SR-BE tunnel link detection method and system in SPN

Country Status (1)

Country Link
CN (1) CN112583650B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448816A (en) * 2021-12-30 2022-05-06 中国航空研究院 Integrated IP networking method based on heterogeneous data chain

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022364A (en) * 2007-03-14 2007-08-22 华为技术有限公司 Trap message reporting method and system warning information resource/warning agent service device
WO2015184868A1 (en) * 2014-10-30 2015-12-10 中兴通讯股份有限公司 Device and method for detecting signal failure in service layer
CN107888280A (en) * 2016-09-29 2018-04-06 中兴通讯股份有限公司 The two-way reverse method of multiplex section protection, apparatus and system
CN109547279A (en) * 2017-09-22 2019-03-29 中兴通讯股份有限公司 A kind of processing method and system of Signal Degrade failure
CN109587059A (en) * 2017-09-28 2019-04-05 华为技术有限公司 Configuration method, equipment and the communication system of SR-BE internal layer tunnel label
CN112995024A (en) * 2019-12-02 2021-06-18 中兴通讯股份有限公司 Signal degradation warning method, system, terminal device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022364A (en) * 2007-03-14 2007-08-22 华为技术有限公司 Trap message reporting method and system warning information resource/warning agent service device
WO2015184868A1 (en) * 2014-10-30 2015-12-10 中兴通讯股份有限公司 Device and method for detecting signal failure in service layer
CN107888280A (en) * 2016-09-29 2018-04-06 中兴通讯股份有限公司 The two-way reverse method of multiplex section protection, apparatus and system
CN109547279A (en) * 2017-09-22 2019-03-29 中兴通讯股份有限公司 A kind of processing method and system of Signal Degrade failure
CN109587059A (en) * 2017-09-28 2019-04-05 华为技术有限公司 Configuration method, equipment and the communication system of SR-BE internal layer tunnel label
CN112995024A (en) * 2019-12-02 2021-06-18 中兴通讯股份有限公司 Signal degradation warning method, system, terminal device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448816A (en) * 2021-12-30 2022-05-06 中国航空研究院 Integrated IP networking method based on heterogeneous data chain
CN114448816B (en) * 2021-12-30 2023-10-10 中国航空研究院 Integrated IP networking method based on heterogeneous data chain

Also Published As

Publication number Publication date
CN112583650B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
US11095546B2 (en) Network device service quality detection method and apparatus
CN101427501B (en) Method and apparatus for consistency between MPLS traffic engineering forwarding and control planes
US8374095B2 (en) Connection verification for MPLS label switched paths and pseudowires
US11177976B2 (en) Method and device for automatically implementing IOAM encapsulation and storage medium
CN111431800B (en) Method, device and equipment for establishing path and machine-readable storage medium
WO2017036180A1 (en) Packet processing method and device
EP2916489B1 (en) Oam packet processing method, device and system
US20220368626A1 (en) Packet or frame replication and elimination with explict or implict notification to reset sequence number recovery
WO2015184771A1 (en) Method and node device for operation, administration, and maintenance of service function chaining
CN105515816A (en) Processing method and apparatus for detection level information
KR20150002474A (en) Methods for recovering failure in communication networks
EP2858302B1 (en) Connectivity check method of service stream link, related apparatus and system
CN109379239B (en) Method and device for configuring access switch in OpenStack environment
CN112583650B (en) SR-BE tunnel link detection method and system in SPN
Lam et al. Network management requirements for mpls-based transport networks
EP3566401B1 (en) Detecting and mitigating loops
CN105634935A (en) Device and method for detecting service layer signal failure
WO2019165803A1 (en) Message processing method and apparatus, and message encapsulating method, apparatus and system
US20130198379A1 (en) Logging control plane events
Senevirathne et al. Requirements for Operations, Administration, and Maintenance (OAM) in Transparent Interconnection of Lots of Links (TRILL)
Kim et al. Protection switching methods for point‐to‐multipoint connections in packet transport networks
US10715420B2 (en) System, method and apparatus for implementing fast reroute (FRR)
WO2016082368A1 (en) Data consistency maintaining method, device and ptn transmission apparatus
CN113810278A (en) Tunnel path switching method, path configuration method, device, system and medium
WO2015120581A1 (en) Traffic loop detection in a communication network

Legal Events

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