USPatent applicationPatented

Method and apparatus for a fault tolerant router architecture

Granted 17 Aug 2004 · 2 office actions

Application· this page
9314569
filed 19 May 1999
Publication
Not published
not published
Patent
US 6,778,490
granted 17 Aug 2004

Life of the application

17 dated events
⤢ drag to zoom20002005201020152020ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A method, apparatus and article of manufacture for routing a data packet in a fault tolerant manner. A data packet is received from an incoming data channel and is transferred to a switching engine (SE) through an access processor engine (APE). A route for the data packet is generated using a central processor resource (CPR). The data packet is transferred from the SE to an outgoing trunk physical module (TP) using the route.

Description

8 parts
›CROSS-REFERENCES TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application No. 60/086,078 entitled “Big Access Concentrator” filed May 20, 1998.

›FIELD OF THE INVENTION

This invention relates generally to computer networks, and more particularly, to a method and apparatus for a fault tolerant router architecture.

›BACKGROUND OF THE INVENTION

In the field of data routing in computer networks, an Internet service provider (ISP) user typically has much more stringent requirements than an enterprise user because the routers will be subjected to the adverse Internet routing environment in the world. There are three typical architectural requirements that such routers must support, described below.

A. Stable Operation. Although it sounds trivial, the notion of stable operation has been elusive in the ISP community, as witnessed by various Internet “brown-outs” since it's inception. One paper on Internet scaling “Scaling the Internet during the T3 NSFNET Years”, C. Villamizar, Oct. 22, 1997, articulates the basic requirements which ISPs demand from their networking equipment in order to provide a stable network. In addition to forwarding performance and scaling requirements, ISPs typically expect several operational attributes, given below.

1. Stability under adverse conditions. The router must remain stable and deterministic under arbitrarily high traffic loads or a flood of routing update changes.

2. Low packet loss to stable destinations. The effects of unstable routes (flapping) should not impact a router's ability to forward traffic to stable routes.

3. Reasonable fairness and congestion control. Sufficient buffering capacity, avoidance of head-of-line blocking, advanced queueing algorithms, and sophisticated discard techniques must be provided.

B. Service Differentiation. Recently it has become clear that service providers cannot make adequate margins by offering flat-rate access and undifferentiated service. The ability to offer tiered services, and to guarantee service levels, is crucial to the economic and competitive health of ISPs. The airline industry's first-class, business-class and coach-class offerings provide a meaningful analogy for Internet service differentiation: a small number of customers are willing to pay for premium service, if it can be guaranteed. The concentrator's must enable ISPs to offer differentiated services based on multiple queues and advanced, intelligent Traffic Management features.

C. Superior Reliability. ISP routers must provide a greater level of reliability and availability than known router architectures. Part of this flows from designing with stability in mind, but providing additional fault tolerance features adds another dimension of resiliency. ISP routers should be designed without any single points of failure, and all software designs should incorporate fault isolation principles.

Therefore, there is a need for a way to route data in computer networks that provides stable operation, service differentiation, and superior reliability. Such an invention should be stable under adverse conditions, insure low packet loss to stable destinations, and provide reasonable fairness and congestion control.

›SUMMARY OF THE INVENTION

The present invention provides a method, apparatus and article of manufacture for routing a data packet in a fault tolerant manner. A data packet is received from an incoming data channel and is transferred to a switching engine (SE) through an access processor engine (APE). A route for the data packet is generated using a central processor resource (CPR). The data packet is transferred from the SE to an outgoing trunk physical module (TP) using the route.

›BRIEF DESCRIPTION OF THE DRAWINGS

The present invention is illustrated by way of example and may be better understood by referring to the following description in conjunction with the accompanying drawings, in which like references indicate similar elements and in which:

FIG. 1 is a block diagram of a fault tolerant router architecture compatible with the present invention;

FIG. 2 is a block diagram of a basic hardware forwarding path compatible with the present invention;

FIG. 3 is a flow chart of a method for routing a data packet with a fault tolerant router architecture compatible with the present invention.

›DETAILED DESCRIPTION OF AN EMBODIMENT OF THE PRESENT INVENTION · 1 of 3

In the following description of a preferred embodiment, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration a specific embodiment in which the invention may be practiced. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the disclosed technology. A preferred embodiment of the disclosed technology, described below, enables a remote computer system user to execute a software application on a network file server.

The disclosed technology provides a method, apparatus and article of manufacture for routing a data packet in a fault tolerant manner. A data packet is received from an incoming data channel and is transferred to a switching engine (SE) through an access processor engine (APE). A route for the data packet is generated using a central processor resource (CPR). The data packet is transferred from the SE to an outgoing trunk physical module (TP) using the route.

As shown in the figures and as described below, the disclosed technology provides a fault tolerant router architecture which allows a network router to continue to function if there is a hardware failure within the router and minimize the impact a hardware failure would have on the network as a whole. In one embodiment, the disclosed technology has 21 cards: five access processor engines (APEs) and their five associated physical cards, two trunk cards (TPs) and their associated physical cards, three Layer 3 switching engines (L 3 s), two central processor resources (CPRs) and their associated physical cards. The APEs are typically incorporated on the network access side of the disclosed device, and contain logic for channelizing/dechannelizing incoming connections such as T 1 lines. Route determination is typically determined by the CPRs. The L 3 s typically perform Layer 3 forwarding, and the TPs are typically used as the interface to the internet service provider (ISP) network.

As shown in the figures and described below, the disclosed technology is configured to support N+1 redundancy in the APEs and the L 3 s. In the diagram, the L 3 s are labeled “demux”.

The APEs are N+1 redundant. In one embodiment, there are a maximum of five APEs in the system: four APEs support the physical interconnect and the fifth provides the N+1 redundancy. The fifth APE connects to all of the APE physical cards via a bus and can take over for any of the APEs if they fail. The fifth APE can also take its own physical card where no redundancy is required. APEs preferably auto fail over to the fifth APE, but mannually fail back upon insertion of a new card, allowing service providers greater control over when service interruptions occur.

L 3 s typically perform 3:2 load sharing. When in one embodiment all three L 3 s are installed, the forwarding load is balanced across all three L 3 s. If one L 3 fails, the remaining two L 3 s pick up the balance of the forwarding. L 3 s auto restore upon insertion of anew card.

In one embodiment, CPRs are typically 1:1 redundant, and auto fail to each other. CPRs typically do not restore upon insertion of a new card, and instead a newly inserted card is secondary until the fail over condition and other network conditions force it to become primary.

FIG. 1 shows a logical block diagram of an embodiment of the disclosed technology. The incoming ports connect the system to a network via channelized DS 3 pipes 101 . The system can have up to 32 DS 3 inputs. Each DS 3 line is connected to a Phy card 103 which handles the analog input. The Phy card 103 is directly connected to an access processor engine (APE), also known as a demux card 105 , which contains the logic to separate the DS 3 data into individual HDLC streams and creates separate packets per channel. The demux card 105 supports up to 128 channels per OC 3 equivalent. Each demux card 105 contains logic to support up to six DS 3 pipes. There are a total of up to five APEs in the system, four of which support the physical interconnect and the fifth APE for N+1 redundancy. The fifth demux card 107 connects to all of the Phy cards via a bus 111 and can take over for any of the APEs if they fail. The redundant demux card 107 can also take its own Phy card if a user does not care to have the redundancy. In this configuration, the L 3 engines will be oversubscribed.

The demux cards 105 are also connected to the L 3 engines 113 . The L 3 engines 113 are responsible for performing the IP forwarding on each packet. Each L 3 engine 113 can handle forwarding for twelve DS 3 pipes, one trunk card 115 and one CPR card 117 . If all three L 3 engines 113 are installed in the system, the forwarding load will be balanced across all of them. If one fails, the other two pick up the balance for the forwarding.

There are two trunk cards 115 and two central processing engines (CPR) 117 . The trunk cards 115 give access into the internal POP network. Each trunk card 115 supports an OC 12 ATM interface. The CPR cards 117 are used as the route determination engine and for control of the system.

To understand which cards a given L 3 processor services, it will be noted that there are four shared busses 120 - 123 instead of single point-to-point connections. This allows the third L 3 (L 3 - 3 ) engine to function the same as the first two L 3 two L 3 engines (referred to as “L 3 - 1 engine” and “L 3 - 2 engine”). T 1 and T 2 share the third bus 122 , and CPR 1 and CPR 2 share the fourth bus 123 . For L 3 - 3 to look like the L 3 - 1 engine, D 1 , D 2 , CPR 1 and T 1 are enabled onto the shared busses 120 - 123 ; for the L 3 - 3 engine to look like the L 3 - 2 engine, D 2 , D 3 , CPR 2 and T 2 are enabled onto the shared busses 120 - 123 . In the case where all three L 3 engines are installed, the third L 3 engine is used for forwarding in order to reduce the burden on the other two processors. Various L 3 failure configurations are shown below in Table 1.

›DETAILED DESCRIPTION OF AN EMBODIMENT OF THE PRESENT INVENTION · 2 of 3

Case 1: All three L 3 s installed, no failures. The forwarding load is distributed across all L 3 s. D 2 and D 3 are enabled onto the first bus 120 going to the L 3 - 3 engine.

Case 2: All three L 3 s installed, the L 3 - 1 engine fails. The L 3 - 2 and L 3 - 3 engines are reconfigured to service different cards. First, D 3 is switched from the L 3 - 3 engine back to the L 3 - 2 engine. Next, D 1 , CPR 1 and T 1 are enabled onto the shared busses 120 , 122 and 123 going to the L 3 engine. Note that D 3 is switched to L 3 - 2 because it shares the second bus 121 with D 1 . D 1 normally is serviced by the L 3 - 1 engine so it must use the bus 121 to go to the L 3 - 3 engine.

Case 3: All three L 3 s installed, the L 3 - 2 engine fails. The L 3 - 1 and L 3 - 3 engines are reconfigured to service different cards. First, D 2 is switched from the L 3 - 3 engine back to the L 3 - 1 engine. Next, D 4 , CPR 2 and T 12 are enabled onto the shared busses going to the L 3 engine. Note that D 2 is switched to the L 3 - 1 engine because it shares the first bus 120 with D 4 . D 4 normally is serviced by the L 3 - 2 engine so it must use the first bus 120 to go to the L 3 - 3 engine.

Case 4: All three L 3 s installed, the L 3 - 3 engine fails. The L 3 - 1 and L 3 - 2 engines are reconfigured to service different cards. First, D 3 is switched from the L 3 - 3 engine back to the L 3 - 2 engine. Next, D 2 is switched from the L 3 - 3 engine back to the L 3 - 1 engine.

In one embodiment of the disclosed technology, basic data packet forwarding is performed as shown in FIG. 2 . Data typically is received from one or more DS 3 pipes 201 and is relayed through the Phys 203 and the T 1 205 framers. The data is then sent to an HDLC controller 207 which, in one embodiment, dechannelizes the data into 128 channels 209 . Frames are dequeued from the per-channel HDLC receive (Rx) queues 209 that are filled by the HDLC controller 207 . Data frames of the data are queued onto a single queue 211 destined for buffer memory 213 on a L 3 forwarding engine card, and the originating channel from the receive queues 209 is tagged onto the frames. The frames are transferred from the single queue 211 to the buffer memory 213 , in one embodiment, via a direct memory address (DMA) transfer. A buffer is typically allocated for the DMA transfer from the single queue 211 , and the entire frame is transferred into a contiguous buffer in buffer memory 213 . A descriptor builder 215 creates a frame descriptor from the channel, the frame length, the buffer index, the IP headers the TCP/UDP ports and the TCP flags. The frame descriptor is then tagged onto the frames.

If the point-to-point protocol (PPP) header of the frame is not the appropriate value for an IP frame, such as an LCP or NCP frame or a non-IP frame, then the CXP 217 is backed when it reads the descriptor of a frame from the descriptor queue 219 . Otherwise, the PPP header indicates that the frame is an IP data frame, and the CXP 217 performs fast-path frame processing. If the descriptor is backed, then the CXP 217 will typically forward the frame to the CPR or decide that the PPP header should be examined from the frame in buffer memory.

The CXP 217 writes output descriptors received from the descriptor queue 219 to the output queues 221 . The output queues 221 are typically managed in hardware, such as where the CXP 217 writes descriptors to the output queues 221 , but the output queues 221 typically do not keep track of any queue insert pointers. The DMA controller 223 acts as a frame reassembly engine to rebuild frames from header information in the output queues 221 . Each frame is sent to the appropriate module based on the channel number in the descriptor. The descriptors are shuffled from the single inbound DMA descriptor queue 225 to per-channel priority queues 227 , where any required queue clipping takes place. A transmit scheduler 229 drains the per-channel priority queues 227 into the per-channel HSLC transmit (Tx) queues 231 , according to the appropriate algorithm.

In one embodiment of the disclosed technology, a processor such as a microprocessor creates a single 32 bit queue selection word for each input channel which acts as a “to do” list. The queue selection words are typically created at an initialization time. Two bits of each 32 bit queue selection word are used to assign a priority to each output data queue, allowing 16 output queues to be represented by each 32 bit queue selection word. In one embodiment of the disclosed technology, the two bit priority value for an output data queue may be assigned as: 00-50%, 01-25%, 10-12.5%, 11-12.5%. It will be recognized by one of ordinary skill in the art that the size of the queue selection word may be increased or decreased, that the number of bits assigned to represent a priority value for an output data queue may be increased or decreased, and the priority percentages represented by the priority value may be changed without loss of compatibility with the disclosed technology.

In one embodiment of the disclosed technology, a system interrupt is generated when a data packet is forwarded into an output data queue. After handling the interrupt, the processor creates an output mask word which associates an output data queue with a queue selection word, which in turn associates a channel and priority level to the output data queue. Alternatively, the processor can monitor the output data queues by another means, such as polling. In any embodiment, the queue selection word is generated once there is data in one or more of the output data queues.

Once a queue selection word has been generated, the system services each data channel based upon the queue selection word until all of the queues for that channel are empty. The system typically rotates through each queue associated with the queue selection word when either a predetermined amount of data, number of bytes, or volume threshold has been exceeded or there is no data left in the channel. After the channels have been serviced, the system performs channel recovery, performs channel maintenance, and generates channel accounting information.

›DETAILED DESCRIPTION OF AN EMBODIMENT OF THE PRESENT INVENTION · 3 of 3

FIG. 3 shows a flow chart of a method for routing a data packet with a fault tolerant router architecture. At step 301 , A data packet is received from an incoming data channel. At step 303 , the data packet is transferred from the incoming data channel to a switching engine through an access processor engine. At step 305 , a route for the data packet is generated using a central processor resource. At step 307 , the data packet is transferred from the switching engine to an outgoing trunk physical module using the route.

While the invention is described in terms of preferred embodiments in a specific system environment, those of ordinary skill in the art will recognize that the invention can be practiced, with modification, in other and different hardware and software environments within the spirit and scope of the appended claims.

›Tables in the description — 1
TABLE 1 — L3 failure configurations.
No FailureL3-1 FailsL3-2 FailsL3-3 Fails
L3-1D1, T1, CPR1D1, D2, T1,D1, D2, T1,
CPR1CPR1
L3-2D4, T2, CPR2D3, D4, T2,D3, D4, T2,
CPR2CPR2
L3-3D2, D3D1, D2, T1,D3, D4, T2,
CPR1CPR2

Claims as granted

13 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

6 codes
IPC · International Patent Classification
Section H — Electricity
  • H04L69/40
  • H04L12/56
USPC · US Patent Classification
370/217370/221370/219370/225

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJul 1999Jan 2000Jul 2000Jan 2001Jul 2001Jan 2002Jul 2002Jan 2003Jul 2003Jan 2004Jul 2004USPTOApplicantNon-final rejectionResponse after non-final
USPTOApplicanthover for detail · click to open
Pendency
5.2 y
1,917 days filing → grant
Office actions
2
non-final + final
Responses
4
no RCE
Examiner
William A. Luther
art unit 2664 · TC 2600
Citations: 10 back · 16 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20002002200420062008201020122014201620182020Owner 2Owner 3liens, releases & corrections
TitleLienhover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock