WO2007082432A1 - A rerouting method - Google Patents

A rerouting method Download PDF

Info

Publication number
WO2007082432A1
WO2007082432A1 PCT/CN2006/002756 CN2006002756W WO2007082432A1 WO 2007082432 A1 WO2007082432 A1 WO 2007082432A1 CN 2006002756 W CN2006002756 W CN 2006002756W WO 2007082432 A1 WO2007082432 A1 WO 2007082432A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
label switching
router
label
source node
Prior art date
Application number
PCT/CN2006/002756
Other languages
French (fr)
Chinese (zh)
Inventor
Hejun Li
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007082432A1 publication Critical patent/WO2007082432A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/26Route discovery packet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • 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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a rerouting method. Background technique
  • MPLS Multi-Protocol Label Switching
  • Asynchronous Transfer Mode AM
  • FR Frame Relay
  • MPLS-capable IP routers and MPLS-capable ATM switches to form a future broadband integrated service communication network has become a hot spot in the industry.
  • the value of MPLS is the ability to introduce a connection-oriented mechanism in a connectionless network. The advantage is that it reduces the complexity of the network and is compatible with existing network technologies.
  • MPLS comprehensively utilizes the core switching technology of the network and the IP routing technology at the edge of the network to move the route to the edge of the network, and the network core performs label forwarding. Therefore, the label distribution technology is a very important part of MPLS.
  • the label distribution technology of Point to Muliti-Point (P2MP) in MPLS has become a major research focus in the development of MPLS.
  • the current P2MP label distribution technology is mainly The unicast routing table information generated by the routing protocol is used to generate a P2MP Label Switched Path (LSP) from each destination label switching router (LSR) to the root LSR.
  • LSP P2MP Label Switched Path
  • the leaf LSR is responsible for initiating the establishment and revocation of the P2MP LSP.
  • the method for determining the upstream LSR of a node on the P2MP LSP is: The shortest path from the node to the root node according to the unicast routing information generated by the routing protocol (the shortest path is the routing protocol, and the sum of the metric values from the leaf node to the root node is the smallest. The next hop router on that path is the upstream LSR of the node.
  • the source router is the sender of the data
  • the destination router is the destination of the data transmission.
  • the rules are as follows:
  • P2MP FEC element point-to-multipoint forwarding equivalence class element
  • ⁇ R point-to-multipoint forwarding equivalence class element
  • G the unique value Opaque.
  • the label mapping message of P2MP is represented by ⁇ R, QL>, where ⁇ 1, 0> is? 2: ⁇ ? FEC element , L is the label assigned to the P2MP FEC element.
  • the P2MP tag revocation message is represented by (R, G, L), where (R, G) is the P2MP FEC element and L is the tag assigned to the P2MP FEC element.
  • P2MPLSP is represented by (R, G), R is the source label switching router address, and G is the Opaque value.
  • the leaf LSR actively allocates the P2MP LSP label L and distributes the label mapping message ⁇ , ! to the upstream LSR along the path to the source label switching router.
  • the intermediate LSR After receiving the label mapping message ⁇ 1, 0, 1 sent by the downstream interface, the intermediate LSR first checks whether the multicast forwarding state associated with it is established. If not, the intermediate LSR allocates the P2MP LSP. The label L' is simultaneously installed with the forwarding state L' -> ⁇ 1, L> ⁇ , and then the label mapping message ⁇ R, QL' is sent to its upstream LSR; if the upstream LSR has a forwarding state, only the forwarding state needs to be updated.
  • the original multicast forwarding status is L'-> ⁇ 11, Ll> ⁇ 12, L2> ⁇ In, Ln> ⁇
  • 4 bar is changed to: L'-> ⁇ 11, Ll> ⁇ I2 , L2> ⁇ In, Ln>, ⁇ I, L> ⁇ .
  • the source label switching router receives the label mapping message sent by the downstream interface 1
  • the source label switching router After ⁇ R, G, L>, first check whether there is a multicast forwarding state associated with it. If not, the source label switching router establishes a forwarding state for adding the label L to the header of the packet of the group G it receives; if there is a forwarding state, adding the label L when the group G packet is received in the state. And the status issued from interface I.
  • the revocation process of the P2MP LSP is:
  • Leaf The LSR sends the label revocation message (R, G, L) to the upstream LSR.
  • the intermediate LSR After receiving the label revocation message (R, G, L), the intermediate LSR deletes the content of the label L from the multicast forwarding state, and sends a label revocation message to the upstream if its multicast forwarding status is empty (R). , QL, ), stop if it is not empty.
  • P2MPLSP is the shortest path tree established based on the unicast routing table information generated by the routing protocol.
  • P2MPLSP also needs to solve the rerouting problem in the following three cases: network failure (network node or link failure); due to the addition of a new link, there is a shorter path due to the management plane Routing changes.
  • the current PSRMPLSP update method is: When an LSR node finds its own upstream LSR from the U When it changes to U, the node updates its own multicast forwarding state, deletes the forwarding state of the label L associated with the U, allocates the L' tag and establishes a new multicast forwarding state, and sends a label mapping message ⁇ R to the U. G, L, > sends a label revocation message (R, G, L) to U to undo the original multicast forwarding status.
  • the routing information may be transmitted to the upstream LSR of the LSR at the same time.
  • the process of processing the P2MP LSP in the change of the upstream LSR is applicable to all LSRs that are changed by the upstream LSR node. This change is a network-wide change and is not only concentrated on one LSR. Since each LSR is unique to the P2MPLSP operation (routing information), after a period of time, the entire P2MPLSP will converge to a new shortest path tree.
  • the specific process is shown in Figure 1) to (c). In the figure, each R1, R2, etc.
  • node is an LSR, where R1 is the source label switching router, and R5 and R6 are destination label switching routers (the destination label switching router for data transmission) ), the number between adjacent LSRs is a measure between the two.
  • R1 is the source label switching router
  • R5 and R6 are destination label switching routers (the destination label switching router for data transmission)
  • the number between adjacent LSRs is a measure between the two.
  • two P2MP LSPs, R1-R2-R4-R6 and R1-R2-R4-R5 have been established according to the establishment principle of the P2MP LSP.
  • R2 fails, the entire link is shown in Figure 1 ( b)
  • the label is removed and redistributed as shown, and eventually reaches the steady state of Figure 1 (c).
  • the object of the present invention is to provide a rerouting method, which can quickly repair the switching path between the source node and the destination node when the network link or the router fails, and avoid the router caused by the adjustment operation of a large number of routers in the network when the switching path is re-established.
  • the load on the node suddenly increases sharply, and the data stream is interrupted for a long time.
  • a rerouting method according to the present invention includes:
  • the network switching path has a failed link or a failed router, and the path to the source node is re-established by the downstream router adjacent to the failed link or the failed router.
  • the method is applied to a label switched path system, the switching is label switching, and the router is a label switching router.
  • the source node is a label switching router.
  • the label switching is a multi-protocol label switching.
  • the label switching path is established by the following steps:
  • the label adjacent to the failed link or the failed label switching router Change the router to determine whether the failed link or the failed label switching router is upstream;
  • the label switching router re-establishes the label switching path from its direction to the source node.
  • the method further comprises the steps of:
  • the following steps are used to determine whether the failed link is upstream
  • the label switching router After detecting the link failure, the label switching router determines whether the interface where the failed link is located is an inbound interface corresponding to the forwarding state of the label switching path;
  • the failed link is upstream of the label switching router.
  • the following steps are used to determine whether the failed label switching router is upstream of its label switched path:
  • the label switching router After detecting that the label switching router is invalid, the label switching router determines whether the next hopping out interface of the failed label switching router is an inbound interface of the label switching path corresponding to the forwarding state;
  • the expired label switching router is upstream.
  • the label switching path re-established to the source node is implemented by the label switching router sending a label mapping message upstream of the unicast shortest path to the source node for label mapping;
  • the label switching router that receives the label mapping message continues to send the label mapping message upstream for label mapping until the label switching path to the source node is re-formed.
  • Another rerouting method provided by the present invention includes:
  • the source node sends the path detection information to determine whether the path from the source node to the destination node is the shortest path;
  • the destination node sends the path modification information to re-establish the shortest path.
  • the method is applied to a label switched path system, said switching is label switching, said router is a label switching router, and said source node is a label switching router.
  • the label switching is a multi-protocol label switching.
  • the label switching shortest path is established by the following steps: In the label switching path in which the unicast routing status changes, the source node sends a path detection message along the label switching path to the downstream to detect whether the existing label switching path is the shortest path, and if it is the shortest path, the end step;
  • a path modification message is issued upstream along the unicast shortest path from the destination node to the source node, and the label switched path from the destination node to the source node is adjusted to the shortest path.
  • the method further comprises the steps of:
  • the following step is used to detect whether the existing label switching path is the shortest path: after the source node sets the timer to a predetermined time, the path detection message with the flag bit is sent downstream along the label switching path;
  • the label switching router that receives the path detection message determines whether the next hopping interface of the shortest path of the source node is the inbound interface in the multicast forwarding state, and if so, directly forwards the path detection message to the downstream; otherwise, the path detection is changed.
  • the flag of the message is forwarded to the downstream to forward the path detection message.
  • the label switching path from the destination node to the source node is adjusted to be the shortest path by the following steps:
  • the path modification message is sent upstream along the unicast shortest path from the destination node to the source node, and the destination node that sends the path modification message and the label switching router that receives the path modification message determine the next bounce of each of the shortest paths to the source node. Whether the interface is the inbound interface of its multicast forwarding state;
  • the device sends a path modification message to the upstream label switching router. Otherwise, the next hop interface of the unicast shortest path is added to the inbound interface of the multicast forwarding state, and the label mapping message and the path modification message are sent to the upstream.
  • the label switching router that receives the unknown multicast data determines whether the multicast forwarding has only one inbound interface, and if so, performs hardware delivery, otherwise The inbound interface forwarding state of the shortest label switching path is delivered by the hardware. The other inbound interfaces are removed from the upstream label switching path and the corresponding hardware entries are deleted.
  • the time for data stream recovery is relatively short. Due to the partial repair method, the exchange repair time is very short and the convergence speed is fast.
  • the adjustment time is short and the switching operation is fast; and the original switching path is retained before the adjustment operation is completed, so that the adjustment process can be guaranteed.
  • the data is not interrupted.
  • the switching path between the source router and the destination router is quickly repaired, and the load of the router node caused by the adjustment operation of a large number of routers in the network when the re-establishment of the switching path is avoided is suddenly increased sharply and long.
  • Time occupies CPU resources and long interruptions in data flow. Detecting a switched path that is re-established due to network failure or other reasons, causing the switched path after the unicast route to change and adjusting it to the shortest path, so as to avoid the long-term occupation of CPU resources and the data flow is almost uninterrupted, Establish the shortest exchange path.
  • FIG. 1(a), 1(b) and 1(c) are schematic diagrams showing the principle of P2MPLSP rerouting after a label switching router on a P2MP LSP fails in a prior art MPLS network;
  • FIGS. 2(a), 2(b) and 2(c) are schematic illustrations of a rerouting principle in accordance with an embodiment of the present invention.
  • 3(a), 3(b), 3(c) and 3(d) are diagrams showing a label switching path that meets the shortest path requirement in accordance with another embodiment of the present invention.
  • 4(a) and 4(b) are diagrams showing the label switching path for deleting a non-compliant shortest path requirement according to another embodiment of the present invention.
  • the core idea of the rerouting method of the present invention is: when a route change occurs when a network link or a router fails in a network switching path, by establishing a link between the adjacent downstream router of the failed router or the failed link and the source router Mode, fast ⁇ the switching path from the source router to the destination router, and the downstream router of the router that re-establishes the link remains unchanged Line adjustment.
  • the present invention further detects whether the repaired exchange path or the exchange path formed by the route change due to other reasons is the shortest path, and if not, adjusts it to the shortest path.
  • the node updates its forwarding state, deletes the forwarding state of the U-related label L, allocates L, labels and establishes the forwarding state, and sends a label mapping message ⁇ R, G, L, > to the U, and sends the label undo to the U.
  • the routing information may be transmitted across the entire network, which may cause changes in the upstream LSR of many LSRs.
  • the process of processing the P2MP LSP for the upstream LSR changes is applicable to all LSRs that change upstream LSR nodes. This change is a change in the whole network, not just a change in one LSR.
  • 2(a), 2(b) and 2(c) are schematic diagrams showing the principle of rerouting according to a specific embodiment of the present invention.
  • the network structure of this embodiment is consistent with that shown in FIGS. 1( a ), 1 ( b ) and 1 ( c ), and the MPLS network includes R1, R2, R3, R4, R5, and R6 has a total of 6 label switching routers, in which R1 is used to send data as a source label switching router, and R5 and R6 are both destined for destination label switching routers, and digital labeling between different label switching routers represents a measure between the two. Values, according to the principle of the shortest path with the smallest sum of metrics, two multicast label switching paths of Rl -> R2 -> R4 -> R5 and Rl -> R2 -> R4 -> R6 have been established.
  • the label switching router with the label switching router or the failed link in the network is detected to determine whether the failed label switching router or the failed link is upstream.
  • the label switching router directly connected to it detects the failure of the label switching router in the network or detects that there is a link failure in the network.
  • the failed label switching router is detected to include R1 and R4 directly connected thereto. The two determine whether the next hop-out interface of R2 is the inbound interface of the point-to-multipoint label switching path corresponding to the forwarding state. In this embodiment, the result of R4 is yes. Therefore, R4 is a point-to-multipoint label.
  • the next hopping interface of R1 to R2 is not the inbound interface of the point-to-multipoint label switching path corresponding to the forwarding state. Therefore, R1 is not the downstream neighbor of R2.
  • the path corresponds to the inbound interface of the forwarding state. In this embodiment, the determination result of R4 is YES, and the judgment result of R2 is YES, so the failed link is upstream of R4.
  • each label switching router in the multi-protocol label switching network determines whether the type of the forwarding state of the label switching path is multicast, and the result is a label switching router.
  • the forwarding state does not change with unicast routing changes.
  • the downstream label switching router R4 of the failed link or the failed label switching router repairs the P2MP LSP partially disconnected due to network failure, and R4 sends along the unicast shortest path to the source label switching router R1. Label mapping.
  • the R4 sending label is mapped to R3.
  • R3 After receiving the label mapping message sent by the downstream label switching router, R3 checks whether it has established the multicast forwarding state related to R4. Since R3 does not establish R4 related. The multicast forwarding state, so R3 first establishes its multicast forwarding state related to R4, and then continues to send the label mapping message to its upstream label switching recorder R1. R1 also establishes the relevant multicast forwarding state but because it is the source label. The switching router does not send the label mapping message again, and re-establishes the label switching path R1->R3->R4 from R1 to R4.
  • 3(a), 3(b), 3(c) and 3(d) are diagrams showing the principle of rerouting according to another embodiment of the present invention.
  • the MPLS network structure in this embodiment is basically the same as that in the first embodiment, including R1, R2, R3, R4, R5, R6, and R7, and a total of seven label switching routers, where R1 is a source label switching.
  • Routers, R6 and R7 are destination label switching routers, and have established R1 ->R2->R4->R5->R6 and Rl->R2->R4->R5->R7 two multicast label switching path.
  • the downstream label switching router R2 of the failed link partially disconnects the P2MP LSP due to network failure.
  • a repair operation is performed to re-establish the label switching link from the source label switching routers R1 to R2.
  • the label switching router R2 completes the repair operation, the two label switching paths from the source label switching router R1 to the destination label switching routers R6 and R7 are re-established: R1->R3->R4-> R5->R6 and R1->R3->R4->R5->R7.
  • the newly established Rl->R3->R4->R5->R6 and R1->R3->R4->R5->R7 label switching paths It is not the shortest path, that is, the P2MP label switching path shown in Figure 3(b) is not the optimal label switching path.
  • the current label switching path may no longer be caused. The shortest path occurs.
  • the routing changes for example, due to the addition of a new link, a shorter path exists or a management plane.
  • the routing changes for example, due to the addition of a new link, a shorter path exists or a management plane
  • the first multi-protocol label is handed over.
  • Each label switching router in the network determines whether the forwarding state of the label switching path is multicast, and the forwarding state of the label switching router that is determined to be yes does not change with the unicast routing. Since the network failure has been judged, the judgment is not repeated here.
  • a timer is set for the label switching path on the source label switching router R1, and the timer is set to cycle when the timer is switched over for a fixed period of time.
  • R1 sends a path detection message downstream along the point-to-multipoint label switching path.
  • the path detection message includes a path status, where the path status indicates whether the existing label switching path in the path detection is the shortest with different values of 1, 0. Path, and add a path modification flag in the multicast forwarding state of all label switching routers.
  • the flag is used to identify whether the label switching router where the multicast forwarding status is located has received the label switching in the point-to-multipoint label switching path.
  • the path modification message sent by the router indicates whether it has received the path modification message with its different values of 1, 0, and R3, R4, R5, R6, and R7 respectively perform reverse path check and other related operations when receiving the path detection message.
  • the specific process is as follows:
  • R3 receives the path detection message and performs the reverse path check.
  • the detection result is that the label switching path of R3 to R1 conforms to the shortest path principle and is the shortest path. Therefore, the path state of the path detection information is kept unchanged, and since Receiving the path modification message, so the value of the path modification flag bit of R3 is set to 0, and the path detection message is continued to be forwarded along the label switching path;
  • R4 After receiving the path detection message forwarded by R3, R4 also performs the reverse path check. It is found that the label switching path of R4 to R1 is the shortest path, so the path state of the path detection information is kept unchanged, and To the path modification message, the value of the path modification flag bit of R4 is set to 0, and the path detection message is further forwarded along the label switching path. (4) After receiving the path detection message forwarded by R4, R5 performs reverse path check, and checks to find the current The label switching path of R5 to R1 is not the shortest path, so the value of the path state of the path detection information is set to 1, and since the path change message has not been received, the value of the path modification flag of R5 is set to 0, and continues. Forwarding the path detection message along the label switching path;
  • R6 detects the path status of the path after receiving the path detection message forwarded by R5.
  • the value is already 1, indicating that the corresponding label switching path is definitely not the shortest path. Therefore, R6 no longer performs the reverse path check. Since the path modification message has not been received, the value of the path modification flag of R6 is set to 0.
  • R7 detects that the path status of the path is 1, indicating that the corresponding label switching path is definitely not the shortest path, so the reverse path check is no longer performed, because the path has not been received yet.
  • the message is modified, so the value of the path 4 tamper flag of R7 is set to zero.
  • R6 And R7 both correct the current label switching path shown in FIG. 3(b) along the unicast shortest-radius radial upstream label switching router to R1, the path modification message including the path modification status and the path modification status.
  • the 0, 1 value indicates whether the path modification is successful, performs the reverse path check and corrects the label switching path related operations, so that the shortest path becomes the label switching path. The following assumes that each label switching router path modification is successful, the process is as follows :
  • R7 performs reverse path check on the inbound interface of the multicast forwarding state (link R5->R7 on R7), and detects that the inbound interface of the R7 multicast forwarding state is the shortest path from R7 to R1 unicast.
  • the destination label switching router R7 sends a path modification message to the R5, where the value of the path modification state is 0, and the path modification flag of the R7 multicast forwarding state is set to 1, indicating that the R7 has received the path modification message;
  • the label switching router R6 also performs a reverse path check on the inbound interface of the multicast forwarding state.
  • the inbound interface that detects the R6 multicast forwarding state is the next hop outbound interface of the R6 to R1 unicast shortest path, and sends a path modification message to the R5.
  • the value of the path modification status in the modified message is 0.
  • the path modification flag of the multicast forwarding state on R6 is 1.
  • R5 may first receive the path change message sent by R6, and R5 performs the reverse path check.
  • the inbound interface of the R5 multicast forwarding state is not the next hop outbound interface of the R5 to R1 unicast shortest path.
  • R5 receives the path modification message sent by R7, the value of the path modification flag in the multicast forwarding state corresponding to R5 is already 1, indicating that it has received the path modification message, so R5 does not Do any more.
  • the inbound interface of the R3 multicast forwarding state is the next hop outbound interface of the R3 to R1 unicast shortest path, and R3 sends the path to R1.
  • the message is modified, where the value of the path modification state is 0, and the value of the path modification flag bit of the R3 multicast forwarding state is set to 1.
  • R1 receives the path message sent by R3, it checks the value of the path modification state. In this embodiment, the value is 0, indicating that the path adjustment is successful. If the path of the label switching router fails to be modified in the above steps, the label switching router that fails the modification sets the value of the path modification state to 1, and then sends a path modification message to the source label switching router R1, and then waits for the timer time corresponding to R1 to be consumed again. After that, re-do a new round of label path modification.
  • the source label switching router R1 to the destination label switching routers R6 and R7 are divided by the original R1->R3->R4->R5->R6 and R1->R3- >R4->R5->R7 two label switching paths, newly established R1->R3->R5->R6 and R 1 ->R3 ->R5 ->R7 two label switching paths, the first two labels
  • the switched path is not the shortest path, and the newly established two label switched paths are the shortest paths.
  • the interface and label information of the multicast forwarding state of each label switching router in the label switching path must be sent to the Incoming Label Map (ILM) entry of the hardware to establish the corresponding ILM hardware.
  • ILM Incoming Label Map
  • the table item can be used for the actual data transmission.
  • Another difference between this embodiment and the current technology is that the newly established label switching path is not issued due to the data transmission until the data transmission is performed. The operation of the hair.
  • the two non-shortest label switching paths of R1->R3->R4->R5->R6 and R1->R3->R4->R5->R7 are revoked, and The hardware is issued for R1->R3->R5->R6 and R1->R3->R5->R7 to enable the two newly established label switching paths to actually transmit data.
  • R1 -> R3 -> R4 -> R5 -> R7 are two non-shortest paths, and Figure 4 (a) performs the following operations: (1) Since R3 has been sent by hardware before, the data arrives at R3 and then transmits downward through R4 and R5. When the multicast data packet reaches R5 through R3->R5 link, R5 needs The hardware ILM entry is used to check the forwarding of the multicast data packet. The R5 cannot be found in the hardware. Therefore, the multicast datagram cannot be found. The text is used as unknown multicast data.
  • R5 After receiving the unknown multicast data packet, R5 detects the corresponding multicast forwarding state. Since R5 detects that the multicast forwarding state has two inbound interfaces corresponding to R3 and R4, the two pairs are The inbound interface performs a reverse path check to determine whether each label switching path is the shortest path. In this embodiment, the interface reverse path of the R4->R5 label switching path on R5 is checked to be not the shortest path, so R5 sends a label revocation message to R4 and deletes the inbound interface information in the multicast forwarding state, and deletes the corresponding information. The hardware ELM entry, and then R4 continues to send the label revocation message to R3.
  • R3 After receiving the label revocation message, R3 performs the same operation as R4 to finally delete the path. Meanwhile, the R3->R5 label switching path passes through the interface on R5. The reverse path check proves to be the shortest path. R5 sends the interface and label information in the multicast forwarding state to the hardware ILM entry for subsequent data transmission.
  • the entire path modification process is along the unicast shortest path R6 (or R7) to R1 -> R5-> R3 -> Rl Adjusting hop by hop, this will not cause the load of R6, R5, R3 and R1 to increase at the same time.
  • the adjustment process is only performed on the label switching router R5 where the reverse path check fails on the unicast shortest path instead of the P2MP label switched path. All the reverse path check fails on the label switching router, which reduces the network load caused by the path adjustment.
  • the non-shorter label switching path remains used until the shortest label switching path is established, the entire tuning process group The broadcast stream is almost never interrupted.
  • the multicast forwarding state After a label switching router receives the label mapping message and modifies the corresponding multicast forwarding state, the multicast forwarding state is There may be an interface that is both an inbound interface and Is the error condition of the outgoing interface.
  • the solution of the present invention is the same as the method of deleting the non-shortest label switching path in Embodiment 2:
  • An interface is an interface that receives a label mapping message, and adds the interface and label information to the outbound interface list of the multicast forwarding state, but does not send the interface to the outbound interface list of the corresponding hardware entry.
  • the label switching router deletes the inbound interface that fails the reverse path check in the multicast forwarding state according to the result of the reverse path check, and checks whether the deleted inbound interface is in the outbound interface list of the multicast forwarding state. The interface is immediately sent to the outbound interface list of the corresponding hardware entry.

Abstract

A rerouting method is disclosed. When fault link or fault router is appeared in the network switch paths, the downstream router rebuilds the switch path to the source router, and the downstream router is bordered upon the fault link or the fault router. Meanwhile, it is disclosed that the source router determines whether the path between the source router and the destination router is the shortest path by sending the path detection information; if the determined result is no, the destination router rebuilds the shortest path by sending the path modify information. Accordingly, the comeback time for rerouting to build the switch path is short, and the constringency speed is fast.

Description

一种重路由方法 本申请要求于 2006 年 01 月 20 日提交中国专利局、 申倩号为 200610033235.6、 发明名称为 "一种重路由方法"的中国专利申请的优先 权, 其全部内容通过引用结合在本申请中。  The present invention claims priority to Chinese Patent Application No. 200610033235.6, entitled "Re-routing Method", filed on January 20, 2006, the entire contents of which are incorporated by reference. In this application.
技术领域 本发明涉及网络通信技术领域, 具体涉及一种重路由方法。 背景技术 The present invention relates to the field of network communication technologies, and in particular, to a rerouting method. Background technique
多协议标签交换( MPLS, Multi-Protocol Label Switching )是一种将 IP引入异步传输模式( ATM, Asynchronous Transfer Mode, )或帧中继( FR, Frame Relay )等通信网络上, 利用标签引导数据高速、 高效传输的技术。 MPLS的应用领域在不断扩大, 随着 Internet的不断发展, 采用带有 MPLS 功能的 IP路由器和带有 MPLS功能的 ATM交换机组建未来宽带综合业务 通信网, 成为业界发展的热点。 MPLS的价值在于能够在一个无连接的 网络中引入面向连接的机制, 其优点是减少网络的复杂性, 能够兼容现 有的各种网络技术。 同时, MPLS综合利用网络核心的交换技术和网络 边缘的 IP路由技术, 将路由移到网络边缘, 网络核心作标签转发, 因此 标签分发技术是 MPLS中相当重要的一部分。  Multi-Protocol Label Switching (MPLS) is a method of introducing IP into a communication network such as Asynchronous Transfer Mode (AM) or Frame Relay (FR). , efficient transmission technology. The application field of MPLS is expanding. With the continuous development of the Internet, the use of MPLS-capable IP routers and MPLS-capable ATM switches to form a future broadband integrated service communication network has become a hot spot in the industry. The value of MPLS is the ability to introduce a connection-oriented mechanism in a connectionless network. The advantage is that it reduces the complexity of the network and is compatible with existing network technologies. At the same time, MPLS comprehensively utilizes the core switching technology of the network and the IP routing technology at the edge of the network to move the route to the edge of the network, and the network core performs label forwarding. Therefore, the label distribution technology is a very important part of MPLS.
随着 MPLS在组播领域的应用, 在 MPLS 中点到多点(P2MP, Point to Muliti-Point ) 的标签分发技术也成为当前 MPLS发展中的一大研究重 点,当前的 P2MP标签分发技术中主要是根据路由协议产生的单播路由表 信息来产生从各个目的标签交换路由器 ( LSR, Label Switching Router ) 到根 LSR的 P2MP标签交换路径(LSP, Label Switched Path, )。 叶子 LSR 负责启动 P2MP LSP的建立和撤消。 P2MP LSP上某个节点的上游 LSR的 确定方法是: 根据路由协议产生的单播路由信息从该节点到根节点最短 路径 (最短路径就是路由协议中, 从叶子节点到根节点度量值的总和最 小的那条路径)上的下一跳路由器就是该节点的上游 LSR。  With the application of MPLS in the field of multicast, the label distribution technology of Point to Muliti-Point (P2MP) in MPLS has become a major research focus in the development of MPLS. The current P2MP label distribution technology is mainly The unicast routing table information generated by the routing protocol is used to generate a P2MP Label Switched Path (LSP) from each destination label switching router (LSR) to the root LSR. The leaf LSR is responsible for initiating the establishment and revocation of the P2MP LSP. The method for determining the upstream LSR of a node on the P2MP LSP is: The shortest path from the node to the root node according to the unicast routing information generated by the routing protocol (the shortest path is the routing protocol, and the sum of the metric values from the leaf node to the root node is the smallest. The next hop router on that path is the upstream LSR of the node.
在网络技术中, 源路由器是的数据的发送端, 目的路由器是数据发 送的目的端。 为便于描述, 规定如下: In network technology, the source router is the sender of the data, and the destination router is the destination of the data transmission. For ease of description, the rules are as follows:
1、 P2MP FEC element (点到多点转发等价类元素)用 <R,G>表示 , R 表示源标签交换路由器(发送数据的标签交换路由器)地址, G表示唯 一值 Opaque。  1. P2MP FEC element (point-to-multipoint forwarding equivalence class element) is represented by <R, G>, R is the address of the source label switching router (label switching router that sends data), and G is the unique value Opaque.
2、 P2MP的标签映射消息用 <R,QL>表示, 其中 <1 ,0>是?2:^? FEC element , L是为该 P2MP FEC element分配的标签。  2. The label mapping message of P2MP is represented by <R, QL>, where <1, 0> is? 2:^? FEC element , L is the label assigned to the P2MP FEC element.
3、 P2MP的标签撤消消息用(R,G,L )表示,其中( R,G )是 P2MP FEC element , L是为该 P2MP FEC element分配的标签。  3. The P2MP tag revocation message is represented by (R, G, L), where (R, G) is the P2MP FEC element and L is the tag assigned to the P2MP FEC element.
4、 P2MPLSP用 (R,G )表示, R表示源标签交换路由器地址, G表 示 Opaque值。  4. P2MPLSP is represented by (R, G), R is the source label switching router address, and G is the Opaque value.
5、 在中间 LSR上用 L' -> {<11, Ll> <I2, L2> <In, Ln>}来表示这样 一种状态一一即 P2MPLSP的组播转发状态: 当收到一个携带 L' 的数据 包时要复制一个数据包在 II接口上替换 L, 标签为 L1标签后发出, 以此类 推直到 <In,Ln>。  5. On the intermediate LSR, use L' -> {<11, Ll> <I2, L2> <In, Ln>} to indicate the state of one-to-one P2MPLSP multicast forwarding state: When receiving a carry L ' Packets are copied when a packet is replaced with L on the II interface, the label is issued after the L1 tag, and so on until <In, Ln>.
当前技术中 P2MP LSP的建立过程是:  The establishment process of the P2MP LSP in the current technology is:
( 1 )、 叶子 LSR主动分配 P2MP LSP标签 L并沿着到源标签交换路由 器的路径向上游 LSR分发标签映射消息< , ! 。  (1) The leaf LSR actively allocates the P2MP LSP label L and distributes the label mapping message < , ! to the upstream LSR along the path to the source label switching router.
( 2 )、 中间的 LSR在接口 I上收到下游发送的标签映射消息<1 ,0,1 后, 首先查看是否建立与之相关的组播转发状态, 如果没有, 中间 LSR 就为 P2MP LSP分配标签 L' 同时安装转发状态 L' -> {<1, L>} , 然后发送 标签映射消息 <R,QL' >给它的上游 LSR; 如果上游 LSR有有转发状态, 只需要更新转发状态即可, 例如原组播转发状态为 L'-> {<11, Ll> <12, L2> <In, Ln>} , 就 4巴它改为: L'-> {<11, Ll> <I2, L2> <In, Ln>, <I, L>}。  (2) After receiving the label mapping message <1, 0, 1 sent by the downstream interface, the intermediate LSR first checks whether the multicast forwarding state associated with it is established. If not, the intermediate LSR allocates the P2MP LSP. The label L' is simultaneously installed with the forwarding state L' -> {<1, L>}, and then the label mapping message <R, QL' is sent to its upstream LSR; if the upstream LSR has a forwarding state, only the forwarding state needs to be updated. For example, the original multicast forwarding status is L'-> {<11, Ll> <12, L2> <In, Ln>}, and 4 bar is changed to: L'-> {<11, Ll> <I2 , L2> <In, Ln>, <I, L>}.
( 3 )、 源标签交换路由器在接口 I收到下游发送的标签映射消息 (3) The source label switching router receives the label mapping message sent by the downstream interface 1
<R,G,L>后, 首先查看是否建立有与之相关的组播转发状态。 如果没有, 源标签交换路由器就建立转发状态用于把标签 L加到它接收的组 G的数 据包的头部; 如果有转发状态就在状态中加入收到 G组数据包时加上标 签 L并从接口 I发出的状态。 P2MP LSP的撤消过程是: After <R, G, L>, first check whether there is a multicast forwarding state associated with it. If not, the source label switching router establishes a forwarding state for adding the label L to the header of the packet of the group G it receives; if there is a forwarding state, adding the label L when the group G packet is received in the state. And the status issued from interface I. The revocation process of the P2MP LSP is:
(1)、 叶子 LSR发送标签撤消消息 (R,G,L)到上游 LSR。  (1), Leaf The LSR sends the label revocation message (R, G, L) to the upstream LSR.
(2)、 中间 LSR收到标签撤消消息(R,G,L)后就从组播转发状态中 删除关于标签 L的内容, 如果其组播转发状态为空就向上游发标签撤消 消息 (R,QL, ),如果不空就停止操作。  (2) After receiving the label revocation message (R, G, L), the intermediate LSR deletes the content of the label L from the multicast forwarding state, and sends a label revocation message to the upstream if its multicast forwarding status is empty (R). , QL, ), stop if it is not empty.
(3)、 源标签交换路由器收到下游发的标签撤消消息(R,G,L)后的 操作和中间 LSR类似, 只是不再向上游发送标签撤消消息 (R,G,L)。  (3) After the source label switching router receives the label revocation message (R, G, L) sent downstream, the operation is similar to the intermediate LSR, except that the label revocation message (R, G, L) is no longer sent upstream.
由以上介绍可以看出, P2MPLSP是基于路由协议产生的单播路由表 信息而建立起来的最短路径树。 然而在实际应用中, P2MPLSP还需要解 决下列三种情况下的重路由问题: 网络失效(网络节点或链路的失效); 由于添加了新的链路, 有更短的路径存在管理平面引起的路由变化。  As can be seen from the above description, P2MPLSP is the shortest path tree established based on the unicast routing table information generated by the routing protocol. However, in practical applications, P2MPLSP also needs to solve the rerouting problem in the following three cases: network failure (network node or link failure); due to the addition of a new link, there is a shorter path due to the management plane Routing changes.
上述三种重路由的情况都会弓 I起 P2MP LSP中某个 LSR的上游 LSR 发生变化,如果上游 LSR发生, 目前对 P2MPLSP进行更新的处理方法是: 当某个 LSR节点发现自己的上游 LSR从 U变到了 U, 该节点就更新自 己的组播转发状态, 删除与 U相关标签 L的转发状态,同时分配 L' 标签并 建立新的组播转发状态, 同时向 U, 发送标签映射消息 <R,G,L, >而向 U 发送标签撤消消息 (R,G,L) 以撤消原组播转发状态。 在 MPLS网络中, 当局部路由发生变化时, 随着路由信息在全网范围内的传递可能会同时 引起很多 LSR的上游 LSR; ^生变化。 上述上游 LSR变化时对 P2MP LSP的 处理过程对所有上游 LSR节点变化的 LSR都适用, 这种变化是全网范围 内的变化而不仅仅是集中在某一个 LSR上的。 由于每个 LSR对 P2MPLSP 操作的依据(路由信息)是唯一的,所以经过一段时间后,整个 P2MPLSP 会收敛到一颗新的最短路径树上。 具体过程如图 1 )至(c)所示, 图 中各 Rl、 R2…等节点均为 LSR, 其中 R1为源标签交换路由器, R5与 R6 为目的标签交换路由器(数据发送的目的标签交换路由器), 相邻 LSR之 间的数字为两者间的度量值。 如图 1 (a), 根据上述 P2MP LSP的建立原 则已经建立起 R1-R2-R4-R6以及 R1-R2-R4-R5两条 P2MP LSP, 当 R2失效 后, 整个链路就进行图 1 (b)所示的标签撤消与重分配, 并最终达到图 1 (c) 的稳定状态。 按照现有技术, 当 MPLS网络中同时存在有大量组播服务时 (每个 组播服务都会存在一棵 P2MP LSP的最短路径树), 如果局部路由由于某 种原因 (网络失效、 新增链路或管理平面的调整等)发生改变并传播到 整个 MPLS网络后, 可能会产生下列情形: 在每一棵 P2MP LSP最短路径 树上都会有很多上游 LSR发生了改变的 LSR, 他们几乎同时地通过撤消 标签和分配标签操作来修正自己所在的 P2MP LSP , 以使之重新回到 P2MP LSP最短路径树, 如图 1 ( a )至(c )所示例子中, 包括 R2、 R3、 R4、 R5、 R6在内的所有标签交换路由器均参加了标签的撤消与分配过程, 而在实际网络结构中, 往往要比图 1 ( a )至(c ) 中所示的网絡结构以及 网络中的 P2MP LSP复杂得多。这样就会产生大量 LSR节点的负载突然剧 烈增加, 甚至 CPU利用率长时间达到 100 %。 结果导致每棵非最短路径的 P2MP LSP切换到最短路径 P2MP LSP的时间会大大增长, 由于在新的 P2MP LSP建立完成前数据流会中断, 也导致每棵 P2MP LSP上组播数据 流中断的时间会大大增加,数据丟失严重,并且也影响组播服务在 MPLS 网絡中大规模大范围进行部署。 发明内容 The above three types of re-routings will change the upstream LSR of an LSR in the P2MP LSP. If the upstream LSR occurs, the current PSRMPLSP update method is: When an LSR node finds its own upstream LSR from the U When it changes to U, the node updates its own multicast forwarding state, deletes the forwarding state of the label L associated with the U, allocates the L' tag and establishes a new multicast forwarding state, and sends a label mapping message <R to the U. G, L, > sends a label revocation message (R, G, L) to U to undo the original multicast forwarding status. In an MPLS network, when the local route changes, the routing information may be transmitted to the upstream LSR of the LSR at the same time. The process of processing the P2MP LSP in the change of the upstream LSR is applicable to all LSRs that are changed by the upstream LSR node. This change is a network-wide change and is not only concentrated on one LSR. Since each LSR is unique to the P2MPLSP operation (routing information), after a period of time, the entire P2MPLSP will converge to a new shortest path tree. The specific process is shown in Figure 1) to (c). In the figure, each R1, R2, etc. node is an LSR, where R1 is the source label switching router, and R5 and R6 are destination label switching routers (the destination label switching router for data transmission) ), the number between adjacent LSRs is a measure between the two. As shown in Figure 1 (a), two P2MP LSPs, R1-R2-R4-R6 and R1-R2-R4-R5, have been established according to the establishment principle of the P2MP LSP. When R2 fails, the entire link is shown in Figure 1 ( b) The label is removed and redistributed as shown, and eventually reaches the steady state of Figure 1 (c). According to the prior art, when there are a large number of multicast services in the MPLS network (the shortest path tree of a P2MP LSP exists in each multicast service), if the local route is for some reason (network failure, new link) After the change or propagation of the management plane, etc., changes to the entire MPLS network, the following situations may occur: In each P2MP LSP shortest path tree, there will be many LSRs whose upstream LSRs have changed, and they are revoked almost simultaneously. The label and the assignment label operate to correct the P2MP LSP that it is in, so that it can be returned to the P2MP LSP shortest path tree, as shown in Figures 1 (a) to (c), including R2, R3, R4, R5, and R6. All label switching routers participate in the label undo and allocate process, and in the actual network structure, it is often more complicated than the network structure shown in Figure 1 (a) to (c) and the P2MP LSP in the network. many. This will result in a sudden and dramatic increase in the load of a large number of LSR nodes, and even CPU utilization will reach 100% for a long time. As a result, the time for the P2MP LSP to be switched to the shortest path P2MP LSP is greatly increased. The data stream is interrupted before the establishment of the new P2MP LSP, and the multicast data stream is interrupted on each P2MP LSP. It will increase greatly, data loss is serious, and it also affects the large-scale deployment of multicast services in MPLS networks. Summary of the invention
本发明的目的在于提供一种重路由方法, 当网络链路或者路由器失 效时, 快速修复源节点到目的节点的交换路径, 避免重新建立交换路径 时网络中大量的路由器进行调整操作所导致的路由器节点的负载突然剧 烈增加, 数据流长时间中断。 根据本发明提供的一种重路由方法, 包括:  The object of the present invention is to provide a rerouting method, which can quickly repair the switching path between the source node and the destination node when the network link or the router fails, and avoid the router caused by the adjustment operation of a large number of routers in the network when the switching path is re-established. The load on the node suddenly increases sharply, and the data stream is interrupted for a long time. A rerouting method according to the present invention includes:
网络交换路径出现失效链路或失效路由器, 由与失效链路或失效路 由器相邻的下游路由器重新建立到源节点的路径。  The network switching path has a failed link or a failed router, and the path to the source node is re-established by the downstream router adjacent to the failed link or the failed router.
所述方法应用于标签交换路径系统中, 所述交换是标签交换, 所述 路由器是标签交换路由器。 所述源节点是标签交换路由器。  The method is applied to a label switched path system, the switching is label switching, and the router is a label switching router. The source node is a label switching router.
所述标签交换是多协议标签交换。  The label switching is a multi-protocol label switching.
更适宜地, 通过下列步驟建立所述标签交换路径:  Preferably, the label switching path is established by the following steps:
标签交换路径中, 与失效链路或失效标签交换路由器相邻的标签交 换路由器判断失效链路或失效标签交换路由器是否在其上游; In the label switched path, the label adjacent to the failed link or the failed label switching router Change the router to determine whether the failed link or the failed label switching router is upstream;
若是, 则所述标签交换路由器重新建立由其到源节点方向的标签交 换路径。  If so, the label switching router re-establishes the label switching path from its direction to the source node.
优选地, 该方法进一步包括以下步骤:  Preferably, the method further comprises the steps of:
判断其标签交换路径的转发状态的类型是否是组播, 若转发状态的 类型为组播, 则其转发状态不随单播路由变化而变化。  It is determined whether the type of the forwarding state of the label switching path is multicast. If the type of the forwarding state is multicast, the forwarding state does not change with the unicast routing.
更适宜地, 通过下列步骤判断失效链路是否在其上游  Preferably, the following steps are used to determine whether the failed link is upstream
所述标签交换路由器检测到链路失效后, 判断失效链路所在接口是 否是其标签交换路径对应转发状态的入接口;  After detecting the link failure, the label switching router determines whether the interface where the failed link is located is an inbound interface corresponding to the forwarding state of the label switching path;
若是, 则失效链路在所述标签交换路由器的上游。  If so, the failed link is upstream of the label switching router.
优选地, 通过下列步骤判断其标签交换路径上失效标签交换路由器 是否在其上游:  Preferably, the following steps are used to determine whether the failed label switching router is upstream of its label switched path:
所述标签交换路由器检测到标签交换路由器失效后, 判断到所述失 效标签交换路由器的下一跳出接口是否是其标签交换路径对应转发状态 的入接口;  After detecting that the label switching router is invalid, the label switching router determines whether the next hopping out interface of the failed label switching router is an inbound interface of the label switching path corresponding to the forwarding state;
若是, 则失效标签交换路由器在其上游。  If so, the expired label switching router is upstream.
优选地 , 通过下列步骤实现所述重新建立到源节点的标签交换路径 所述标签交换路由器沿着到源节点的单播最短路径向其上游发送标 签映射消息进行标签映射;  Preferably, the label switching path re-established to the source node is implemented by the label switching router sending a label mapping message upstream of the unicast shortest path to the source node for label mapping;
收到标签映射消息的标签交换路由器继续向上游发送标签映射消息 进行标签映射, 直到重新形成到源节点的标签交换路径。  The label switching router that receives the label mapping message continues to send the label mapping message upstream for label mapping until the label switching path to the source node is re-formed.
根据本发明提供的另一种重路由方法, 包括:  Another rerouting method provided by the present invention includes:
源节点发送路径检测信息判断源节点到目的节点的路径是否是最短 路径;  The source node sends the path detection information to determine whether the path from the source node to the destination node is the shortest path;
若不是最短路径,则目的节点发送路径修改信息重新建立最短路径。 更适宜地, 该方法应用于标签交换路径系统中, 所述交换是标签交 换, 所述路由器是标签交换路由器, 所述源节点是标签交换路由器。  If it is not the shortest path, the destination node sends the path modification information to re-establish the shortest path. Preferably, the method is applied to a label switched path system, said switching is label switching, said router is a label switching router, and said source node is a label switching router.
所述标签交换是多协议标签交换。  The label switching is a multi-protocol label switching.
更适宜地, 通过下列步骤建立标签交换最短路径: 单播路由状况发生变化的标签交换路径中 , 从源节点沿标签交换路 径向下游发送路径检测消息检测现有的标签交换路径是否是最短路径, 若是最短路径, 则结束步骤; More suitably, the label switching shortest path is established by the following steps: In the label switching path in which the unicast routing status changes, the source node sends a path detection message along the label switching path to the downstream to detect whether the existing label switching path is the shortest path, and if it is the shortest path, the end step;
否则, 沿着从目的节点到源节点的单播最短路径向其上游发出路径 修改消息, 将从目的节点至源节点的标签交换路径调整为最短路径。  Otherwise, a path modification message is issued upstream along the unicast shortest path from the destination node to the source node, and the label switched path from the destination node to the source node is adjusted to the shortest path.
优选地, 该方法进一步包括以下步骤:  Preferably, the method further comprises the steps of:
判断其标签交换路径的转发状态的类型是否是组播, 若转发状态的 类型为组播, 则其转发状态不随单播路由变化而变化。  It is determined whether the type of the forwarding state of the label switching path is multicast. If the type of the forwarding state is multicast, the forwarding state does not change with the unicast routing.
更适宜地,通过下列步骤检测现有的标签交换路径是否是最短路径: 在源节点设置定时器 所述定时器到预定时间后, 沿标签交换路径 向下游发送设有标志位的路径检测消息;  Preferably, the following step is used to detect whether the existing label switching path is the shortest path: after the source node sets the timer to a predetermined time, the path detection message with the flag bit is sent downstream along the label switching path;
收到路径检测消息的标签交换路由器判断到源节点的最短路径的下 一跳出接口是不是该组播转发状态中的入接口, 若是, 则直接向下游转 发路径检测消息; 否则改变所述路径检测消息的标志位后向下游转发路 径检测消息。  The label switching router that receives the path detection message determines whether the next hopping interface of the shortest path of the source node is the inbound interface in the multicast forwarding state, and if so, directly forwards the path detection message to the downstream; otherwise, the path detection is changed. The flag of the message is forwarded to the downstream to forward the path detection message.
更适宜地, 所述调整从目的节点至源节点的标签交换路径为最短路 径通过下列步骤实现:  Preferably, the label switching path from the destination node to the source node is adjusted to be the shortest path by the following steps:
沿着从目的节点到源节点的单播最短路径向其上游发送路径修改消 息, 发送路径修改消息的目的节点及收到路径修改消息的标签交换路由 器判断各自到源节点的最短路径的下一跳出接口是否是其组播转发状态 的入接口;  The path modification message is sent upstream along the unicast shortest path from the destination node to the source node, and the destination node that sends the path modification message and the label switching router that receives the path modification message determine the next bounce of each of the shortest paths to the source node. Whether the interface is the inbound interface of its multicast forwarding state;
若是, 则继续向上游标签交换路由器发送路径修改消息, 否则将其 单播最短路径的下一跳出接口增设为其组播转发状态的入接口, 并向上 游发送标签映射消息, 以及路径修改消息。  If yes, the device sends a path modification message to the upstream label switching router. Otherwise, the next hop interface of the unicast shortest path is added to the inbound interface of the multicast forwarding state, and the label mapping message and the path modification message are sent to the upstream.
更适宜地, 调整从目的节点至源节点的标签交换路径为最短路径之 后, 收到未知组播数据的标签交换路由器判断其组播转发是否仅有一个 入接口, 若是则进行硬件下发, 否则只对最短标签交换路径上的入接口 转发状态进行硬件下发, 撤消其余入接口到上游的标签交换路径并删除 对应的硬件表项。 综上所述, 根据本发明提供的重路由方法, Preferably, after the label switching path from the destination node to the source node is the shortest path, the label switching router that receives the unknown multicast data determines whether the multicast forwarding has only one inbound interface, and if so, performs hardware delivery, otherwise The inbound interface forwarding state of the shortest label switching path is delivered by the hardware. The other inbound interfaces are removed from the upstream label switching path and the corresponding hardware entries are deleted. In summary, according to the rerouting method provided by the present invention,
在网络失效情况下,数据流恢复的时间比较短。 由于采用了局部修复 的方式, 所以交换修复的时间非常短, 收敛速度快。  In the case of network failure, the time for data stream recovery is relatively short. Due to the partial repair method, the exchange repair time is very short and the convergence speed is fast.
从非最短交换路径调整到最短交换路径的过程中时,由于只是少部分 路由器进行调整, 所以调整时间短、 切换操作快捷; 并且调整操作完成 前仍然保留原有交换路径, 因此可以保证在调整过程中数据不中断。  When adjusting from the non-shortest switching path to the shortest switching path, since only a small number of routers are adjusted, the adjustment time is short and the switching operation is fast; and the original switching path is retained before the adjustment operation is completed, so that the adjustment process can be guaranteed. The data is not interrupted.
本发明中, 当网络链路或者路由器失效时, 快速修复源路由器到目 的路由器的交换路径, 避免重新建立交换路径时网络中大量的路由器进 行调整操作所导致的路由器节点的负载突然剧烈增加、 长时间占用 CPU 资源以及数据流长时间中断等问题。 检测由于网络失效而重新建立的交 换路径或者其他原因造成单播路由变化后的交换路径并将其调整为最短 路径, 以在不造成长时间占用 CPU资源和数据流几乎不中断的情况下, 重新建立最短交换路径。  In the present invention, when the network link or the router fails, the switching path between the source router and the destination router is quickly repaired, and the load of the router node caused by the adjustment operation of a large number of routers in the network when the re-establishment of the switching path is avoided is suddenly increased sharply and long. Time occupies CPU resources and long interruptions in data flow. Detecting a switched path that is re-established due to network failure or other reasons, causing the switched path after the unicast route to change and adjusting it to the shortest path, so as to avoid the long-term occupation of CPU resources and the data flow is almost uninterrupted, Establish the shortest exchange path.
本发明使得部署大规模组播服务更为简单易行。 附图说明 图 1 (a)、 1 (b)和 1 (c) 为现有技术 MPLS网络中有 P2MP LSP 上的标签交换路由器失效后的 P2MPLSP重路由的原理示意图;  The invention makes it easier to deploy large-scale multicast services. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1(a), 1(b) and 1(c) are schematic diagrams showing the principle of P2MPLSP rerouting after a label switching router on a P2MP LSP fails in a prior art MPLS network;
图 2 (a)、 2 (b)和 2 (c) 为根据本发明的实施例的重路由原理示 意图;  2(a), 2(b) and 2(c) are schematic illustrations of a rerouting principle in accordance with an embodiment of the present invention;
图 3 (a)、 3 (b)、 3 (c)和 3 (d)为根据本发明的另一实施例中建 立符合最短路径要求的标签交换路径示意图;  3(a), 3(b), 3(c) and 3(d) are diagrams showing a label switching path that meets the shortest path requirement in accordance with another embodiment of the present invention;
图 4 ( a )和 4 ( b )为根据本发明另一实施例中删除不符合最短路径 要求的标签交换路径示意图。  4(a) and 4(b) are diagrams showing the label switching path for deleting a non-compliant shortest path requirement according to another embodiment of the present invention.
具体实施方式 本发明重路由方法的核心思想在于: 当网络交换路径中网络链路或 路由器失效时引起路由变化时, 通过建立失效路由器或者失效链路的相 邻下游路由器与源路由器的链路的方式, 快速 ^ 复源路由器到目的路由 器的交换路径, 而重新建立链路的路由器的下游路由器保持不变并不进 行调整。 同时, 本发明进一步检测修复后的交换路径或者由于其他原因 引起路由变化形成的交换路径是不是最短路径, 如果不是则将其调整为 最短路径。 而在现有技术中, 当局部路由发生变化时, 随着路由信息在 全网的传递, 位于发生变化的路由部分下游的所有相邻或不相邻路由器 均要做相应的调整以便重新建立路径, 这些进行调整路由器几乎在同一 时间相互间传递建立、 撤消链接关系的信息及对其自身进行新的配置, 造成 CPU负载剧烈增加, 结果每个路由器都要花费很长的时间 (往往会 持续几分钟) 才能完成调整, 同时在调整的过程中网络数据的传输被迫 大量丢失甚至中断, 因此网絡数据的传输也造成极大的影响。 DETAILED DESCRIPTION OF THE INVENTION The core idea of the rerouting method of the present invention is: when a route change occurs when a network link or a router fails in a network switching path, by establishing a link between the adjacent downstream router of the failed router or the failed link and the source router Mode, fast ^ the switching path from the source router to the destination router, and the downstream router of the router that re-establishes the link remains unchanged Line adjustment. At the same time, the present invention further detects whether the repaired exchange path or the exchange path formed by the route change due to other reasons is the shortest path, and if not, adjusts it to the shortest path. In the prior art, when the local route changes, all the adjacent or non-adjacent routers located downstream of the changed routing part need to be adjusted accordingly to re-establish the path as the routing information is transmitted throughout the network. These adjust the routers to communicate with each other at the same time to establish and revoke the link relationship information and perform new configuration on itself, resulting in a drastic increase in CPU load. As a result, each router takes a long time (often it will last for several times). Minutes) can be adjusted, and the transmission of network data is forced to be lost or even interrupted during the adjustment process, so the transmission of network data also has a great impact.
该节点就更新自己的转发状态,删除与 U相关标签 L的转发状态同时 分配 L, 标签并建立转发状态, 同时向 U, 发送标签映射消息 <R,G,L, > 而向 U发送标签撤消消息(R,G,L )。 在 MPLS网絡中, 当局部路由发生变 化时, 随着路由信息在全网范围内的传递可能会同时引起很多 LSR的上 游 LSR发生变化。 上述上游 LSR变化时对 P2MP LSP的处理过程对所有上 游 LSR节点变化的 LSR都适用, 这种变化是全网范围内的变化而不仅仅 是集中在某一个 LSR上的变化。 由于每个 LSR对 P2MP LSP操作的依据 (路由信息)是唯一的, 所以经过一段时间后, 整个 P2MP LSP会收敛到 一颗新的最短路径树上。 具体过程如图 2 ( a )、 2 ( b )和 2 ( c ) 所示。  The node updates its forwarding state, deletes the forwarding state of the U-related label L, allocates L, labels and establishes the forwarding state, and sends a label mapping message <R, G, L, > to the U, and sends the label undo to the U. Message (R, G, L). In an MPLS network, when a local route changes, the routing information may be transmitted across the entire network, which may cause changes in the upstream LSR of many LSRs. The process of processing the P2MP LSP for the upstream LSR changes is applicable to all LSRs that change upstream LSR nodes. This change is a change in the whole network, not just a change in one LSR. Since the basis (routing information) of each LSR to P2MP LSP operation is unique, after a period of time, the entire P2MP LSP will converge to a new shortest path tree. The specific process is shown in Figures 2 (a), 2 (b) and 2 (c).
下面参照附图并结合具体实施例对本发明予以详细描述。 为便于描 述, 以下各实施例均以 MPLS网络点到多点标签交换为例进行说明。  The invention will be described in detail below with reference to the accompanying drawings in conjunction with specific embodiments. For ease of description, the following embodiments are described by taking an MPLS network point-to-multipoint label switching as an example.
实施例 1  Example 1
图 2 ( a )、 2 ( b )和 2 ( c )所示是根据本发明的具体实施例的重路由 原理示意图。  2(a), 2(b) and 2(c) are schematic diagrams showing the principle of rerouting according to a specific embodiment of the present invention.
如图 2 ( a ) 所示, 本实施例的网络结构与图 1 ( a )、 1 ( b )和 1 ( c ) 中所示一致, MPLS网络中包括 Rl、 R2、 R3、 R4、 R5以及 R6共 6个标签 交换路由器, 其中 R1用以发送数据为源标签交换路由器, R5与 R6均数据 发送的目的地是目的标签交换路由器, 不同标签交换路由器间连线的数 字表示二者间的度量值, 根据度量值总和最小的最短路径原则, 已经建 立起了 Rl ->R2->R4->R5以及 Rl ->R2->R4->R6两条组播标签交换路径。 效, 引起单播路由变化, 则检测到网络中有标签交换路由器或者失效链 路的标签交换路由器即判断失效标签交换路由器或者失效链路的是否在 其上游。本实施例中 R2或者 R2与 R4间链路失效后, 与其直接相连的标签 交换路由器均会检测到网络中有标签交换路由器失效或者检测到网絡中 有链路失效。 对于 R2失效的情况, 检测到失效的标签交换路由器包括与 其直接相连的 R1与 R4。二者即各自判断到 R2的下一跳出接口是否是其点 到多点标签交换路径对应转发状态的入接口, 在本实施例中 R4的判断结 果为是, 因此, R4是点到多点标签交换路径上 R2的下游相邻标签交换路 由器; 通过同样的判断方法, R1到 R2的下一跳出接口不是其点到多点 标签交换路径对应转发状态的入接口, 因此 R1不是 R2的下游相邻标签交 换路由器。 对于 R2与 R4间链路失效的情况, 检测到网络中有链路失效的 标签交换路由器为 R2与 R4 , 因此 R2与 R4均判断失效链路所在接口是否 是其维护的点到多点标签交换路径对应转发状态的入接口 , 本实施例中 R4的判断结果为是, R2的判断结果为不是, 因此失效链路在 R4的上游。 As shown in FIG. 2( a ), the network structure of this embodiment is consistent with that shown in FIGS. 1( a ), 1 ( b ) and 1 ( c ), and the MPLS network includes R1, R2, R3, R4, R5, and R6 has a total of 6 label switching routers, in which R1 is used to send data as a source label switching router, and R5 and R6 are both destined for destination label switching routers, and digital labeling between different label switching routers represents a measure between the two. Values, according to the principle of the shortest path with the smallest sum of metrics, two multicast label switching paths of Rl -> R2 -> R4 -> R5 and Rl -> R2 -> R4 -> R6 have been established. If the unicast route changes, the label switching router with the label switching router or the failed link in the network is detected to determine whether the failed label switching router or the failed link is upstream. In this embodiment, after the link between R2 or R2 and R4 fails, the label switching router directly connected to it detects the failure of the label switching router in the network or detects that there is a link failure in the network. In the case of R2 failure, the failed label switching router is detected to include R1 and R4 directly connected thereto. The two determine whether the next hop-out interface of R2 is the inbound interface of the point-to-multipoint label switching path corresponding to the forwarding state. In this embodiment, the result of R4 is yes. Therefore, R4 is a point-to-multipoint label. The downstream adjacent label switching router of R2 on the switching path. The next hopping interface of R1 to R2 is not the inbound interface of the point-to-multipoint label switching path corresponding to the forwarding state. Therefore, R1 is not the downstream neighbor of R2. Label switching router. For the link failure between R2 and R4, it is detected that the label switching routers with link failure in the network are R2 and R4. Therefore, both R2 and R4 determine whether the interface where the failed link is located is the point-to-multipoint label switching of its maintenance. The path corresponds to the inbound interface of the forwarding state. In this embodiment, the determination result of R4 is YES, and the judgment result of R2 is YES, so the failed link is upstream of R4.
同时, 在标签交换路由器或者链路失效造成引起路由信息变化后, 多协议标签交换网络中各标签交换路由器判断其标签交换路径的转发状 态的类型是否是组播, 判断结果为是的标签交换路由器的转发状态不随 单播路由变化而变化。  At the same time, after the label switching router or the link fails to cause the routing information to change, each label switching router in the multi-protocol label switching network determines whether the type of the forwarding state of the label switching path is multicast, and the result is a label switching router. The forwarding state does not change with unicast routing changes.
参照图 2 ( b ), 失效链路或者失效标签交换路由器的下游标签交换路 由器 R4对由于网络失效而部分断开的 P2MP LSP进行修复操作, R4沿到 源标签交换路由器 R1的单播最短路径发送标签映射, 本实施例中, R4 发送标签映射至 R3 , R3接收到下游标签交换路由器发送的标签映射消息 后查看自己是否建立有与 R4相关的组播转发状态,由于 R3没有建立与 R4 相关的组播转发状态, 因此 R3首先建立其与 R4相关的组播转发状态, 然 后继续发送标签映射消息至其上游标签交换录由器 Rl , R1同样建立相关 的组播转发状态但由于其是源标签交换路由器所以不再发送标签映射消 息, 重新建立起了从 R1到 R4的标签交换路径 R1->R3->R4。  Referring to FIG. 2(b), the downstream label switching router R4 of the failed link or the failed label switching router repairs the P2MP LSP partially disconnected due to network failure, and R4 sends along the unicast shortest path to the source label switching router R1. Label mapping. In this embodiment, the R4 sending label is mapped to R3. After receiving the label mapping message sent by the downstream label switching router, R3 checks whether it has established the multicast forwarding state related to R4. Since R3 does not establish R4 related. The multicast forwarding state, so R3 first establishes its multicast forwarding state related to R4, and then continues to send the label mapping message to its upstream label switching recorder R1. R1 also establishes the relevant multicast forwarding state but because it is the source label. The switching router does not send the label mapping message again, and re-establishes the label switching path R1->R3->R4 from R1 to R4.
参照图 2 ( c ), 完成 2 ( b )的操作后即重新建立起由源标签交换路由 器 Rl到 目 的标签交换路由器 R5与 R6的两条标签交换路径: R1->R3->R4->R5以及 R1->R3->R4->R6。 Referring to Figure 2 (c), after the completion of 2 (b) operation, the source label switching route is re-established. Two label switching paths from R1 to destination label switching routers R5 and R6: R1->R3->R4->R5 and R1->R3->R4->R6.
由以上过程可以看出, 本实施里中仅 R4向 R3发送标签映射、 R3向 R1发送标签映射并进行相应操作, 并不需要进行全局的变动, 其过程显 然比现有技术要筒单得多, 故修复的时间短收敛速度快。  It can be seen from the above process that in this implementation, only R4 sends a label mapping to R3, R3 sends a label mapping to R1, and performs corresponding operations, and does not need to perform global changes, and the process is obviously much more than the prior art. Therefore, the repair time is short and the convergence speed is fast.
实施例 2  Example 2
图 3 ( a ) 、 3 ( b ) 、 3 ( c )和 3 ( d )所示是根据本发明另一实施例 的重路由原理示意图。  3(a), 3(b), 3(c) and 3(d) are diagrams showing the principle of rerouting according to another embodiment of the present invention.
如图 3 )所示, 本实施例中的 MPLS网络结构与第一实施例基本相 同, 包括 Rl、 R2、 R3、 R4、 R5、 R6以及 R7共 7个标签交换路由器, 其 中 R1为源标签交换路由器, R6与 R7均为目的标签交换路由器, 并已经建 立起了 R1 - >R2->R4->R5->R6以及 Rl ->R2->R4->R5->R7两条组播标签交 换路径。  As shown in FIG. 3), the MPLS network structure in this embodiment is basically the same as that in the first embodiment, including R1, R2, R3, R4, R5, R6, and R7, and a total of seven label switching routers, where R1 is a source label switching. Routers, R6 and R7 are destination label switching routers, and have established R1 ->R2->R4->R5->R6 and Rl->R2->R4->R5->R7 two multicast label switching path.
当图 3 ) 中 R1与 R2之间的链路失效后, 根据与本发明前述第一实 施例中的方法, 失效链路的下游标签交换路由器 R2就对由于网络失效而 部分断开的 P2MP LSP进行修复操作, 以重新建立从源标签交换路由器 R1到 R2的标签交换链路。  After the link between R1 and R2 in FIG. 3) fails, according to the method in the foregoing first embodiment of the present invention, the downstream label switching router R2 of the failed link partially disconnects the P2MP LSP due to network failure. A repair operation is performed to re-establish the label switching link from the source label switching routers R1 to R2.
参照图 3 ( b ), 当标签交换路由器 R2完成修复操作后即重新建立起 由源标签交换路由器 R1到目的标签交换路由器 R6与 R7的两条标签交换 路径: R1->R3->R4->R5- >R6以及 R1->R3->R4->R5->R7。 然而才艮据度量 值总和最小的最短路径原则, 新建立起的 Rl- >R3->R4- >R5- >R6以及 R1->R3- >R4->R5- >R7这两条标签交换路径并不是最短路径,即如图 3( b ) 所示的 P2MP标签交换路径不是最优标签交换路径。 并且除上述网络节 点或链路的失效的状况外, 由于添加了新的链路而有更短的路径存在, 或者管理平面引起的路由变化时, 都可能会引起当前的标签交换路径不 再是最短路径的情况发生。  Referring to FIG. 3 (b), when the label switching router R2 completes the repair operation, the two label switching paths from the source label switching router R1 to the destination label switching routers R6 and R7 are re-established: R1->R3->R4-> R5->R6 and R1->R3->R4->R5->R7. However, according to the principle of the shortest path with the smallest sum of metrics, the newly established Rl->R3->R4->R5->R6 and R1->R3->R4->R5->R7 label switching paths It is not the shortest path, that is, the P2MP label switching path shown in Figure 3(b) is not the optimal label switching path. In addition to the failure condition of the above-mentioned network node or link, if a new link is added and a shorter path exists, or the route caused by the management plane changes, the current label switching path may no longer be caused. The shortest path occurs.
为此, 当发生路由状况变化后, 如果是除上述网络节点或链路的失 效的状况外的其他原因造成路由变化(例如由于添加了新的链路有更短 的路径存在或者是管理平面引起的路由变化) 时, 则首先多协议标签交 换网络中各标签交换路由器判断其标签交换路径的转发状态的类型是否 是组播, 判断结果为是的标签交换路由器的转发状态不随单播路由变化 而变化。 网络失效的情况由于已经进行过判断, 因此此处不再重复判断。 For this reason, after a routing condition change occurs, if there is a reason other than the failure condition of the above network node or link, the routing changes (for example, due to the addition of a new link, a shorter path exists or a management plane) When the route changes), the first multi-protocol label is handed over. Each label switching router in the network determines whether the forwarding state of the label switching path is multicast, and the forwarding state of the label switching router that is determined to be yes does not change with the unicast routing. Since the network failure has been judged, the judgment is not repeated here.
接着, 在源标签交换路由器 R1上为所述标签交换路径设置定时器, 定时器设定以一固定时间不停倒记时循环, 每当所述标签交换路径对应 的定时器时间耗尽时, R1即沿点到多点标签交换路径向下游发送路径检 测消息, 在路径检测消息中包括了路径状态, 所述路径状态以 1、 0的不 同值表示路径检测中现有标签交换路径是否是最短路径, 同时在所有标 签交换路由器中组播转发状态中增设路径修改标志位,该标志位用于标 识组播转发状态所在的标签交换路由器是否收到过点到多点标签交换路 径中下游标签交换路由器发送来的路径修改消息并以其 1、 0的不同值表 示其是否收到过路径修改消息, R3、 R4、 R5、 R6和 R7收到路径检测消 息时会分别做逆向路径检查等相关操作, 其具体过程如下:  Then, a timer is set for the label switching path on the source label switching router R1, and the timer is set to cycle when the timer is switched over for a fixed period of time. Whenever the timer corresponding to the label switching path is exhausted, R1 sends a path detection message downstream along the point-to-multipoint label switching path. The path detection message includes a path status, where the path status indicates whether the existing label switching path in the path detection is the shortest with different values of 1, 0. Path, and add a path modification flag in the multicast forwarding state of all label switching routers. The flag is used to identify whether the label switching router where the multicast forwarding status is located has received the label switching in the point-to-multipoint label switching path. The path modification message sent by the router indicates whether it has received the path modification message with its different values of 1, 0, and R3, R4, R5, R6, and R7 respectively perform reverse path check and other related operations when receiving the path detection message. The specific process is as follows:
( 1 ) 当源标签交换路由器 R1定时器的时间耗尽后, 即沿标签交换 路径发送路径状态为 0的路径检测消息;  (1) After the time of the R1 timer of the source label switching router is exhausted, the path detection message with the path status 0 is sent along the label switching path;
( 2 ) R3 收到路径检测消息后进行逆向路径检查, 检测结果为 R3 到 R1 的标签交换路径符合最短路径原则是最短路径, 因此保持路径检 测信息的路径状态为 0不变, 同时由于还未收到路径修改消息, 所以 R3 的路径修改标志位的值置为 0, 并继续沿标签交换路径转发路径检测消 息;  (2) R3 receives the path detection message and performs the reverse path check. The detection result is that the label switching path of R3 to R1 conforms to the shortest path principle and is the shortest path. Therefore, the path state of the path detection information is kept unchanged, and since Receiving the path modification message, so the value of the path modification flag bit of R3 is set to 0, and the path detection message is continued to be forwarded along the label switching path;
( 3 ) R4收到 R3转发的路径检测消息后同样进行逆向路径检查, 检测发现 R4到 R1的标签交换路径是最短路径, 因此保持路径检测信息 的路径状态为 0不变, 同时由于还未收到路径修改消息, 所以 R4的路 径修改标志位的值置为 0, 并继续沿标签交换路径转发路径检测消息; ( 4 ) R5收到 R4转发的路径检测消息后进行逆向路径检查, 检查 发现当前的 R5到 R1的标签交换路径不是最短路径, 因此将路径检测信 息的路径状态的值置为 1 , 由于还未收到路径 改消息, 所以 R5的路径 修改标志位的值置为 0, 并继续沿标签交换路径转发路径检测消息; (3) After receiving the path detection message forwarded by R3, R4 also performs the reverse path check. It is found that the label switching path of R4 to R1 is the shortest path, so the path state of the path detection information is kept unchanged, and To the path modification message, the value of the path modification flag bit of R4 is set to 0, and the path detection message is further forwarded along the label switching path. (4) After receiving the path detection message forwarded by R4, R5 performs reverse path check, and checks to find the current The label switching path of R5 to R1 is not the shortest path, so the value of the path state of the path detection information is set to 1, and since the path change message has not been received, the value of the path modification flag of R5 is set to 0, and continues. Forwarding the path detection message along the label switching path;
( 5 ) R6收到 R5转发的路径检测消息后检测到其中的路径状态的 值已经为 1, 表明其对应的标签交换路径肯定不是最短路径, 因此 R6不 再做逆向路径检查, 由于还未收到路径修改消息, 所以 R6 的路径修改 标志位的值置为 0; 同样的, R7收到 R5转发的路径检测消息后检测到 其路径状态的值已经为 1 , 表明其对应的标签交换路径肯定不是最短路 径, 所以同样也不再做逆向路径检查, 由于还未收到路径修改消息, 所 以将 R7的路径 4爹改标志位的值置为 0。 (5) R6 detects the path status of the path after receiving the path detection message forwarded by R5. The value is already 1, indicating that the corresponding label switching path is definitely not the shortest path. Therefore, R6 no longer performs the reverse path check. Since the path modification message has not been received, the value of the path modification flag of R6 is set to 0. After receiving the path detection message forwarded by R5, R7 detects that the path status of the path is 1, indicating that the corresponding label switching path is definitely not the shortest path, so the reverse path check is no longer performed, because the path has not been received yet. The message is modified, so the value of the path 4 tamper flag of R7 is set to zero.
参照图 3 ( c ), 由于 R6与 R7收到的路径检测消息中的路径状态均为 1 , 表明 R6与 R7现有的到源标签交换路由器的标签交换路径都不是单播 最短路径,因此 R6和 R7均沿着到 R1的单播最短路径向上游标签交换路由 器发送路径修改消息来修正当前图 3 ( b )所示的标签交换路径, 所述路 径修改消息包括路径修改状态并以路径修改状态的 0、 1值来表示路径修 改是否成功, 进行逆向路径检查和修正标签交换路径的相关操作, 以使 最短路径成为标签交换路径 , 下面假设每个标签交换路由器路径修改均 成功, 则其过程如下:  Referring to FIG. 3 (c), since the path status in the path detection message received by R6 and R7 is 1, it indicates that the existing label switching path of the R6 and R7 to the source label switching router is not the unicast shortest path, so R6 And R7 both correct the current label switching path shown in FIG. 3(b) along the unicast shortest-radius radial upstream label switching router to R1, the path modification message including the path modification status and the path modification status. The 0, 1 value indicates whether the path modification is successful, performs the reverse path check and corrects the label switching path related operations, so that the shortest path becomes the label switching path. The following assumes that each label switching router path modification is successful, the process is as follows :
( 1 ) R7对组播转发状态的入接口 (链路 R5->R7在 R7上的接口) 进行逆向路径检查, 检测到 R7组播转发状态的入接口是 R7到 R1单播 最短路径的下一跳出接口, 目的标签交换路由器 R7向 R5发送路径修改 消息, 其中路径修改状态的值为 0, 同时将 R7组播转发状态的路径修改 标志位置为 1 , 表示 R7已经收到路径修改消息; 目的标签交换路由器 R6同样对组播转发状态的入接口进行逆向路径检查, 检测到 R6组播转 发状态的入接口是 R6到 R1单播最短路径的下一跳出接口, 向 R5发送 路径修改消息, 路径修改消息中路径修改状态的值为 0, 同时, R6上组 播转发状态的路径修改标志位置为 1。  (1) R7 performs reverse path check on the inbound interface of the multicast forwarding state (link R5->R7 on R7), and detects that the inbound interface of the R7 multicast forwarding state is the shortest path from R7 to R1 unicast. On the outbound interface, the destination label switching router R7 sends a path modification message to the R5, where the value of the path modification state is 0, and the path modification flag of the R7 multicast forwarding state is set to 1, indicating that the R7 has received the path modification message; The label switching router R6 also performs a reverse path check on the inbound interface of the multicast forwarding state. The inbound interface that detects the R6 multicast forwarding state is the next hop outbound interface of the R6 to R1 unicast shortest path, and sends a path modification message to the R5. The value of the path modification status in the modified message is 0. At the same time, the path modification flag of the multicast forwarding state on R6 is 1.
( 2 )此时不妨 设 R5先收到 R6发来的路径 改消息, R5进行逆 向路径检查, 检测到 R5组播转发状态的入接口不是 R5到 R1单播最短 路径的下一跳出接口, 因此给 R5分配新的标签, 并继续向 R3发送标签 映射消息, 然后修改其組播转发状态入接口信息, 同时将 R5的组播转 发状态中的路径修改标志位的值置为 1 ,最后,向 R3发送路径修改消息, 其中路径修改状态的值为 0。 ( 3 )接着, 当 R5收到 R7发来的路径修改消息后, 由于 R5对应的 组播转发状态中路径修改标志位的值已经为 1 , 表明其已经收到过路径 修改消息, 所以 R5不再做任何动作。 (2) At this time, R5 may first receive the path change message sent by R6, and R5 performs the reverse path check. The inbound interface of the R5 multicast forwarding state is not the next hop outbound interface of the R5 to R1 unicast shortest path. Assign a new label to R5, and continue to send a label mapping message to R3, and then modify the multicast forwarding status inbound interface information, and set the value of the path modification flag in the multicast forwarding state of R5 to 1, and finally, R3 sends a path modification message, where the value of the path modification status is 0. (3) Next, when R5 receives the path modification message sent by R7, the value of the path modification flag in the multicast forwarding state corresponding to R5 is already 1, indicating that it has received the path modification message, so R5 does not Do any more.
( 4 ) 当 R3收到 R5发来的路径修改消息后, 根据逆向路径检查的 结果, R3组播转发状态的入接口是 R3到 R1单播最短路径的下一跳出 接口, R3向 R1发送路径修改消息, 其中路径修改状态的值为 0, 同时 将 R3组播转发状态的路径修改标志位的值置为 1。  (4) After R3 receives the path modification message sent by R5, according to the result of the reverse path check, the inbound interface of the R3 multicast forwarding state is the next hop outbound interface of the R3 to R1 unicast shortest path, and R3 sends the path to R1. The message is modified, where the value of the path modification state is 0, and the value of the path modification flag bit of the R3 multicast forwarding state is set to 1.
( 5 ) 最后 , 当 R1收到 R3发来的路径消息后就查看路径修改状态 的值, 本实施例中该值为 0, 表示路径调整成功。 如果上述步骤中有标 签交换路由器路径修改失败, 则修改失败的标签交换路由器将路径修改 状态的值置为 1后向源标签交换路由器 R1发送路径修改消息, 然后等 待 R1对应的定时器时间再次耗尽后再重新进行新一轮的标签路径修改。  (5) Finally, when R1 receives the path message sent by R3, it checks the value of the path modification state. In this embodiment, the value is 0, indicating that the path adjustment is successful. If the path of the label switching router fails to be modified in the above steps, the label switching router that fails the modification sets the value of the path modification state to 1, and then sends a path modification message to the source label switching router R1, and then waits for the timer time corresponding to R1 to be consumed again. After that, re-do a new round of label path modification.
参照图 3 ( d ), 完成上述路径修改操作后, 从源标签交换路由器 R1 到目 的标签交换路由器 R6与 R7除原先的 R1->R3->R4->R5->R6和 R1->R3->R4->R5->R7两条标签交换路径外, 新建立了 R1->R3->R5->R6 和 R 1 ->R3 ->R5 ->R7两条标签交换路径 ,前两条标签交换路径不是最短路 径, 而新建立的两条标签交换路径是最短路径。 同时, 由于在 MPLS技 术中, 标签交换路径中各标签交换路由器的组播转发状态的接口和标签 信息必须下发到硬件的入标签映射( ILM, Incoming Label Map )表项中, 建立对应 ILM硬件表项才能真正进行数据的传输, 本实施例与当前技术 的做法的另一不同之处是对新建立的标签交换路径暂不进行因下发, 直 到有数据传输时才进行判断以进行硬件下发的操作。  Referring to FIG. 3 (d), after the path modification operation is completed, the source label switching router R1 to the destination label switching routers R6 and R7 are divided by the original R1->R3->R4->R5->R6 and R1->R3- >R4->R5->R7 two label switching paths, newly established R1->R3->R5->R6 and R 1 ->R3 ->R5 ->R7 two label switching paths, the first two labels The switched path is not the shortest path, and the newly established two label switched paths are the shortest paths. At the same time, in the MPLS technology, the interface and label information of the multicast forwarding state of each label switching router in the label switching path must be sent to the Incoming Label Map (ILM) entry of the hardware to establish the corresponding ILM hardware. The table item can be used for the actual data transmission. Another difference between this embodiment and the current technology is that the newly established label switching path is not issued due to the data transmission until the data transmission is performed. The operation of the hair.
参照图 4 ( a ) 和 4 ( b ) , 撤消前述 R1->R3->R4->R5->R6和 R1->R3->R4->R5->R7 两 条非 最短标签 交换路径 , 以 及对 R1->R3- >R5->R6和 R1->R3->R5->R7进行硬件下发以使这两条新建立的 标签交换路径得以真正进行数据的传输。  Referring to Figures 4(a) and 4(b), the two non-shortest label switching paths of R1->R3->R4->R5->R6 and R1->R3->R4->R5->R7 are revoked, and The hardware is issued for R1->R3->R5->R6 and R1->R3->R5->R7 to enable the two newly established label switching paths to actually transmit data.
如图 4 ( a )所示, R1->R3->R4->R5->R7这两条非最短路径, 图 4 ( a ) 进行了如下操作: ( 1 ) 由于 R3在之前已进行了硬件下发, 数据到达 R3后分别通过 R4与 R5两条链路向下传输, 当组播数据报文通过 R3->R5链路到达 R5 时, R5需要通过组播数据报文携带的标签来查硬件 ILM表项以决定组 播数据报文的转发操作, 由于 R5还未进行硬件下发, 所以无法查找到 硬件 ILM表项, 因此, 组播数据报文被作为未知组播数据。 As shown in Fig. 4 (a), R1 -> R3 -> R4 -> R5 -> R7 are two non-shortest paths, and Figure 4 (a) performs the following operations: (1) Since R3 has been sent by hardware before, the data arrives at R3 and then transmits downward through R4 and R5. When the multicast data packet reaches R5 through R3->R5 link, R5 needs The hardware ILM entry is used to check the forwarding of the multicast data packet. The R5 cannot be found in the hardware. Therefore, the multicast datagram cannot be found. The text is used as unknown multicast data.
( 2 ) R5收到未知组播数据报文后检测其对应的组播转发状态, 由于 R5检测到其组播转发状态中有对应于 R3与 R4的两个入接口, 因此, 其对两个入接口分别进行逆向路径检查, 以确定各标签交换路径是否是 最短路径。本实施例中 R4->R5标签交换路径在 R5上的接口逆向路径被 检查为不是最短路径,所以 R5向 R4发送标签撤消消息并同时删除组播 转发状态中的该入接口信息, 删除对应的硬件 ELM表项, 然后 R4继续 向 R3发送标签撤消消息, R3收到标签撤消消息后进行与 R4同样的操 作, 以最终删除该路径; 同时, R3->R5标签交换路径经过在 R5上的接 口逆向路径检查证明是最短路径, R5将组播转发状态中该接口和标签信 息下发到硬件 ILM表项中, 以便进行后续的数据传输。  (2) After receiving the unknown multicast data packet, R5 detects the corresponding multicast forwarding state. Since R5 detects that the multicast forwarding state has two inbound interfaces corresponding to R3 and R4, the two pairs are The inbound interface performs a reverse path check to determine whether each label switching path is the shortest path. In this embodiment, the interface reverse path of the R4->R5 label switching path on R5 is checked to be not the shortest path, so R5 sends a label revocation message to R4 and deletes the inbound interface information in the multicast forwarding state, and deletes the corresponding information. The hardware ELM entry, and then R4 continues to send the label revocation message to R3. After receiving the label revocation message, R3 performs the same operation as R4 to finally delete the path. Meanwhile, the R3->R5 label switching path passes through the interface on R5. The reverse path check proves to be the shortest path. R5 sends the interface and label information in the multicast forwarding state to the hardware ILM entry for subsequent data transmission.
参照图 4 ( b ), 完成图 4 )中的操作后, 从 R1到 R6和 R7的 P2MP标 签交换路径仅存在两条标签交换路径: R1->R3->R5->R6和 R1->R3->R5->R7, 这两条路径是最短路径。  Referring to FIG. 4(b), after completing the operation in FIG. 4), there are only two label switching paths in the P2MP label switching path from R1 to R6 and R7: R1->R3->R5->R6 and R1->R3 ->R5->R7, these two paths are the shortest path.
由以上过程可以看出,与现有技术相比本实施例前述的修改过程中, 整个路径修改过程是沿着向 R1的单播最短路径 R6 (或 R7 ) ->R5->R3->Rl 逐跳调整, 这样不会导致 R6、 R5、 R3和 R1的负载同时升高; 其次, 调 整过程只是在单播最短路径上逆向路径检查失败的标签交换路由器 R5 上进行而不是在 P2MP标签交换路径上所有逆向路径检查失败的标签交 换路由器上进行, 这样会减少由于路径调整带来的网络负载; 最后, 由 于非最短标签交换路径在最短标签交换路径建立前仍然保留使用, 因此 整个调整过程中组播数据流几乎不会中断。  As can be seen from the above process, in the foregoing modification process of the embodiment, the entire path modification process is along the unicast shortest path R6 (or R7) to R1 -> R5-> R3 -> Rl Adjusting hop by hop, this will not cause the load of R6, R5, R3 and R1 to increase at the same time. Secondly, the adjustment process is only performed on the label switching router R5 where the reverse path check fails on the unicast shortest path instead of the P2MP label switched path. All the reverse path check fails on the label switching router, which reduces the network load caused by the path adjustment. Finally, since the non-shorter label switching path remains used until the shortest label switching path is established, the entire tuning process group The broadcast stream is almost never interrupted.
在前述实施例 1以及实施例 2建立的标签交换路径的建立过程中, 可 能会存在下面情况: 某个标签交换路由器收到标签映射消息并修改对应 的组播转发状态后, 其组播转发状态可能会存在某个接口既是入接口又 是出接口的错误情况。对于这种情况,本发明的解决办法与实施例 2中删 除非最短标签交换路径的方法相同: 在收到标签映射消息后, 如果标签 交换路由器检测到自己的某个组播转发状态中的入接口是收到标签映射 消息的接口, 就把该接口和标签信息加到组播转发状态的出接口列表中 但暂时不把所述接口下发到对应硬件表项的出接口列表中, 此后当标签 交换路由器收到未知组播数据时, 根据逆向路径检查的结果删除组播转 发状态中逆向路径检查失败的入接口, 同时检查删除的入接口是否在组 播转发状态的出接口列表中, 如果在就立即把所述接口下发到对应硬件 表项的出接口列表中。 In the process of establishing the label switching path established in the foregoing Embodiment 1 and Embodiment 2, the following may exist: After a label switching router receives the label mapping message and modifies the corresponding multicast forwarding state, the multicast forwarding state is There may be an interface that is both an inbound interface and Is the error condition of the outgoing interface. For this case, the solution of the present invention is the same as the method of deleting the non-shortest label switching path in Embodiment 2: After receiving the label mapping message, if the label switching router detects the entry in one of its own multicast forwarding states An interface is an interface that receives a label mapping message, and adds the interface and label information to the outbound interface list of the multicast forwarding state, but does not send the interface to the outbound interface list of the corresponding hardware entry. When receiving the unknown multicast data, the label switching router deletes the inbound interface that fails the reverse path check in the multicast forwarding state according to the result of the reverse path check, and checks whether the deleted inbound interface is in the outbound interface list of the multicast forwarding state. The interface is immediately sent to the outbound interface list of the corresponding hardware entry.
但本发明并仅限于此,  However, the invention is not limited to this,
上述实施例是用于说明和解释本发明的原理的。 可以理解, 本发明 的具体实施方式不限于此。 对于本领域技术人员而言, 在不脱离本发明 的实质和范围的前提下进行的各种变更和修改均涵盖在本发明的保护范 围之内。  The above embodiments are intended to illustrate and explain the principles of the invention. It is to be understood that the specific embodiments of the present invention are not limited thereto. Various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种重路由方法, 其特征在于, 包括:  A rerouting method, comprising:
网络交换路径出现失效链路或失效路由器, 由与失效链路或失效路 由器相邻的下游路由器重新建立到源节点的路径。  The network switching path has a failed link or a failed router, and the path to the source node is re-established by the downstream router adjacent to the failed link or the failed router.
2、 如权利要求 1所述的重路由方法, 其特征在于, 所述方法应用于 标签交换路径系统中, 所述交换是标签交换, 所述路由器是标签交换路 由器。 所述源节点是标签交换路由器。  2. The rerouting method according to claim 1, wherein the method is applied to a label switched path system, the switching is label switching, and the router is a label switching router. The source node is a label switching router.
3、如权利要求 1所述的重路由方法, 其特征在于, 所述标签交换是 多协议标签交换。  The rerouting method according to claim 1, wherein the label switching is a multi-protocol label switching.
4、 如权利要求 2所述的重路由方法, 其特征在于, 通过下列步骤建 立所述标签交换路径:  4. The rerouting method according to claim 2, wherein the label switching path is established by the following steps:
标签交换路径中, 与失效链路或失效标签交换路由器相邻的标签交 换路由器判断失效链路或失效标签交换路由器是否在其上游;  In the label switching path, the label switching router adjacent to the failed link or the failed label switching router determines whether the failed link or the failed label switching router is upstream;
若是, 则所述标签交换路由器重新建立由其到源节点方向的标签交 换路径。  If so, the label switching router re-establishes the label switching path from its direction to the source node.
5、 如权利要求 4所述的重路由方法, 其特征在于, 进一步包括以下 步骤:  5. The rerouting method according to claim 4, further comprising the steps of:
判断其标签交换路径的转发状态的类型是否是组播, 若转发状态的 类型为组播, 则其转发状态不随单播路由变化而变化。  It is determined whether the type of the forwarding state of the label switching path is multicast. If the type of the forwarding state is multicast, the forwarding state does not change with the unicast routing.
6、如权利要求 4所述的重路由方法, 其特征在于, 通过下列步驟判 断失效链路是否在其上游  The rerouting method according to claim 4, wherein the failure of the failed link is determined by the following steps
所述标签交换路由器检测到链路失效后, 判断失效链路所在接口是 否是其标签交换路径对应转发状态的入接口;  After detecting the link failure, the label switching router determines whether the interface where the failed link is located is an inbound interface corresponding to the forwarding state of the label switching path;
若是, 则失效链路在所述标签交换路由器的上游。  If so, the failed link is upstream of the label switching router.
7、 如权利要求 4所述的重路由方法, 其特征在于, 通过下列步骤判 断其标签交换路径上失效标签交换路由器是否在其上游:  7. The rerouting method according to claim 4, wherein the failure of the failed label switching router on the label switching path is determined by the following steps:
所述标签交换路由器检测到标签交换路由器失效后, 判断到所述失 效标签交换路由器的下一跳出接口是否是其标签交换路径对应转发状态 的入接口; 若是, 则失效标签交换路由器在其上游。 After detecting that the label switching router is invalid, the label switching router determines whether the next hopping out interface of the failed label switching router is an inbound interface of the label switching path corresponding to the forwarding state; If so, the expired label switching router is upstream.
8、 如权利要求 4所述的重路由方法, 其特征在于, 通过下列步骤实 现所述重新建立到源节点的标签交换路径  8. The rerouting method according to claim 4, wherein the re-establishing a label switching path to the source node is implemented by the following steps
所述标签交换路由器沿着到源节点的单播最短路径向其上游发送标 签映射消息进行标签映射;  The label switching router sends a label mapping message upstream of the unicast shortest path to the source node for label mapping;
收到标签映射消息的标签交换路由器继续向上游发送标签映射消息 进行标签映射, 直到重新形成到源节点的标签交换路径。  The label switching router that receives the label mapping message continues to send the label mapping message upstream for label mapping until the label switching path to the source node is re-formed.
9、 一种重路由方法, 其特征在于, 包括:  9. A rerouting method, comprising:
源节点发送路径检测信息判断源节点到目的节点的路径是否是最短 路径;  The source node sends the path detection information to determine whether the path from the source node to the destination node is the shortest path;
若不是最短路径,则目的节点发送路径修改信息重新建立最短路径。 If it is not the shortest path, the destination node sends the path modification information to re-establish the shortest path.
10、 如权利要求 9所述的重路由方法, 其特征在于, 该方法应用于 标签交换路径系统中, 所述交换是标签交换, 所述路由器是标签交换路 由器, 所述源节点是标签交换路由器。 10. The rerouting method according to claim 9, wherein the method is applied to a label switching path system, the switching is label switching, the router is a label switching router, and the source node is a label switching router. .
11、如权利要求 10所述的重路由方法, 其特征在于, 所述标签交换 是多协议标签交换。  The rerouting method according to claim 10, wherein the label switching is a multi-protocol label switching.
12、 如权利要求 10所述的重路由方法, 其特征在于, 通过下列步骤 建立标签交换最短路径:  12. The rerouting method according to claim 10, wherein the label switching shortest path is established by the following steps:
单播路由状况发生变化的标签交换路径中, 从源节点沿标签交换路 径向下游发送路径检测消息检测现有的标签交换路径是否是最短路径, 若是最短路径, 则结束步骤;  In the label switching path in which the unicast routing status changes, the source node sends a path detection message along the label downstream of the label switching path to detect whether the existing label switching path is the shortest path, and if it is the shortest path, the end step;
否则, 沿着从目的节点到源节点的单播最短路径向其上游发出路径 修改消息, 将从目的节点至源节点的标签交换路径调整为最短路径。  Otherwise, a path modification message is issued upstream along the unicast shortest path from the destination node to the source node, and the label switched path from the destination node to the source node is adjusted to the shortest path.
13、 如权利要求 12所述的重路由方法, 其特征在于, 进一步包括以 下步驟:  The rerouting method according to claim 12, further comprising the following steps:
判断其标签交换路径的转发状态的类型是否是组播, 若转发状态的 类型为组播, 则其转发状态不随单播路由变化而变化。  It is determined whether the type of the forwarding state of the label switching path is multicast. If the type of the forwarding state is multicast, the forwarding state does not change with the unicast routing.
14、 如权利要求 12所述的重路由方法, 其特征在于, 通过下列步骤 检测现有的标签交换路径是否是最短路径: 在源节点设置定时器, 所述定时器到预定时间后, 沿标签交换路径 向下游发送设有标志位的路径检测消息; 14. The rerouting method according to claim 12, wherein the existing label switching path is detected as the shortest path by the following steps: Setting a timer at the source node, and after the timer reaches a predetermined time, sending a path detection message with a flag bit downstream along the label switching path;
收到路径检测消息的标签交换路由器判断到源节点的最短路径的下 一跳出接口是不是该组播转发状态中的入接口, 若是, 则直接向下游转 发路径检测消息; 否则改变所述路径检测消息的标志位后向下游转发路 径检测消息。  The label switching router that receives the path detection message determines whether the next hopping interface of the shortest path of the source node is the inbound interface in the multicast forwarding state, and if so, directly forwards the path detection message to the downstream; otherwise, the path detection is changed. The flag of the message is forwarded to the downstream to forward the path detection message.
.  .
15、 如权利要求 12所述的重路由方法, 其特征在于, 所述调整从目 的节点至源节点的标签交换路径为最短路径通过下列步骤实现: The rerouting method according to claim 12, wherein the adjusting the label switching path from the destination node to the source node to the shortest path is implemented by the following steps:
沿着从目的节点到源节点的单播最短路径向其上游发送路径修改消 息, 发送路径修改消息的目的节点及收到路径修改消息的标签交换路由 器判断各自到源节点的最短路径的下一跳出接口是否是其组播转发状态 的入接口;  The path modification message is sent upstream along the unicast shortest path from the destination node to the source node, and the destination node that sends the path modification message and the label switching router that receives the path modification message determine the next bounce of each of the shortest paths to the source node. Whether the interface is the inbound interface of its multicast forwarding state;
若是, 则继续向上游标签交换路由器发送路径修改消息, 否则将其 单播最短路径的下一跳出接口增设为其组播转发状态的入接口, 并向上 游发送标签映射消息, 以及路径修改消息。  If yes, the device sends a path modification message to the upstream label switching router. Otherwise, the next hop interface of the unicast shortest path is added to the inbound interface of the multicast forwarding state, and the label mapping message and the path modification message are sent to the upstream.
16、 如权利要求 12所述的重路由方法, 其特征在于, 调整从目的节 点至源节点的标签交换路径为最短路径之后,  The rerouting method according to claim 12, wherein after the label switching path from the destination node to the source node is adjusted to be the shortest path,
收到未知组播数据的标签交换路由器判断其组播转发是否仅有一个 入接口, 若是则进行硬件下发, 否则只对最短标签交换路径上的入接口 转发状态进行硬件下发, 撤消其余入接口到上游的标签交换路径并删除 对应的硬件表项。  The label switching router that receives the unknown multicast data determines whether the multicast forwarding has only one inbound interface. If yes, the hardware is delivered. Otherwise, only the inbound interface forwarding state on the shortest label switching path is sent by the hardware. The interface goes to the upstream label switching path and deletes the corresponding hardware entry.
PCT/CN2006/002756 2006-01-20 2006-10-18 A rerouting method WO2007082432A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610033235.6A CN101005442B (en) 2006-01-20 2006-01-20 Re-routing method
CN200610033235.6 2006-01-20

Publications (1)

Publication Number Publication Date
WO2007082432A1 true WO2007082432A1 (en) 2007-07-26

Family

ID=38287244

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/002756 WO2007082432A1 (en) 2006-01-20 2006-10-18 A rerouting method

Country Status (2)

Country Link
CN (1) CN101005442B (en)
WO (1) WO2007082432A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016502336A (en) * 2012-11-22 2016-01-21 華為技術有限公司Huawei Technologies Co.,Ltd. Method and apparatus for automatic label assignment in ring network protection
CN110324241A (en) * 2018-03-30 2019-10-11 北京华为数字技术有限公司 A kind of method of adjustment, message forwarding method and the device of flow forward-path

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247252A (en) * 2008-03-10 2008-08-20 华为技术有限公司 Method, device and system for multicast fast heavy-route
US8040906B2 (en) * 2009-06-23 2011-10-18 Nortel Networks Limited Utilizing betweenness to determine forwarding state in a routed network
CN102158388B (en) * 2010-02-12 2014-12-24 国际商业机器公司 Extremum route determination engine and method
CN102142982A (en) * 2010-11-23 2011-08-03 华为数字技术有限公司 Forwarding plane fault repair method and device
US8638659B2 (en) * 2012-06-01 2014-01-28 Telefonaktiebolaget L M Ericsson (Publ) Enhancements to PIM fast re-route with downstream notification packets
CN104320348B (en) * 2014-10-30 2017-12-08 新华三技术有限公司 The routing resource and device of a kind of multicast distribution tree
WO2016165061A1 (en) * 2015-04-14 2016-10-20 华为技术有限公司 Service protecting method and device
US9860110B2 (en) * 2015-09-30 2018-01-02 Juniper Networks, Inc. Multicast only fast re-route over remote loop-free alternate backup path
CN109428813B (en) * 2017-08-28 2021-07-13 中国电信股份有限公司 Rerouting method, rerouting device and storage medium
CN112118180A (en) * 2018-12-29 2020-12-22 华为技术有限公司 Method, device and system for planning path
CN109787869B (en) * 2019-03-29 2020-11-06 新华三技术有限公司 Path fault detection method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020060985A1 (en) * 2000-11-22 2002-05-23 Lee Jae Yong Method for high speed rerouting in multi protocol label switching network
CN1416243A (en) * 2002-12-30 2003-05-07 清华大学 Adjustable heuristic routing method of quality of service based on width first search
US20030169470A1 (en) * 2000-11-07 2003-09-11 Oni Systems Corp. Method and system for bi-directional path switched network
US6633544B1 (en) * 1998-06-24 2003-10-14 At&T Corp. Efficient precomputation of quality-of-service routes
CN1694431A (en) * 2005-03-04 2005-11-09 中国人民解放军理工大学 Method for setting two-way virtual circuit in radio network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1331363C (en) * 2002-11-27 2007-08-08 华为技术有限公司 Rerouting method based on network entrance node
IL158656A (en) * 2003-10-29 2009-02-11 Eci Telecom Ltd Rerouting mpls traffic in ring networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633544B1 (en) * 1998-06-24 2003-10-14 At&T Corp. Efficient precomputation of quality-of-service routes
US20030169470A1 (en) * 2000-11-07 2003-09-11 Oni Systems Corp. Method and system for bi-directional path switched network
US20020060985A1 (en) * 2000-11-22 2002-05-23 Lee Jae Yong Method for high speed rerouting in multi protocol label switching network
CN1416243A (en) * 2002-12-30 2003-05-07 清华大学 Adjustable heuristic routing method of quality of service based on width first search
CN1694431A (en) * 2005-03-04 2005-11-09 中国人民解放军理工大学 Method for setting two-way virtual circuit in radio network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016502336A (en) * 2012-11-22 2016-01-21 華為技術有限公司Huawei Technologies Co.,Ltd. Method and apparatus for automatic label assignment in ring network protection
US9391883B2 (en) 2012-11-22 2016-07-12 Huawei Technologies Co., Ltd. Method and device for label automatic allocation in ring network protection
CN110324241A (en) * 2018-03-30 2019-10-11 北京华为数字技术有限公司 A kind of method of adjustment, message forwarding method and the device of flow forward-path

Also Published As

Publication number Publication date
CN101005442B (en) 2012-01-11
CN101005442A (en) 2007-07-25

Similar Documents

Publication Publication Date Title
WO2007082432A1 (en) A rerouting method
US9680734B1 (en) Ingress protection for multipoint label switched paths
EP2663040B1 (en) Fast reroute using loop free alternate next hops for multipoint label switched paths
US7539131B2 (en) Nexthop fast rerouter for IP and MPLS
US7668116B2 (en) Root node shutdown messaging for multipoint-to-multipoint transport tree
US7848224B2 (en) Method and apparatus for constructing a repair path for multicast data
US8218429B2 (en) Method and device for multicast traffic redundancy protection
US9043487B2 (en) Dynamically configuring and verifying routing information of broadcast networks using link state protocols in a computer network
EP1994666B1 (en) A method and apparatus for distributing labels in a label distribution protocol multicast network
WO2009018728A1 (en) Ip ring network, ip ring network routing device and message forwarding method
WO2008148296A1 (en) A fault detection method, communication system and label switching router
WO2010111956A1 (en) Method and system for multicast-forwarding-path convergence
WO2011035699A1 (en) Method, router and communication system for rapid multicast convergence
WO2008083590A1 (en) Method and apparatus of rapid convergence of point-to-point service
WO2012171378A1 (en) Method and router for preventing flow interruption caused by failover from vpls to l3
WO2009056023A1 (en) The method, multicast network and router for establishing the pim neighbor and joining the multicast
WO2013040930A1 (en) Intermediate node protection method and device for multicast label switched path
CN101163103A (en) Method of implementing fast rerouting
CN108989211B (en) Method and router for network management
EP1201061B1 (en) System and method for loop avoidance in multi-protocol label switching
WO2009074057A1 (en) A head node protection method, a system and a device for the point-to-multipoint label switch path
WO2013135046A1 (en) Method and device for establishing multicast path
US8149852B2 (en) Transmission method, system and router based on a border gateway protocol
Pointurier Link failure recovery for mpls networks with multicasting
Cain Fast link state flooding

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06804974

Country of ref document: EP

Kind code of ref document: A1