CN115174469B - Srv6 node protection method, system, equipment and readable storage medium - Google Patents
Srv6 node protection method, system, equipment and readable storage medium Download PDFInfo
- Publication number
- CN115174469B CN115174469B CN202210771236.XA CN202210771236A CN115174469B CN 115174469 B CN115174469 B CN 115174469B CN 202210771236 A CN202210771236 A CN 202210771236A CN 115174469 B CN115174469 B CN 115174469B
- Authority
- CN
- China
- Prior art keywords
- node
- sid
- srv6
- route
- downstream direct
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/34—Source routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a Srv6 node protection method, a system, equipment and a readable storage medium, wherein the method comprises the following steps: when a local repair node senses that a downstream direct-connection node of a message fails, if a route to the downstream direct-connection node comprises a compressed SID route, acquiring SID compression type identification information, a public prefix length and an SID length of the downstream direct-connection node; updating SIDlist carried by the message according to SID compression type identification information, common prefix length and SID length of the downstream direct connection node; and forwarding the message based on the updated SIDlist. The invention can still perform node fault protection in the srv6 network applying the compression head technology such as g-SID or uSID, so that message forwarding is not affected by node fault.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, a system, an apparatus, and a readable storage medium for protecting a Srv6 node.
Background
When the intermediate node processes the Srv6 message, the forwarding action to be executed is SL minus 1, and the lower layer SID is copied to the destination address field of the IPv6 message header. However, when one of the Srv6 intermediate nodes fails, the processing operation of the corresponding SID cannot be completed, and packet loss occurs.
To solve the above-mentioned problems, a local protection technique for Srv6, namely, a fault protection technique for Srv6 intermediate nodes is proposed in draft (draft-ietf-rtgwg-Srv 6-egress-protection), which specifically comprises:
it is necessary to replace it with the upstream node of the failed Srv6 intermediate node (i.e., PLR, repair-local node) to complete the forwarding process.
When the Srv6 intermediate node fails, the message needs to bypass the failed Srv6 intermediate node, and the PLR directly forwards the message to the next Srv6 intermediate node.
From the view of message processing logic, PLR perceives the next hop interface fault of the message, and the next hop is the message destination address, and when SL >0, PLR replaces Srv6 intermediate node to execute End action, reduce SL by 1, update SID to be processed at lower layer to the outer layer IPv6 message head, and then forward according to the instruction of the lower layer SID, thereby bypassing the fault node, and realizing the protection of Srv6 intermediate node fault.
When the Srv6 intermediate node failsafe technique is developed with the Srv6 compression header technique, the Srv6 intermediate node using the g-SID or the uSID encounters a problem: the compressed SID processing mode cannot directly perform the SL1 subtracting operation, and whether the next SID is the SID with compression cannot be perceived by the PLR at the upstream node, so that proxy forwarding action cannot be performed for the fault, and node fault protection is performed.
Disclosure of Invention
In order to solve the technical problems, the invention provides a Srv6 node protection method, a Srv6 node protection device, srv6 node protection equipment and a readable storage medium.
In a first aspect, the present invention provides a Srv6 node protection method, where the Srv6 node protection method includes:
when a local repair node senses a fault of a downstream direct-connection node of a message, if a route to the downstream direct-connection node comprises a compressed SID route, acquiring SID compression type identification information, a public prefix length and an SID length of the downstream direct-connection node;
updating SID list carried by the message according to SID compression type identification information, common prefix length and SID length of the downstream direct connection node;
and forwarding the message based on the updated SID list.
Optionally, when the local repair node senses that a downstream direct connection node of the message fails, if a route to the downstream direct connection node includes a compressed SID route, before the step of obtaining SID compression type identification information, a common prefix length, and a SID length of the downstream direct connection node, the method further includes:
each node in the same IGP domain learns the Locator route of other nodes;
the node supporting the Srv6 header compression technology advertises the respective compressed SIDs so that other nodes in the same IGP domain learn the compressed SID route of the node supporting the Srv6 header compression technology, and SID compression type identification information, common prefix length and SID length of the node supporting the Srv6 header compression technology are newly added in a routing table.
Optionally, the Srv6 node protection method further includes:
when the route convergence of the downstream direct-connection node is completed, the Locator route from other nodes to the downstream direct-connection node is cancelled;
and after the controller or the head node recalculates the forwarding path, the compressed SID route from other nodes to the downstream direct-connection node is cancelled.
Optionally, before the step of withdrawing compressed SID routes from other nodes to the downstream direct-connection node after the step of recalculating the forwarding paths by the controller or the head node, the method further comprises:
updating the next hop outlet invalidation of the compressed SID route of the downstream direct connection node;
and when other nodes hit the compressed SID route of the downstream direct-connected node, forwarding the message according to SID compression type identification information, the common prefix length and the SID length of the downstream direct-connected node.
Optionally, the Srv6 node protection method further includes:
when the local repair node senses the failure of a downstream direct connection node of the message, if the route to the downstream direct connection node only comprises a Locator route, the message is forwarded based on the Srv6 intermediate node failure protection technology.
In a second aspect, the present invention further provides an Srv6 node protection system, the Srv6 node protection system comprising a repair local node for:
when a fault of a downstream direct-connection node of a message is perceived, if a route to the downstream direct-connection node comprises a compressed SID route, acquiring SID compression type identification information, a public prefix length and an SID length of the downstream direct-connection node;
updating SID list carried by the message according to SID compression type identification information, common prefix length and SID length of the downstream direct connection node;
and forwarding the message based on the updated SID list.
Optionally, the Srv6 node protection system comprises a plurality of nodes within the same IGP domain:
each node in the same IGP domain learns the Locator route of other nodes; the node supporting the Srv6 header compression technology advertises the respective compressed SIDs so that other nodes in the same IGP domain learn the compressed SID route of the node supporting the Srv6 header compression technology, and SID compression type identification information, common prefix length and SID length of the node supporting the Srv6 header compression technology are newly added in a routing table.
Optionally, the Srv6 node protection system further comprises a management module, configured to:
when the route convergence of the downstream direct-connection node is completed, the Locator route from other nodes to the downstream direct-connection node is cancelled;
and after the controller or the head node recalculates the forwarding path, the compressed SID route from other nodes to the downstream direct-connection node is cancelled.
In a third aspect, the present invention also provides an Srv6 node protection apparatus, the Srv6 node protection apparatus comprising a processor, a memory, and an Srv6 node protection program stored on the memory and executable by the processor, wherein the Srv6 node protection program, when executed by the processor, implements the steps of the Srv6 node protection method as described above.
In a fourth aspect, the present invention also provides a readable storage medium having stored thereon a Srv6 node protection program, wherein the Srv6 node protection program, when executed by a processor, implements the steps of the Srv6 node protection method as described above.
In the invention, when a local repair node senses the failure of a downstream direct connection node of a message, if the route to the downstream direct connection node comprises a compressed SID route, SID compression type identification information, public prefix length and SID length of the downstream direct connection node are obtained; updating SID list carried by the message according to SID compression type identification information, common prefix length and SID length of the downstream direct connection node; and forwarding the message based on the updated SID list. The invention can still perform node fault protection in the srv6 network applying the compression head technology such as g-SID or uSID, so that message forwarding is not affected by node fault.
Drawings
FIG. 1 is a schematic diagram of a message transmission scenario;
fig. 2 is a flow chart of an embodiment of the Srv6 node protection method of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in the schematic diagram of the message transmission scenario in fig. 1, A, B, C, D, E, F, G and H are nodes in the same IGP domain, and the main transmission path of the message is:
A→B→C→D→E→F;
when node D fails, the SRv TE FRR protection path is:
A→B→C→G→H→E→F。
nodes A and B do not support compression, the block is specified as 8000:0:0:1/64, the node id length is 16bit, the function length is 16bit, and the SIDs are allocated by the nodes A and B as follows:
8000:0:0:1:A:1::End
8000:0:0:1:B:1::End
node C is an intermediate forwarding node.
Nodes D, E and F support g-SID compression, block is 9000:0:0:1/64, node id length is 16bit, function length is 16bit, D node assigns SIDs as follows:
9000:0:0:1:D:1::End
9000:0:0:1:D:2::EndWith Coc
the assignment of SID to E, F node is similar to the assignment of SID to D node, and will not be described in detail herein.
All nodes are within the same IGP domain.
The message sent from node a carries the SID list as follows, where SL1 is a G-SID Container containing a G-SID compression header:
ipv6 da:[8000:0:0:1:B:1:0:0]
srh:[SL=3]
SL0:[2000:1:1:1:VPN1::]
SL1:[0:0:0:0:F:1:E:2]
SL2:[9000:0:0:1:D:2:0:0]
SL3:[8000:0:0:1:B:1:0:0]
SL4:[8000:0:0:1:A:1:0:0]
when the node D fails, if the node C directly performs SL-1 operation during intermediate node protection, the message is updated as follows:
ipv6 da:[0:0:0:0:F:1:E:2]
srh:[SL=1]
SL0:[2000:1:1:1:VPN1::]
SL1:[0:0:0:0:F:1:E:2]
SL2:[9000:0:0:1:D:2:0:0]
SL3:[8000:0:0:1:B:1:0:0]
SL4:[8000:0:0:1:A:1:0:0]
clearly, 0:0:0:0:F:1:E:2 cannot be forwarded normally, and Srv6 intermediate node protection suffers from problems in the g-SID compression header scenario.
With continued reference to FIG. 1, where nodes A and B do not support compression, block is specified as 8000:0:0:1/64, node id as 16bit, function as 16bit, and node A, B allocates Sid as follows:
8000:0:0:1:A:1::End
8000:0:0:1:B:1::End
node C is an intermediate forwarding node.
Node D, E, F supports uSID compression, uSID block is planned to be 9000:0:0:1/64, node id length is 16bit, function length is 16bit, and D node assigns uSID as follows:
9000:0:0:1:D:0::uN
the assignment of the uSIDs to E, F nodes is similar to the assignment of the uSIDs to D nodes, and will not be described in detail herein.
All nodes are within the same IGP domain.
The message sent from the a node carries SID list as follows, where SL1 and SL2 are the ussd Carrier containing the ussd compression header:
ipv6 da:[8000:0:0:1:B:1:0:0]
srh:[SL=3]
SL0:[2000:1:1:1:VPN1::]
SL1:[9000:0:0:1:F:0:0:0]
SL2:[9000:0:0:1:D:0:E:0]
SL3:[8000:0:0:1:B:1:0:0]
SL4:[8000:0:0:1:A:1:0:0]
when the node D fails, if the node C directly performs SL-1 operation during intermediate node protection, the message is updated as follows:
ipv6 da:[9000:0:0:1:F:0:0:0]
srh:[SL=1]
SL0:[2000:1:1:1:VPN1::]
SL1:[9000:0:0:1:F:0:0:0]
SL2:[9000:0:0:1:D:0:E:0]
SL3:[8000:0:0:1:B:1:0:0]
SL4:[8000:0:0:1:A:1:0:0]
after the processing, the message can be forwarded normally, because the C node has the route of the F node, but the protection effect of the intermediate node is not wanted, not only the D node is skipped, but also the E node is skipped, and the E node is affected when the E node deploys services such as sampling or traffic statistics.
It can be seen that the existing Srv6 intermediate node fault protection technique cannot be directly applied to Srv6 networks to which the compressed header technique such as g-SID or uSID is applied.
In order to solve the technical problem, the embodiment of the invention provides a Srv6 node protection method.
In an embodiment, referring to fig. 2, fig. 2 is a flow chart illustrating an embodiment of a Srv6 node protection method according to the present invention. As shown in fig. 2, the Srv6 node protection method includes:
step S10, when a local repair node senses a failure of a downstream direct-connection node of a message, if a route to the downstream direct-connection node comprises a compressed SID route, acquiring SID compression type identification information, a public prefix length and an SID length of the downstream direct-connection node;
in this embodiment, the nodes supporting compression will advertise their respective compressed SIDs in the whole network, so that other nodes learn the compressed SID routes (which need to carry Block ID, node ID, function and attribute information) of the nodes supporting compression and issue them to the forwarding plane. Different routes are issued to a forwarding plane by a control plane under the condition that a direct connection node of a fault node is differentiated to be compressed or not, and additional information is carried in a routing table, so that the PLR (i.e. a local repair node) can normally complete proxy forwarding of a fault Srv6 intermediate node when a fault of a downstream node is perceived at the first time; each node learns the Locator route to other nodes as well as compressed SID routes to other nodes that support compression. If the nodes are direct connection nodes, the routes of the direct connection nodes are marked.
Based on the above, when the local repair node senses that the downstream direct connection node of the message has a fault, if the route to the downstream direct connection node includes a compressed SID route, SID compression type identification information, a public prefix length and a SID length of the downstream direct connection node are obtained.
Further, in an embodiment, before step S10, the method further includes:
each node in the same IGP domain learns the Locator route of other nodes;
the node supporting the Srv6 header compression technology advertises the respective compressed SIDs so that other nodes in the same IGP domain learn the compressed SID route of the node supporting the Srv6 header compression technology, and the information of the type of the SID compression of the node supporting the Srv6 header compression technology, the common prefix length and the SID length are newly added in a routing table.
In this embodiment, each node in the same IGP domain learns the Locator route of other nodes, and this portion is implemented by the prior art and is not described herein.
Further, the node supporting the Srv6 header compression technology advertises the respective compressed SID, so that other nodes in the same IGP domain learn the compressed SID route of the node supporting the Srv6 header compression technology, and add the id compression type identification information, the common prefix length and the id length of the node supporting the Srv6 header compression technology in the routing table.
For example, when node D supports Srv6 compressed header technology (g-SID), node D advertises its compressed SID in a full network, and other nodes within the same IGP domain as node D learn compressed SID routes to node D: 9000:0:0:1:D:2/96 (locator+function); likewise, when node D supports Srv6 compressed header technology (ussd), other nodes may learn compressed sid routes to node D as well: 9000:0:0:1:D:0/96. And additionally issuing the following information in the routing table:
c_flag, which indicates the type of compression (g-sid/uSID) of node D, and is not set when compression is not supported;
block_len represents the common prefix length of node D;
sid_len represents the length of node id+function of node D;
further, according to the description of the draft, on the direct node C upstream of node D, both routes have a flag identifying that it is a direct node route. (the scene of uSID is 9000:0:0:1:D:0/96)
Step S20, updating SID list carried by the message according to SID compression type identification information, common prefix length and SID length of the downstream direct connection node;
and step S30, forwarding the message based on the updated SID list.
In this embodiment, referring to fig. 1, if node C senses that node D has a fault, and determines that the route to node D is 9000:0:0:1:d:2/96 or 9000:0:0:1:d:0/96, the c_flag value in the routing table is not 0, and is g-sed or uSID, which indicates that the compressed SID of node D is used in the packet, proxy forwarding is completed according to the information about c_flag, block_len, sid_len, and the like in the routing table, and the SID list carried by the packet is correctly processed as follows:
compression type G-sed scene:
ipv6 da:[9000:0:0:1:E:2:0:3(si)]
srh:[SL=1]
SL0:[2000:1:1:1:VPN1::]
SL1:[0:0:0:0:F:1:E:2]
SL2:[9000:0:0:1:D:2:0:0]
SL3:[8000:0:0:1:B:1:0:0]
SL4:[8000:0:0:1:A:1:0:0]
scene compression type uSID:
ipv6 da:[9000:0:0:1:E:0:0:0]
srh:[SL=2]
SL0:[2000:1:1:1:VPN1::]
SL1:[9000:0:0:1:F:0:0:0]
SL2:[9000:0:0:1:D:0:E:0]
SL3:[8000:0:0:1:B:1:0:0]
SL4:[8000:0:0:1:A:1:0:0]
in this embodiment, when a local repair node senses a failure of a downstream direct connection node of a message, if a route to the downstream direct connection node includes a compressed SID route, SID compression type identification information, a common prefix length and a SID length of the downstream direct connection node are obtained; updating SID list carried by the message according to SID compression type identification information, common prefix length and SID length of the downstream direct connection node; and forwarding the message based on the updated SID list. By the embodiment, the node fault protection can be still carried out on the srv6 network with the application of the compressed header technology such as g-SID or uSID, so that the message forwarding is not affected by the node fault.
Further, in an embodiment, the Srv6 node protection method further includes:
when the route convergence of the downstream direct-connection node is completed, the Locator route from other nodes to the downstream direct-connection node is cancelled; after the controller or head node recalculates the forwarding path, the compressed sild route from the other nodes to the downstream direct node is withdrawn.
In this embodiment, the scenario shown in fig. 1 is taken as an example. After the node D fails for a period of time, the IGP completes convergence, the locator route 9000:0:0:1:D/80 from other nodes to the node D is cancelled, the upstream nodes B and C can not find the route of the node D, at the moment, the node B is described according to a draft, SL-1 operation is carried out under the condition that the route can not be hit, and proxy forwarding behavior is completed for the node D; but in the case of a compression head, this operation is also subject to problems.
To solve this problem, the other nodes need to do the following:
the locator route 9000:0:0:1:D/80 of the upstream direct connection node C and other nodes to the D node is withdrawn, but the compressed sil route 9000:0:0:1:D:2/96 (the uSID scene is 9000:0:0:1:D:0/96) deployed for the compression head of the D node is withdrawn in a delayed manner, namely, the withdrawal is performed after waiting for the controller or the head node device to recalculate the forwarding path.
Further, in an embodiment, before the step of withdrawing compressed SID routes from other nodes to the downstream direct node after the step of recalculating the forwarding paths by the controller or the head node, the method further includes:
updating the next hop outlet invalidation of the compressed SID route of the downstream direct connection node;
and when other nodes hit the compressed SID route of the downstream direct-connected node, forwarding the message according to SID compression type identification information, the common prefix length and the SID length of the downstream direct-connected node.
In this embodiment, the locator route 9000:0:0:1:D/80 of the upstream direct connection node C and other nodes to the D node is withdrawn, but the compressed sil route 9000:0:0:1:D:2/96 (the uSID scene 9000:0:0:1:D:0/96) is delayed for the compression head of the D node, and only the next hop outlet of the update route is invalid; thus, when other nodes hit the route, when the next hop outlet is found to be invalid, the forwarding behavior is proxied according to the information about c_flag, block_len, sid_len and the like of the D node in the routing table.
Further, in an embodiment, the Srv6 node protection method further includes:
when the local repair node senses the failure of a downstream direct connection node of the message, if the route to the downstream direct connection node only comprises a Locator route, the message is forwarded based on the Srv6 intermediate node failure protection technology.
In this embodiment, when the local repair node senses that the downstream direct connection node of the message fails, if the route to the downstream direct connection node only includes the Locator route, it is indicated that the downstream direct connection node does not use the header compression technology, and then the message forwarding is performed based on the Srv6 intermediate node failure protection technology. The local repair node replaces the downstream direct connection node to execute End action, SL is reduced by 1, SID to be processed at the lower layer is updated to the outer layer IPv6 message head, and then forwarding is carried out according to the instruction of the SID at the lower layer, so that the fault of the Srv6 intermediate node is protected by bypassing the fault downstream direct connection node.
Further, the embodiment of the invention also provides a Srv6 node protection device, the Srv6 node protection device comprises a processor, a memory, and a Srv6 node protection program stored on the memory and executable by the processor, wherein when the Srv6 node protection program is executed by the processor, the steps of the Srv6 node protection device method provided by the embodiment of the invention are realized.
Further, the embodiment of the invention also provides a Srv6 node protection system.
In one embodiment, the Srv6 node protection system includes a local repair node for:
when a fault of a downstream direct-connection node of a message is perceived, if a route to the downstream direct-connection node comprises a compressed sid route, acquiring the sid compression type identification information, the common prefix length and the sid length of the downstream direct-connection node;
updating the sid list carried by the message according to the sid compression type identification information, the common prefix length and the sid length of the downstream direct connection node;
and forwarding the message based on the updated sild list.
Further, in one embodiment, the Srv6 node protection system includes multiple nodes within the same IGP domain:
each node in the same IGP domain learns the Locator route of other nodes; the node supporting the Srv6 header compression technology advertises the respective compressed SIDs so that other nodes in the same IGP domain learn the compressed SID route of the node supporting the Srv6 header compression technology, and the information of the type of the SID compression of the node supporting the Srv6 header compression technology, the common prefix length and the SID length are newly added in a routing table.
Further, in an embodiment, the Srv6 node protection system further comprises a management module, configured to:
when the route convergence of the downstream direct-connection node is completed, the Locator route from other nodes to the downstream direct-connection node is cancelled;
after the controller or head node recalculates the forwarding path, the compressed sild route from the other nodes to the downstream direct node is withdrawn.
Further, in an embodiment, the management module is further configured to: updating the next hop outlet invalidation of the compressed SID route of the downstream direct connection node;
and when other nodes in the same IGP domain with the downstream direct-connection node hit the compressed SID route of the downstream direct-connection node, forwarding the message according to SID compression type identification information, the public prefix length and the SID length of the downstream direct-connection node.
Further, in an embodiment, the local repair node is further configured to:
when the fault of the downstream direct-connected node of the message is perceived, if the route to the downstream direct-connected node only comprises a Locator route, the message is forwarded based on the Srv6 intermediate node fault protection technology.
The specific embodiment of the Srv6 node protection system is substantially the same as each embodiment of the Srv6 node protection method described above, and will not be described herein.
In a fourth aspect, embodiments of the present invention also provide a readable storage medium.
The Srv6 node protection program is stored on the readable storage medium, wherein when the Srv6 node protection program is executed by a processor, the steps of the Srv6 node protection method are realized.
The method implemented when the Srv6 node protection program is executed may refer to various embodiments of the Srv6 node protection method of the present invention, which are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising several instructions for causing a terminal device to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (10)
1. The Srv6 node protection method is characterized by comprising the following steps:
the node supporting the Srv6 header compression technology announces the respective compression SID so that other nodes in the same IGP domain learn the compression SID route of the node supporting the Srv6 header compression technology, and SID compression type identification information, common prefix length and SID length of the node supporting the Srv6 header compression technology are newly added in a routing table;
when a local repair node senses that a downstream direct-connection node of a message fails, if a route to the downstream direct-connection node comprises a compressed SID route, acquiring SID compression type identification information, a public prefix length and an SID length of the downstream direct-connection node from a routing table;
updating SID list carried by the message according to SID compression type identification information, common prefix length and SID length of the downstream direct connection node;
and forwarding the message based on the updated SID list.
2. The Srv6 node protection method of claim 1, wherein when the local repair node senses a failure of a downstream direct connection node of a message, if a route to the downstream direct connection node includes a compressed SID route, acquiring SID compression type identification information, a common prefix length, and a SID length of the downstream direct connection node, further comprising:
each node within the same IGP domain learns the Locator route of the other nodes.
3. The Srv6 node protection method of claim 1, wherein the Srv6 node protection method further comprises:
when the route convergence of the downstream direct-connection node is completed, the Locator route from other nodes to the downstream direct-connection node is cancelled;
and after the controller or the head node recalculates the forwarding path, the compressed SID route from other nodes to the downstream direct-connection node is cancelled.
4. A Srv6 node protection method of claim 3, further comprising, after said step of recalculating the forwarding path when the controller or head node, prior to the step of revoking compressed SID routes from other nodes to said downstream direct node:
updating the next hop outlet invalidation of the compressed SID route of the downstream direct connection node;
and when other nodes hit the compressed SID route of the downstream direct-connected node, forwarding the message according to SID compression type identification information, the common prefix length and the SID length of the downstream direct-connected node.
5. The Srv6 node protection method of claim 1, wherein the Srv6 node protection method further comprises:
when the local repair node senses the failure of a downstream direct connection node of the message, if the route to the downstream direct connection node only comprises a Locator route, the message is forwarded based on the Srv6 intermediate node failure protection technology.
6. An Srv6 node protection system, the Srv6 node protection system comprising a repair local node for:
when a fault of a downstream direct-connection node of a message is perceived, if a route to the downstream direct-connection node comprises a compressed SID route, SID compression type identification information, a public prefix length and an SID length of the downstream direct-connection node are obtained from a routing table;
updating SID list carried by the message according to SID compression type identification information, common prefix length and SID length of the downstream direct connection node;
forwarding the message based on the updated SID list;
the node supporting the Srv6 header compression technology in the same IGP domain in the Srv6 node protection system advertises the respective compression SID so that other nodes in the same IGP domain learn the compression SID route of the node supporting the Srv6 header compression technology, and the SID compression type identification information, the public prefix length and the SID length of the node supporting the Srv6 header compression technology are newly added in a routing table.
7. A Srv6 node protection system of claim 6, wherein each node in the Srv6 node protection system that is within the same IGP domain learns the Locator route of the other nodes.
8. A Srv6 node protection system of claim 6, wherein said Srv6 node protection system further comprises a management module for:
when the route convergence of the downstream direct-connection node is completed, the Locator route from other nodes to the downstream direct-connection node is cancelled;
and after the controller or the head node recalculates the forwarding path, the compressed SID route from other nodes to the downstream direct-connection node is cancelled.
9. An Srv6 node protection apparatus, characterized in that the Srv6 node protection apparatus comprises a processor, a memory, and an Srv6 node protection program stored on the memory and executable by the processor, wherein the Srv6 node protection program, when executed by the processor, implements the steps of the Srv6 node protection method according to any of claims 1 to 5.
10. A readable storage medium, wherein a Srv6 node protection program is stored on the readable storage medium, wherein the Srv6 node protection program, when executed by a processor, implements the steps of the Srv6 node protection method according to any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210771236.XA CN115174469B (en) | 2022-06-30 | 2022-06-30 | Srv6 node protection method, system, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210771236.XA CN115174469B (en) | 2022-06-30 | 2022-06-30 | Srv6 node protection method, system, equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115174469A CN115174469A (en) | 2022-10-11 |
CN115174469B true CN115174469B (en) | 2023-10-13 |
Family
ID=83488550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210771236.XA Active CN115174469B (en) | 2022-06-30 | 2022-06-30 | Srv6 node protection method, system, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115174469B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10230605B1 (en) * | 2018-09-04 | 2019-03-12 | Cisco Technology, Inc. | Scalable distributed end-to-end performance delay measurement for segment routing policies |
CN112787939A (en) * | 2020-12-30 | 2021-05-11 | 迈普通信技术股份有限公司 | Method for updating path forwarding table, method and device for switching network transmission path |
CN112822100A (en) * | 2021-02-05 | 2021-05-18 | 中兴通讯股份有限公司 | Fault protection method and device, storage medium and electronic device |
CN113162849A (en) * | 2020-01-22 | 2021-07-23 | 华为技术有限公司 | Message processing method, device and system |
CN113315697A (en) * | 2020-02-26 | 2021-08-27 | 华为技术有限公司 | Message processing method, device, network equipment and storage medium |
CN113364677A (en) * | 2021-06-07 | 2021-09-07 | 北京工业大学 | SRv6Endpoint fault protection method |
CN113438160A (en) * | 2020-03-23 | 2021-09-24 | 中兴通讯股份有限公司 | Routing method, routing device and computer readable storage medium |
CN113709031A (en) * | 2021-08-30 | 2021-11-26 | 烽火通信科技股份有限公司 | Method and device for restricting transmission and distribution of route |
CN113810276A (en) * | 2021-08-31 | 2021-12-17 | 锐捷网络股份有限公司 | Segment routing fault processing method and device, electronic equipment and storage medium |
CN114650255A (en) * | 2020-12-18 | 2022-06-21 | 北京华为数字技术有限公司 | Message processing method and network equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9979629B2 (en) * | 2015-08-21 | 2018-05-22 | Cisco Technology, Inc. | Distribution of segment identifiers in network functions virtualization and software defined network environments |
US11516112B2 (en) * | 2020-10-20 | 2022-11-29 | Ciena Corporation | Optimized layer 3 VPN control plane using segment routing |
-
2022
- 2022-06-30 CN CN202210771236.XA patent/CN115174469B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10230605B1 (en) * | 2018-09-04 | 2019-03-12 | Cisco Technology, Inc. | Scalable distributed end-to-end performance delay measurement for segment routing policies |
CN113162849A (en) * | 2020-01-22 | 2021-07-23 | 华为技术有限公司 | Message processing method, device and system |
CN113315697A (en) * | 2020-02-26 | 2021-08-27 | 华为技术有限公司 | Message processing method, device, network equipment and storage medium |
CN113438160A (en) * | 2020-03-23 | 2021-09-24 | 中兴通讯股份有限公司 | Routing method, routing device and computer readable storage medium |
CN114650255A (en) * | 2020-12-18 | 2022-06-21 | 北京华为数字技术有限公司 | Message processing method and network equipment |
CN112787939A (en) * | 2020-12-30 | 2021-05-11 | 迈普通信技术股份有限公司 | Method for updating path forwarding table, method and device for switching network transmission path |
CN112822100A (en) * | 2021-02-05 | 2021-05-18 | 中兴通讯股份有限公司 | Fault protection method and device, storage medium and electronic device |
CN113364677A (en) * | 2021-06-07 | 2021-09-07 | 北京工业大学 | SRv6Endpoint fault protection method |
CN113709031A (en) * | 2021-08-30 | 2021-11-26 | 烽火通信科技股份有限公司 | Method and device for restricting transmission and distribution of route |
CN113810276A (en) * | 2021-08-31 | 2021-12-17 | 锐捷网络股份有限公司 | Segment routing fault processing method and device, electronic equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
SA WG2 Secretary.S2-1908644 "Draft Report of SA WG2 meeting #134".3GPP tsg_sa\wg2_arch.2019,(第tsgs2_135_split期),全文. * |
SR技术探究及实现;刘睿;吴军平;;网络新媒体技术;第9卷(第03期);第22-27页 * |
Also Published As
Publication number | Publication date |
---|---|
CN115174469A (en) | 2022-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7983153B2 (en) | Fast reroute (FRR) protection at the edge of a RFC 2547 network | |
WO2020029976A1 (en) | Vpn cross-domain implementation method, device, and border node | |
US7633859B2 (en) | Loop prevention technique for MPLS using two labels | |
US9350639B2 (en) | Forwarding data in a data communications network | |
US7961600B2 (en) | Loop prevention technique for MPLS using service labels | |
CN102291455B (en) | Distributed cluster processing system and message processing method thereof | |
CN102064995B (en) | Method and device for link protection in virtual private local area network | |
US8379511B2 (en) | System for securing the access to a destination in a virtual private network | |
CN103023773B (en) | Method, device and system for forwarding message in multi-topology network | |
CN102045237A (en) | Method, device and system for router cancellation | |
CN113472658A (en) | Message packaging method, message forwarding method and device | |
KR20090110916A (en) | Method, bridge and computer network for calculating a spanning tree based on link state advertisementlsa | |
CN107547386B (en) | Message forwarding method and device | |
CN106713130B (en) | A kind of routing table update method, EVPN control equipment and EVPN system | |
CN112087381B (en) | Method and device for realizing service function processing | |
CN115460123A (en) | Message forwarding method and device | |
WO2020145131A1 (en) | Communication device, multicast transfer system, and multicast transfer method | |
JP2022512816A (en) | Traffic flow processing method and equipment | |
CN115174469B (en) | Srv6 node protection method, system, equipment and readable storage medium | |
JP2010050719A (en) | Communication system, control node, communication method, and program | |
CN113542126B (en) | Generalized SRv6 full-path compression method and device | |
CN113852548A (en) | Message processing method and device | |
CN109889445B (en) | BGP-LSP implementation system and method based on distributed platform | |
CN104468305B (en) | Realize Layer3 Virtual Private Network method and apparatus | |
US8248956B2 (en) | Method or apparatus for distributing routing information in networks |
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 |