Avoiding loops after earlier further fast reroute (FRR) by preventing FRR
By identifying and processing unreachable next hops in the communication network, using backup next hops and forwarding labels to avoid FRR loops, solve the problem of link congestion and packet loss caused by FRR again after FRR, and improve network stability.
Patent Information
- Application Number
- CN202411198374.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2020-01-31
- Filing Date
- 2020-04-21
- Publication Date
- 2024-10-29
AI Technical Summary
In communication networks, fast rerouting (FRR) followed by FRR may cause loop problems, leading to link congestion and packet loss.
By receiving a data packet in the data forwarding device, it determines whether its next hop is reachable. If it is unreachable, it determines the backup next hop and related forwarding label, and adds it to the packet to generate an updated packet to avoid further errors. FRR cycle.
It effectively prevents loop problems caused by further FRR, reduces link congestion and packet loss, and improves network stability and reliability.
Smart Images

Figure CN118869587A_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese invention patent application with application number 202010318733.5, application date April 21, 2020, and invention name “Avoiding loops by preventing FRR after an earlier further fast reroute (FRR)”.
[0002] Related Applications
[0003] This application claims the benefit of U.S. Provisional Application No. 62 / 956,101, entitled “AVOIDING LOOPS BY PREVENTING FURTHER FAST REROUTE (FRR) AFTER AN EARLIER FRR,” filed on December 31, 2019 (referred to as the “'101 Provisional Application” and incorporated herein by reference), and listing Kireeti Kompella, Wen Lin, and Kevin F. Wang as inventors. The scope of the invention is not limited to any of the claims of the specific embodiments of the '101 Provisional Application. Technical Field
[0004] Embodiments of the present disclosure relate to communication networks, and more particularly, to communication networks that employ fast rerouting (FRR) and its potential to cause looping problems. Background Art
[0005] §1.1 Field of the Invention
[0006] The present specification relates to communication networks. More particularly, the present specification relates to communication networks that employ fast rerouting (FRR) and its potential to cause looping problems.
[0007] §1.2. Background information
[0008] §1.2.1 Multi-Protocol Label Switching (MPLS)
[0009] Multiprotocol Label Switching (MPLS) is a method for designing traffic patterns by assigning short labels to network packets that describe how to forward them through the network. MPLS is independent of routing tables or any routing protocol and can be used for unicast and / or multicast packets. More specifically, in a traditional Internet Protocol (IP) network, packets are transmitted with an IP header that includes a source address and a destination address. When a router receives such a packet, it checks its forwarding table for the next hop address associated with the packet's destination address and forwards the packet to the next hop location. On the other hand, in an MPLS network, each packet is encapsulated with an MPLS header. When a router receives a packet, it copies the header as an index into a separate MPLS forwarding table. Each entry in the MPLS forwarding table includes forwarding information that the router uses to forward traffic and to modify the MPLS header when necessary. Since the MPLS forwarding table has far fewer entries than a more general forwarding table, lookups consume less processing time and processing power. The resulting savings in time and processing are significant benefits for traffic that only uses the network for transit between external destinations.
[0010] A label switched path (LSP) is a unidirectional route through a network or autonomous system (AS). In normal IP routing, packets do not have a predetermined path. Instead, each router forwards the packet to the next hop address stored in its forwarding table based solely on the packet's destination address. Each subsequent router then uses its forwarding table to forward the packet. In contrast, MPLS routers (within an AS) determine the path through the network by exchanging MPLS service design information. Using these paths, the routers direct traffic through the network along the established routes. Instead of selecting the next hop along the path as an IP route, each router is responsible for forwarding the packet to the predetermined next hop address.
[0011] A router that is part of an LSP is called a label switching router (LSR). Each LSR must be configured with MPLS so that it can interpret the MPLS header and perform the MPLS operations required to deliver traffic through the network. An LSP may include four types of LSRs. First, the ingress or inbound LSR provides an entry point for traffic into MPLS. Native IPv4 packets (or Ethernet packets) are encapsulated using MPLS labels by the ingress router. Each LSP may have only one ingress router. Second, the transit LSR is any router in the middle of the LSP. The transit LSR forwards MPLS traffic along the LSP, using only the MPLS header to determine how the packet is routed. Third, the penultimate LSR is the penultimate router in the LSP. If penultimate hop pop-up (PHP) is adopted, the penultimate LSR is responsible for stripping the MPLS header from the packet before forwarding it to the egress router. Fourth, the egress or outbound LSR is the end point of the LSP. The egress router receives the MPLS packet from the penultimate LSR and performs an IP routing lookup. (Note that in some topologies or with some services, an additional label (called a "service label") is provided and the egress router uses the service label to forward traffic. Thus, if the payload is an IP packet, the egress router may forward the IP packet based on either: (A) an IP route lookup, if the egress router uses a label per VRF scheme, the label identifies the VRF table in which the IP route lookup is to be performed; or (B) based on the MPLS (service) label, if the egress router uses a label per interface scheme for forwarding. In this case, there is no IP route lookup.) The egress router then forwards the packet to the next hop of the route. Each LSP can have only one egress router.
[0012] To forward traffic through an MPLS network, MPLS routers encapsulate packets and allocate and manage headers called labels. A label is a 20-bit unsigned integer in the range of 0 to 1,048,575. Routers use labels to index MPLS forwarding tables, which determine how packets are routed through the network. When an inbound router of the network receives traffic, it inserts an MPLS label between the IP packet and the appropriate layer 2 header for the physical link. The label contains an index value that identifies the next hop address for a particular LSP. When the next-hop transit router receives the packet, it uses the index in the MPLS label to determine the next hop address for the packet and forwards the packet to the next router in the LSP. As each packet travels through the transit network, each router along the way performs a lookup on the MPLS label and forwards the packet accordingly. When the egress router receives the packet, it checks the header to determine that it is the last router in the LSP. The egress router then removes the MPLS header, performs a regular IP routing lookup (or forwards based on the service label), and forwards the packet with its IP header to the next hop address.
[0013] There are five label operations that an LSR can perform. First, a "push" operation adds a new label to the top of a packet. For an IPv4 packet arriving at an inbound router, the new label is the first label in the label stack. For an MPLS packet with an existing label, this operation adds the label to the stack and sets the stack bit to 0, indicating that there will be more MPLS labels after the first label. When the ingress router receives a packet, it performs an IP routing lookup on the packet. Because the routing lookup produces the LSP next hop, the ingress router performs a label push on the packet and then forwards the packet to the LSP next hop. Second, a "replace" (or swap) operation replaces the label at the top of the label stack with a new label. When the mid-station router receives a packet, it performs an MPLS forwarding table lookup. The lookup produces the LSP next hop and the path index for the link between the mid-station router and the next router in the LSP. Third, a "pop" operation removes a label from the top of the label stack. For an IPv4 packet arriving at the penultimate router, the entire MPLS label is removed from the label stack. For MPLS packets with existing labels, this operation removes the top label from the label stack and modifies the stack bit if necessary (for example, if only a single label is left in the stack, set it to 1). If multiple LSPs terminate at the same outbound router, the router performs MPLS label operations on all outbound traffic on the LSP. In order to share the operation among multiple routers, most LSPs use penultimate hop pop (PHP). Fourth, the "multi-push" operation adds multiple labels to the top of the label stack. This action is equivalent to performing multiple push operations. Finally, the "replace and push" operation replaces the top label with a new label and then pushes the new label to the top of the stack.
[0014] MPLS LSPs can be established (A) statically (e.g., via manual configuration) or (B) dynamically (e.g., using protocols such as the Label Distribution Protocol (LDP) or the Resource Reservation Protocol). Like static routes, static LSPs require each router along the path to be explicitly configured. The network administrator must manually configure the path and its associated label values. Static LSPs require less processing by the LSRs because no signaling protocols are used. However, because the paths are statically configured, they cannot adapt to network conditions. Dynamic LSPs use signaling protocols to establish themselves and propagate LSP information to other LSRs in the network. When the network administrator enables a signaling protocol across LSRs, the network administrator configures the inbound routers with LSP information that is transmitted throughout the network. Because the LSRs must exchange and process signaling packets and instructions, dynamic LSPs consume more resources than static LSPs. However, dynamic LSPs can avoid network problems by detecting topology changes and outages and propagating them throughout the network.
[0015] Figure 1 An example of an LSP between an ingress router R1 (PE1) and an egress router R5 (PE2) is illustrated. Typically, when MPLS is deployed, penultimate hop pop-up ("PHP") is used instead of ultimate hop pop-up ("UHP"). Router CE1 forwards an Internet Protocol (IP) packet to its next hop (R1), which is also the LSP ingress (or headend). R1 discovers that in order to forward traffic to the IP packet's destination IP address, it needs to send the IP packet to 5.5.5.5. R1 checks the prefix 5.5.5.5 (destination loopback) against the following information stored in its forwarding table:
[0016]
[0017] R1 pushes label L1 (L1-1000002) onto the packet and forwards the labeled packet (L1+IP) to router R2. R2 checks the input label 1000002 against the following information stored in its MPLS forwarding table:
[0018]
[0019] As a result, R2 completes a standard MPLS label replacement operation, replacing label L1 with label L2 (L2-10000003), and forwards the labeled packet (L2+IP) to router R3. R3 checks the input label 10000003 against the following information stored in its MPLS forwarding table:
[0020]
[0021] As a result, R3 completes a standard MPLS label replacement operation, replacing label L2 with label L3 (L3-10000004), and forwards the labeled packet (L3+IP) to router R4. R3 checks the input label 10000004 against the following information stored in its MPLS forwarding table:
[0022]
[0023] Since R4 is the penultimate hop router of the LSP to router R5 (PE2), it first pops label L3 and then forwards the packet to router R5. When R5 receives the packet, it may have a service label, an explicit null label, or just a normal IP or layer 2 Ethernet packet. R5 then forwards the unlabeled packet to router CE2.
[0024] In summary, in the case of static LSP, R1 reaches R5 via the MPLS label, which is represented by the traceroute result below:
[0025]
[0026] §1.2.2 Use of MPLS and FRR in various networks
[0027] As will be discussed in more detail below, MPLS can be used to provide services in networks such as Ethernet Virtual Private Networks (EVPN) (see, for example, Figure 2 ), transport in a loop for traffic protection (see, for example, Figure 3 ) and transport in other network topologies (e.g., see Figure 4). In the event of a link or node failure (e.g., in the case of a next-hop address or next-hop interface (commonly referred to as a "next hop")), these topologies can employ FRR to redirect traffic around the failure. That is, MPLS fast reroute (FRR) is a useful and widely deployed tool for minimizing packet loss in the event of link and / or node failures. Not only has FRR been proven to be very effective, but it is often the reason for using MPLS as a data plane. FRR is applicable to various control plane protocols, including Label Distribution Protocol (LDP), Resource Reservation Protocol Traffic Engineering (RSVP-TE), and Segment Routing (SR, also known as Source Packet Routing in Networks (SPRING)). In addition, FRR is often used to protect MPLS services, such as IP VPN and EVPN.
[0028] §1.2.3 Potential loop problems caused by FRR
[0029] Unfortunately, there are situations where, once FRR has occurred, if the packet experiences a second failure, the second FRR is not helpful, and in fact may even be destructive. For example, a second FRR may inadvertently cause a packet to loop until its Time To Live (TTL) counter expires. Such looping may lead to link congestion and further packet loss. An example of this problem is described in §§ 1.2.3.1 through 1.2.3.3 below, with reference to an EVPN network, a ring protection network, and "normal" MPLS forwarding.
[0030] §1.2.3.1 Potential looping issues caused by FRR in EVPN networks with active-active multi-connectivity.
[0031] Reference Figure 2 Consider the following topology for multihoming a customer edge device (CE2) to prevent failure of a provider edge device (PE2 or PE3) or a PE-CE link. To this end, a backup MPLS path (represented by a dotted line) is provided between PE2 and PE3.
[0032] Assume that (known unicast) traffic is going from CE1 to CE2. With active-active multiconnectivity, this traffic will be load balanced between PE2 (via link 1a to CE2) and PE3 (via link 1b to CE2). For example, if link 1a fails, PE2 can still facilitate this traffic by sending the traffic destined for CE2 to PE3 on the backup path, which then forwards it to CE2 via link 1b. Similarly, if link 1b fails, PE3 can still facilitate this traffic by sending the traffic destined for CE2 to PE2 on the backup path, which then forwards it to CE2 via link 1a.
[0033] However, assume that CE2 is faulty. This may cause traffic "looping" between PE2 and PE3. More specifically, if PE2 receives traffic destined for CE2, PE2 will assume that link 1a is faulty, and therefore, it will send traffic for CE2 to PE3 on the backup path. However, PE3 will assume that link 1b is faulty, and therefore will prevent this "second" (note that a single node failure of CE2 appears as a separate failure of PE2 and PE3) failure by sending traffic for CE2 to PE2 on the backup path. This traffic will loop ("ping-pong") between PE2 and PE3 until its TTL expires.
[0034] As can be understood from the above example, attempts to protect traffic to CE2 may ultimately do more harm than good because in the event of a failure of node CE2 (or in the event of a dual link failure of 1a and 1b), the backup path between PE2 and PE3 becomes congested. Furthermore, PE2 and PE3 are performing useless work.
[0035] A similar topology can be used for EVPN-Etree (e.g., see A. Sajassi, Ed., “Ethernet-Tree (E-Tree) Support in Ethernet VPN (EVPN) and Provider Backbone Bridging EVPN (PBB-EVPN)”, Request for comment 8317(Internet Engineering Task Force, January 2018) (referred to as "RFC 8317" and incorporated herein by reference). ), EVPN-VPWS (see, for example, S. Boutros et al., "Virtual Private Wire Service Support in Ethernet VPN", Request for comment 8214 (Internet Engineering Task Force, August 2017) (referred to as "RFC 8214" and incorporated herein by reference). ), IP VPN (see, for example, E. Rosen et al., "BGP / MPLS IP Virtual Private Networks (VPNs)"), Regarding comment 4364 ask (Internet Engineering Task Force, February 2006) (referred to as "RFC 4364" and incorporated herein by reference.) or VPLS (see, for example, K. Kompella, Ed., "Virtual Private LAN Service (VPLS) Using BGP for Auto-Discovery and Signaling", Request for comment 4761 (Internet Engineering Task Force, January 2007) (referred to as "RFC4761" and incorporated herein by reference) and M. Lasserre, Ed., "Virtual Private LAN Service (VPLS) Using Label Distribution Protocol (LDP) Signaling", Request for comment 4762 (Internet Engineering Task Force, January 2007) (referred to as "RFC 4762" and incorporated herein by reference). If so, the same looping behavior will occur for unicast traffic when CE2 fails.
[0036] §1.2.3.2 Potential loop problems caused by FRR in ring protection networks
[0037] Figure 3 An example Resilient MPLS Ring (RMR) is illustrated (see, for example, K. Kompella et al., “Resilient MPLS Rings”), draft-ietf-mpls-rmr-12(Internet Engineering Task Force, October 23, 2019) (referred to as the "Draft RMR" and incorporated herein by reference), and also see U.S. Patent Application Serial No. 16 / 588,434, filed on September 30, 2019, entitled "RESILIENT MULTIPROTOCOL LABEL SWITCHING (MPLS) RINGS USING SEGMENT ROUTING", which lists Raveendra Torvi, Abhishek Deshmukh, Kireeti Kompella, Tarek Saad, Vishnu Pavan Beeram, and Ronald Bonica as inventors, a Resilient MPLS Ring (RMR) has nodes R0 to R7 linked together to form a ring. Traffic can proceed along the ring in a clockwise direction (as shown by the dashed arc) or in a counterclockwise direction (as shown by the dotted arc). For example, assume that traffic goes from R0 to R4 on a clockwise path; R0->R1->R2->R3->R4. If any of the links or nodes in the clockwise path (except R0 and R4) fails, the data traffic can be protected by switching the data traffic to the counterclockwise path from R0 to R4; that is, R0->R7->R6->R5->R4. This protection works well if the node or link between R0 or R4 is faulty. However, if node R4 itself is faulty, its adjacent neighbor R3 sends the data traffic counterclockwise to R4 (via R2, R1, R0, R7, R6, and R5). When this redirected data traffic reaches R4's other adjacent neighbor R5, since R4 is faulty, R5 sends the data traffic clockwise to R4 (via R6, R7, R0, R1, R2, and R3). The data traffic will continue to circulate (alternating between the clockwise path and the counterclockwise path) until the TTL expires. (A similar looping problem may occur in the event of a dual link failure; one link is on the clockwise path and the other link is on the counterclockwise path.) The RMR draft provides more details and offers some mitigation measures, although it would be useful to improve the techniques described in the RMR draft.
[0038] §1.2.3.3 Potential loop problems caused by FRR in MPLS networks
[0039] Next, consider Figure 4A Example of general MPLS forwarding in topology. Figure 4B The figure shows the forwarding table entries used to push data traffic from N1 to N4. Figure 4A and Figure 4B, assuming that there is an LSP from N1 to N4, configured as N1-N2-N3-N4. Under normal operation, when a packet (PKT) arrives at N1, N1 pushes label L1 onto the packet and sends the resulting labeled packet (L1-PKT) to the next hop N2. N2 then replaces label L1 with label L2 and forwards the resulting labeled packet (L2-PKT) to the next hop N3. N3 then replaces label L2 with label L3 and forwards the resulting labeled packet (L3-PKT) to the next hop N4. N4 then pops label L3 and, based on further information in its forwarding table (not shown), forwards the resulting packet (PKT) to its destination.
[0040] Figure 5A and Figure 5B Used to illustrate bypass forwarding in the event of a failure of link N2 - N3 . Figure 5B Includes a bypass forwarding table entry for providing link protection for link N2-N3. More specifically, refer to Figure 5A and Figure 5B , link N2-N3 is protected by bypass tunnel N2-N6-N7-N3. (For example, the bypass tunnel can be manually configured, using RSVP-TE (for example, see the document "RSVP-TE: Extensions to RSVP for LSP Tunnels" by D. Awduche et al., Request for comment 3209 (Internet Engineering Task Force, November 2001) (referred to as "RFC 3209" and incorporated herein by reference.) or using the SPRING stack (see, for example, A. Bashandy, Ed., "Segment Routing with MPLS data plane", draft-ietf-spring-segment-routing-mpls-22 (Internet Engineering Task Force, May 1, 2019) (referred to as the "SR MPLS draft" and incorporated herein by reference). ) As shown in the figure, when data traffic (PKT) is received by N2, since link N2-N3 is unavailable, N2 pushes on label L4 and sends the resulting data (L4-PKT) to the next hop N6. N6 replaces label L4 with L5 and sends the resulting data (L5-PKT) to the next hop N7. N7 then pops label L5 and sends the resulting data (PKT) to the next hop N3. That is, for LSP N1-N2-N3-N4, link N2-N3 can be protected by bypass N2-N6-N7-N3.
[0041] Fig. 6A and Figure 6B The diagram shows link N6-N7 where bypass failure occurs. Figure 6B A bypass forwarding table entry is included for providing link protection for link N6-N7. As shown, when data traffic {…} is received by N6, N6 pushes on label L11 and sends the resulting data (L11-{…}) to the next hop N2. N2 replaces label L11 with L12 and sends the resulting data (L12-{…}) to the next hop N3. N3 then pops label L12 and sends the resulting data ({…}) to the next hop N7. That is, for LSP N5-N6-N7-N8, link N6-N7 can be protected by bypass N6-N2-N3-N7 (or by N6-N9-N10-N7 (not shown) or by load balancing between the two bypass paths).
[0042] Reference FIG. 7A to FIG. 7C , the above path from N1 to N4 is set with the following link protection. If link N2-N3 fails, the service will take path N1-N2-N6-N7-N3-N4. More specifically, when the packet (PKT) arrives at N1, N1 pushes label L1 onto the packet and sends the resulting labeled packet (L1-PKT) to the next hop N2. Since the N2-N3 link has failed, N2 uses label L1 after replacing label L2. Figure 7C 's bypass forwarding table pushes label L4 onto the stack and sends the resulting data (L4-L2-PKT) to the next hop N6. N6 then replaces label L4 with L5 and sends the resulting data (L5-L2-PKT) to the next hop N7. N7 then pops label L5 and sends the resulting labeled packet (L2-PKT) to the next hop N3. N3 then replaces label L2 with label L3 and forwards the resulting labeled packet (L3-PKT) to the next hop N4. N4 then pops label L3 and, based on further information in its forwarding table (not shown), forwards the resulting packet (PKT) to its destination.
[0043] FIG. 8A to FIG. 8D The figure shows the problem that occurs when both link N2-N3 and link N6-N7 fail at the same time. Figure 8B and Figure 8C , the bypass LSP protection link N2-N3 is invoked, and the traffic is sent to N3 via N6 and N7. More specifically, when the packet (PKT) arrives at N1, N1 pushes label L1 onto the packet and sends the resulting labeled packet (L1-PKT) to the next hop N2. Since the N2-N3 link has failed, instead of simply replacing label L1 with label L2, N2 also uses Figure 8CThe bypass forwarding table pushes label L4 onto the stack and sends the resulting data traffic (L4-L2-PKT) to the next hop N6. Since N6-N7 has failed, instead of simply replacing label L4 with label L5 and sending the result to the next hop N7, N6 replaces the label instead, pushing label L11 onto the stack, and sends the resulting data traffic (L11-L5-L2-PKT) to the next hop N2. (See Figure 8C and Fig.8D . ) Since link N2-N3 has failed, N2 pushes label L4 onto the stack and sends the resulting data traffic (L4-L11-L5-L2-PKT) to the next hop N6. As can be appreciated, the data traffic will loop (or "ping-pong") between N2 and N6 until the TTL expires (or until the stack depth becomes too long). ) (Note that if the traffic is protected via the bypass N6-N9-N10-N7 in the event of a link N6-N7 failure, such traffic will successfully proceed to N4. If link N6-N7 is protected by load balancing across two bypass paths (i.e., N6-N2-N3-N7 and N6-N9-N10-N7), approximately half of the traffic will loop between N6 and N2, and the remainder will make it to N4.
[0044] §2. Summary of the invention
[0045] This specification describes a mechanism for preventing further FRR in instances where such further protection may be harmful. (For example, review §1.2.3 above.) That is, in some cases, once fast reroute (FRR) has occurred (e.g., for MPLS protection), further FRR is undesirable or even harmful. A mechanism for preventing further FRR in instances where such further FRR is determined to be potentially harmful is described. For example, such a mechanism may use a dedicated label (SPL) or an extended dedicated label (ESPL) or an assigned label.
[0046] More specifically, potential loop problems in a communication network after FRR has occurred can be solved by providing an example computer-implemented method, the computer-implemented method comprising: (a) receiving, by a first data forwarding device, a data packet to be forwarded on a label switched path (LSP); (b) determining a next hop for the received data packet; (c) determining whether the next hop is reachable; and (d) in response to determining that the next hop is not reachable, (1) determining (i) a backup next hop and (ii) a forwarding label associated with the backup next hop, (2) adding the forwarding label and information indicating that a backup detour is being performed to the data packet to generate an updated data packet, and (3) forwarding, by the data forwarding device, the updated data packet to the backup next hop, otherwise, in response to determining that the next hop is reachable, forwarding the data packet using the forwarding label associated with the next hop.
[0047] The example method may also include: (e) receiving an instance of a data packet by a second data forwarding device on the LSP; (f) determining a further next hop of the received instance of the data packet; (g) determining whether the further next hop is reachable; (h) in response to determining that the further next hop is not reachable, (1) determining whether the received instance of the data packet includes information indicating that a backup detour is being performed, and (2) in response to determining that the received instance of the data packet includes information indicating that a backup detour is being performed, discarding the instance of the data packet, otherwise, in response to determining that the further next hop is available, forwarding the instance of the data packet using a forwarding label associated with the further next hop.
[0048] In some example embodiments, the information indicating that a backup detour is being performed is a dedicated tag or an assigned tag.
[0049] In some example embodiments, the act of adding a forwarding label and information indicating that a backup detour is being performed to a data packet to generate an updated data packet includes: (1) replacing the forwarding label on the received data packet with a forwarding label associated with a backup next hop, and (2) pushing a label indicating that a backup detour is being performed.
[0050] In some example embodiments, the act of adding a forwarding label and information indicating that a backup detour is being performed to a data packet to generate an updated data packet includes: (1) stacking a forwarding label associated with a backup next hop on a forwarding label on a received data packet, and (2) pushing a label indicating that a backup detour is being performed.
[0051] In some example embodiments, the backup next hop points to a backup LSP, wherein the backup LSP includes a plurality of data forwarding devices, and wherein each of the data forwarding devices included in the backup LSP has indicated using control signaling that they are capable of processing information indicating that a backup detour is being performed.
[0052] In some example embodiments, the backup next hop is part of one of: (A) a detour LSP, (B) a backup tunnel, (C) a bypass tunnel, (D) a NHOP bypass tunnel, (E) a NNHOP bypass tunnel, and (F) a backup LSP.
[0053] §3. Description of the drawings
[0054] Figure 1 An example of MPLS operation on an LSP between an ingress router and an egress router is illustrated.
[0055] Figure 2 An example of a customer edge device (CE) multiply connected to two provider edge devices (PE) of a transport network is illustrated, where loops may occur in the event of more than one fast reroute (FRR).
[0056] Figure 3 An example elastic ring network is illustrated, where cycling may occur in the event of more than one FRR.
[0057] Figure 4A illustrates an example of MPLS operation on a first LSP of an example network, and Figure 4B Pictured Figure 4A The forwarding table.
[0058] Figure 5A Figure 1 shows forwarding around a failed link, which can be used to Figure 4A An example network for . Figure 5B The figure shows a forwarding table used to protect a failed link.
[0059] Fig. 6A and Figure 6B The figure shows another single link failure. Figure 4A Bypass operation in an example network.
[0060] FIG. 7A to FIG. 7C The diagram shows the situation in which a single link fails. Figure 4A Bypass operation in an example network.
[0061] FIG. 8A to FIG. 8D The diagram shows the event of a double link failure and more than one FRR. Figure 4A Example of a potential loop problem in a network.
[0062] Fig. 9 is a flow chart of an example method for avoiding loops in a communication network in a manner consistent with the present specification.
[0063] Fig.10 Two data forwarding systems are illustrated, which may be used as nodes coupled via communication links in a communication network, such as a communication network employing FRR.
[0064] Fig.11 is a block diagram of a router that may use a communication network, such as a communication network employing FRR.
[0065] Fig.12 is an example architecture in which ASICS may be distributed among packet forwarding components to divide the responsibility for packet forwarding.
[0066] Fig.13A and Fig. 13B yes Fig.12 An example of the operation of the sample schema.
[0067] Fig.14 is a flow chart of an example method for providing packet forwarding in an example router.
[0068] Fig.15 is a block diagram of an exemplary machine that may perform one or more of the processes described and / or store information used and / or generated by such processes.
[0069] FIG. 16A to FIG. 16D The diagram shows Figure 4A In the example network Fig. 9 The example method's operation.
[0070] 17A to 17C The diagram shows Figure 4A In the example network Fig. 9 The example method's operation.
[0071] §4. Specific implementation methods
[0072] The present disclosure may relate to novel methods, devices, message formats and / or data structures for avoiding loops in communication networks (such as, communication networks using FRR). The following description is presented to enable those skilled in the art to make and use the described embodiments, and is provided in the context of specific applications and their requirements. Therefore, the following description of the example embodiments provides an explanation and description, but is not intended to be exhaustive or is not intended to limit the present disclosure to the precise form disclosed. Various modifications to the disclosed embodiments will be apparent to those skilled in the art, and the general principles stated below can be applied to other embodiments and applications. For example, although a series of actions can be described with reference to a flow chart, when the execution of an action does not depend on the completion of another action, the order of the actions may be different in other implementations. In addition, non-slave actions can be performed in parallel. The elements, actions or instructions used in this specification should not be interpreted as being critical or important to this specification unless explicitly described as such. Similarly, as used herein, the article "one" is intended to include one or more items. When referring to only one item, the term "one" or similar language is used. Accordingly, the disclosure is not intended to be limited to the embodiments shown, and the inventors regard their invention as patentable subject matter as described.
[0073] §4.1 (Various) Example Methods
[0074] Fig. 9 900 is a flow chart of an example method 900 for avoiding loops in a communication network. The example method 900 may be performed by a data forwarding device, such as a data forwarding device on an LSP. The data forwarding device receives a data packet (block 905), determines a next hop for the received data packet (block 910), and determines whether the next hop is reachable (block 915).
[0075] Referring to decision block 920, if, on the one hand, it is determined that the next hop is reachable, then before the example method 900 ends (node 960), the data packet is forwarded using the forwarding table associated with the next hop (decision 920=yes, and block 925). Note that the incoming label will have been replaced by the next hop label (in the case of a transit router of the LSP), or popped (in the case of an egress router of the LSP or in the case of a path defined by a segment routing (SR) based label stack). Referring back to decision block 920, if, on the other hand, it is determined that the next hop is not reachable (decision 920=no), then the example method 900 determines whether the received data packet includes information identifying that the data packet has made a backup detour (earlier on the LSP) (block 930).
[0076] Referring to decision block 935, if, on the one hand, it has been determined that the received data packet includes information identifying that the data packet has taken a backup detour (decision 935=yes), then before example method 900 ends (node 960), example method 900 discards the data packet (block 955). This is because if more than one FRR occurs, discarding the packet may be preferred over the possibility of a loop. Referring back to decision block 935, if, on the other hand, it has been determined that the received data packet does not include information identifying that the data packet has taken a backup detour (decision 935=no), then a backup next hop and a forwarding label associated with the backup next hop are determined (block 940), the forwarding label and information indicating that a backup detour was taken are added to the received data packet to generate an updated data packet (block 945), and before example method 900 ends (node 960), the updated data packet is forwarded to the backup next hop (block 950). Note that the incoming label will have been replaced by the next hop label (in the case of a transit router on an LSP), or will have been popped (in the case of an egress router on an LSP or in the case of a path defined by a Segment Routing (SR) based label stack).
[0077] Returning to reference box 945, in some embodiments of the example method 900, the action of adding a forwarding label and information indicating that a backup detour is being performed to a data packet to generate an updated data packet includes: (1) replacing the forwarding label on the received data packet with a forwarding label associated with the backup next hop, and (2) pushing a label indicating that a backup detour is being performed.
[0078] Referring back to block 945, in some embodiments of the example method 900, the act of adding a forwarding label and information indicating that a backup detour is being taken to a data packet to generate an updated data packet includes: (1) stacking a forwarding label associated with the backup next hop onto the forwarding label on the received data packet, and (2) pushing a label indicating that a backup detour is being taken. If and when the label indicating that a backup detour is being taken reaches the top of the label stack, the label is removed (popped). This would occur, for example, when the packet reaches the end of a backup detour (path or tunnel).
[0079] Referring back to block 945, in some embodiments of the example method 900, the information indicating that a backup detour is being performed is a special purpose label (SPL) (e.g., see K. Kompella et al., “Allocating and Retiring Special-Purpose MPLS Labels”). Request for comment 7274(Internet Engineering Task Force, June 2014) (referred to as "RFC 7274" and incorporated herein by reference). ) (Proposed value: 8, approved by the Internet Assigned Numbers Authority) or assigned labels. Alternatively, an extended SPL can be used so that a pair of labels indicates that no further fast reroute is required. However, in the case of a SPRING MPLS bypass tunnel of depth N described in this application, the label stack will increase by 2*N, while using conventional (multiple) SPLs will only increase the stack by N labels.
[0080] In some embodiments of the example method 900, the backup next hop points to a backup LSP, the backup LSP includes multiple data forwarding devices, and each of the data forwarding devices included in the backup LSP has used control signaling (e.g., IGP, BGP, etc.) to indicate that they are capable of processing information indicating that a backup detour is being performed.
[0081] In some embodiments of example method 900, the backup next hop is part of one of: (A) a detour LSP, (B) a backup tunnel, (C) a bypass tunnel, (D) a NHOP bypass tunnel, (E) a NNHOP bypass tunnel, and (F) a backup LSP.
[0082] §4.2 Example Device
[0083] For example, a data communications network node may be a forwarding device, such as a router. Fig.10 Two data forwarding systems 1010 and 1020 are illustrated that are coupled via a communication link 1030. The link may be a physical link or a "wireless" link. For example, the data forwarding systems 1010, 1020 may be routers. If the data forwarding systems 1010, 1020 are example routers, each may include a control component (e.g., a routing engine) 1014, 1024 and a forwarding component 1012, 1022. Each data forwarding system 1010, 1020 includes one or more interfaces 1016, 1026 that terminate one or more communication links 1030.
[0084] As discussed above, and with reference to Fig.11 , some example routers 1100 include a control component (eg, routing engine) 1110 and a packet forwarding component (eg, packet forwarding engine) 1190 .
[0085] The control component 1110 may include an operating system (OS) kernel 1120, routing protocol process(es) 1130, label-based forwarding protocol process(es) 1140, interface process(es) 1150, user interface (e.g., command line interface) process(es) 1160, and chassis process(es) 1170, and may store routing table(s) 1139, label forwarding information 1145, and forwarding (e.g., routing-based and / or label-based) table(s) 1180. (For example, review Figure 4B , Figure 5B , Figure 6B , Figure 7B , Figure 7C and FIG. 8B to FIG. 8D ). As shown, routing protocol process(es) 1130 may support routing protocols such as Routing Information Protocol (“RIP”) 1131, Intermediate System to Intermediate System Protocol (“IS-IS”) 1132, Open Shortest Path First (“OSPF”) 1133, Enhanced Interior Gateway Routing Protocol (“EIGRP”) 1134, and Border Gateway Protocol (“BGP”) 1135, and label-based forwarding protocol process(es) 1140 may support protocols such as BGP 1135, Label Distribution Protocol (“LDP”) 1136, Resource Reservation Protocol (“RSVP”) 1137, EVPN 1138, and L2VPN 1139. One or more components (not shown) may allow a user 1165 to interact with user interface process(es) 1160. Similarly, one or more components (not shown) may allow external devices to interact with one or more of the router protocol process(es) 1130, the label-based forwarding protocol process(es) 1140, the interface process(es) 1150, and the chassis process(es) 1170 via SNMP 1185, and these processes may send information to the external devices via SNMP 1185.
[0086] The packet forwarding component 1190 may include a microkernel 1192 on a hardware component (e.g., ASIC, switch fabric, optics, etc.) 1191, interface process(es) 1193, an ASIC driver 1194, chassis process(es) 1195, and forwarding (e.g., route-based and / or label-based) table(s) 1196.
[0087] exist Fig.11In the example router 1100, the control component 1110 handles tasks such as executing routing protocols, executing label-based forwarding protocols, controlling packet processing, etc., which leaves the packet forwarding component 1190 free to quickly forward received packets. That is, the received control packets (e.g., routing protocol packets and / or label-based forwarding protocol packets) are not fully processed on the packet forwarding component 1190 itself, but are passed to the control component 1110, thereby reducing the amount of work that the packet forwarding component 1190 must do and leaving it free to efficiently process the packets to be forwarded. Therefore, the control component 1110 is primarily responsible for running routing protocols and / or label-based forwarding protocols, maintaining routing tables and / or label forwarding information, sending forwarding table updates to the packet forwarding component 1190, and performing system management. The example control component 1110 can process routing protocol packets, provide management interfaces, provide configuration management, perform billing, and provide alarms. Processes 1130, 1140, 1150, 1160, and 1170 may be modular and may interact with OS kernel 1120. That is, almost all processes communicate directly with OS kernel 1120. Using modular software that clearly separates processes from one another isolates problems with a given process so that these problems do not affect other processes that may be running. Additionally, using modular software facilitates easier expansion.
[0088] Still refer to Fig.11 , the example OS kernel 1120 may include an application programming interface ("API") system for external program calls and scripting functions. The control component 1110 may be based on an Intel PCI platform that runs the OS from flash memory, with an alternate copy stored on the router's hard disk. The OS kernel 1120 is layered on the Intel PCI platform and establishes communication between the Intel PCI platform and the control component 1110 processes. The OS kernel 1120 also ensures that the forwarding table 1196 used by the packet forwarding component 1190 is synchronized with the forwarding table 1180 in the control component 1110. Therefore, in addition to providing the underlying infrastructure to the control component 1110 software process, the OS kernel 1120 also provides a link between the control component 1110 and the packet forwarding component 1190.
[0089] Reference Fig.11(multiple) routing protocol processes 1130, which provide routing and routing control functions within the platform. In this example, RIP 1131, ISIS 1132, OSPF 1133 and EIGRP 1134 (and BGP 1135) protocols are provided. Naturally, other routing protocols can be provided in addition or alternatively. Similarly, (multiple) label-based forwarding protocol processes 1140 provide label forwarding and label control functions. In this example, LDP 1136, RSVP 1137, EVPN 1138 and L2VPN 1139 (and BGP 1135) protocols are provided. Naturally, other label-based forwarding protocols (e.g., MPLS, SR, etc.) can be provided in addition or alternatively. In the example router 1100 , routing table(s) 1139 are generated by routing protocol process(es) 1130 , while label forwarding information 1145 are generated by label-based forwarding protocol process(es) 1140 .
[0090] Still refer to Fig.11 , interface process(es) 1150 perform configuration and encapsulation of the physical interface.
[0091] The example control component 1110 can provide several ways to manage the router. For example, the example control component 1110 can provide (multiple) user interface processes 1160 that allow system operators 1165 to interact with the system through configuration, modification, and monitoring. SNMP 1185 allows SNMP-capable systems to communicate with the router platform. This also allows the platform to provide necessary SNMP information to external agents. For example, SNMP 1185 can allow the system to be managed from a network management station running software (such as HP's Network Node Manager ("HP-NNM")) through a framework (such as HP's OpenView). Billing of packets (commonly referred to as business statistics) can be performed by the control component 1110 to avoid slowing down the business forwarding performed by the packet forwarding component 1190.
[0092] Although not shown, the example router 1100 can provide out-of-band management, RS-232DB9 ports for serial console and remote management access, and third-level storage using removable PC cards. In addition, although not shown, the process interface located in the front of the rack provides an external view into the internal operation of the router. It can be used as a fault diagnosis tool, a monitoring tool, or both. The process interface can include LED indicators, alarm indicators, control component ports, and / or display screens. Finally, the process interface can provide interaction with a command line interface ("CLI") 1160 via a console port, an auxiliary port, and / or a management Ethernet port.
[0093] The packet forwarding component 1190 is responsible for outputting received packets correctly and as quickly as possible. If there is no entry in the forwarding table for a given destination or a given label and the packet forwarding component 1190 itself cannot perform the forwarding, the packet forwarding component 1190 can send packets destined for an unknown destination to the control component 1110 for processing. The example packet forwarding component 1190 is designed to perform layer 2 and layer 3 switching, route lookups, and fast packet forwarding.
[0094] like Fig.11 As shown, the example packet forwarding component 1190 has an embedded microkernel 1192, interface process(es) 1193, ASIC driver 1194, and rack process(es) 1195 located on a hardware component 1191, and stores forwarding (e.g., route-based and / or label-based) tables 1196. The microkernel 1192 interacts with the interface process(es) 1193 and the rack process(es) 1195 to monitor and control these functions. The interface process(es) 1192 communicates directly with the OS kernel 1120 of the control component 1110. Such communication includes forwarding exception packets and control packets to the control component 1110, receiving packets to be forwarded, receiving forwarding table updates, providing information about the health of the packet forwarding component 1190 to the control component 1110, and allowing the interface to be configured from the user interface(s) (e.g., CLI) process(es) 1160 of the control component 1110. The stored forwarding table(s) 1196 are static until a new forwarding table is received from the control component 1110. The interface process(es) 1193 use the forwarding table(s) 1196 to look up the next hop information. The interface process(es) 1193 also communicate directly with the distributed ASICs. Finally, the rack process(es) 1195 can communicate directly with the microkernel 1192 and the ASIC driver 1194.
[0095] Fig.12 is an example of how ASICS can be distributed among packet forwarding components 1190 to divide the responsibility for packet forwarding. Fig.12As shown, the ASICs of the packet forwarding component 1190 can be distributed across physical interface cards ("PICs") 1210, flexible PIC concentrators ("FPCs") 1220, midplanes or backplanes 1230, and (multiple) system control boards 1240 (for switching and / or forwarding). The switching fabric is also shown as a system switch board ("SBB") or switching and forwarding module ("SFM") 1250. Each PIC 1210 includes one or more PIC I / O managers 1215. Each FPC 1220 includes one or more I / O managers 1222, each with associated memory 1224. The midplane / backplane 1230 includes buffer managers 1235a, 1235b. Finally, the system control board 1240 includes an instance of an Internet processor 1242 and a forwarding table 1244 (e.g., review Fig.11 of 1196).
[0096] Still refer to Fig.12 , PIC 1210 includes interface ports. Each PIC 1210 can be plugged into FPC 1220. Each individual PIC 1210 can include an ASIC that handles media specific functions, such as framing or encapsulation. Some example PICs 1210 provide SDH / SONET, ATM, Gigabit Ethernet, Fast Ethernet, and / or DS3 / E3 interface ports.
[0097] FPC 1220 may include one or more PICs 1210 and may carry signals from PIC 1210 to midplane / backplane 1230, such as Fig.12 shown.
[0098] Midplane / backplane 1230 holds line cards. Line cards can be connected to midplane / backplane 1230 when plugged into the rack of the example router from the front. Control components (e.g., routing engines) 1110 can be plugged into the back of midplane / backplane 1230 from the back of the rack. Midplane / backplane 1230 can carry electrical (or optical) signals and power to each line card and control component 1110.
[0099] The system control board 1240 may perform forwarding lookups. The system control board 1240 may also pass errors to the routing engine. In addition, the system control board 1240 may also monitor the status of the router based on the information it receives from the sensors. If an abnormal condition is detected, the system control board 1240 may immediately notify the control component 1110.
[0100] Reference Fig.12 , Fig.13A and Fig. 13BIn some exemplary routers, each of the PICs 1210, 1110' contains at least one I / O manager ASIC 1215, which is responsible for media specific tasks, such as encapsulation. Packets pass through these I / O ASICs on their way into and out of the router. When appropriate, the I / O manager ASIC 1215 on the PIC 1210, 1110' is responsible for managing the connection to the I / O manager ASIC 1222 on the FPC 1220, 1120', managing link layer framing and creating bit streams, performing cyclic redundancy checks (CRCs), and detecting link layer errors and generating alarms. The FPC 1220 includes another I / O manager ASIC 1222. This ASIC 1222 obtains packets from the PIC 1210 and breaks them into (e.g., 74-byte) memory blocks. The FPC I / O Manager ASIC 1222 sends the block to the first Distributed Buffer Manager (DBM) 1235a' to decode the encapsulation and protocol specific information, count the packets and bytes for each logical circuit, verify the packet integrity and apply the service class (CoS) rules to the packet. At this point, the packet is first written to the memory. More specifically, the example DBM ASIC 1235a' manages the packet across all FPCs 1220 and writes the packet to the shared memory 1224. In parallel, the first DBM ASIC 1235a' also extracts information about the destination of the packet and passes such forwarding-related information to the internet processor 1242 / 1142'. The internet processor 1242 / 1142' performs a route lookup using the forwarding table 1244 and sends the information to the second DBM ASIC 1235b'. The internet processor ASIC 1242 / 1142' also collects abnormal packets (i.e., packets without forwarding table entries) and sends them to the control component 1110. The second DBM ASIC 1235b' then takes this information and the 74-byte blocks and forwards them to the I / O Manager ASIC 1222 of the egress FPC 1220 / 1120' (or multiple egress FPCs, in the case of multicast) for reassembly. (Thus, the DBM ASICs 1235a' and 1235b' are responsible for managing the packet memories 1224 distributed across all FPCs 1220 / 1120', extracting forwarding-related information from the packets and instructing the FPCs where to forward the packets.)
[0101] The I / O Manager ASIC 122 on the egress FPC 1220 / 1120' may perform some value added services. In addition to increasing the Time To Live ("TTL") value and re-encapsulating the packet for processing by the PIC 1210, it may also apply Class of Service (CoS) rules. To do this, it may queue a pointer to the packet in one of the available queues, each having a share of the link bandwidth, before applying the rules to the packet. The queuing may be based on a variety of rules. Thus, the I / O Manager ASIC 1222 on the egress FPC 1220 / 1120' may be responsible for receiving a block from the second DBM ASIC 1235b', increasing the TTL value, queueing a pointer to the packet if necessary, re-encapsulating the block, and sending the encapsulated packet to the PIC I / O Manager ASIC 1215.
[0102] Fig.14 14 is a flow chart of an example method 1400 for providing packet forwarding in an example router. The main actions of method 1400 are triggered when a packet is received on an ingress (incoming) port or interface. (Event 1410) The type of checksum and frame check required by the type of media it serves is performed, and the packet is output as a serial bit stream. (Block 1420) The packet is then decapsulated and parsed into (e.g., 64-byte) blocks. (Block 1430) The packet is written to a buffer memory, and forwarding information is passed on an internet processor. (Block 1440) The passed forwarding information is then used to look up a route in a forwarding table. (Block 1450) Note that a forwarding table can typically handle unicast packets that have no options (e.g., billing) set as well as multicast packets for which there is already a cache entry in the forwarding table. Thus, if it is determined that these conditions are met (the yes branch of decision 1460), the packet forwarding component finds the next hop and the egress interface, and the packet is forwarded (or queued for forwarding) to the next hop via the egress interface (block 1470) before the method 1400 ends (node 1490). Otherwise, if these conditions are not met (the no branch of decision 1460), the forwarding information is sent to the control component 1110 for high-level forwarding resolution (block 1480) before the method 1400 ends (node 1490).
[0103] Referring back to block 1470, the packets may be queued. Fig.12As stated, pointers to packets may be queued. The packets themselves may remain in shared memory. Thus, all queuing decisions and CoS rules may be applied without the actual packets. When the pointer for the packet reaches the front of the row, the I / O Manager ASIC 1222 may send a request for the packet to the second DBM ASIC 1235b. The DBM ASIC 1235 reads the blocks from shared memory and sends them to the I / O Manager ASIC 1222 on the FPC 1220, which then serializes the bits and sends them to the media specific ASIC of the egress interface. The I / O Manager ASIC 1215 on the egress PIC 1210 may apply physical layer framing, perform a CRC and send the bit stream out over the link.
[0104] Return to reference Fig.14 Box 1480 and Fig.12 Regarding the transmission of control packets and abnormal packets, the system control board 1240 processes almost all abnormal packets. For example, the system control board 1240 can transfer the abnormal packets to the control component 1110.
[0105] Although example embodiments consistent with the present description may be Fig.10 or Fig.11 1400, but embodiments consistent with the present specification may be implemented on communication network nodes (e.g., routers, switches, etc.) with different architectures. More generally, embodiments consistent with the present specification may be implemented on example system 1400, such as Fig.15 shown.
[0106] Fig.151500 is a block diagram of an exemplary machine 1500 that can perform one or more of the processes described and / or store information used and / or generated by these processes. The exemplary machine 1500 includes one or more processors 1510, one or more input / output interface units 1530, one or more storage devices 1520, and one or more buses and / or networks 1540, which are used to facilitate information transfer between coupled elements. One or more input devices 1532 and one or more output devices 1534 can be coupled to one or more input / output interfaces 1530. One or more processors 1510 can execute machine-executable instructions (e.g., C or C++ running on a Linux operating system that is widely available from many suppliers) to affect one or more aspects of this specification. At least a portion of the machine-executable commands can be stored (temporarily or more permanently) on one or more storage devices 1520 and / or can be received from an external source via one or more input interface units 1530. Machine-executable instructions can be stored as various software modules, each of which performs one or more operations. Functional software modules are examples of components of this specification.
[0107] In some embodiments consistent with the present specification, processor 1510 may be one or more microprocessors and / or ASICs. Bus 1540 may include a system bus. Storage device 1520 may include system memory, such as a read-only memory (ROM) and / or a random access memory (RAM). Storage device 1520 may also include a hard disk drive for reading and writing from a hard disk, a disk drive for reading or writing from a (e.g., removable) disk, an optical disk drive for reading or writing from a removable (magneto) optical disk (such as a compact disk or other (magneto) optical medium), or a solid-state non-volatile storage device.
[0108] Some example embodiments consistent with this specification may also be provided as a machine-readable medium for storing machine-executable instructions. The machine-readable medium may be non-transient and may include, but is not limited to, flash memory, optical disks, CD-ROMs, DVD ROMs, RAMs, EPROMs, EEPROMs, magnetic or optical cards, or any other type of machine-readable medium suitable for storing electronic instructions. For example, example embodiments consistent with this specification may be downloaded as a computer program that may be transmitted from a remote computer (e.g., a server) to a requesting computer (e.g., a client) via a communication link (e.g., a modem or a network connection) and stored on a non-transient storage medium. The machine-readable medium may also be referred to as a processor-readable medium.
[0109] Example embodiments consistent with the present specification (or its components or modules) may be implemented in hardware, such as, one or more field programmable gate arrays ("FPGA"), one or more integrated circuits (such as, ASIC), one or more network processors, etc. Alternatively or in addition, embodiments consistent with the present specification (or its components or modules) may be implemented as program instructions executed by a processor. Such hardware and / or software may be provided in an addressing data (e.g., packet, cell, etc.) forwarding device (e.g., switch, router, etc.), a laptop computer, a desktop computer, a tablet computer, a mobile phone, or any device with computing and networking capabilities.
[0110] §4.3 Example Operations of (Multiple) Example Methods
[0111] FIG. 16A to FIG. 16D The figure shows the situation in which the links N2-N3 and N6-N7 fail at the same time. Figure 4A In the example network Fig. 9 The example method operation. Fig.16A and Fig. 16B , the bypass LSP protection link N2-N3 is invoked, and the traffic is sent to N3 via N6 and N7. More specifically, when the packet (PKT) arrives at N1, N1 pushes label L1 onto the packet and sends the resulting labeled packet (L1-PKT) to the next hop N2. (For example, recall Fig. 9 ) Since the N2-N3 link has failed, after replacing label L1 with label L2, N2 uses Fig. 16C The bypass forwarding table pushes label L4 onto the stack, adds information indicating that a backup detour is being performed (e.g., adds a dedicated no further fast reroute (NFFRR) label) and sends the resulting data (L4-NFFRR-L2-PKT) to the next hop N6. (For example, recall that Fig. 9 ) Since the N6-N7 link has failed, instead of simply replacing label L4 with label L5 and sending the result to next hop N7, N6 determines whether the received data packet includes information identifying that the data packet has (already) made a backup detour. (For example, recall that Fig. 9 =No, and block 930.) Since in this case the received packet does include information identifying that the data packet has (already) made a backup detour (e.g., an NFFRR special label), the packet is discarded. (For example, recalling Fig. 9 935 = yes, and 955. )
[0112] Will FIG. 16A to FIG. 16D Example operation with FIG. 8A to FIG. 8D Compared with the example operation of , although the packet is discarded, the packet is prevented from circulating between N2 and N6.
[0113] 17A to 17C The diagram shows the situation in the example network of FIG. 4 where the link N2-N3 has failed but a second FRR is not required. Fig. 9 The example method operation. Fig.17A and Fig. 17C , the bypass LSP protection link N2-N3 is invoked, and the traffic is sent to N3 via N6 and N7. More specifically, when the packet (PKT) arrives at N1, N1 pushes label L1 onto the packet and sends the resulting labeled packet (L1-PKT) to the next hop N2. (For example, recall Fig. 9 ) Since the N2-N3 link has failed, after replacing label L1 with label L2, N2 uses Fig. 17C The bypass forwarding table pushes label L4 onto the stack, adds information indicating that a backup detour is being performed (e.g., adds a dedicated no further fast reroute (NFFRR) label) and sends the resulting data (L4-NFFRR-L2-PKT) to the next hop N6. (For example, recall that Fig. 9 905, 910, 915, 920 = No, 930, 935 = No, 940, 945 and 950. ) N6 then replaces label L4 with L5 and sends the resulting data (L5-NFFRR-L2-PKT) to the next hop N7. (For example, recall Fig. 9 905, 910, 915, 920 = yes, and 925. ) N7 then pops label L5 and the NFFRR special label, and sends the resulting labeled packet (L2-PKT) to the next hop N3. (For example, recall Fig. 9 905, 910, 915, 920 = yes, and 925. ) N3 then replaces label L2 with label L3, and forwards the resulting labeled packet (L3-PKT) to the next hop N4. (For example, recall Fig. 9 905, 910, 915, 920 = yes, and 925. ) N4 then pops label L3 and forwards the resulting packet (PKT) to its destination based on further information in its forwarding table (not shown).
[0114] Will 17A to 17C and FIG. 7A to FIG. 7CIn comparison, as demonstrated in this example, when loops are not a potential problem, the example method 900 has no effect on forwarding (other than adding and later popping the special NFFRR label). That is, information indicating that fast reroute has occurred (e.g., the special label NFFRR) is added and then removed.
[0115] §4.4 Improvements, Replacements and Extensions
[0116] Return to reference Fig. 9 In addition to the transport label required for the backup next hop, there may be another label (e.g., a "service label") in block 945. This service label may be required for a service provided by the network, and the service runs on top of a transport LSP (such as EVPN, VPLS, or L3VPN, etc.).
[0117] Although some embodiments are described in the context of FRR (which typically uses RSVP TE to strictly pre-compute bypass paths), other ways of computing bypass paths may also be used (see, for example, A. Atlas, Ed., "Basic Specification for IP Fast Reroute: Loop-Free Alternates," Request for comment 5286 (Internet Engineering Task Force, September 2008) (referred to as "RFC 5286" and incorporated herein by reference), "Remote Loop-Free Alternate (LFA) Fast Reroute (FRR)" by S. Bryant, et al., Request for comment 7490 (Internet Engineering Task Force, April 2015) (referred to as "RFC 7490" and incorporated herein by reference) and S. Litkowski et al., "Topology Independent Fast Reroute using Segment Routing", draft-ietf-rtgwg- segment-routing-ti-lfa-01 (Internet Engineering Task Force, March 5, 2019) (referred to as the "TI-LFA draft" and incorporated herein by reference). That is, while some example embodiments may be applied to protection schemes using bypass tunnels, they may also be applied to protection schemes using LFA or any variant thereof.
[0118] The node's ability to implement the above-described example method can be communicated. In this way, if a node in an LSP is not configured to perform this example method, the upstream node may not perform the method because packets with a dedicated label (SPL) (e.g., an NFFRR label) may be discarded if the SPL is not understood. IGP, BGP, etc. can be used to mark capabilities. Three possible ways to mark NFFRR capabilities are now described - for MPLS services with BGP, for MPLS services with target LDP, and for MPLS forwarding.
[0119] First, as described in the Appendix to the '101 Provisional Application, the ideal choice for marking NFFRR capabilities for MPLS services with BGP would be an attribute consisting of a bit vector, one bit of which would be the ability to process NFFRR SPL underneath a BGP service label. This could be used by BGP L2VPN, BGP VPLS, EVPN, E-Tree, and E-VPWS. An alternative is to use the BGP Capabilities optional parameter.
[0120] Second, one method of marking NFFRR capabilities for MPLS services marked with target LDP is to introduce a new LDP TLV (called NFFRR Capability TLV) as an optional parameter in the label mapping message. (See, for example, L. Andersson, Ed., “LDP Specification”, Request for comment 5036 (Internet Engineering Task Force, October 2007) (referred to as "RFC 5036" and incorporated herein by reference.) This TLV has type TBD (proposed: 0x0207, approved by IANA) and length 0. Another approach is to use LDP capabilities. (See, for example, B. Thomas, "LDP Capabilities", Request for comment 5561 (Internet Engineering Task Force, July 2009) (referred to as "RFC 5561" and incorporated herein by reference). This approach has the advantage of handling capabilities on a node basis rather than on a per-label mapping basis. However, there appears to be no other literature using this approach.
[0121] Third, the ability of a router to process NFFRR SPL can be marked by the link state router TE node capability (for example, see the document "IGP Routing Protocol Extensions for Discovery of Traffic Engineering Node Capabilities" by JP Vasseur and JL Le Roux, Eds., Request for comment 5073 (Internet Engineering Task Force, December 2007) (referred to as "RFC 5073" and incorporated herein by reference). ), which works for Intermediate System-Intermediate System (IS-IS) and Open Shortest Path First (OSPF) Interior Gateway Protocol (IGP). New TE node capability bits, i.e., N bits (proposed value: 5, approved by IANA) indicate that the advertising node is capable of processing NFFRR SPL.
[0122] Although this is not required, it is recommended that the data or forwarding plane of the data forwarding device (for example, review Fig.10 1012 and 1022 and Fig.11 1190. ) (instead of on the control plane) it is advantageous to implement as much of the example method as possible.
[0123] Although the example method 900 is described in the context of MPLS, it can also be used in networks that employ segment routing (SR). However, its use in the SR domain may become expensive in terms of memory and label overhead. More specifically, as described above with reference to Figure 5A and Figure 5B Note that the bypass tunnel can be set up using the SPRING stack. (For example, review the SRMPLS draft.) Assume that the bypass tunnel is instantiated using SPRING MPLS and specifically using the neighboring SID (for example, see the document "SPRING MPLS" by A. Bashandy and C. Filsfils, Eds. SegmentRoutingwiththeMPLSDataPl ane (segment routing using MPLS data plane) ”, Request for comment 8660(Internet Engineering Task Force, December 2019) (referred to as "RFC 8660" and incorporated herein by reference). When N2 receives the packet, it replaces label L1 with L2. If the corresponding labels of links N6-N7 and N7-N3 are L20 and L21, then the bypass includes pushing the label stack (L20-L21) onto the packet and sending the packet to N6. To indicate that FRR has occurred and to drop the packet rather than attempting to protect the packet again, N2 must push (L20-NFFRR-L21-NFFRR) onto the packet before sending the packet to N6. If the packet comes from N1 with label L1, then after replacing L1 with L2, N2 sends the packet to N6 with the label stack (L20-NFFRR-L21NFFRR-L2).
[0124] N6 will see label L20, pop it, notice the NFFRR label and pop it, then try to send the packet to N7. If link N6-N7 is faulty, then N6 drops the packet due to the presence of the NFFRR label. Otherwise, N7 will receive the packet, see L21, pop it, see NFFRR, pop it and try to send the packet to N3. If link N7-N3 is faulty, then N7 drops the packet due to the presence of the NFFRR label. Otherwise, N2 gets the packet with L2, replaces the label L2 with label L3 and sends it to N4.
[0125] Note that with SPRING MPLS, the NFFRR label is required to be repeated for each label in the bypass stack. Therefore, "regular" SPL may be preferred over "extended" SPL.
[0126] Note that the second (or "further") FRR need not occur in response to the second fault. Figure 2 If CE2 of the link fails, a single failure can cause more than one FRR. That is, a single node failure can cause more than one link to become unavailable.
[0127] The protection LSP that provides an alternative path around a failed link may be (or may be referred to as or may include) a detour LSP, a backup tunnel, a bypass tunnel, a NHOP bypass tunnel, a NNHOP bypass tunnel, a backup LSP, or the like.
[0128] Further details of certain example embodiments may be described in the Appendix to the '101 Provisional Application.
Claims
1. A computer-implemented method for avoiding loops in a communication network, the computer-implemented method comprising: a) receiving, by a first data forwarding device, a data packet to be forwarded via a label switched path (LSP); b) determining the next hop of the received data packet; c) determining whether the next hop is reachable; as well as d) in response to determining that the next hop is not reachable, 1) determining (i) a backup next hop and (ii) a forwarding label associated with the backup next hop, and 2) adding the forwarding label and information indicating that a backup detour is being performed to the data packet to generate an updated data packet, and 3) the data forwarding device forwards the updated data packet to the backup next hop, and Otherwise, in response to determining that the next hop is reachable, the data packet is forwarded using a forwarding label associated with the next hop.
2. The computer-implemented method of claim 1, wherein the information indicating that a backup detour is being performed is one of: (A) a dedicated label, (B) an extended dedicated label, and (C) an assigned label.
3. The computer-implemented method of claim 1 , wherein the act of adding the forwarding label and the information indicating that a backup detour is being performed to the data packet to generate an updated data packet comprises: replacing a forwarding label on the received data packet with the forwarding label associated with the backup next hop, and Pushes a tag to indicate that a backup detour is being performed.
4. The computer-implemented method of claim 3, wherein the label used to indicate that a backup detour is being performed is one of: (A) a dedicated label, (B) an extended dedicated label, and (C) an assigned label.
5. The computer-implemented method of claim 1 , wherein the act of adding the forwarding label and the information indicating that a backup detour is being performed to the data packet to generate an updated data packet comprises: stacking the forwarding label associated with the backup next hop onto the forwarding label on the received data packet, and Pushes a tag to indicate that a backup detour is being performed.
6. The computer-implemented method of claim 5, wherein the label used to indicate that a backup detour is being performed is one of: (A) a dedicated label, (B) an extended dedicated label, or (C) an assigned label.
7. The computer-implemented method of claim 1 , wherein the backup next hop points to a backup LSP, wherein the backup LSP includes a plurality of data forwarding devices, and wherein each of the data forwarding devices included in the backup LSP has used control signaling to indicate that they are able to process the information indicating that a backup detour is being performed.
8. The computer-implemented method of claim 1, wherein the backup next hop is part of one of: (A) a detour LSP, (B) a backup tunnel, (C) a bypass tunnel, (D) a NHOP bypass tunnel, (E) a NNHOP bypass tunnel, and (F) a backup LSP.
9. The computer-implemented method of claim 1 , further comprising: e) receiving the data packet by a second data forwarding device on the LSP; f) determining a further next hop of said instance of said received data packet; g) determining whether the further next hop is reachable; h) in response to determining that the further next hop is not reachable, 1) determining whether said instance of said received data packet includes said information indicating that a backup detour is being performed, and 2) in response to said determination that said received instance of said data packet includes said information indicating that a backup detour is being performed, discarding said instance of said data packet, and Otherwise, in response to determining that the further next hop is reachable, forwarding the instance of the data packet using a forwarding label associated with the further next hop.
10. The computer-implemented method of claim 1, wherein the information indicating that a backup detour is being performed is a tag, the computer-implemented method further comprising: e) receiving, by a second data forwarding device on the LSP, an instance of the data packet, wherein the instance of the data packet includes an incoming label; f) using said incoming label to determine a further next hop for said instance of said received data packet; g) determining whether the further next hop is reachable; h) in response to determining that the further next hop is not reachable, 1) determining whether the received instance of the data packet includes the label indicating that a backup detour is being performed, and 2) in response to said determination that said received instance of said data packet includes said information indicating that a backup detour is being performed, discarding said instance of said data packet, and Otherwise, in response to determining that the further next hop is reachable, 1) popping the incoming label of the instance of the data packet, 2) if the label indicating that a backup detour is performed is at the top of the label stack associated with the instance of the data packet, removing the label indicating that a backup detour is performed, 3) if the next hop includes an outgoing label, then add the outgoing label, and 4) Forwarding said instance of said data packet using said further next hop.
