Inter-card messaging in router chassis using data packets

By using data packets to transmit inter-card control messages on the router's switching structure, the problem of high inter-card control message transmission delays in the communication system is solved, fast transmission and efficient fault handling are achieved, and the performance of the router chassis is improved.

CN118659999APending Publication Date: 2024-09-17NOKIA NETWORKS OY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410277500.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-14
Filing Date
2024-03-12
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In communication systems, existing technology is difficult to effectively realize control message transmission between router cards, resulting in high control channel delay and low efficiency in fault detection and fast rerouting operations.

Method used

Direct or indirect transmission of inter-card control messages is achieved by using data packets on the switch fabric of the router, including payload and data packet header. The payload contains the inter-card control message, and the data packet header contains the switch fabric header and protocol header. , reduce delays and improve transmission efficiency.

Benefits of technology

It achieves rapid transmission of control messages between cards, reduces control channel delays, improves the efficiency of fault detection and fast rerouting operations, supports FRR operations to be completed within a few microseconds, and significantly improves the performance of the router chassis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659999A
    Figure CN118659999A
Patent Text Reader

Abstract

Various example embodiments are presented herein for supporting delivery of inter-card control messages in a router chassis. Communication of inter-card control messages in a router chassis may be performed using data packets sent through a switch fabric of the router chassis. The data packet may include a payload and a data packet header, where the payload includes the inter-card control message and the data packet header includes an indication that the data packet includes the inter-card control message. The inter-card control message may be transmitted indirectly over the switch fabric using a data packet protocol header encapsulating the payload and a switch fabric header encapsulating the data packet protocol header. The inter-card control message may be sent directly through the switching fabric using a switching fabric header encapsulating the payload.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Various example embodiments relate generally to communication systems, and more particularly, but not exclusively, to supporting inter-card control operations in a router chassis configured to be deployed in a communication system. Background Art

[0002] In a communication network, various communication technologies may be used to support various types of communications. Summary of the invention

[0003] In at least some example embodiments, an apparatus includes at least one processor and at least one memory storing instructions, which, when executed by the at least one processor, causes the apparatus to at least: obtain, at a first card of a router, an inter-card control message intended for a second card of the router; provide, at the first card, a data packet including a payload and a data packet header, wherein the payload includes the inter-card control message; and send the data packet from the first card to the second card via a switch fabric of the router. In at least some example embodiments, the data packet header includes a switch fabric header. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch fabric header. In at least some example embodiments, the data packet protocol header includes at least one of an Ethernet header, a multi-protocol label switching (MPLS) header, a bit indexed explicit replication (BIER) header, or an Internet Protocol (IP) header. In at least some example embodiments, the data packet header includes an indication that the payload includes an inter-card control message. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch fabric header, and an indication that the payload includes an inter-card control message is encoded in an address field of the data packet protocol header. In at least some example embodiments, the first card is a forwarding card. In at least some example embodiments, the inter-card control message is generated by a packet processor of the forwarding card or a central processing unit of the forwarding card. In at least some example embodiments, the second card is a second forwarding card or a control card.

[0004] In at least some example embodiments, a non-transitory computer-readable medium includes program instructions that, when executed by an apparatus, cause the apparatus to at least: obtain, at a first card of a router, an inter-card control message intended for a second card of the router; provide, at the first card, a data packet including a payload and a data packet header, wherein the payload includes the inter-card control message; and send the data packet from the first card to the second card via a switch fabric of the router. In at least some example embodiments, the data packet header includes a switch fabric header. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch fabric header. In at least some example embodiments, the data packet protocol header includes at least one of an Ethernet header, a multi-protocol label switching (MPLS) header, a bit indexed explicit replication (BIER) header, or an Internet Protocol (IP) header. In at least some example embodiments, the data packet header includes an indication that the payload includes an inter-card control message. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch fabric header, and an indication that the payload includes an inter-card control message is encoded in an address field of the data packet protocol header. In at least some example embodiments, the first card is a forwarding card. In at least some example embodiments, the inter-card control message is generated by a packet processor of the forwarding card or a central processing unit of the forwarding card. In at least some example embodiments, the second card is a second forwarding card or a control card.

[0005] In at least some example embodiments, a method includes: at a first card of a router, obtaining an inter-card control message intended for a second card of the router; at the first card, providing a data packet including a payload and a data packet header, wherein the payload includes the inter-card control message; and sending the data packet from the first card to the second card via a switch fabric of the router. In at least some example embodiments, the data packet header includes a switch fabric header. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch fabric header. In at least some example embodiments, the data packet protocol header includes at least one of an Ethernet header, a multi-protocol label switching (MPLS) header, a bit indexed explicit replication (BIER) header, or an Internet Protocol (IP) header. In at least some example embodiments, the data packet header includes an indication that the payload includes the inter-card control message. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch fabric header, and the indication that the payload includes the inter-card control message is encoded in an address field of the data packet protocol header. In at least some example embodiments, the first card is a forwarding card. In at least some example embodiments, the inter-card control message is generated by a packet processor of a forwarding card or a central processing unit of a forwarding card.In at least some example embodiments, the second card is a second forwarding card or a control card.

[0006] In at least some example embodiments, an apparatus includes: a component for obtaining an inter-card control message intended for a second card of a router at a first card of a router; a component for providing a data packet including a payload and a data packet header at the first card, wherein the payload includes the inter-card control message; and a component for sending the data packet from the first card to the second card via a switch fabric of the router. In at least some example embodiments, the data packet header includes a switch fabric header. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch fabric header. In at least some example embodiments, the data packet protocol header includes at least one of an Ethernet header, a multi-protocol label switching (MPLS) header, a bit indexed explicit replication (BIER) header, or an Internet Protocol (IP) header. In at least some example embodiments, the data packet header includes an indication that the payload includes an inter-card control message. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch fabric header, and the indication that the payload includes an inter-card control message is encoded in an address field of the data packet protocol header. In at least some example embodiments, the first card is a forwarding card. In at least some example embodiments, the inter-card control message is generated by a packet processor of the forwarding card or a central processing unit of the forwarding card. In at least some example embodiments, the second card is a second forwarding card or a control card.

[0007] In at least some example embodiments, a device includes at least one processor and at least one memory storing instructions, which, when executed by the at least one processor, causes the device to at least: receive a data packet including a payload and a data packet header via a switching structure of the router by a card of a router, wherein the payload includes an inter-card control message; and obtain the inter-card control message from the data packet by the card. In at least some example embodiments, the data packet header includes a switching structure header. In at least some example embodiments, the data packet header includes a data packet protocol header and a switching structure header. In at least some example embodiments, the data packet protocol header includes at least one of an Ethernet header, a multi-protocol label switching (MPLS) header, a bit index explicit replication (BIER) header, or an Internet Protocol (IP) header. In at least some example embodiments, the data packet header includes an indication that the payload includes an inter-card control message. In at least some example embodiments, the data packet header includes a data packet protocol header and a switching structure header, and the indication that the payload includes an inter-card control message is encoded in an address field of the data packet protocol header. In at least some example embodiments, the inter-card control message is obtained from the data packet based on an indication that the payload includes the inter-card control message. In at least some example embodiments, the card is a forwarding card or a control card. In at least some example embodiments, the card is a forwarding card, a packet processor of the forwarding card receives the data packet, and the inter-card control message is obtained from the data packet by the packet processor of the forwarding card. In at least some example embodiments, the inter-card control message is processed by the packet processor of the forwarding card. In at least some example embodiments, the inter-card control message is provided from the packet processor of the forwarding card to the central processing unit of the forwarding card.

[0008] In at least some example embodiments, a non-transitory computer-readable medium includes program instructions that, when executed by a device, cause the device to at least: receive a data packet including a payload and a data packet header via a switch structure of the router by a card of a router, wherein the payload includes an inter-card control message; and obtain the inter-card control message from the data packet by the card. In at least some example embodiments, the data packet header includes a switch structure header. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch structure header. In at least some example embodiments, the data packet protocol header includes at least one of an Ethernet header, a multi-protocol label switching (MPLS) header, a bit index explicit replication (BIER) header, or an Internet Protocol (IP) header. In at least some example embodiments, the data packet header includes an indication that the payload includes an inter-card control message. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch structure header, and the indication that the payload includes an inter-card control message is encoded in an address field of the data packet protocol header. In at least some example embodiments, the inter-card control message is obtained from the data packet based on an indication that the payload includes the inter-card control message. In at least some example embodiments, the card is a forwarding card or a control card. In at least some example embodiments, the card is a forwarding card, a packet processor of the forwarding card receives the data packet, and the inter-card control message is obtained from the data packet by the packet processor of the forwarding card. In at least some example embodiments, the inter-card control message is processed by the packet processor of the forwarding card. In at least some example embodiments, the inter-card control message is provided from the packet processor of the forwarding card to the central processing unit of the forwarding card.

[0009] In at least some example embodiments, a method includes: receiving, by a card of a router via a switch fabric of the router, a data packet including a payload and a data packet header, wherein the payload includes an inter-card control message; and obtaining, by the card, the inter-card control message from the data packet. In at least some example embodiments, the data packet header includes a switch fabric header. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch fabric header. In at least some example embodiments, the data packet protocol header includes at least one of an Ethernet header, a multi-protocol label switching (MPLS) header, a bit index explicit replication (BIER) header, or an Internet Protocol (IP) header. In at least some example embodiments, the data packet header includes an indication that the payload includes an inter-card control message. In at least some example embodiments, the data packet header includes a data packet protocol header and a switch fabric header, and the indication that the payload includes an inter-card control message is encoded in an address field of the data packet protocol header. In at least some example embodiments, based on the indication that the payload includes an inter-card control message, the inter-card control message is obtained from the data packet. In at least some example embodiments, the card is a forwarding card or a control card. In at least some example embodiments, the card is a forwarding card, a packet processor of the forwarding card receives the data packet, and the inter-card control message is obtained from the data packet by the packet processor of the forwarding card. In at least some example embodiments, the inter-card control message is processed by the packet processor of the forwarding card. In at least some example embodiments, the inter-card control message is provided from the packet processor of the forwarding card to the central processing unit of the forwarding card.

[0010] In at least some example embodiments, an apparatus includes: a component for receiving, by a card of a router via a switching structure of the router, a data packet including a payload and a data packet header, wherein the payload includes an inter-card control message; and a component for obtaining the inter-card control message from the data packet by the card. In at least some example embodiments, the data packet header includes a switching structure header. In at least some example embodiments, the data packet header includes a data packet protocol header and a switching structure header. In at least some example embodiments, the data packet protocol header includes at least one of an Ethernet header, a multi-protocol label switching (MPLS) header, a bit index explicit replication (BIER) header, or an Internet Protocol (IP) header. In at least some example embodiments, the data packet header includes an indication that the payload includes an inter-card control message. In at least some example embodiments, the data packet header includes a data packet protocol header and a switching structure header, and the indication that the payload includes an inter-card control message is encoded in an address field of the data packet protocol header. In at least some example embodiments, based on the indication that the payload includes an inter-card control message, the inter-card control message is obtained from the data packet. In at least some example embodiments, the card is a forwarding card or a control card. In at least some example embodiments, the card is a forwarding card, a packet processor of the forwarding card receives the data packet, and the inter-card control message is obtained from the data packet by the packet processor of the forwarding card. In at least some example embodiments, the inter-card control message is processed by the packet processor of the forwarding card. In at least some example embodiments, the inter-card control message is provided from the packet processor of the forwarding card to the central processing unit of the forwarding card. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The teachings herein may be readily understood by considering the following detailed description in conjunction with the accompanying drawings, in which:

[0012] Figure 1 An example embodiment of a router chassis is depicted, the router chassis being configured to support communication of inter-card control messages using data packets over a switch fabric of the router chassis;

[0013] Figure 2 Describes the use Figure 1 Example embodiment of a control card in a router chassis;

[0014] Figure 3 Describes the use Figure 1 Example embodiment of a forwarding card in a router chassis;

[0015] Figure 4 An example embodiment of a router chassis is depicted, the router chassis being configured to support communication of inter-card control messages using data packets over a switch fabric of the router chassis;

[0016] Figure 5 Describes the method used to perform a fast reroute operation before Figure 4 An example embodiment of a forwarding plane of a router chassis forwarding data packets of a data packet flow;

[0017] Figures 6A-6F Describes the use of Figure 4 An example embodiment of a forwarding plane of a router chassis forwarding an Ethernet packet;

[0018] Fig. 7A and Figure 7B Describes the Figure 5 Failures associated with the flow of data packets are used by Figure 4 An example embodiment of a switch fabric of a router chassis for communicating inter-card control messages;

[0019] Figure 8 Depicts the response to Figure 5 After a fast reroute operation is performed on a data packet flow associated with a failure, Figure 4 An example embodiment of a forwarding plane of a router chassis forwarding data packets of a data packet flow;

[0020] Fig. 9 An example embodiment for supporting communication of inter-card control messages using data packets, wherein the inter-card control messages are transmitted indirectly over a switch fabric, is depicted;

[0021] Figures 10A-10B An example embodiment for supporting communication of inter-card control messages using data packets, where the data packets are based on Ethernet, is depicted.

[0022] Fig.11 An example embodiment for supporting communication of inter-card control messages using data packets, wherein the inter-card control messages are directly transmitted over a switch fabric, is depicted;

[0023] Fig.12 depicts an example embodiment of inter-card control messages that may be transmitted using data packets over a switch fabric;

[0024] Fig.13 An example embodiment of an inter-card control message configured to report a port shutdown event is depicted, the inter-card control message may be transmitted using data packets over a switch fabric;

[0025] Fig.14 An example embodiment of a method for supporting sending inter-card control messages using data packets over a switch fabric of a router chassis is depicted;

[0026] Fig.15An example embodiment of a method for supporting reception of inter-card control messages using data packets on a switch fabric of a router chassis is depicted;

[0027] Fig.16 An example embodiment of a method for supporting sending inter-card control messages using data packets over a switch fabric of a router chassis is depicted;

[0028] Fig.17 An example embodiment of a method for supporting reception of inter-card control messages using data packets on a switch fabric of a router chassis is depicted;

[0029] Fig.18 An example embodiment of a method for supporting communication of inter-card control messages using data packets over a switch fabric of a router chassis is depicted; and

[0030] Fig.19 An example embodiment of a computer suitable for performing the various functions presented herein is depicted.

[0031] To facilitate understanding, identical reference numerals have been used herein, where possible, to designate identical elements that are common to the various figures. DETAILED DESCRIPTION

[0032] Various example embodiments for supporting the transmission of inter-card control messages in a router chassis are presented herein. Communication of inter-card control messages in a router chassis can be performed using a data packet sent by a packet forwarding plane of a router chassis. Communication of inter-card control messages in a router chassis can be performed using a data packet sent by a switching structure of a router chassis. A data packet can include a payload and a data packet header, wherein the payload includes an inter-card control message, and the data packet header includes an indication that the data packet includes an inter-card control message. Inter-card control messages can be indirectly sent through a switching structure using a data packet protocol header encapsulating a payload and a switching structure header encapsulating a data packet protocol header. Inter-card control messages can be directly sent through a switching structure using a switching structure header encapsulating a payload without using a data packet protocol header. Inter-card control messages can include various types of inter-card control messages (e.g., inter-card control messages reporting a fault for triggering a fast reroute (FRR) operation, or other types of inter-card control messages that can be exchanged between cards of a router chassis). It should be appreciated that advantages or potential advantages of these and various other example embodiments and example embodiments for supporting communication of inter-card control messages in a router chassis may be further appreciated by reference to the various figures discussed further below.

[0033] Figure 1An example embodiment of a router chassis configured to support communication of inter-card control messages using data packets is depicted.

[0034] like Figure 1 As described, the router chassis 100 includes a fixed number of slots 110-1 to 110-N (the slots 110-1, 110-x, 110-y, and 110-N shown in the figure are collectively referred to as slots 110), which respectively accommodate a set of cards 120-1 to 120-N (the card 120-1 shown in the slot 110-1, the card 120-x shown in the slot 110-x, the card 120-y shown in the slot 110-y, and the card 120-N shown in the slot 110-N are collectively referred to as cards 120). Here, the slot 110 is a position in the router chassis 100 configured to receive the card 120. Here, the card 120 is a unit of the router chassis 100, which is configured to perform a set of different functions, such as service forwarding functions, switching fabric functions, control functions, etc. The set of cards 120 includes one or more forwarding (FWD) cards operating in the data plane, one or more control (CTRL) cards operating in the control plane, and switch fabric (SF) cards supporting the data plane and the control plane.

[0035] like Figure 1 As depicted, in router chassis 100, slots 110-1 and 110-N each include a FWD card (card 120-1 and card 120-N, respectively), slot 110-x includes a CTRL card (card 120-x), and slot 110-y includes a SF card (card 120-y). The CTRL card is configured to implement at least a portion of the control plane of router chassis 100. The CTRL card is configured to support control functions of the FWD card. Figure 2 An example embodiment of a CTRL card is presented in . The FWD card is configured to implement the forwarding plane of the router chassis 100 (e.g., receiving packets from the network, processing packets, and sending packets to the network). The FWD card can each support one or more interfaces (e.g., ports, etc.), and the one or more interfaces are configured to support the communication of packets (represented as "packet in / out" supporting the communication of packets to / from the router chassis 100). Figure 3 An example embodiment of a FWD card is presented in It should be understood that the FWD card(s), SF card(s), and CTRL card(s) may be installed in suitable slot(s) of the router chassis 100 .

[0036] like Figure 1As depicted, router chassis 100 includes a control structure (CF) 130. CF 130 is configured to support control plane communications (e.g., support communication of control plane packets initiated and terminated in the control plane) between CTRL cards and FWD cards (illustratively, CF 130 supports control communications between CTRL cards in slot 110-x and FWD cards in slot 110-1 and slot 110-N). CF 130 may be configured to support various control operations performed by CTRL cards for FWD cards (e.g., establishing packet forwarding states, exchanging various notifications and alarms, collecting statistics and telemetry information, etc., and various combinations thereof). CF 130 may be configured to support various other control operations that may be supported by the control plane of router chassis 100.

[0037] like Figure 1 As depicted, router chassis 100 includes a switch fabric (SF) 140. SF 140 includes a SF card in slot 110-y, and SF 140 supports communication between the SF card in slot 110-y and each of the other cards in other slots (illustratively, the FWD cards in slot 110-1 and slot 110-N, and the CTRL card in slot 110-x). SF 140 may be orchestrated by the SF cards in slot 110-y. SF 140 is configured to support data plane communication between FWD cards (e.g., support communication of data packets of a service flow passing through router chassis 100). SF 140 is configured to support control plane communication between CTRL cards and FWD cards (e.g., support communication of control plane packets originated or terminated in the control plane). In at least some example embodiments, as presented herein, SF 140 is configured to support propagation of data packets that transmit inter-card control messages. SF 140 may be configured to support various other data plane operations that may be supported by the data plane of router chassis 100 , and / or various other control operations that may be supported by the control plane of router chassis 100 .

[0038] It should be understood that although components and interfaces are primarily presented with respect to specific types, numbers, and arrangements, router chassis 100 can be implemented using various other types, numbers, and / or arrangements of components, using various other types, numbers, and / or arrangements of interfaces, etc., as well as various combinations thereof.

[0039] Figure 2 Describes the use Figure 1 An example embodiment of a control card in a router chassis.

[0040] As discussed herein, the control card 200 is configured to provide a router chassis with control plane operations, in which the control card 200 is deployed. For example, the control card 200 can be configured to set the packet forwarding state in the packet forwarding plane (also referred to as the data plane). For example, the control card 200 can be configured to run various control protocols, such as Open Shortest Path First (OSPF), Intermediate System to Intermediate System (IS-IS), Border Gateway Protocol (BGP), Bidirectional Forwarding Detection (BFD), Label Distribution Protocol (LDP), Resource Reservation Protocol (RSVP), Resource Reservation Protocol-Traffic Engineering (RSVP-TE), etc., and various combinations thereof. For example, the control card 200 can be configured to provide configuration management. It should be understood that the control card 200 can be configured to provide a router chassis with various other control plane functions.

[0041] like Figure 2 As described, the control card 200 includes a central processing unit (CPU) 210, a memory 220, and an input / output (I / O) controller 230. The CPU 210, the memory 220, and the I / O controller 230 can be configured to collaborate to support various control plane functions at the control card 200. The CPU 210 is configured to control the operation of the control card 200. The CPU 210 is connected to the memory 220. The memory 220 is configured to store various types of information related to the operation of the control card 200 (e.g., instructions for various control plane functions provided at the control card 200 that can be executed by the CPU 210, control data related to the control plane functions provided by the control card 200, etc., and various combinations thereof). The CPU 210 is also connected to the I / O controller 230 for communicating with various I / O devices. The I / O controller 230 can be configured to interface with various other elements using a high-speed communication bus or other suitable types of interfaces or connections. The CPU 210 , the memory 220 , and the I / O controller 230 may be configured to cooperate to support various other control plane functions at the control card 200 .

[0042] like Figure 2 As depicted, the control card 200 is configured to interface with a control fabric (CF) and a switch fabric (SF) of a router chassis in which the control card 200 is deployed. The control card 200 can interface with the CF and SF via an I / O controller 230. Figure 2As depicted, the two I / O connections supported by I / O controller 230 include I / O connection 241 to the CF, and I / O connection 242 to the SF. I / O connection 241 to the CF terminates on CPU 210 and passes through I / O controller 230 (e.g., via an I / O controller specific to the CF). I / O connection 242 to the SF terminates on I / O controller 230 (e.g., an I / O controller specific to the SF). It should be understood that control card 200 can interface with the CF and SF of the router chassis in which control card 200 is deployed in various other ways.

[0043] It should be understood that although components and interfaces are primarily presented with respect to specific types, numbers, and arrangements, the control card 200 can be implemented using various other types, numbers, and / or arrangements of components, using various other types, numbers, and / or arrangements of interfaces, etc., as well as various combinations thereof.

[0044] Figure 3 Describes the use Figure 1 An example embodiment of a forwarding card in a router chassis.

[0045] As discussed herein, the forwarding card 300 is configured to provide a router chassis with forwarding plane operations, in which the forwarding card 300 is deployed. For example, the forwarding card 300 can be configured to support the processing of packets in the forwarding plane, including receiving packets, processing packets, and sending packets. For example, the forwarding card 300 can be configured to support various packet processing functions. For example, the forwarding card 300 can be configured to maintain the packet forwarding state of the packet forwarding plane. For example, the forwarding card 300 can be configured to support the forwarding of data packets based on various data plane protocols, such as Ethernet, multi-protocol label switching (MPLS), bit index explicit replication (BIER), Internet Protocol (IP), etc., and various combinations thereof. It should be understood that the forwarding card 300 can be configured to provide a router chassis with various other control functions.

[0046] like Figure 3As depicted, the forwarding card 300 includes a central processing unit (CPU) 310, a memory 320, an input / output (I / O) controller 330, a packet processor 340, a set of coprocessors 350-1 to 350-P (collectively, coprocessors 350), and a set of transceivers 360-1 to 360-N (collectively, transceivers 360). The CPU 310 is connected to the memory 320. The CPU 310 is also connected to the I / O controller 330 for communicating with various I / O devices. The packet processor 340 is connected to the I / O controller 330 and may also be connected to one or more coprocessors 350 (illustratively, only a direct connection to the coprocessor 350-1 is depicted). Each coprocessor 350 is connected to the I / O controller 330 and may be connected to each other (illustratively, only the direct connection between the coprocessor 350-1 and the coprocessor 350-P is depicted), and may be connected to the packet processor 340 (illustratively, for clarity, only the direct connection from the coprocessor 350-1 to the packet processor 340 is depicted). Each transceiver 360 is connected to the I / O controller 330 (illustratively, for clarity, only the connection between the transceiver 360-1 and the I / O controller 330 is depicted), and may be connected to each other (illustratively, for clarity, only the direct connection between the transceiver 360-1 and the transceiver 360-N is depicted), and may be connected to the packet processor 340 (illustratively, these connections are not depicted for clarity) and / or one or more coprocessors 350 (illustratively, for clarity, only the direct connection from the transceiver 360 to the coprocessor 350-P is depicted). It should be appreciated that the various elements of the forwarding card 300 may be communicatively coupled in a variety of other ways.

[0047] The CPU 310, the memory 320, and the I / O controller 330 may be configured to cooperate to support various forwarding plane functions at the forwarding card 300. The CPU 310 is configured to control the operation of the forwarding card 300. The CPU 310 may be configured to receive various control messages / commands from the control plane card through the CF, and then trigger actions on the packet forwarding components (e.g., the packet processor 340, the coprocessor 350, the transceiver 360, etc.) through the I / O connection to the packet forwarding components. The memory 320 is configured to store various types of information related to the operation of the forwarding card 300 (e.g., instructions that can be executed by the CPU 310 for providing various forwarding plane functions at the forwarding card 300, data related to the forwarding plane functions provided by the forwarding card 300, etc., and various combinations thereof). The I / O controller 330 may be configured to interface with various other elements using a high-speed communication bus or other suitable types of interfaces or connections. The CPU 310, the memory 320, and / or the I / O controller 330 may be configured to cooperate to support various other forwarding plane functions at the forwarding card 300.

[0048] The packet processor 340 and the coprocessor 350 may be configured to provide various forwarding plane functions at the forwarding card 300. For example, the packet processor 340 may perform processing related to the forwarding of packets based on one or more headers of one or more data plane protocols (e.g., Ethernet, MPLS, BIER, IPv4, IPv6, etc., and various combinations thereof), such as where information in the packet header of the packet maps the packet to a flow, and forwarding decisions are made for the packet based on states programmed for the flow in one or more forwarding tables stored in a memory of the packet processor 340. For example, the coprocessor 350 may perform processing associated with supporting layer 2 functions (e.g., media access control (MAC), etc.), layer 1 functions (e.g., physical layer processing functions), security functions (e.g., encryption / decryption, authentication, etc.), etc., and various combinations thereof. The packet processor 340 and / or the coprocessor 350 may be configured to provide various other forwarding plane functions at the forwarding card 300.

[0049] like Figure 3 As depicted, the forwarding card 300 is configured to interface with a switch fabric (SF) and a control fabric (CF) of a router chassis in which the forwarding card 300 is deployed. The forwarding card 300 may interface with the SF via a packet processor 340. The forwarding card 300 may interface with the CF via an I / O controller 330 (illustratively, an I / O connection to the CF may terminate on the CPU 310 and pass through the I / O controller 330). It should be understood that the forwarding card 300 may interface with the SF and CF of a router chassis in which the forwarding card 300 is deployed in a variety of other ways.

[0050] As described above, the forwarding card 300 is configured to receive data packets on the packet receiving (entrance) side of the router chassis. The transceiver 360 receives the data packet from the port (received via the line). The transceiver 360 sends the data packet through the coprocessor 350 until the data packet reaches the packet processor 340. The packet processor 340 looks up various forwarding states based on one or more data packet protocol headers (e.g., Ethernet, MPLS, BIER, IP, etc.) in the data packet, and sends the packet to the SF by adding an internal header (called a switching structure (SF) header), which includes an indication of the destination card (e.g., CTRL card or FWD card) of the data packet and some commands of the destination card. The SF card receives the data packet with the SF header, parses the SF header, and provides the data packet to the destination card based on the information in the SF header. If the destination card is a CTRL card, the data packet is processed by software running on the CPU on the CTRL card. If the destination card is a FWD card, the FWD card performs the actions described below on the sending (exit) side of the router chassis.

[0051] As described above, the forwarding card 300 is configured to send packets to the packet sending (export) side. The packet processor 340 receives a data packet including an SF header from the SF card. The packet processor 340 searches for various states based on one or more data packet protocol headers in the data packet and / or based on one or more commands included in the SF header. The packet processor 340 removes the SF header from the data packet, and based on various states at the export side, can modify the existing (multiple) data packet protocol headers and / or add one or more additional data packet protocol headers. The data packet propagates to the transceiver 360 through the coprocessor 350, and the data packet will be sent through the transceiver 360. The data packet propagates to its associated export port through the transceiver 360 and is then sent out through the line.

[0052] It should be understood that although components and interfaces are primarily presented with respect to specific types, numbers, and arrangements, the forwarding card 300 can be implemented using various other types, numbers, and / or arrangements of components, various other types, numbers, and / or arrangements of interfaces, etc., as well as various combinations thereof.

[0053] Figure 4 An example embodiment of a router chassis configured to support communication of inter-card control messages using data packets is depicted.

[0054] like Figure 4As depicted, the router chassis 400 includes a control card 410 (denoted as CTRL CD 410), a set of forwarding cards 420-1 through 420-N (collectively referred to as forwarding cards 420, which are denoted as FWD CD 420-1 through FWD CD 420-N), a switch fabric (SF) card 430, a control fabric (CF) 440, and a switch fabric (SF) 450. The router chassis 400 and Figure 1 The router chassis 100 is similar to the one shown in FIG. Figure 2 (for control cards) and Figure 3 (For forwarding cards) Additional details of the cards depicted. More specifically, the control card 410 and Figure 2 The control card 200 is similar to the control card 200, and each forwarding card 420 is connected to Figure 3 The forwarding card 300 is similar.

[0055] like Figure 4 As depicted, CF 440 provides a structure that supports control and management message transmission between the control plane and the forwarding plane. CF 440 interconnects the CPU of the control card 410 with the CPU of each forwarding card 420. CF 440 is used to perform control and management message transmission between the control card 410 and the forwarding card 420 using control messages (referred to as inter-card control messages). For example, inter-card control messages can be used to configure the forwarding plane by the control plane, notify the control plane of alarms and warnings generated in the forwarding plane (e.g., port shutdown events, card failure events, etc.), transmit heartbeat signals to check connectivity between cards, notify the control plane of adjacent element failures (e.g., adjacent node failures, adjacent link failures, etc.) from the forwarding plane, etc., and various combinations thereof. CF 440 can be implemented in various ways, such as by implementing CF 440 as Ethernet and exchanging inter-card control messages as transmission control protocol (TCP) / Internet protocol (IP) messages or using any other suitable communication technology.

[0056] like Figure 4As depicted, SF 450 provides a fabric by which data packets are exchanged between cards of router chassis 400. SF 450 is used to forward data packets and provides the highest bandwidth and lowest latency path in router chassis 400 (e.g., up to multi-terabit rates in a core router with near zero latency), and is generally lossless. SF 450 interconnects the packet processors of forwarding cards 420 via SF card 430, and connects the packet processors of forwarding cards 420 to the I / O control interface of control card 410 via SF card 430. SF 450 is a fabric by which data packets received via a first port in a first forwarding card 420 and sent via a second port in a second forwarding card 420 are transmitted between a first forwarding card 420 (illustratively, a packet processor of the first forwarding card 420) and a second forwarding card 420 (illustratively, a packet processor of the second forwarding card 420). It should be understood that SF card 430 forms part of SF 450. SF 450 may be implemented using application specific integrated circuit (ASIC) related communication capabilities (e.g., ASIC to ASIC communication capabilities). For example, SF 450 may be implemented using a bundle of serializer / deserializer (SerDes) channels. For example, a terabit fabric link in SF 450 may be composed of 10x100 Gigabit SerDes channels, 20x50 Gigabit SerDes channels, etc. By considering forwarding of data packets through SF 450 in conjunction with fast reroute (FRR) operations, it may be further understood that SF 450 supports operations for forwarding data packets, including examples of packet forwarding through SF 450 prior to FRR operations (e.g., as described with reference to FIG. 1 ). Figure 5 and Figures 6A-6F ) and an example of packet forwarding by SF 450 after FRR operation (e.g., as shown in reference Figure 8 presented).

[0057] As discussed further below, SF 450 is also configured to support communication of inter-card control messages in the forwarding plane. Propagating inter-card control messages through SF 450 reduces the delay of delivering inter-card control messages between cards of router structure 400 compared to using CF 440 to deliver inter-card control messages between cards of router structure 400. Data packets for transmitting inter-card control messages through SF 450 can be configured to indirectly transmit inter-card control messages on SF 450 using a data packet protocol (e.g., wherein the data packet includes the inter-card control message as a payload, includes a data packet protocol header that encapsulates the inter-card control message, and a switch fabric header that encapsulates the data packet protocol header). Data packets for transmitting inter-card control messages through SF 450 can be configured to directly transmit inter-card control messages on SF 450 without using a data packet protocol (e.g., wherein the data packet includes the inter-card control message as a payload and includes a switch fabric header that encapsulates the inter-card control message). By considering the manner in which the inter-card control message is forwarded by the SF 450 in conjunction with the FRR operation, the operation of the SF 450 in supporting the forwarding of the inter-card control message on the forwarding plane can be further understood, including an example of packet forwarding by the SF 450 before the FRR operation (e.g., as shown in FIG. Figure 5 and Figures 6A-6F ), an example of an inter-card control message for reporting a fault transmitted by SF 450 (eg, with reference to Fig. 7A and Figure 7B ), and an example of packet forwarding through SF 450 after FRR operation (e.g., as shown in FIG. Figure 8 presented).

[0058] It should be understood that although components and interfaces are primarily presented with respect to specific types, numbers, and arrangements, router chassis 400 can be implemented using various other types, numbers, and / or arrangements of components, using various other types, numbers, and / or arrangements of interfaces, etc., as well as various combinations thereof.

[0059] Figure 5 Describes the method used to perform a fast reroute operation before Figure 4 An example embodiment of a forwarding plane of a router chassis forwarding data packets of a data packet flow. Figure 5 In Figure 4 The router chassis 400 supports packet flow along a flow path (FP) 501. The packet flow on FP 501 is a FRR operation (refer to Fig. 7A and Figure 7B4. The original packet flow before FP 501 is described. For the packet flow on FP 501, the data packet enters the router chassis 400 on port 3 of card 1 (illustratively, on transceiver T-3 of forwarding card 420-1, which is the ingress forwarding card for the packet flow on FP 501) and leaves the router chassis 400 on port 15 of card 2 (illustratively, on transceiver T-15 of forwarding card 420-2, which is the egress forwarding card for the packet flow on FP 501). For the packet flow on FP 501, on the ingress forwarding card, the packet is received at transceiver T-3 through the line entering the router chassis 400, and the packet is provided from transceiver T-3 to the packet processor on the ingress forwarding card by the coprocessor on the ingress forwarding card. For the packet flow on FP 501, the packet is transmitted from the packet processor on the ingress forwarding card to the packet processor on the egress forwarding card via SF 450. For packet flows on FP501, on the egress forwarding card, packets are routed from the packet processor through the coprocessor on the egress forwarding card to the transceiver T-15 for line transmission outside the router chassis 400. It should be understood that by referring to the following reference Figures 6A-6F The packet format is described in an example manner (refer to Figures 6A-6C First Example of Description and Reference Figure 6D-6F The second example described), it can be further understood that by Figure 4 Packet forwarding of the router chassis 400.

[0060] As a first example (which is Figure 5 See the diagram and reference Figures 6A-6C ), consider an Ethernet packet that enters router chassis 400 on port 3 of forwarding card 420-1 and leaves router chassis 400 on port 15 of forwarding card 420-2. The Ethernet packet is depicted as Fig. 6A The packet processor in the forwarding card 420-1 parses the Ethernet header in the Ethernet packet 601 and determines that the Ethernet header includes a VLAN header of VLAN 50. Then, the packet processor of the forwarding card 420-1 looks up the destination MAC (DMAC) address of the Ethernet header in the forwarding table of VLAN 50. The table entry of the DMAC address of the Ethernet header indicates that the packet needs to be sent out through port 15 of the forwarding card 420-2. Therefore, the packet processor in the forwarding card 420-1 sends the Ethernet packet 601 to the forwarding card 420-2 via SF 450 by adding an SF header to the Ethernet packet 601 and placing the resulting packet on SF 450. The SF header added to the Ethernet packet 601 includes an indication that the packet needs to be sent out through port 15 in the forwarding card 420-2. The packet including the SF header encapsulating the Ethernet packet 601 is depicted as Figure 6BSF packet 602. The packet processor of forwarding card 420-1 sends SF packet 602 through SF 450. SF card 430 receives SF packet 602 and relays SF packet 602 to the packet processor of forwarding card 420-2 via SF 450. The packet processor of forwarding card 420-2 receives SF packet 602, removes the SF header from SF packet 602 to recover Ethernet packet 601, and based on the SF header, provides Ethernet packet 601 to the transceiver of forwarding card 420-2 for transmission on port 15 of forwarding card 420-2. The Ethernet packet recovered based on the removal of the SF header is depicted as Figure 6C Ethernet packet 603 (which, as indicated above, will be understood to be Fig. 6A The flow path of the Ethernet packet in the router chassis 400 of this example is the same as the Ethernet packet 601. Figure 5 Depicted as FP 501.

[0061] As a second example (which is not Figure 5 The figure is shown in the figure, but refer to Figure 6D-6F ), consider an Ethernet packet that enters router chassis 400 on port 5 of forwarding card 420-1 and leaves router chassis 400 on port 10 of forwarding card 420-2. The Ethernet packet is Fig.6D 604 of the Ethernet packet. The packet processor in forwarding card 420-1 parses the Ethernet header in Ethernet packet 601 and determines that the Ethernet header includes the VLAN header of VLAN 100. Then, the packet processor of forwarding card 420-1 searches for the destination MAC (DMAC) address of the Ethernet header in the forwarding table of VLAN 100. The table entry of the DMAC address of the Ethernet header indicates that it is the local address of the router. Therefore, the packet processor of forwarding card 420-1 strips off the Ethernet header and processes the next header, which happens to be an IPv4 header (the EtherType field in the Ethernet header indicates that the next header is IPv4). Forwarding card 420-1 searches for the destination IP address in the IP header of the IPv4 packet in the IPv4 routing table. The matching IPv4 routing table entry indicates that the IPv4 packet needs to be sent out to the next hop IPv4 address IP-N through port 10 of forwarding card 420-2. Therefore, the packet processor in forwarding card 420-1 sends the IPv4 packet to forwarding card 420-2 via SF 450 by adding an SF header to the IPv4 packet and placing the resulting packet on SF 450. The SF header added to the IPv4 packet includes an indication that the IPv4 packet needs to be sent out to IP-N through port 10 in forwarding card 420-2. The packet including the SF header encapsulating the IPv4 packet is depicted as Fig. 6ESF packet 605. The packet processor of forwarding card 420-1 sends SF packet 605 through SF 450. SF card 430 receives SF packet 605 and relays SF packet 605 to the packet processor of forwarding card 420-2 via SF 450. The packet processor of forwarding card 420-2 receives SF packet 605, removes the SF header from SF packet 605 to recover the IPv4 packet transmitted in Ethernet packet 604, pushes the Ethernet header onto the IPv4 packet to form a new Ethernet packet, and provides the new Ethernet packet to the transceiver of forwarding card 420-2 for transmission on port 10 of forwarding card 420-2. The pushed Ethernet header includes VLAN 200, and the DMAC address in the Ethernet header encodes the MAC address of IP-N. The new Ethernet packet formed based on adding the Ethernet header to the IPv4 packet is depicted as Fig. 6F Ethernet packet 606. For clarity, Figure 5 The flow path of the Ethernet packets of this example within router chassis 400 is not depicted.

[0062] Fig. 7A and Figure 7B Describes the Figure 5 Failures associated with the flow of data packets are used by Figure 4 An example embodiment of a switch fabric of a router chassis for communicating control messages between cards. Fig. 7A and Figure 7B In the embodiment of the present invention, a fault notification of a fault associated with the transceiver T-15 of the forwarding card 420-2 (which is the egress card of the packet flow on the FP 501) is reported from the transceiver T-15 of the forwarding card 420-2 to the packet processor of the forwarding card 420-1 (which is the ingress card of the packet flow on the FP 501), so that the forwarding card 420-1 can reroute the packet flow to the backup path based on the FRR operation. As discussed herein, reporting the fault from the egress forwarding card 420-2 to the ingress forwarding card 420-1 is based on sending an inter-card control message (which encodes an indication of the fault) from the packet processor on the egress forwarding card 420-2 to the packet processor on the ingress forwarding card 420-1 using data packets sent through the SF 450. It should be understood that reporting the fault from the egress forwarding card 420-2 to the ingress forwarding card 420-1 can adopt multiple paths within the router chassis 400 (correspondingly, refer to Fig. 7A and Figure 7B Presenting example embodiments thereof)

[0063] Fig. 7A Describes the Figure 5 Failures associated with the flow of data packets are used by Figure 4 An example embodiment of a switch fabric of a router chassis for communicating control messages between cards. Fig. 7A In the example, the packet processor of the egress forwarding card 420-2 detects the failure of port 15 through an internal monitoring mechanism. The detection of the failure by the packet processor of the egress forwarding card 420-2 may take up to several hundred microseconds. Fig. 7A , the detection of a fault by the packet processor of the egress forwarding card 420-2 is indicated by the fault detection path 701-A. Based on the detection of the fault, the packet processor of the egress forwarding card 420-2 initiates an inter-card control message that encodes the fault on port 15 of card 2. The packet processor of the egress forwarding card 420-2 encapsulates the inter-card control message in a data packet, wherein the packet payload of the data packet includes the inter-card control message, and the data packet header of the data packet encodes an indication that the packet payload includes the inter-card control message. The data packet header may include a data packet protocol header and an SF header for transmitting the data packet on the SF 450, or may include only an SF header for transmitting the data packet on the SF 450. The data packet is sent from the packet processor on the egress forwarding card 420-2 to the packet processor on the ingress forwarding card 420-1 via the SF 450. It may take up to several microseconds to pass the inter-card control message from the egress forwarding card 420-2 to the ingress forwarding card 420-1 using the data packet passing through the SF 450. In Fig. 7A , the propagation of data packets that transmit inter-card control messages via SF 450 is indicated by inter-card control message (ICCM) path 702-A. The packet processor of ingress forwarding card 420-1 receives the data packet via SF 450, removes the SF header, removes the data packet protocol header (if present), and extracts the inter-card control message from the payload. The packet processor of ingress forwarding card 420-1 determines from the inter-card control message that the failure of port 15 of card 2 is being notified, and initiates rerouting of the packet flow of FP 501 to a backup path (e.g., by updating the state of the packet flow on FP 501 to redirect packets of the packet flow to a backup next hop). Figure 8 4 shows the new path of the packet flow after the FRR operation. It will be appreciated that since both the fault detection using SF 450 and the resulting propagation of inter-card control messages are performed in the packet forwarding path, the FRR operation may be implemented in only a few microseconds (which is significantly faster than using the control plane (including CF 440) to pass inter-card control messages within the router chassis 400). It will be further appreciated that this reduction in the latency of the FRR operation will reduce the number of packets dropped between when a fault occurs and when the packet processor on the ingress forwarding card 420-1 is notified of the fault (during which time the ingress forwarding card 420-1 still directs packets of the packet flow on the primary path to the primary next hop).

[0064] Figure 7B Describes the Figure 5Failures associated with the flow of data packets are used by Figure 4 An example embodiment of a switch fabric of a router chassis for communicating control messages between cards. Figure 7B In the embodiment, the CPU of the egress forwarding card 420-2 detects the failure of port 15 and reports the failure to the packet processor of the egress forwarding card 420-2. The transceiver may notify the CPU of the failure of port 15 via an I / O control bus with an interrupt. The detection of the failure by the CPU of the egress forwarding card 420-2 may take 1-5 milliseconds. The CPU of the egress forwarding card 420-2 notifies the packet processor of the egress forwarding card 420-2 of the detected failure of port 15 (for example, software running in the CPU of the egress forwarding card 420-2 may notify the packet processor of the egress forwarding card 420-2 of the detected failure of port 15). Figure 7B In FIG. 7 , the fault detection path 701-B indicates: the detection of the fault by the CPU of the egress forwarding card 420-2, and the reporting of the fault from the CPU of the egress forwarding card 420-2 to the packet processor of the egress forwarding card 420-2. The packet processor of the egress forwarding card 420-2 initiates an inter-card control message encoding the fault on the port 15 of the card 2 based on the detection of the fault, and the detection of the fault is based on the notification from the CPU. The packet processor of the egress forwarding card 420-2 encapsulates the inter-card control message in a data packet, wherein the packet payload of the data packet includes the inter-card control message, and the data packet header of the data packet encodes the indication that the packet payload includes the card control message. The data packet header may include a data packet protocol header and an SF header for transmitting the data packet on the SF 450, or may include only an SF header for transmitting the data packet on the SF 450. The data packet is sent from the packet processor on the egress forwarding card 420-2 to the packet processor on the ingress forwarding card 420-1 via the SF 450. It may take up to several microseconds to transmit an inter-card control message from egress forwarding card 420-2 to ingress forwarding card 420-1 using data packets passing through SF 450. Figure 7B , the propagation of data packets that transmit inter-card control messages via SF 450 is indicated by ICCM path 702-B. The packet processor of ingress forwarding card 420-1 receives the data packets via SF 450, removes the SF header, removes the data packet protocol header (if present), and extracts the inter-card control message. The packet processor of ingress forwarding card 420-1 determines from the inter-card control message that the failure of port 15 of card 2 is being notified, and initiates rerouting of the packet flow of FP 501 to a backup path (e.g., by updating the state of the packet flow on FP 501 to redirect packets of the packet flow to a backup next hop). Figure 84. It should be appreciated that even though detection of the failure is not performed in the packet forwarding path (instead, here, it passes through the CPU of the egress forwarding card 420-2), since the propagation of inter-card control messages resulting from the use of SF 450 is performed in the packet forwarding path, the FRR operation can still be achieved potentially within 1-5 milliseconds (although slower than Fig. 7A 4. The example embodiment of , however, is still significantly faster than using a control plane (including CF 440) to pass inter-card control messages within router chassis 400. It will be further appreciated that this reduction in latency of FRR operation will reduce the number of packets dropped between when a failure occurs and when the packet processor on ingress forwarding card 420-1 is notified of the failure (during which time ingress forwarding card 420-1 is still directing packets of the packet flow on the primary path to the primary next hop).

[0065] It should be understood that although example embodiments are primarily presented regarding the initiation of inter-card control messages by a packet processor on an egress forwarding card on which a fault is detected, in at least some example embodiments (e.g., wherein the fault is detected by the CPU of the forwarding card on which the fault is detected), the CPU of the egress forwarding card on which the fault is detected may initiate an inter-card control message and provide the inter-card control message to the packet processor of the egress forwarding card on which the fault is detected for in-band propagation of the inter-card control message in a packet forwarding path.

[0066] It should be understood that notification of inter-card control messages in the forwarding plane eliminates the need to send inter-card control messages in the control plane, although it will be understood that inter-card control messages may still be sent in the control plane (e.g., for certain types of inter-card control messages, under certain conditions, etc., and various combinations thereof). By considering that the control plane may be performed using CF 440, Fig. 7A and Figure 7BBy understanding the manner in which FRR operates, one can further understand the use of a control plane for delivering inter-card control messages, and the various benefits of using a data forwarding plane instead of a control plane for delivering inter-card control messages. In this example, the fault is detected by the CPU of the egress forwarding card 420-2 (for example, notified to the CPU of the egress forwarding card 420-2 by the transceiver of port 15 through an I / O control bus with an interrupt, or alternatively, detected by the packet processor of the forwarding card 420-2 through an internal monitoring mechanism and notified to the CPU of the forwarding card 420-2 by the packet processor of the forwarding card 420-2), the CPU of the forwarding card 420-2 notifies the control card about the fault by sending a notification message to the control card through the CF 440, the control card receives an interrupt from the CPU of the forwarding card 420-2 through the CF 440 when the notification message arrives, the control card processes the notification message from the CPU of the forwarding card 420-2, and broadcasts the notification message about the fault of port 15 in the egress forwarding card 420-2 to each forwarding card 420 through the CF 440, and the CPU of the ingress forwarding card 420-1 notifies the control card about the fault in the CF 440. When receiving a notification message from the control card on the ingress forwarding card 440, the ingress forwarding card 420-1 receives an interrupt and updates the state of the packet flow in the packet processor of the ingress forwarding card 420-1 (for example, via the I / O control bus between the CPU and the packet processor), so that the packet processor on the ingress forwarding card 420-1 redirects the packets of the packet flow to the backup path. It should be understood that the communication of notification messages (including inter-card control messages) in this manner will be more efficient than referring to Fig. 7A and Figure 7B The communication of inter-card control messages in the presented packet forwarding path takes longer time.

[0067] Figure 8 Depicts the response to Figure 5 After performing a fast reroute operation on a data packet flow associated with a failure, Figure 4 An example embodiment of a forwarding plane of a router chassis forwards data packets of a data packet flow.

[0068] exist Figure 8 In Figure 4 The Router Chassis 400 supports Figure 5 but along a different Figure 5 The new flow path (FP) 801 of FP 501. FP 801 represents the ... Fig. 7A and Figure 7B801). For packet flows on FP 801, packets enter router chassis 400 on port 3 of card 1 (illustratively, on transceiver T-3 of forwarding card 420-1, which is an ingress forwarding card for packet flows on FP 501) and leave router chassis 400 on port 15 of card N (illustratively, on transceiver T-11 of forwarding card 420-N, which is an egress forwarding card for packet flows on FP 801). For packet flows on FP 801, on the ingress forwarding card, packets are received at transceiver T-3 through a line to the inside of router chassis 400, and the packets are provided from transceiver T-3 to a packet processor on the ingress forwarding card by a coprocessor on the ingress forwarding card. For packet flows on FP 801, packets are transmitted from the packet processor on the ingress forwarding card to the packet processor on the egress forwarding card via SF 450. For the packet flow on FP 801, on the egress forwarding card, the packets are routed from the packet processor through the coprocessor on the egress forwarding card to transceiver T-11 for transmission on a line outside router chassis 400. This represents the rerouting of packets of the packet flow after notification of the failure of the primary path (changing from primary FP 501 to backup FP 801) resulting in FRR operation.

[0069] Fig. 9 An example embodiment for supporting communication of inter-card control messages using data packets, wherein the inter-card control messages are transmitted indirectly over a switch fabric, is described. Fig. 9 As depicted, data packet 900 includes a payload 910 and a data packet header 920 encapsulating the payload 910. The payload 910 includes an inter-card control message 911 transmitted by the data packet 900 on a data plane forwarding path including a switching structure. The data packet header 920 includes a data packet protocol header 921 encapsulating the payload 910 and an SF header 922 encapsulating the data packet protocol header 921 (for supporting communication of the inter-card control message 911 through the switching structure). The data packet protocol header 921 can be a header of any data packet protocol that can be sent through the switching structure as a data packet (e.g., Ethernet, MPLS, BIER, IP, etc.). The data packet protocol header 921 and / or the SF header 922 are configured to indicate that the payload 910 includes the inter-card control message 911. It should be understood that the inter-card control message can be regarded as a data packet protocol encapsulated and an SF encapsulated (i.e., the inter-card control message 911 is transmitted by the data packet protocol, which is further transmitted by the SF header). It should be understood that by considering the use of Ethernet (such as Fig. 10A and Fig. 10B Data packet 900 may be further understood by referring to an example of transmitting inter-card control messages over a switch fabric as depicted.

[0070] Figures 10A-10B An example embodiment for supporting communication of inter-card control messages using data packets, where the data packets are based on Ethernet, is depicted.

[0071] Fig. 10A An example embodiment of an Ethernet encapsulated inter-card control message is depicted. An Ethernet encapsulated inter-card control message 1001 includes an inter-card control message as a payload and an Ethernet header encapsulating the inter-card control message. The Ethernet header includes an SMAC address and a DMAC address field, and an EtherType field. The SMAC address can be encoded using all zeros or using a valid MAC address assigned to a router chassis. The DMAC address can be a special address configured to indicate that the payload below the Ethernet header is an inter-card control message. The special MAC address can be specific to a routing platform vendor. The first 3 bytes of any 6-byte MAC address are always an organizational unique identifier (OUI), which identifies an organization that determines a block of 16777216 MAC addresses (the number of possible MAC addresses remaining 3 bytes) that has been obtained from the Institute of Electrical and Electronics Engineers (IEEE). The organization can then assign MAC addresses to the devices it generates from the assigned blocks. Therefore, a routing platform vendor can assign a unique MAC address from its assigned block to be used as a special DMAC address to identify the inter-card control message within a data packet. The 2-byte EtherType field shall indicate the type of the payload; in this case, since the payload is not a standard protocol, a maximum value of 65535 (reserved) or an experimental protocol value of 257 may be encoded in the EtherType field. It should be understood that, although primarily described with respect to using the DMAC address in the Ethernet header to provide an indication that a data packet is transmitting an inter-card control message, the Ethernet header may be utilized to encode the indication that the data packet is transmitting an inter-card control message in a variety of other ways (or, alternatively, may be encoded within the SF header of the Ethernet encapsulated inter-card control message 1001 for transmission via the SF).

[0072] Fig. 10B An example embodiment of an Ethernet encapsulated inter-card control message is depicted, which is further encapsulated using a switch fabric header. The Ethernet encapsulated inter-card control message 1002 includes an inter-card control message as a payload, an Ethernet header encapsulating the inter-card control message, and an SF header encapsulating the Ethernet header, for propagating the inter-card control message through the SF. The inter-card control message and the Ethernet header correspond to Fig. 10AThe invention relates to an inter-card control message 1001 encapsulated in Ethernet. When the packet processor of the destination card for the inter-card control message receives the inter-card control message 1002 encapsulated in Ethernet, the packet processor of the destination card for the inter-card control message removes the SF header and finds the following Ethernet data packet. The DMAC address in the Ethernet header indicates that the Ethernet header encapsulates the inter-card control message. Therefore, the packet processor of the destination card for the inter-card control message removes the Ethernet header to recover the inter-card control message, and then processes the inter-card control message (e.g., locally processes the inter-card control message at the packet processor of the destination card, sends the inter-card control message to the CPU of the destination card, and is used to locally process the inter-card control message at the CPU of the destination card, etc., and various combinations thereof). It will be understood that although the use of the DMAC address in the Ethernet header is mainly described to provide an indication that the data packet is transmitting the inter-card control message, the indication that the data packet is transmitting the inter-card control message can be encoded in various other ways using the Ethernet header (or, alternatively, can be encoded in the SF header of the Ethernet encapsulated inter-card control message 1002 for transmission through the SF).

[0073] Fig.11 An example embodiment for supporting communication of inter-card control messages using data packets, wherein the inter-card control messages are directly transmitted over a switch fabric, is described. Fig.11 As depicted, data packet 1100 includes a payload 1110 and a data packet header 1120 encapsulating the payload 1110. The payload 1110 includes an inter-card control message 1111 transmitted by the data packet 1100 on a data plane forwarding path including a switch fabric. The data packet header 1120 includes an SF header 1122 for supporting communication of the inter-card control message 1111 through the switch fabric. The SF header is configured to indicate that the payload 1110 includes the inter-card control message 1111. It should be understood that the inter-card control message can be considered to be SF-encapsulated (i.e., as shown in FIG. 1 ). Fig. 9 As shown, the inter-card control message is directly transmitted by the SF header without any intermediate data packet protocol header).

[0074] Fig.12 Described is an example embodiment of inter-card control messages that can be transmitted using data packets over a switch fabric. Fig.12As depicted, the inter-card control message 1200 includes a fixed-size OPCODE field and a variable-size OPVALUE field. For example, the OPCODE field may be a 2-byte field (although it will be appreciated that various other sizes may be supported). The OPCODE field may encode the control message type of the inter-card control message, and the OPVALUE field may encode control information of the inter-card control message. For example, in the case where the inter-card control message is a control message reporting a link failure, the OPCODE field may encode a value indicating that the inter-card control message is a notification of a link failure event, and the OPVALUE field may encode information describing the link failure event (e.g., a card number and port number associated with a link experiencing the link failure event). For example, in Fig.13 In the example presented in , where the inter-card control message is a control message reporting a PORT DOWN event, the OPCODE field may encode a value indicating that the inter-card control message is a notification of a port closure event, and the OPVALUE field may encode information describing the port closure event (e.g., the card number of the card where the port closure event occurred and the port number of the closed port). It will be understood that the inter-card control message may be formatted in various other ways (e.g., using fields of different sizes, using different numbers of fields, using different types of fields, using fields in different arrangements, etc., and various combinations thereof).

[0075] Fig.13 An example embodiment of an inter-card control message configured to report a port closure event is depicted, and the inter-card control message may be transmitted using data packets on a switch fabric. The inter-card control message configured to report a port closure event is depicted as a port closure message 1300. The port closure message 1300 may be used, for example, to trigger FRR operations for packet flows affected by the port closure event. Fig.13As depicted, the port closure message 1300 includes a fixed size OPCODE field and a variable size OPVALUE field. For example, the OPCODE field can be a 2-byte field and the OPVALUE can be a 2-byte field (although it will be understood that various other sizes can be supported). The OPCODE field encodes the control message type of the inter-card control message, which in this example is a control message reporting a PORT DOWN event (i.e., the OPCODE field encodes a value indicating that the inter-card control message is a notification of a port closure event). The OPVALUE field encodes information of the inter-card control message, which in this example is information describing the details of the port closure event. In this example, the OPVALUE field is divided into two 1-byte sub-fields: a 1-byte CARD NUMBER field encodes the card number of the card where the port closure event occurred, and a 1-byte PORT NUMBER field encodes the port number of the port that was closed. In reference to Figure 5 (before failure), Fig. 7A and Figure 7B (failures reported via the data plane forwarding path), Figure 8 In the FRR example presented (after responding to the FRR reporting the failure), when port 15 of forwarding card 2 fails, then forwarding card 2 generates a port shutdown event with CARD NUMBER = 2 and PORT NUMBER = 15. It will be understood that inter-card control messages can be formatted in various other ways (e.g., using fields of different sizes, using different numbers of fields, using different types of fields, using fields in different arrangements, etc., as well as various combinations thereof).

[0076] Fig.14 An example embodiment of a method for supporting sending inter-card control messages using data packets on a switch fabric of a router chassis is depicted. Data packets including inter-card control messages are sent through a data packet forwarding path (including a switch fabric). It will be appreciated that although primarily presented herein as being performed serially, at least a portion of the functionality of method 1400 may be performed simultaneously or in parallel. Fig.14. At box 1401, method 1400 starts. At box 1410, an inter-card control message is obtained. The inter-card control message is obtained by a forwarding card of a router chassis and is intended to or delivered to one or more other cards of the router chassis (e.g., one or more other forwarding cards, one or more control cards, etc., and various combinations thereof). The inter-card control message can be obtained by generating (e.g., by a CPU of a forwarding card, by a packet processor of a forwarding card, etc.), receiving (e.g., by a packet processor of a forwarding card receiving from a CPU of a forwarding card), etc. At box 1420, the inter-card control message is encapsulated using a data packet header to form a data packet. The data packet header may include a data packet protocol header and a switching structure header, or may include only a switching structure header. At box 1430, the data packet header is configured to indicate that the payload of the data packet includes an inter-card control message. The configuration of the data packet header indicating that the data packet is transmitting an inter-card control message may be an indicator set in the data packet protocol header (when present in the data header) and / or an indicator set in the switch fabric header. At block 1440, the data packet is sent to one or more destination cards via the switch fabric. The destination card(s) may include one or more forwarding cards, one or more control cards, etc., as well as various combinations thereof. At block 1499, the method 1400 ends. It will be appreciated that the configuration of the data packet header may be set in the data packet protocol header (when present in the data header) and / or an indicator set in the switch fabric header. At block 1440, the data packet is sent to one or more destination cards via the switch fabric. The destination card(s) may include one or more forwarding cards, one or more control cards, etc., as well as various combinations thereof. Fig.14 Various other functionality presented herein is implemented within the context of method 1400.

[0077] Fig.15 An example embodiment of a method for supporting receiving inter-card control messages using data packets on a switch fabric of a router chassis is depicted. Data packets including inter-card control messages are received via a data packet forwarding path (including a switch fabric). It will be appreciated that although primarily presented herein as being performed serially, at least a portion of the functionality of method 1500 may be performed simultaneously or in parallel. Fig.151500. At block 1501, method 1500 starts. At block 1510, a data packet is obtained. The data packet includes a data packet header and a payload. The data packet header may include a data packet protocol header and a switching structure header, or may only include a switching structure header. The data packet may be obtained by receiving the data packet through the switching structure. At block 1520, the data packet header is parsed. The data packet header may be parsed to confirm whether the data packet header includes an indication that the payload of the data packet is an inter-card control message. The configuration of the data packet header indicating that the data packet is transmitting an inter-card control message may be an indicator set in the data packet protocol header (when present in the data header) and / or an indicator set in the switching structure header. At block 1530, it is determined whether the payload of the data packet is an inter-card control message. If the payload of the data packet is an inter-card control message, method 1500 proceeds to block 1540. If the payload of the data packet is not an inter-card control message (i.e., the data packet is a regular data packet forwarded via a data plane forwarding path via a switching fabric), the method 1500 proceeds to block 1560. At block 1540, the data packet header is removed from the data packet to recover the inter-card control message in the payload, and the method 1500 proceeds to block 1550. At block 1550, the inter-card control message is processed. The processing of the inter-card control message may include local processing of the inter-card control message by the card receiving the data packet (e.g., by a packet processor of a forwarding card, a CPU of a forwarding card, a CPU of a control card, etc.), and the method 1500 proceeds to block 1599, where the method 1500 ends. At block 1560, egress processing of the data packet is performed (because the data packet is a regular data packet forwarded via a data plane forwarding path), and the method 1500 proceeds to block 1599, where the method 1500 ends. At block 1599, the method 1500 ends. It will be appreciated that the processing of the inter-card control message may be performed at the card receiving the data packet. Fig.15 Various other functionality presented herein is implemented within the context of method 1500.

[0078] Fig.16 An example embodiment of a method for supporting sending inter-card control messages using data packets on a switch fabric of a router chassis is depicted. It will be understood that although primarily presented herein as being performed serially, at least a portion of the functionality of method 1600 may be performed simultaneously or in parallel. Fig.16At block 1601, method 1600 begins. At block 1610, at a first card of a router, an inter-card control message intended for a second card of the router is obtained. At block 1620, at the first card, a data packet is provided including a payload and a data packet header, wherein the payload includes the inter-card control message. At block 1630, the data packet is sent from the first card to the second card via a switching fabric of the router. At block 1699, method 1600 ends. It will be appreciated that in Fig.16 Various other functionality presented herein is implemented within the context of method 1600.

[0079] Fig.17 An example embodiment of a method for supporting receiving inter-card control messages using data packets on a switch fabric of a router chassis is depicted. It will be understood that although primarily presented herein as being performed serially, at least a portion of the functionality of method 1700 may be performed simultaneously or in parallel. Fig.17 At block 1701, method 1700 begins. At block 1710, a data packet including a payload and a data packet header is received by a card of a router via a switching structure of the router, wherein the payload includes an inter-card control message. At block 1720, the card obtains the inter-card control message from the data packet. At block 1799, method 1700 ends. It will be appreciated that in Fig.17 Various other functionality presented herein is implemented within the context of method 1700.

[0080] Fig.18 An example embodiment of a method for supporting communication of inter-card control messages using data packets on a switch fabric of a router chassis is depicted. It will be appreciated that although primarily presented herein as being performed serially, at least a portion of the functionality of method 1800 may be performed simultaneously or in parallel. Fig.18 At block 1801, method 1800 begins. At block 1810, inter-card control messages are supported to be delivered within data packets on a switch fabric of a router. At block 1899, method 1800 ends. It will be appreciated that in Fig.18 Various other functionality presented herein is implemented within the context of method 1800.

[0081] Various example embodiments for supporting the transmission of inter-card control messages in a router chassis can provide various advantages or potential advantages. For example, various example embodiments for supporting the transmission of inter-card control messages in a router chassis can be configured to provide extremely low-latency control channels between cards in a router chassis by using data packets on a switching fabric to avoid the overhead typically encountered in a control channel, which typically coordinates fault detection, fault notification, and actions for directing affected traffic flows to backup paths, thereby enabling fast rerouting of traffic between forwarding cards of a router chassis with near-zero downtime in a fault event. For example, various example embodiments for supporting the transmission of inter-card control messages in a router chassis can be configured to multiplex inter-card control messages (e.g., time-sensitive fault notification messages or other types of time-sensitive inter-card control messages associated with FRR operations) into a data packet forwarding path (e.g., a switching fabric) so that inter-card control messages transmitted between cards of a router chassis are received with the same latency as conventional data packets (e.g., in less than 10 microseconds or possibly faster), thereby supporting significantly improved performance of the router chassis in various types of operations. For example, various example embodiments for supporting the delivery of inter-card control messages in a router chassis can be configured to enable the use of the existing infrastructure of the routing system to implement FRR with near-zero downtime by multiplexing extremely time-sensitive inter-card control messages (reporting faults that trigger FRR) through SF. For example, based on in-band communication of inter-card control messages in the packet forwarding plane, various example embodiments for supporting the delivery of inter-card control messages in a router chassis can be configured to use the existing infrastructure of the router chassis to support FRR operations with much lower latency (e.g., implementing FRR in only a few milliseconds or even a few microseconds, or possibly faster (as the packet forwarding plane continues to improve to support faster speeds)) than when the inter-card control messages are delivered in the control plane (where FRR operations may require tens of milliseconds or even longer). For example, various example embodiments for supporting the delivery of inter-card control messages in a router chassis can be configured to eliminate the need to implement various complex and / or expensive methods in the control plane (e.g., using a mesh-based CF between all cards to allow messages between cards to communicate directly) to try to reduce the inter-card control message propagation time for supporting operations such as FRR and other operations that are conducive to reducing latency. Various example embodiments for supporting inter-card control message delivery in a router chassis may provide various other advantages or potential advantages.

[0082] It will be appreciated that while this document is primarily presented within the context of supporting inter-card control messages in a router chassis, at least some example embodiments may be applied to supporting inter-card control messages between cards that may be arranged in other ways (e.g., between cards in different router chassis, between cards that are not necessarily arranged within a router chassis, between cards associated with a router chassis implemented as a virtual router chassis, etc., as well as various combinations thereof).

[0083] Fig.19 An example embodiment of a computer suitable for performing the various functions presented herein is depicted.

[0084] The computer 1900 includes a processor 1902 (e.g., a central processing unit (CPU), a processor, a processor having a set of processor cores, a processor core of a processor, etc.) and a memory 1904 (e.g., a random access memory (RAM), a read-only memory (ROM), etc.). In at least some example embodiments, the computer 1900 may include at least one processor and at least one memory storing instructions that, when executed by the at least one processor, cause the computer to perform various functions presented herein.

[0085] The computer 1900 may also include a cooperating element 1905. The cooperating element 1905 may be a hardware device. The cooperating element 1905 may be a process that may be loaded into the memory 1904 and executed by the processor 1902 to implement the various functions presented herein (in which case, for example, the cooperating element 1905 (including associated data structures) may be stored on a non-transitory computer-readable medium, such as a storage device or other suitable type of storage element (e.g., a magnetic drive, an optical drive, etc.)).

[0086] The computer 1900 may also include one or more input / output devices 1906. The input / output devices 1906 may include one or more user input devices (e.g., keyboard, keypad, mouse, microphone, camera, etc.), user output devices (e.g., display, speaker, etc.), one or more network communication devices or elements (e.g., input ports, output ports, receivers, transmitters, transceivers, etc.), one or more storage devices (e.g., tape drive, floppy disk drive, hard drive, optical disk drive, etc.), etc., and various combinations thereof.

[0087] It will be appreciated that the computer 1900 may represent a general architecture and functionality suitable for implementing the functional elements described herein, portions of the functional elements described herein, etc., and various combinations thereof. For example, the computer 1900 may provide a general architecture and functionality suitable for implementing one or more elements presented herein. For example, the computer 1900 may provide a general architecture and functionality suitable for implementing at least a portion of a router chassis, a control card or a portion thereof, a forwarding card or a portion thereof, a switch fabric card or a portion thereof, etc., and various combinations thereof.

[0088] It will be understood that at least some of the functionality presented herein may be implemented in software (e.g., via software implementation on one or more processors for execution on a general purpose computer (e.g., via execution on one or more processors to provide a special purpose computer, etc.) and / or may be implemented in hardware (e.g., using a general purpose computer, one or more application specific integrated circuits and / or any other hardware equivalents).

[0089] It will be understood that at least some of the functions presented herein can be implemented in hardware, for example, as a circuit system that cooperates with a processor to perform various functions. Portions of the functions / elements described herein can be implemented as a computer program product, wherein computer instructions adjust the operation of the computer when processed by the computer so as to call or otherwise provide the methods and / or techniques described herein. Instructions for calling various methods can be stored in fixed or removable media (e.g., non-transient computer-readable media), sent via a data stream in a broadcast or other signal-bearing medium, and / or stored in a memory within a computing device that operates according to the instructions.

[0090] It will be understood that the term "non-transitory" as used herein is a limitation on the medium itself (ie, tangible, not a signal), and not on the persistence of data storage (eg, RAM versus ROM).

[0091] It will be understood that, as used herein, “at least one of ” and “at least one of: ” and similar expressions, where a list of two or more elements is connected by “and” or “or”, mean at least any one element, or at least any two or more elements, or at least all elements.

[0092] It will be understood that as used herein, unless otherwise indicated, the term "or" refers to a non-exclusive "or" (eg, using "or else" or "or in the alternative").

[0093] It will be appreciated that although various embodiments incorporating the teachings presented herein have been shown and described in detail, those skilled in the art can readily devise many other varied embodiments that still incorporate these teachings.

Claims

1. A device for communication, comprising: at least one processor; and at least one memory storing instructions, which, when executed by the at least one processor, cause the apparatus to at least: At a first card of a router, obtaining an inter-card control message intended for a second card of the router; At the first card, a data packet is provided comprising a payload and a data packet header, wherein The payload includes the inter-card control message; and The data packet is sent from the first card to the second card via a switching fabric of the router.

2. The device according to claim 1, wherein The data packet header includes a switch fabric header.

3. The device according to claim 1, wherein The data packet header includes a data packet protocol header and a switching structure header.

4. The device according to any one of claims 1 to 3, wherein The data packet header includes an indication that the payload includes the inter-card control message.

5. The device according to claim 4, wherein The data packet header includes a data packet protocol header and a switching structure header, wherein The indication that the payload includes the inter-card control message is encoded within an address field of the data packet protocol header.

6. The device according to any one of claims 1 to 3, wherein The first card is a forwarding card.

7. A method for communication, comprising: At a first card of a router, obtaining an inter-card control message intended for a second card of the router; At the first card, a data packet is provided comprising a payload and a data packet header, wherein The payload includes the inter-card control message; and The data packet is sent from the first card to the second card via a switching fabric of the router.

8. A device for communication, include: at least one processor; and at least one memory storing instructions, which, when executed by the at least one processor, cause the apparatus to at least: A data packet including a payload and a data packet header is received by a card of a router via a switching fabric of the router, wherein The payload includes an inter-card control message; and The card obtains the inter-card control message from the data packet.

9. The device according to claim 8, wherein The data packet header includes a switch fabric header.

10. The device according to claim 8, wherein The data packet header includes a data packet protocol header and a switching structure header.

11. The device according to any one of claims 8 to 10, wherein The data packet header includes an indication that the payload includes the inter-card control message.

12. The device according to claim 11, wherein The inter-card control message is acquired from the data packet based on the indication that the inter-card control message is included in the payload.

13. The device according to any one of claims 8 to 10, wherein The card is a forwarding card or a control card.

14. The device according to any one of claims 8 to 10, wherein The card is a forwarding card, wherein The data packet is received by a packet processor of the forwarding card, wherein The inter-card control message is obtained from the data packet by the packet processor of the forwarding card.

15. A method for communication, comprising: A data packet including a payload and a data packet header is received by a card of a router via a switching fabric of the router, wherein The payload includes an inter-card control message; as well as The card obtains the inter-card control message from the data packet.