Hardware-assisted fast data path switching for network devices with redundant forwarding components
By using a combination of a physical interface card concentrator, a routing component, and a forwarding component of multiple physical interface cards in a network device, an indication signal is generated to realize rapid switching of data paths, which solves the problem of data path switching delay and delay in the existing technology. problem, achieving near-zero packet loss and resource saving effects.
Patent Information
- Application Number
- CN202110458656.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-03-05
- Filing Date
- 2021-04-27
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-04-27
AI Technical Summary
When existing network equipment fails in hardware or software, there is a high delay and delay in the data path switching process, making it difficult to achieve near-zero packet loss and causing a lot of waste of resources.
Using a combination of a physical interface card concentrator with multiple physical interface cards, a routing component, and a forwarding component, the data path is switched from the first forwarding component to the second forwarding component by generating an indication signal, and is implemented using software writing or hardware triggering operations. Fast handover and reduce packet loss during handover.
It achieves near-zero packet loss in almost all handover scenarios, reduces handover delays and delays, saves computing resources and network resources, and avoids retransmissions and reconfigurations due to packet loss.
Smart Images

Figure CN115022234B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a network device with redundant forwarding components, and in particular to a hardware-assisted fast data path switching of a network device with redundant forwarding components. Background Art
[0002] Some network devices may include hardware architectures useful for various applications, such as data centers, local area networks (LANs) of different organizations, and service provider aggregation deployments. Such applications may require data path redundancy with near-zero packet loss. Summary of the invention
[0003] In some embodiments, a method may include receiving one or more packets by a network device; wherein the network device includes a first routing component, a second routing component, a first forwarding component, a second forwarding component, and a physical interface card concentrator having multiple physical interface cards. The method may include: providing, by the first routing component, a signal to the physical interface card concentrator indicating that the second forwarding component will be the active forwarding component; and, by the physical interface card concentrator, switching a data path for the multiple physical interface cards from the first forwarding component to the second forwarding component based on the signal. The method may include: providing, by the first routing component, the one or more packets to the second forwarding component; and providing, by the second forwarding component, the one or more packets to multiple physical interface cards of the physical interface card concentrator via the data path. The method may include: forwarding, by the multiple physical interface cards, the one or more packets toward one or more destinations associated with the one or more packets.
[0004] In some embodiments, a network device may include a first routing component; a second routing component; a first forwarding component; a second forwarding component; and a physical interface card concentrator having a plurality of physical interface cards. The first routing component may be configured to provide a signal to the physical interface card concentrator indicating that the second forwarding component will be the active forwarding component, and to provide one or more packets to the second forwarding component. The physical interface card concentrator may cause a data path for the plurality of physical interface cards to be switched from the first forwarding component to the second forwarding component based on the signal. The second forwarding component may be configured to provide the one or more packets to the plurality of physical interface cards of the physical interface card concentrator via the data path. The plurality of physical interface cards may be configured to forward the one or more packets toward one or more destinations associated with the one or more packets.
[0005] In some embodiments, a system may include: a first routing component; a second routing component; a first forwarding component; a second forwarding component; and a plurality of physical interface cards. The first routing component is configured to provide a signal indicating that the second forwarding component will be the active forwarding component and to provide one or more packets to the second forwarding component. Based on the signal, a data path for the physical interface card is switched from the first forwarding component to the second forwarding component. The second forwarding component may be configured to provide the one or more packets to the physical interface card via the data path. The plurality of physical interface cards may be configured to: forward the one or more packets toward one or more destinations associated with the one or more packets; receive one or more additional packets; and provide the one or more additional packets to the second forwarding component so that the second forwarding component provides the one or more additional packets to the first routing component. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figures 1A to 1F is a diagram of an example implementation associated with switching of a network device having redundant forwarding components.
[0007] Figure 2 is a diagram of an example environment in which systems and / or methods described herein may be implemented.
[0008] Figure 3 yes Figure 2 A diagram of example components of one or more devices.
[0009] Figure 4 yes Figure 2 A diagram of example components of one or more devices.
[0010] Figure 5 is a flow chart of an example process for switching of a network device having redundant forwarding components. DETAILED DESCRIPTION
[0011] The following detailed description of example embodiments refers to the accompanying drawings.The same reference numbers in different drawings may identify the same or similar elements.
[0012] Data path redundancy can be used to solve hardware failure, software failure, software upgrade and other examples of events that may interrupt the operation of the network device. Data path redundancy can be implemented in the network device by using two routing components and two forwarding components. The network device can also include multiple flexible physical interface card concentrators (FPCs), and each FPC can include multiple physical interface cards (PICs). The network device can establish a data path between the PIC and the forwarding component. One forwarding component in the forwarding component can be an active forwarding component that forwards business (e.g., packets) to the FPC. Another forwarding component in the forwarding component can be a standby forwarding component that forwards business to the FPC when a hardware failure and / or software failure is detected relative to the active forwarding component.
[0013] The PIC may receive traffic from the active forwarding component and may forward the traffic toward a destination associated with the traffic. The PIC may also broadcast traffic received by the network device to the active forwarding component and the standby forwarding component. During a switch from the active forwarding component to the standby forwarding component, the PIC on each FPC needs to switch and select traffic from the standby forwarding component (e.g., which has become the new active forwarding component).
[0014] With respect to current switching techniques, each PIC needs to be updated (in a serial manner) with information identifying the new active forwarding component after switching, a new data path between the new active forwarding component and the PIC needs to be reestablished after switching, and a control path needs to be reestablished between the new active forwarding component and the PIC. Therefore, current switching techniques are limited by latency and delay. Such switching latency and delay may cause network devices to experience packet loss.
[0015] As the number of FPCs and / or PICs (of a network device) increases, switching delays and latency and packet loss are exacerbated. Therefore, current switching techniques waste computing resources (e.g., processing resources, memory resources, communication resources, etc.), network resources, and / or other resources associated with detecting packet loss, retransmitting packets due to packet loss, reconfiguring network devices to mitigate packet loss, and other examples of actions to mitigate packet loss.
[0016] Some embodiments described herein relate to a network device that provides switching for redundant forwarding components of a network device. For example, a network device may receive one or more packets, wherein the network device includes a first routing component, a second routing component, a first forwarding component, a second forwarding component, and a physical interface card concentrator (FPC) having multiple physical interface cards (PICs). The network device may provide a signal indicating that the second forwarding component will be an active forwarding component to the physical interface card concentrator by the first routing component; and the physical interface card concentrator may switch the data path for the multiple physical interface cards from the first forwarding component to the second forwarding component based on the signal. The network device may provide one or more packets to the second forwarding component by the first routing component; and the second forwarding component may provide one or more packets to multiple physical interface cards of the physical interface card concentrator via the data path. The network device may forward one or more packets toward one or more destinations associated with the one or more packets by multiple physical interface cards.
[0017] As explained herein, a routing component (of a network device) may generate a first signal and may provide the first signal to all FPCs in the FPCs of the network device. The first signal may be generated based on a detected fault (e.g., a hardware fault or a software fault) of a currently active forwarding component and / or based on a detected fault (e.g., a hardware fault or a software fault) of another routing component. This embodiment may also be extended to also monitor individual components on the currently active forwarding component. The first signal may include information identifying a new active forwarding component of the network device and / or information identifying a routing component as an active routing component of the network device.
[0018] Based on the first signal, the FPC can generate a second signal, and provide the second signal to the PIC (of the FPC) so that the PIC switches the data path to the new active forwarding component at the same time. In other words, all PICs on all FPCs can use a single software write operation or an automatic hardware trigger operation on the active routing component to switch the data path at the same time. Providing the first signal and the second signal enables separation of data path failures and control path failures on the communication. The embodiments described herein enable software-planned events to trigger data path switching in an efficient and seamless manner. The embodiments described herein also implement a fast switching scheme that achieves near-zero packet loss in almost all switching scenarios. The selection of the active forwarding component using the first signal enables flexible deployment relative to paired (e.g., associated with each other) routing components and forwarding components or relative to independent routing components and forwarding components.
[0019] Having the PICs switch data paths to the new active forwarding component simultaneously reduces switching latency and delay. Having the PICs switch data paths simultaneously also reduces packet loss when switching to the new active forwarding component. Thus, the network device can save computing resources, network resources, and / or other resources that would otherwise be consumed by detecting packet loss, retransmitting packets due to packet loss, reconfiguring the network device to mitigate packet loss, etc.
[0020] Figures 1A to 1F 1 is a diagram of an example implementation 100 associated with switching of a network device having redundant forwarding components. Figures 1A to 1F As shown in , example implementation 100 includes an endpoint device associated with a network including a plurality of network devices. Each of the endpoint devices may include a wireless communication device, a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., as described herein. Each of the network devices may include a router, a gateway, a switch, a firewall, a hub, a bridge, a reverse proxy, etc. Although Figures 1A to 1F A network device is described as interacting with a single endpoint device, but in some implementations, the network device may interact with multiple endpoint devices in a similar manner.
[0021] like Figure 1A 105, the network device may receive one or more packets destined for a destination address associated with an endpoint device. For example, the network device may receive one or more packets from a first endpoint device, and the one or more packets may be destined for a destination address of a second endpoint device. The destination address may include a network address, an Internet Protocol address, etc. In some examples, the network device may receive the one or more packets as part of a session between the first endpoint device and the second endpoint device.
[0022] In some implementations, a network device may include a first routing component (RC1), a second routing component (RC2), a first forwarding component (FC1), a second forwarding component (FC2), and a plurality of flexible physical interface card concentrators (FPCs). In some examples, in the event that an active routing component fails, the first routing component may be an active routing component of the network device and the second routing component may be a standby routing component of the network device (or vice versa).
[0023] The active routing component can be configured to: communicate with components of the network device (e.g., a first forwarding component, a second forwarding component, a plurality of flexible physical interface card concentrators, etc.), receive and transmit routing information, build and maintain routing data structures (e.g., routing tables), and other examples of control functions and / or management functions for the network device. In some embodiments, each of the first routing component and the second routing component may include a control unit. In some examples, the control unit may include a central processing unit (CPU), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc.
[0024] In some examples, the first forwarding component can be an active forwarding component of the network device, and the second forwarding component can be a standby forwarding component of the network device (or vice versa). The active forwarding component can be configured to forward packets (e.g., received at one or more ports of the network device) to the active routing component, or to forward packets toward one or more destinations of the packets. In some embodiments, each of the first forwarding component and the second forwarding component can include a control unit. In some examples, the control unit can include a CPU, an FPGA, an ASIC, etc.
[0025] A flexible physical interface card concentrator (or physical interface card concentrator) (FPC) can be a component including a control unit and a plurality of physical interface cards (PICs). In some examples, the control unit can include a CPU, an FPGA, an ASIC, etc. When a first forwarding component is an active forwarding component of a network device, the control unit can cause the PIC to establish a data path with the first forwarding component; when a second forwarding component is an active forwarding component, the control unit can cause the PIC to establish a data path with the second forwarding component. In some embodiments, the PIC can receive one or more packets and provide one or more packets to a first forwarding component (e.g., an active forwarding component). The first forwarding component can provide one or more packets to a first routing component.
[0026] Assume that the first routing component is an active routing component of the network device, the second routing component is a standby routing component of the network device, the first forwarding component is an active forwarding component of the network device, and the second forwarding component is a standby forwarding component of the network device. Assume further that the FPC (e.g., a control unit of the FPC) and the PIC (of the FPC) have been upgraded with information indicating that the first forwarding component is the active forwarding component of the network device and the second forwarding component is the standby forwarding component of the network device. Assume further that a data path (e.g., an active data path) has been established between the first forwarding component and each of the PICs of the plurality of FPCs.
[0027] like Figure 1B, and as shown by reference numeral 110, the network device may provide a first signal indicating that the second forwarding component will be the active forwarding component. For example, the first routing component may provide a first signal to the FPC of the network device indicating that the second forwarding component will be the active forwarding component. In some embodiments, the first routing component may receive an indication of a switch from the first forwarding component to the second forwarding component (e.g., to make the second forwarding component the active forwarding component). In some examples, the indication of the switch may be received based on a reconfiguration of the network device (e.g., by an administrator of the network device). As an example, the administrator may be performing an upgrade (e.g., a software upgrade) of the network device. The indication of the switch may be received independently of the first forwarding component that is experiencing a failure (e.g., received without the first forwarding component experiencing a failure).
[0028] The first routing component (e.g., a control unit of the first routing component) may generate a first signal indicating that the second forwarding component will become the active forwarding component based on the indication of the switch. In some examples, the first routing component may be upgraded with information indicating that the second forwarding component is the active forwarding component. Assume that before updating the information, the first routing component is associated with the first forwarding component. After updating the information, the first routing component may be associated with the second forwarding component (rather than the first forwarding component). As part of the updated information, one or more instructions of the control unit of the first routing component may be updated (e.g., software written) to cause the second forwarding component to be selected as the active forwarding component. In some examples, as a result of the updated information, the first routing component (e.g., a control unit of the first routing component) may generate a first signal and provide the first signal to the FPC (e.g., to the control unit of the FPC).
[0029] In some embodiments, in addition to or as an alternative to the first signal indicating that the second forwarding component is to become the active forwarding component, the first signal may indicate that the first routing component is the active routing component of the network device, that the first routing component is operational, and / or that the second routing component is a backup routing component of the network device. Alternatively, in addition to the first signal, the first routing component may also generate and provide (to the FPC) a signal indicating that the first routing component is the active routing component of the network device, a signal indicating that the first routing component is operational, and / or a signal indicating that the second routing component is a backup routing component of the network device. The first routing component may provide the first signal (or signals) to one or more other FPCs of the network device in a similar manner.
[0030] like Figure 1B115, the network device may cause data paths for multiple PICs to be switched from a first forwarding component to a second forwarding component. For example, the FPC (e.g., a control unit using the FPC) may receive a first signal and may cause a data path (e.g., an active data path) for each PIC in the PICs (of the FPC) to be switched from the first forwarding component to the second forwarding component based on the first signal. In some embodiments, the FPC (e.g., a control unit using the FPC) may analyze the first signal and determine, based on analyzing the first signal, that the data path for each PIC in the PICs (of the FPC) is switched from the first forwarding component to the second forwarding component.
[0031] In some examples, based on determining that the data path for each of the PICs will be switched from the first forwarding component to the second forwarding component, the FPC (e.g., a control unit of the FPC) may be upgraded with information indicating that the second forwarding component is the active forwarding component. In some embodiments, based on determining that the data path for each of the PICs will be switched from the first forwarding component to the second forwarding component, the FPC (e.g., a control unit using the FPC) may generate a switching signal indicating that the data path for each of the PICs (of the FPC) (e.g., an active data path) will be switched from the first forwarding component to the second forwarding component. The FPC (e.g., a control unit using the FPC) may provide the switching signal to each of the PICs so that the data path for each of the PICs is switched from the first forwarding component to the second forwarding component based on the switching signal. In some examples, the FPC may provide the switching signal to the PICs so that each of the PICs establishes a data path with the second forwarding component as the active data path and maintains a data path with the first forwarding component as the standby data path.
[0032] The FPC (e.g., a control unit using the FPC) can provide a switching signal to each of the PICs to cause the PICs to simultaneously switch the data path from the first forwarding component to the second forwarding component. In some examples, based on receiving the switching signal, the PIC can be updated with information indicating that the second forwarding component is the active forwarding component. Based on the updated information, the PIC can be configured to obtain a packet (e.g., one or more packets) to be transmitted by the network device from the second forwarding component (rather than from the first forwarding component).
[0033] In some examples, based on receiving the first signal from the first routing component, one or more other FPCs (of the network device) can generate a switching signal and provide the switching signal to the corresponding PICs to cause the corresponding PICs to simultaneously switch the data path from the first forwarding component to the second forwarding component in a manner similar to that described above. At this point, each of the PICs (of the FPC and one or more other FPCs) can simultaneously switch the data path from the first forwarding component to the second forwarding component based on a single upgrade of the control unit of the first routing component (as described above).
[0034] In some embodiments, communications between the first routing component and the FPC and between the FPC and the PIC (e.g., related to switching data paths) can occur in a timely manner (e.g., at clock speed). As a result, the network device can reduce (or eliminate) the possibility of packet loss. By reducing or eliminating the possibility of packet loss, the network device can save computing resources, network resources, and / or other resources that would otherwise be consumed by detecting packet loss, causing retransmission of packets, reconfiguring the network device to mitigate packet loss, etc.
[0035] In some embodiments, a service (e.g., a packet) may be received at a first port of a network device. The service may be provided to one or more first PICs of one or more first FPCs. The one or more first PICs may provide the service to an active forwarding component. The active forwarding component may provide the service to one or more second PICs of one or more second FPCs. The one or more second PICs may provide the service to a second port. The one or more first PICs may be different from or the same as the one or more second PICs, the one or more first FPCs may be different from or the same as the one or more second FPCs, and / or the first port may be different from or the same as the second port. The service may be referred to as transit traffic.
[0036] like Figure 1C , and as indicated by reference numeral 120, the network device can provide one or more packets to the second forwarding component. For example, the first routing component can cause the one or more packets to be provided to the second forwarding component (rather than the first forwarding component). In some embodiments, the first routing component can cause the one or more packets to be provided to the second forwarding component based on receiving an indication of a switch, based on being upgraded with information indicating that the second forwarding component is the active forwarding component, based on the first routing component being associated with the second forwarding component (rather than the first forwarding component), and / or based on generating and providing the first signal.
[0037] like Figure 1C, and as shown by reference numeral 125, the network device may forward one or more packets toward a destination. For example, the second forwarding component may provide the one or more packets to one or more PICs of the FPC's PICs, and the one or more PICs may forward the one or more packets toward the destination of the one or more packets (e.g., forward the one or more packets toward a destination address of the second endpoint device). In some embodiments, the one or more PICs may obtain the one or more packets from the second forwarding component via a data path (e.g., an active data path) between the second forwarding component and the one or more PICs.
[0038] The one or more control units (of the one or more PICs) may cause the one or more PICs to obtain the one or more packets from the second forwarding component via the data path based on the switching signal, based on information indicating that the second forwarding component is the active forwarding component, etc. In some embodiments, traffic flowing between the active routing component, the active forwarding component, and one or more ports of the network device (via one or more PICs of one or more FPCs) may be referred to as host traffic.
[0039] In some embodiments, one or more PICs (of the FPC) may receive one or more additional packets (e.g., from a second endpoint device). Based on switching the data path from the first forwarding component to the second forwarding component, the one or more PICs may provide the one or more additional packets to the second forwarding component via the data path. The second forwarding component may provide the one or more additional packets to the first routing component.
[0040] As mentioned above, in some embodiments, the PIC can maintain the data path between the PIC and the first forwarding component as a redundant data path and establish the data path between the PIC and the second forwarding component as an active data path. Thus, in some embodiments, one or more PICs can broadcast one or more additional packets to the first forwarding component (e.g., via the redundant data path) and to the second forwarding component (e.g., via the active data path). While the foregoing examples describe the active routing component interacting with a single FPC, in some embodiments, the active routing component can interact with multiple FPCs in a similar manner.
[0041] Relative to Figure 1D and Figure 1E , assuming that the first routing component is an active routing component of the network device, the second routing component is a standby routing component of the network device, the first forwarding component is an active forwarding component of the network device, and the second forwarding component is a standby forwarding component of the network device.
[0042] It is further assumed that the FPC (e.g., a control unit of the FPC) has been upgraded with information indicating that the first forwarding component is an active forwarding component of the network device and the second forwarding component is a standby forwarding component of the network device. It is further assumed that a data path (e.g., an active data path) has been established between the first forwarding component and each of the PICs of the FPC. It is further assumed that the network device has been upgraded with information indicating that the first forwarding component is an active forwarding component of the network device and the second forwarding component is a standby forwarding component of the network device. Figure 1A One or more packets are received from the first endpoint device in a manner similar to that described.
[0043] like Figure 1D In and as indicated by reference numeral 130, the network device may provide a second signal indicating that the second routing component will be the active routing component and the second forwarding component will be the active forwarding component. For example, the second routing component (e.g., a control unit of the second routing component) may provide a second signal to the FPC of the network device, indicating that the second routing component is the active routing component and the second forwarding component is the active forwarding component. In some examples, the second routing component may receive an indication of a switch from the first routing component to the second routing component. For example, the indication of the switch may be received based on a reconfiguration of the network device (e.g., a reconfiguration performed by an administrator of the network device). In addition or alternative to receiving an indication of the switch, the second routing component may receive an indication of a failure of the first routing component.
[0044] In some embodiments, based on receiving an indication of a switch or an indication of a failure of the first routing component, the second routing component (e.g., a control unit of the second routing component) can determine that the second routing component will become the active routing component. In some embodiments, the second routing component can be associated with the second forwarding component. In some examples, based on the second routing component becoming the active routing component, based on receiving an indication of a switch, based on the second routing component being associated with the second forwarding component, and / or based on an indication of a failure of the first routing component, the second routing component (e.g., a control unit of the second routing component) can determine that the second forwarding component will become the active forwarding component.
[0045] Based on determining that the second routing component will become the active routing component and the second forwarding component will become the active forwarding component, the second routing component (e.g., a control unit of the second routing component) can generate a second signal and provide the second signal to the FPC. In some examples, the second signal can include information indicating that the second routing component will become the active routing component and information indicating that the second forwarding component will become the active forwarding component. The second routing component can cause the second signal to be in accordance with the above Figure 1B A similar approach as described is provided to the FPC.The signal may cause a simultaneous switch from the first routing component to the second routing component and from the first forwarding component to the second forwarding component.
[0046] like Figure 1D In the example shown in FIG. 1 and as indicated by reference numeral 135, the network device may switch the data paths of the plurality of PICs from the first forwarding component to the second forwarding component. For example, based on the second signal, the FPC may be combined with the above Figure 1B The switching signal is generated in a manner similar to that described above and provided to the PIC of the FPC. The switching signal can be combined with the above Figure 1B A similar approach to that described is provided to the PICs (of the FPC) such that the data path for each of the PICs is switched from the first forwarding component to the second forwarding component.
[0047] like Figure 1E In the example and as shown by reference numeral 140, the network device can provide one or more packets to the second forwarding component. For example, the second routing component can be combined with the above Figure 1C One or more packets are provided to the second forwarding component in a manner similar to that described.
[0048] like Figure 1E In the figure and shown by reference numeral 145, the network device can forward one or more packets toward the destination. For example, in conjunction with the above Figure 1C In a manner similar to that described, the second forwarding component may provide the one or more packets to the PIC (of the FPC), and the PIC may provide the one or more packets toward a destination of the one or more packets.
[0049] Although the foregoing examples describe an active routing component interacting with a single FPC, in some implementations, an active routing component may interact with multiple FPCs in a similar manner.
[0050] about Figure 1F , assuming that the first routing component is an active routing component of the network device, the second routing component is a standby routing component of the network device, the first forwarding component is an active forwarding component of the network device, and the second forwarding component is a standby forwarding component of the network device.
[0051] It is further assumed that the FPC (e.g., a control unit of the FPC) has been upgraded with information indicating that the first forwarding component is an active forwarding component of the network device and the second forwarding component is a standby forwarding component of the network device. It is further assumed that a data path (e.g., an active data path) has been established between the first forwarding component and each of the PICs of the FPC. It is further assumed that the network device has been upgraded with information indicating that the first forwarding component is an active forwarding component of the network device and the second forwarding component is a standby forwarding component of the network device. Figure 1A One or more packets are received from the first endpoint device in a manner similar to that described.
[0052] like Figure 1F, and as shown by reference numeral 150, the network device can receive an indication of a failure of the first forwarding component. In some embodiments, the first routing component (e.g., a control unit of the first routing component) can actively monitor the first forwarding component and the second forwarding component to determine whether the first forwarding component and / or the second forwarding component is experiencing a failure. For example, the first routing component can monitor the first forwarding component to determine whether the first forwarding component is experiencing a power failure, a clock failure, a failure of the control unit of the first forwarding component, a failure of another component of the first forwarding component, etc.
[0053] In some embodiments, the first routing component can transmit one or more requests to the first forwarding component and determine whether the first forwarding component is experiencing a failure based on whether the first routing component receives one or more responses from the first forwarding component and / or based on information included in the one or more responses. The first routing component (e.g., a control unit of the first routing component) can actively monitor the second forwarding component in a similar manner.
[0054] In some embodiments, the first routing component may receive an indication of a fault associated with the first forwarding component. In some examples, the fault may be detected by one or more components of the network device (e.g., the first forwarding component, the FPC, the PIC, etc.), and the indication may be received from the one or more components.
[0055] like Figure 1F , and as indicated by reference numeral 155, the network device may provide a third signal indicating that the second forwarding component is the active forwarding component. In some embodiments, the first routing component (e.g., a control unit of the first routing component) may generate a third signal indicating that the second forwarding component is the active forwarding component. For example, the first routing component (e.g., a control unit of the first routing component) may determine that the first forwarding component is experiencing a failure based on receiving an indication of a failure and / or based on one or more responses (or lack of responses), and may generate the third signal based on determining that the first forwarding component is experiencing a failure.
[0056] Additionally, based on determining that the first forwarding component is experiencing a failure, the first routing component may be configured in combination with the above Figure 1B In some examples, the first routing component may be selected as the active forwarding component in a manner similar to that described above. Figure 1B The third signal is generated and provided in a manner similar to that described (the first routing component generates and provides the first signal).
[0057] like Figure 1FIn the example and as shown by reference numeral 160, the network device may cause the data paths for the plurality of PICs to be switched from the first forwarding component to the second forwarding component. For example, the FPC (e.g., a control unit using the FPC) may receive the third signal and may cause the data paths for each of the PICs to be switched from the first forwarding component to the second forwarding component based on the third signal. Figure 1B The FPC may be switched from the first forwarding component to the second forwarding component in a manner similar to that described above. Figure 1B The switching signal is generated in a manner similar to that described above and provided to the PIC (of the FPC). In some examples, the FPC can provide the switching signal to the PIC to cause each of the PICs (of the FPC) to terminate a data path with the first forwarding component (e.g., because the first forwarding component is experiencing a failure) and cause each of the PICs to establish a data path with the second forwarding component.
[0058] like Figure 1F In the example and as shown by reference numeral 165, the network device may forward one or more packets toward the destination. For example, after providing the third signal to the FPC and / or after the FPC provides a switching signal to the PIC (of the FPC), the first routing component may forward the one or more packets in a manner similar to the above. Figure 1C The method described above is provided to the second forwarding component in a similar manner. Figure 1C In a manner similar to that described, the second forwarding component may provide the one or more packets to the PIC (of the FPC), and the PIC may provide the one or more packets toward a destination of the one or more packets.
[0059] While the foregoing examples describe an active routing component interacting with a single FPC, in some embodiments, the active routing component may interact with multiple FPCs in a similar manner. As explained herein, the PIC (of a network device) may switch data paths to the active forwarding component simultaneously. Thus, the network device may save computing resources, network resources, and / or other resources that would otherwise be consumed by detecting packet loss, causing retransmission of packets, reconfiguring the network device to mitigate packet loss, and the like.
[0060] In some embodiments, the PIC (of the FPC) may monitor the status of a link (e.g., a physical link of a data path) between the PIC and a forwarding component (e.g., one of the first forwarding component or the second forwarding component). Based on monitoring the status of the link, the PIC may determine whether the link is experiencing a failure (e.g., a failure of a control unit of the forwarding component). Based on determining that the link is experiencing a failure, the PIC may establish a data path with another forwarding component (e.g., the other of the first forwarding component or the second forwarding component).
[0061] In some embodiments, the control unit of the first routing component and the control unit of the second routing component may encode information indicating a failure of a routing component and / or a forwarding component (e.g., one or more of the first routing component, the second routing component, the first forwarding component, and / or the second forwarding component), a health status of a routing component and / or a forwarding component, a status of a routing component and / or a forwarding component (e.g., offline), a temperature of a routing component and / or a forwarding component, a power status of a routing component and / or a forwarding component, etc. into a signal (e.g., a first signal, a second signal, and / or a third signal).
[0062] The control unit of the FPC (of the network device) may receive the signal and may decode the information to determine a failure of the forwarding component, a health status of the forwarding component, a status of the forwarding component, a temperature of the routing component and / or the forwarding component, a power status of the routing component and / or the forwarding component, etc. The control unit of the FPC may use the decoded information to determine whether the PIC (of the FPC) is to establish a data path with the forwarding component.
[0063] In some embodiments, a signal (e.g., the first signal, the second signal, and / or the third signal) can be used to perform load balancing for a network device. For example, an active routing component (e.g., the first routing component or the second routing component) can generate a signal to cause the PIC of one or more first FPCs to obtain packets from the first forwarding component and cause the PIC of one or more second FPCs to obtain packets from the second forwarding component.
[0064] As indicated above, Figures 1A to 1F are provided as examples. Other examples may be related to Figures 1A to 1F The examples described are different. Figures 1A to 1F The number and arrangement of the devices shown in are provided as examples. Figures 1A to 1F There may be additional devices, fewer devices, different devices, or differently arranged devices compared to the devices shown in FIG. Figures 1A to 1F Two or more devices shown in FIG. 1 may be implemented in a single device, or Figures 1A to 1F The single device shown in can be implemented as multiple distributed devices. Additionally or alternatively, Figures 1A to 1F A set of devices (e.g., one or more devices) shown in FIG. 1 may perform the operations described as being performed by Figures 1A to 1F One or more functions performed by another set of devices shown in FIG.
[0065] Figure 2 2 is a diagram of an example environment 200 in which the systems and / or methods described herein may be implemented. Figure 2As shown in FIG, environment 200 may include endpoint device 210, a set of network devices 220 (shown as network device 220-1 through network device 220-N), and network 230. The devices of environment 200 may be interconnected via wired connections, wireless connections, or a combination of wired and wireless connections.
[0066] Endpoint device 210 includes one or more devices capable of receiving, generating, storing, processing, and / or providing information, such as the information described herein. For example, endpoint device 210 may include a mobile phone (e.g., a smart phone or wireless phone), a laptop computer, a tablet computer, a desktop computer, a handheld computer, a gaming device, a wearable communication device (e.g., a smart watch, a pair of smart glasses, a heart rate monitor, a fitness tracker, smart clothing, smart jewelry, or a head-mounted display), a network device, a server device, or a similar type of device. In some embodiments, endpoint device 210 may receive network traffic from other endpoint devices 210 via network 230 and / or may provide network traffic to these other endpoint devices (e.g., by routing packets using network device 220 as an intermediary).
[0067] The network device 220 includes one or more devices that can receive, process, store, route and / or provide services (e.g., packets or other information or metadata) in a manner described herein. For example, the network device 220 may include a router, such as a label switching router (LSR), a label edge router (LER), an ingress router, an egress router, a provider router (e.g., a provider edge router or a provider core router), a virtual router, or another type of router. Additionally or alternatively, the network device 220 may include a gateway, a switch, a firewall, a hub, a bridge, a reverse proxy, a server (e.g., a proxy server, a cloud server, or a data center server), a load balancer, and / or similar devices. In some embodiments, the network device 220 may be a physical device implemented in a housing (such as a rack). In some embodiments, the network device 220 may be a virtual device implemented by one or more computer devices of a cloud computing environment or a data center. In some embodiments, a group of network devices 220 may be a group of data center nodes used to route traffic flows through the network 230.
[0068] The network 230 includes one or more wired and / or wireless networks. For example, the network 230 may include a packet-switched network, a cellular network (e.g., a fifth generation (5G) network, a fourth generation (4G) network (such as a long term evolution (LTE) network), a third generation (3G) network, a code division multiple access (CDMA) network, a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., a public switched telephone network (PSTN)), a private network, an ad hoc network, an intranet, the Internet, a fiber-based network, a cloud computing network, etc., and / or a combination of these or other types of networks.
[0069] Figure 2 The number and arrangement of devices and networks shown in are provided as examples. Figure 2 There may be additional devices and / or networks, fewer devices and / or networks, different devices and / or networks, or differently arranged devices and / or networks than those shown in FIG. Figure 2 Two or more devices shown in FIG. 1 may be implemented in a single device, or Figure 2 The single device shown in FIG. 200 may be implemented as multiple distributed devices. Additionally or alternatively, a set of devices (eg, one or more devices) of environment 200 may perform one or more functions described as being performed by another set of devices of environment 200.
[0070] Figure 3 yes Figure 2 The one or more devices may include device 300, which may correspond to endpoint device 210 and / or network device 220. In some implementations, endpoint device 210 and / or network device 220 may include one or more devices 300 and / or one or more components of device 300. Figure 3 As shown in , device 300 may include a bus 310 , a processor 320 , a memory 330 , a storage component 340 , an input component 350 , an output component 360 , and a communication component 370 .
[0071] The bus 310 includes components that enable wired and / or wireless communication among the components of the device 300. The processor 320 includes a central processing unit, a graphics processing unit, a microprocessor, a controller, a microcontroller, a digital signal processor, a field programmable gate array, an application-specific integrated circuit, and / or another type of processing component. The processor 320 is implemented in hardware, firmware, or a combination of hardware and software. In some embodiments, the processor 320 includes one or more processors that can be programmed to perform functions. The memory 330 includes a random access memory, a read-only memory, and / or another type of memory (e.g., flash memory, magnetic memory, and / or optical memory).
[0072] Storage component 340 stores information and / or software related to the operation of device 300. For example, storage component 340 may include a hard disk drive, a disk drive, an optical disk drive, a solid state disk drive, an optical disk, a digital versatile disk, and / or another type of non-temporary computer-readable medium. Input component 350 enables device 300 to receive input, such as user input and / or sensed input. For example, input component 350 may include a touch screen, a keyboard, a keypad, a mouse, a button, a microphone, a switch, a sensor, a global positioning system component, an accelerometer, a gyroscope, and / or an actuator. Output component 360 enables device 300 to provide output, such as via a display, a speaker, and / or one or more light-emitting diodes. Communication component 370 enables device 300 to communicate with other devices, such as via a wired connection and / or a wireless connection. For example, communication component 370 may include a receiver, a transmitter, a transceiver, a modem, a network interface card, and / or an antenna.
[0073] Device 300 can perform one or more processes described herein. For example, a non-transitory computer-readable medium (e.g., memory 330 and / or storage component 340) can store an instruction set (e.g., one or more instructions, codes, software codes, and / or program codes) for execution by processor 320. Processor 320 can execute the instruction set to perform one or more processes described herein. In some embodiments, execution of the instruction set by one or more processors 320 causes one or more processors 320 and / or device 300 to perform one or more processes described herein. In some embodiments, hard-wired circuitry can be used in place of instructions or in combination with instructions to perform one or more processes described herein. Therefore, the embodiments described herein are not limited to any particular combination of hardware circuitry and software.
[0074] Figure 3 The number and arrangement of components shown in are provided as examples. Figure 3The device 300 may include additional components, fewer components, different components, or differently arranged components compared to the components shown in FIG. Additionally or alternatively, components (e.g., one or more components) of one set of devices 300 may perform one or more functions described as being performed by components of another set of devices 300.
[0075] Figure 4 yes Figure 2 The one or more devices may include device 400. Device 400 may correspond to network device 220. In some implementations, network device 220 may include one or more devices 400 and / or one or more components of device 400. Figure 4 As shown in , the device 400 may include one or more input components 410-1 to input components 410-B (B≥1) (hereinafter collectively referred to as input components 410 and individually referred to as input components 410), a switching component 420, one or more output components 430-1 to output components 430-C (C≥1) (hereinafter collectively referred to as output components 430 and individually referred to as output components 430) and a controller 440.
[0076] The input component 410 may be one or more attachment points for a physical link and may be one or more entry points for incoming traffic, such as packets. The input component 410 may process incoming traffic, such as by performing data link layer encapsulation or decapsulation. In some embodiments, the input component 410 may transmit and / or receive packets. In some embodiments, the input component 410 may include an input line card that includes one or more packet processing components (e.g., in the form of an integrated circuit), such as one or more interface cards (IFCs), a packet forwarding component, a line card controller component, an input port, a processor, a memory, and / or an input queue. In some embodiments, the device 400 may include one or more input components 410.
[0077] The switching component 420 can interconnect the input component 410 with the output component 430. In some embodiments, the switching component 420 can be implemented via one or more crossbar switches, via a bus, and / or with a shared memory. The shared memory can act as a temporary buffer to store packets from the input component 410 before the packets are ultimately scheduled for delivery to the output component 430. In some embodiments, the switching component 420 can enable the input component 410, the output component 430, and / or the controller 440 to communicate with each other.
[0078] The output component 430 can store packets and can schedule packets for transmission on an output physical link. The output component 430 can support data link layer encapsulation or decapsulation and / or various higher-level protocols. In some embodiments, the output component 430 can transmit packets and / or receive packets. In some embodiments, the output component 430 may include an output line card, which includes one or more packet processing components (e.g., in the form of an integrated circuit), such as one or more IFCs, packet forwarding components, line card controller components, output ports, processors, memories, and / or output queues. In some embodiments, the device 400 may include one or more output components 430. In some embodiments, the input component 410 and the output component 430 may be implemented by the same set of components (e.g., and the input / output component may be a combination of the input component 410 and the output component 430).
[0079] Controller 440 includes a processor in the form of, for example, a CPU, a GPU, an APU, a microprocessor, a microcontroller, a DSP, an FPGA, an ASIC, and / or another type of processor. The processor is implemented in hardware, firmware, or a combination of hardware and software. In some embodiments, controller 440 may include one or more processors that can be programmed to perform a function.
[0080] In some implementations, controller 440 may include RAM, ROM, and / or another type of dynamic or static storage device (eg, flash memory, magnetic storage, optical storage, etc.) that stores information and / or instructions for use by controller 440 .
[0081] In some implementations, the controller 440 can communicate with other devices, networks, and / or systems connected to the device 400 to exchange information about the network topology. The controller 440 can create a routing table based on the network topology information, can create a forwarding table based on the routing table, and can forward the forwarding table to the input component 410 and / or the output component 430. The input component 410 and / or the output component 430 can use the forwarding table to perform a routing lookup for incoming and / or outgoing packets.
[0082] The controller 440 may perform one or more processes described herein. The controller 440 may perform these processes in response to executing software instructions stored by a non-transitory computer-readable medium. A computer-readable medium is defined herein as a non-transitory memory device. A memory device includes memory space within a single physical memory device or memory space distributed across multiple physical memory devices.
[0083] The software instructions may be read into a memory and / or storage component associated with the controller 440 from another computer-readable medium or from another device via a communication interface. When executed, the software instructions stored in the memory and / or storage component associated with the controller 440 may cause the controller 440 to perform one or more processes described herein. Additionally or alternatively, hard-wired circuitry may be used in place of or in combination with software instructions to perform one or more processes described herein. Therefore, the embodiments described herein are not limited to any specific combination of hardware circuitry and software.
[0084] Figure 4 The number and arrangement of components shown in are provided as examples. Figure 4 Device 400 may include additional components, fewer components, different components, or differently arranged components compared to the components shown in . Additionally or alternatively, a set of components (e.g., one or more components) of device 400 may perform one or more functions described as being performed by another set of components of device 400.
[0085] Figure 5 is a flow chart of an example process 500 for switching a network device having redundant forwarding components. In some embodiments, Figure 5 One or more process blocks of may be performed by a network device (e.g., network device 220). In some implementations, Figure 5 One or more process blocks of may be performed by another device or a group of devices separate from or including the device, such as an endpoint device (eg, endpoint device 210). Additionally or alternatively, Figure 5 One or more process blocks of may be performed by one or more components of device 300 (such as processor 320, memory 330, storage component 340, input component 350, output component 360, and / or communication component 370). Additionally or alternatively, Figure 5 One or more process blocks of may be performed by one or more components of device 400 , such as input component 410 , switching component 420 , output component 430 , and / or controller 440 .
[0086] like Figure 5 As shown in , process 500 may include receiving one or more packets (block 510). For example, as described above, the network device may receive one or more packets. In some embodiments, the network device includes a first routing component, a second routing component, a first forwarding component, a second forwarding component, and a flexible physical interface card concentrator (e.g., a physical interface card concentrator) having multiple physical interface cards.
[0087] like Figure 5As further shown in FIG. 5 , process 500 may include providing a signal to the physical interface card concentrator indicating that the second forwarding component will be the active forwarding component (block 520). For example, the network device may provide a signal to the physical interface card concentrator via the first routing component and indicating that the second forwarding component will be the active forwarding component, as described above.
[0088] like Figure 5 As further shown in FIG. 5 , process 500 may include causing data paths for multiple physical interface cards to be switched from a first forwarding component to a second forwarding component based on a signal (block 530). For example, the network device may cause data paths for multiple physical interface cards to be switched from a first forwarding component to a second forwarding component based on a signal through a physical interface card concentrator, as described above.
[0089] like Figure 5 As further shown in FIG. 5 , process 500 may include providing one or more packets to a second forwarding component (block 540). For example, the network device may provide one or more packets to a second forwarding component via a first routing component, as described above.
[0090] like Figure 5 As further shown in FIG. 5 , process 500 may include providing one or more packets to multiple physical interface cards of a physical interface card concentrator via a data path (block 550). For example, the network device may provide one or more packets to multiple physical interface cards of a physical interface card concentrator via a data path through a second forwarding component, as described above.
[0091] like Figure 5 As further shown in FIG. 5 , process 500 may include forwarding one or more packets toward one or more destinations associated with the one or more packets (block 560). For example, the network device may forward one or more packets toward one or more destinations associated with the one or more packets through multiple physical interface cards, as described above.
[0092] Process 500 may include additional implementations, such as any single implementation or any combination of implementations described below and / or in conjunction with one or more other processes described elsewhere herein.
[0093] In a first embodiment, providing, by the first routing component, a signal to the physical interface card concentrator indicating that the second forwarding component will be the active forwarding component includes providing, by a control unit of the first routing component, a signal to another control unit of the physical interface card concentrator indicating that the second forwarding component will be the active forwarding component.
[0094] In a second embodiment, alone or in combination with the first embodiment, the physical interface card concentrator causes the data paths for multiple physical interface cards to be switched from the first forwarding component to the second forwarding component based on a signal, including: the control unit of the physical interface card concentrator causes the multiple physical interface cards to terminate the data paths with the first forwarding component based on a signal; and the control unit of the physical interface card concentrator causes the multiple physical interface cards to establish data paths with the second forwarding component based on a signal.
[0095] In a third embodiment, alone or in combination with one or more of the first and second embodiments, the network device includes a plurality of physical interface card concentrators, and the physical interface card concentrator is one of the plurality of physical interface card concentrators.
[0096] In a fourth embodiment, either alone or in combination with one or more of the first to third embodiments, process 500 includes providing, by the second routing component, another signal to the physical interface card concentrator, the other signal indicating that the second routing component will be the active routing component, wherein the other signal is provided to the physical interface card concentrator by the second routing component instead of the first routing component, and wherein one or more packets are provided to multiple physical interface cards by the second routing component instead of the first routing component.
[0097] In a fifth embodiment, alone or in combination with one or more of the first to fourth embodiments, process 500 includes receiving, by a first routing component, an indication of a failure associated with a first forwarding component and generating, based on the indication of the failure associated with the first forwarding component, a signal indicating that a second forwarding component will be an active forwarding component.
[0098] In a sixth embodiment, alone or in combination with one or more of the first to fifth embodiments, the first routing component is an active routing component of the network device and the second routing component is a backup routing component of the network device.
[0099] In a seventh embodiment, either alone or in combination with one or more of the first to sixth embodiments, before the first forwarding component provides a signal to the physical interface card concentrator, the first forwarding component is an active forwarding component of the network device, and before the first forwarding component provides a signal to the physical interface card concentrator, the second forwarding component is a standby forwarding component of the network device.
[0100] In an eighth embodiment, alone or in combination with one or more of the first to seventh embodiments, data paths for multiple physical interface cards are switched from a first forwarding component to a second forwarding component in less than one millisecond. The network device includes traffic flowing between the second forwarding component, the multiple physical interface cards, and one or more ports of the network device.
[0101] In a ninth embodiment, alone or in combination with one or more of the first to eighth embodiments, the signal further indicates that the first routing component is an active routing component of the network device and the second routing component is a standby routing component of the network device.
[0102] In a tenth embodiment, either alone or in combination with one or more of the first to ninth embodiments, process 500 includes receiving one or more additional packets by the second forwarding component; providing one or more additional packets to a plurality of physical interface cards by the second forwarding component; and providing one or more additional packets to the first routing component by the plurality of physical interface cards.
[0103] In an eleventh embodiment, alone or in combination with one or more of the first to tenth embodiments, process 500 includes: providing a switching signal to each of a plurality of physical interface cards, the switching signal indicating that a data path for the plurality of physical interface cards will be switched from a first forwarding component to a second forwarding component; and based on the switching signal, switching the data path for the plurality of physical interface cards from the first forwarding component to the second forwarding component.
[0104] In a twelfth embodiment, alone or in combination with one or more of the first to eleventh embodiments, the network device includes a plurality of flexible physical interface card concentrators, and the flexible physical interface card concentrator is one of the plurality of flexible physical interface card concentrators.
[0105] although Figure 5 An example block diagram of process 500 is shown, but in some implementations, Figure 5 Process 500 may include additional blocks, fewer blocks, different blocks, or differently arranged blocks than those depicted in FIG. Additionally or alternatively, two or more blocks of process 500 may be performed in parallel.
[0106] The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the embodiments to the precise forms disclosed. Modifications may be made in light of the above disclosure or may be acquired from practice of the embodiments.
[0107] As used herein, the term "component" is intended to be broadly interpreted as hardware, firmware, or a combination of hardware and software. It will be apparent that the systems and / or methods described herein can be implemented in different forms of hardware, firmware, and / or a combination of hardware and software. The actual dedicated control hardware or software code used to implement these systems and / or methods does not limit the implementation. Therefore, the operation and behavior of the systems and / or methods are not described herein with reference to specific software code - it should be understood that software and hardware can be used to implement the systems and / or methods based on the description herein.
[0108] Although particular combinations of features are recited in the claims and / or disclosed in the specification, these combinations are not intended to limit the disclosure of the various embodiments. In fact, many of these features may be combined in ways not specifically recited in the claims and / or disclosed in the specification. Although each dependent claim listed below may directly depend on only one claim, the disclosure of the various embodiments includes each dependent claim in combination with every other claim in the claim set.
[0109] Unless explicitly described as such, the elements, actions or instructions used herein should not be interpreted as key or necessary. Moreover, as used herein, the articles "one" and "an" are intended to include one or more items, and can be used interchangeably with "one or more". Further, as used herein, the article "the" is intended to include one or more items quoted in conjunction with the article "the", and can be used interchangeably with "the one or more". In addition, as used herein, the term "set" is intended to include one or more items (such as related items, unrelated items, combinations of related and unrelated items, etc.), and can be used interchangeably with "one or more". In the case of only being intended to an item, the phrase "only one" or similar language is used. Moreover, as used herein, the term "has", "have", "having" etc. are intended to be open terms. Further, unless otherwise expressly stated, the phrase "based on" is intended to mean "based at least in part on". Furthermore, as used herein, the term "or" when used in tandem is intended to be inclusive and may be used interchangeably with "and / or" unless expressly stated otherwise (e.g., when used in conjunction with "any of" or "only one of the following").
[0110] Example 1. A method, comprising: receiving one or more packets by a network device; wherein the network device includes a first routing component, a second routing component, a first forwarding component, a second forwarding component, and a physical interface card concentrator having multiple physical interface cards; providing a signal by the first routing component to the physical interface card concentrator indicating that the second forwarding component will be the active forwarding component; switching a data path for the multiple physical interface cards from the first forwarding component to the second forwarding component by the physical interface card concentrator based on the signal; providing one or more packets by the first routing component to the second forwarding component; providing one or more packets by the second forwarding component to multiple physical interface cards of the physical interface card concentrator via the data path; and forwarding the one or more packets by the multiple physical interface cards toward one or more destinations associated with the one or more packets.
[0111] Example 2. A method according to Example 1, wherein providing a signal by the first routing component to the physical interface card concentrator indicating that the second forwarding component will be the active forwarding component includes: providing a signal by the control unit of the first routing component to another control unit of the physical interface card concentrator indicating that the second forwarding component will be the active forwarding component.
[0112] Example 3. A method according to Example 1, wherein a physical interface card concentrator causes data paths for multiple physical interface cards to be switched from a first forwarding component to a second forwarding component based on a signal, including: a control unit of the physical interface card concentrator causes the multiple physical interface cards to terminate data paths with the first forwarding component based on a signal; and a control unit of the physical interface card concentrator causes the multiple physical interface cards to establish data paths with the second forwarding component based on a signal.
[0113] Example 4. The method of Example 1, wherein the network device includes a plurality of physical interface card concentrators, and the physical interface card concentrator is one of the plurality of physical interface card concentrators.
[0114] Example 5. The method according to Example 1 also includes: providing another signal by the second routing component to the physical interface card concentrator indicating that the second routing component will be the active routing component, wherein the other signal is provided to the physical interface card concentrator by the second routing component instead of the first routing component, and wherein one or more packets are provided to multiple physical interface cards by the second routing component instead of the first routing component.
[0115] Example 6. The method of Example 1, further comprising: receiving, by the first routing component, an indication of a failure associated with the first forwarding component; and generating, based on the indication of the failure associated with the first forwarding component, a signal indicating that the second forwarding component is to be the active forwarding component.
[0116] Example 7. The method of Example 1, wherein the first routing component is an active routing component of the network device, and wherein the second routing component is a standby routing component of the network device.
[0117] Example 8. A network device comprising: a first routing component; a second routing component; a first forwarding component; a second forwarding component; and a physical interface card concentrator having multiple physical interface cards, wherein the first routing component is configured to: provide a signal to the physical interface card concentrator indicating that the second forwarding component will be the active forwarding component, and provide one or more packets to the second forwarding component, wherein the physical interface card concentrator is configured to: based on the signal, cause a data path for the multiple physical interface cards to be switched from the first forwarding component to the second forwarding component, wherein the second forwarding component is configured to: provide one or more packets to the multiple physical interface cards of the physical interface card concentrator via the data path, and wherein the multiple physical interface cards are configured to: forward the one or more packets toward one or more destinations associated with the one or more packets.
[0118] Example 9. A network device according to Example 8, wherein before the first forwarding component provides a signal to the physical interface card concentrator, the first forwarding component is an active forwarding component of the network device, and wherein before the first forwarding component provides a signal to the physical interface card concentrator, the second forwarding component is a standby forwarding component of the network device.
[0119] Example 10. A network device according to Example 8, wherein data paths for multiple physical interface cards are switched from a first forwarding component to a second forwarding component in less than one millisecond; and wherein the network device includes traffic flowing between the second forwarding component, the multiple physical interface cards, and one or more ports of the network device.
[0120] Example 11. The network device of Example 8, wherein the signal further indicates that the first routing component is an active routing component of the network device and the second routing component is a standby routing component of the network device.
[0121] Example 12. A network device according to Example 8, wherein the plurality of physical interface cards are further configured to: receive one or more additional packets; provide one or more additional packets to the second forwarding component; and wherein the second forwarding component is further configured to: provide one or more additional packets to the first routing component.
[0122] Example 13. A network device according to Example 8, wherein when a data path for a plurality of physical interface cards is switched from a first forwarding component to a second forwarding component based on a signal, the physical interface card concentrator is configured to: provide a switching signal to each of the plurality of physical interface cards, the switching signal indicating that the data path for the plurality of physical interface cards will be switched from the first forwarding component to the second forwarding component; and switch the data path for the plurality of physical interface cards from the first forwarding component to the second forwarding component based on the switching signal.
[0123] Example 14. The network device of Example 8, wherein the network device comprises a plurality of physical interface card concentrators, and the physical interface card concentrator is one of the plurality of physical interface card concentrators.
[0124] Example 15. A system comprising: a first routing component; a second routing component; a first forwarding component; a second forwarding component; and a plurality of physical interface cards, wherein the first routing component is configured to: provide a signal indicating that the second forwarding component will be the active forwarding component, wherein based on the signal, a data path for the physical interface card is switched from the first forwarding component to the second forwarding component, and one or more packets are provided to the second forwarding component, wherein the second forwarding component is configured to: provide the one or more packets to the physical interface card via the data path, and wherein the plurality of physical interface cards are configured to: forward the one or more packets toward one or more destinations associated with the one or more packets, receive one or more additional packets, and provide the one or more additional packets to the second forwarding component so that the second forwarding component provides the one or more additional packets to the first routing component.
[0125] Example 16. The system of Example 15, wherein the plurality of physical interface cards are further configured to: terminate a data path with the first forwarding component when the signal indicates that the first forwarding component is experiencing a failure.
[0126] Example 17. A system according to Example 15, wherein the second routing component is further configured to: provide another signal indicating that the second routing component will be the active routing component, wherein the other signal causes a simultaneous switch from the first routing component to the second routing component and from the first forwarding component to the second forwarding component; provide the packet to the second forwarding component; and wherein the second routing component is configured to: provide the packet to a physical interface card for forwarding toward a destination of the packet.
[0127] Example 18. The system of Example 15, wherein the first routing component is configured to: receive an indication of a failure associated with the first forwarding component; and based on the indication of the failure associated with the first forwarding component, generate a signal indicating that the second forwarding component is to be the active forwarding component.
[0128] Example 19. The system of Example 15, wherein data paths for the plurality of physical interface cards are switched from the first forwarding component to the second forwarding component in less than one millisecond.
[0129] Example 20. A system according to Example 15, wherein the signal further indicates that the first routing component is an active routing component of the network device, indicates that the second routing component is a standby routing component of the network device, indicates a failure of the second forwarding component, indicates a health state of the second forwarding component, indicates a state of the second forwarding component, indicates a temperature of the second forwarding component, and / or indicates a power state of the second forwarding component.
Claims
1. A method for routing, comprising: receiving one or more packets by a network device; wherein the network device comprises a first routing component, a second routing component, a first forwarding component, a second forwarding component, and a physical interface card concentrator having a plurality of physical interface cards; The control unit of the physical interface card concentrator enables each of the plurality of physical interface cards to establish a data path with the first forwarding component; providing, by the first routing component, a signal to the control unit of the physical interface card concentrator indicating that the second forwarding component is to be the active forwarding component, wherein the active forwarding component is configured to forward traffic to the physical interface card concentrator; The control unit of the physical interface card concentrator switches the data path for each of the plurality of physical interface cards from between the first forwarding component and the plurality of physical interface cards to between the second forwarding component and the plurality of physical interface cards simultaneously based on the signal; wherein the plurality of physical interface cards communicate with the second forwarding component but not with the first forwarding component; providing, by the first routing component, the one or more packets to the second forwarding component; providing, by the second forwarding component, the one or more packets to the plurality of physical interface cards via the data path; as well as The one or more packets are forwarded, by the plurality of physical interface cards, toward one or more destinations associated with the one or more packets.
2. The method of claim 1 , wherein providing, by the first routing component to the physical interface card concentrator, the signal indicating that the second forwarding component will be the active forwarding component comprises: The signal indicating that the second forwarding component will be the active forwarding component is provided by the control unit of the first routing component to another control unit of the physical interface card concentrator.
3. The method according to claim 1, wherein the physical interface card concentrator causes the data paths for the plurality of physical interface cards to be switched from the first forwarding component to the second forwarding component based on the signal, comprising: The control unit of the physical interface card concentrator causes the plurality of physical interface cards to terminate the data paths with the first forwarding component based on the signal; as well as The control unit of the physical interface card concentrator enables the plurality of physical interface cards to establish the data paths with the second forwarding component based on the signal. 4 . The method according to claim 1 , wherein the network device comprises a plurality of physical interface card concentrators, and the physical interface card concentrator is one of the plurality of physical interface card concentrators.
5. The method according to claim 1, further comprising: providing, by the second routing component to the physical interface card concentrator, another signal indicating that the second routing component will be the active routing component, wherein the other signal is provided to the physical interface card concentrator by the second routing component instead of the first routing component, and The one or more packets are provided to the plurality of physical interface cards by the second routing component but not by the first routing component.
6. The method according to claim 1, further comprising: receiving, by the first routing component, an indication of a failure associated with the first forwarding component; as well as Based on the indication of the failure associated with the first forwarding component, the signal is generated indicating that the second forwarding component will be the active forwarding component.
7. The method of claim 1, wherein the first routing component is an active routing component of the network device, and The second routing component is a backup routing component of the network device.
8. A network device comprising: a first routing component; A second routing component; a first forwarding component; A second forwarding component; as well as A physical interface card concentrator having a plurality of physical interface cards, Wherein the first routing component is configured as: providing a signal to the physical interface card concentrator indicating that the second forwarding component will be the active forwarding component, and providing one or more packets to the second forwarding component, The physical interface card concentrator is configured as follows: The control unit of the physical interface card concentrator enables each of the plurality of physical interface cards to establish a data path with the first forwarding component. wherein the active forwarding component is configured to forward traffic to the physical interface card concentrator; The control unit of the physical interface card concentrator switches the data path for each of the plurality of physical interface cards from between the first forwarding component and the plurality of physical interface cards to between the second forwarding component and the plurality of physical interface cards simultaneously based on the signal; wherein the plurality of physical interface cards communicate with the second forwarding component but not with the first forwarding component; The second forwarding component is configured as follows: providing the one or more packets to the plurality of physical interface cards via the data path, and The plurality of physical interface cards are configured as follows: The one or more packets are forwarded toward one or more destinations associated with the one or more packets.
9. The network device of claim 8, wherein before the first forwarding component provides the signal to the physical interface card concentrator, the first forwarding component is an active forwarding component of the network device, and Before the first forwarding component provides the signal to the physical interface card concentrator, the second forwarding component is a backup forwarding component of the network device.
10. The network device of claim 8, wherein the data paths for the plurality of physical interface cards are switched from the first forwarding component to the second forwarding component in less than one millisecond; and The network device includes traffic flowing between the second forwarding component, the plurality of physical interface cards, and one or more ports of the network device.
11. The network device of claim 8, wherein the signal further indicates that the first routing component is an active routing component of the network device and the second routing component is a standby routing component of the network device.
12. The network device of claim 8, wherein the plurality of physical interface cards are further configured to: receiving one or more additional packets; providing the one or more additional packets to the second forwarding component; and wherein the second forwarding component is further configured to: The one or more additional packets are provided to the first routing component.
13. The network device according to claim 8, wherein when the data paths for the plurality of physical interface cards are switched from the first forwarding component to the second forwarding component based on the signal, the physical interface card concentrator is configured to: providing a switching signal to each of the plurality of physical interface cards, the switching signal indicating that the data path for the plurality of physical interface cards is to be switched from the first forwarding component to the second forwarding component; and Based on the switching signal, the data paths for the plurality of physical interface cards are switched from the first forwarding component to the second forwarding component.
14. The network device according to claim 8, wherein the network device comprises a plurality of physical interface card concentrators, and the physical interface card concentrator is one of the plurality of physical interface card concentrators.
15. A system for routing, comprising: a first routing component; A second routing component; a first forwarding component; A second forwarding component; as well as A physical interface card concentrator having a plurality of physical interface cards, The physical interface card concentrator is configured as follows: The control unit of the physical interface card concentrator enables each of the plurality of physical interface cards to establish a data path with the first forwarding component; Wherein the first routing component is configured as: providing a signal indicating that the second forwarding component is to be the active forwarding component, wherein the active forwarding component is configured to forward traffic to the physical interface card concentrator; wherein based on the signal, the data path for each of the physical interface cards is simultaneously switched from between the first forwarding component and the plurality of physical interface cards to between the second forwarding component and the plurality of physical interface cards, and wherein the plurality of physical interface cards communicate with the second forwarding component but not with the first forwarding component; and providing one or more packets to the second forwarding component, The second forwarding component is configured as follows: providing the one or more packets to the physical interface card via the data path, and The plurality of physical interface cards are configured as follows: forwarding the one or more packets toward one or more destinations associated with the one or more packets, receiving one or more additional packets, and The one or more additional packets are provided to the second forwarding component such that the second forwarding component provides the one or more additional packets to the first routing component.
16. The system of claim 15, wherein the plurality of physical interface cards are further configured to: When the signal indicates that the first forwarding component is experiencing a failure, the data path with the first forwarding component is terminated.
17. The system of claim 15, wherein the second routing component is further configured to: providing another signal indicating that the second routing component is to be the active routing component, wherein the another signal causes a simultaneous switch from the first routing component to the second routing component and from the first forwarding component to the second forwarding component; providing the packet to the second forwarding component; and Wherein the second routing component is configured as: The packet is provided to the physical interface card for forwarding toward a destination for the packet.
18. The system of claim 15, wherein the first routing component is configured to: receiving an indication of a failure associated with the first forwarding component; and Based on the indication of the failure associated with the first forwarding component, the signal is generated indicating that the second forwarding component will be the active forwarding component.
19. The system of claim 15, wherein the data paths for the plurality of physical interface cards are switched from the first forwarding component to the second forwarding component in less than one millisecond.
20. The system of claim 15, wherein the signal further indicates that the first routing component is an active routing component, indicates that the second routing component is a standby routing component, indicates a failure of the second forwarding component, indicates a health status of the second forwarding component, indicates a status of the second forwarding component, indicates a temperature of the second forwarding component, and / or indicates a power status of the second forwarding component.
