|Publication number||US7606245 B2|
|Application number||US 11/207,435|
|Publication date||Oct 20, 2009|
|Filing date||Aug 18, 2005|
|Priority date||Dec 11, 2000|
|Also published as||US6954463, US20060013240|
|Publication number||11207435, 207435, US 7606245 B2, US 7606245B2, US-B2-7606245, US7606245 B2, US7606245B2|
|Inventors||Stephen Ma, Suresh Sangiah, Jagannadh Tangirala, R. Ashby Armistead|
|Original Assignee||Cisco Technology, Inc.|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (10), Non-Patent Citations (7), Referenced by (82), Classifications (11), Legal Events (3)|
|External Links: USPTO, USPTO Assignment, Espacenet|
This application is a continuation of U.S. patent application Ser. No. 09/735,280, filed Dec. 11, 2000, now U.S. Pat. No. 6,954,463.
This invention pertains generally to packet data network access servers, and more particularly to methods and apparatus for performing distributed packet processing within such an access server.
In the data communications field, a packet is a finite-length (generally several tens to several thousands of octets) digital transmission unit comprising one or more header fields and a data field. The data field may contain virtually any type of digital data. The header fields convey information (in different formats depending on the type of header and options) related to delivery and interpretation of the packet contents. This information may, e.g., identify the packet's source or destination, identify the protocol to be used to interpret the packet, identify the packet's place in a sequence of packets, provide an error correction checksum, or aid packet flow control.
Typically, packet headers and their functions are arranged in an orderly fashion according to the open-systems interconnection (OSI) reference model. This model partitions packet communications functions into layers, each layer performing specific functions in a manner that can be largely independent of the functions of the other layers. As such, each layer can prepend its own header to a packet, and regard all higher-layer headers as merely part of the data to be transmitted. Layer 1, the physical layer, is concerned with transmission of a bit stream over a physical link. Layer 2, the data link layer, provides mechanisms for the transfer of frames of data across a single physical link, typically using a link-layer header on each frame. Layer 3, the network layer, provides network-wide packet delivery and switching functionality—the well-known Internet Protocol (IP) is a layer 3 protocol. Layer 4, the transport layer, can provide mechanisms for end-to-end delivery of packets, such as end-to-end packet sequencing, flow control, and error recovery—Transmission Control Protocol (TCP), a reliable layer 4 protocol that ensures in-order delivery of an octet stream, and User Datagram Protocol, a simpler layer 4 protocol with no guaranteed delivery, are well-known examples of layer 4 implementations. Layer 5 (the session layer), Layer 6 (the presentation layer), and Layer 7 (the application layer) perform higher-level functions such as communication session management, data formatting, data encryption, and data compression.
Packet-switched networks provide an efficient switching mechanism for the delivery of packetized data traffic. The “Internet” is a collection of interconnected packet-switched networks that use layer 3 Internet Protocol (IP) as a packet delivery mechanism. Each packet-switched data network typically contains a core or backbone, made up of switches and routers connected by high-speed layer 1/layer 2 links (as used herein, a router is a device that performs packet-by-packet forwarding based on packet header fields above layer 2, whereas a switch is a layer 2 forwarding or bridging device).
In the Internet model, the core network has no centralized control entity governing how each packet will traverse the network. Instead, each router is highly optimized for the task of forwarding packets across the network, and maintains dynamic routing tables that allow it to make packet forwarding decisions autonomously (although routing information is shared between routers).
Historically, much of the traffic on the Internet has consisted of traffic between large computer hosts, each host connecting networked computer users at a government, educational, or commercial institution to the Internet. Today, however, a significant portion of network traffic goes through an Internet Service Provider (ISP) or other similar gateway. An ISP provides Internet access to residential customers, small businesses, and other organizations, typically via the PSTN (Public Switched Telephone Network). ISP customers connect their computing devices to their ISP using, e.g., an analog modem and a standard POTS (Plain Old Telephone Service) connection, a wireless phone connection, an ISDN (Integrated Services Digital Network) connection, a Digital Subscriber Line (DSL), or a cable modem.
Many ISPs also offer additional network access capabilities, such as Virtual Private Networking (VPN), using protocols such as L2TP (Layer 2 Tunneling Protocol). Without L2TP, a remote user could dial in to a private data network by initiating a PSTN physical connection to a network access server (NAS) on that private network. A Point-to-Point Protocol (PPP) layer 2 link established across this connection would then allow the user to communicate with the NAS. L2TP removes the requirement that the user dial in to the private network directly, by allowing the layer 2 endpoint and the PPP endpoint to reside on different devices connected to a packet-switched network. With L2TP, the user dials in to an ISP, for example. The ISP sets up a packet tunnel to a home gateway (HGW) in the private network, and PPP frames are tunneled from the ISP to the HGW in IP packets. Thus L2TP, and similar protocols, allow private networks to be extended to virtually any location connected to the Internet.
Finally, an ISP (or private NAS) can also offer voice-over-packet network (e.g., VoIP) services. With VoIP, a voice data stream is packetized and transmitted over the packet network. If the calling party or the called party (or both) do not have a “soft(ware) phone” or an IP phone, a call's bearer channel data will require translation, e.g., by an ISP, between the digital time-division-multiplexed (TDM) pulse-code-modulated (PCM) format used by the PSTN and the packet format used by the packet network. When the ISP supplies translation, the ISP will typically implement sophisticated algorithms such as voice activity detection, echo cancellation, compression, and buffering in addition to packetization, in order to reduce call bandwidth while maintaining an acceptable quality of service.
Whether users wish to simply connect their computers to the Internet, tunnel through the Internet to reach a private network, or transmit voice calls across the Internet, the ISP's high-level technical goal remains the same: to serve as a packet network traffic aggregation point for a large number of users with relatively low-speed data connections. As demand increases for network access, virtual private networking, and packet voice, ISPs continue to search for cost-effective ways to provide these services to more users.
Most ISPs deliver the services described above using a network access server. These devices are a type of router that is specifically designed for the task of routing traffic between a large number of low-speed interfaces (called ingress interfaces) and a small number of high-speed interfaces (called egress interfaces). Such servers, like other routers, use a packet forwarding engine to process and route incoming packets to an appropriate outgoing interface. But in addition to packet forwarding, access servers perform a variety of other specialized, data processing-intensive tasks that are not typically found in other types of routers. These functions are, e.g., those required to support PSTN signaling and bearer channel formats, deliver dial-in PPP endpoint and modem functionality, private network tunneling endpoint functionality, and VoIP-to-PCM conversion. As a result, access servers typically use a high-speed forwarding engine for packet processing and routing, and multiple digital signal processors (DSPs) to provide modem and voice packetization services on the ingress ports.
Today's access servers can serve thousands of concurrent users. A typical design allows the number of concurrent users to be expanded by simply adding modular feature boards (i.e., “line cards”) to increase the number of ingress ports and corresponding DSP resources. This scheme could allow an access server to scale to serve ever-larger numbers of users, were it not for the additional demands each feature board places on the router's forwarding engine. The forwarding engine can only process a bounded number of packets per second, irrespective of the number of ingress ports. This limit effectively forms a bottleneck to increasing ingress port count.
The disclosed embodiments describe a new access server architecture, and method for use of the architecture, designed to increase the scalability of and balance processor load for a network access server device. In this architecture, packet forwarding and packet processing are distributed amongst the line cards, such that each line card is responsible for performing forwarding and packet processing for packets associated with the ingress ports that line card serves. Thus, as the number of line cards expands, forwarding resources are expanded in at least rough proportion.
Because of the access server traffic model, an additional bottleneck can develop at the egress port(s) with this distributed concept. In a typical access server deployment, traffic flows mainly between the egress ports and the ingress ports. Traffic between egress ports, between ingress ports, or destined for the access server itself comprises a small fraction of total traffic. Thus, for two-way packet voice traffic, the egress port receives roughly half of all packets received by the access server. For other types of traffic, where user downloads typically predominate over user uploads, the egress port may receive significantly more than half of the overall packets received. Were a single forwarding engine deployed for all packets received at the egress port, this engine would in all probability have to perform packet processing on over half of all packets traversing the access server, once again compromising the scalability of the architecture.
This potential egress port bottleneck is also addressed by the disclosed embodiments. Line cards preferably not only perform packet processing and forwarding for data received at the ingress ports they serve—each line card also performs packet processing and forwarding for packets received at the egress port but bound for the ingress ports served by that card. The packet processing computational power needed at the egress port consequently decreases substantially. The egress port preferably uses a distribution engine that performs a cursory examination on one or more header fields on packets received at the egress interface—comprehending only enough information to allow each packet to be distributed to the appropriate line card for full packet processing.
The invention may be best understood by reading the disclosure with reference to the drawing, wherein:
Several embodiments are described below. These embodiments refer to several existing protocols, standards, and particular component devices useful in practicing the invention. These references are merely exemplary, as those of ordinary skill will appreciate that various alternatives and equivalents are available.
As an introduction,
Access server 28 also maintains at least one egress interface. The egress interface connects to one (or a relatively small number of) high-speed packet data links to other nodes in IP network 20.
Two additional access servers, 30 and 32, are also shown. Access server 30 connects a business PBX (Private Branch Exchange) 26 to IP network 20, e.g., to provide PBX VoIP access to/from remotely-located employees and branch offices of the business. Access server 32 connects to PSTN 24 (which will typically also be reachable by a circuit-switched connection from PSTN 22), which in turn connects to additional users 25 and 27.
A web server 38 is also illustrated connected in IP network 20. In the illustrated configuration, users can connect through the access servers to web server 38, or to each other. Router 34 is also illustrated as providing connectivity to a private network 35 through a home gateway 33.
Of course, the actual network can contain many more access servers, core network routers, and servers than shown in
Each access server exchanges control signaling with the PSTN (or a PBX) for each trunk terminated at that access server. The access server typically also maintains a network access session for each active user. The details of how control signaling is exchanged, and how network access sessions are initiated, maintained, and terminated are well known, and will not be described further in any aspect not affected by the invention.
Dial shelf 50 is a modular chassis unit having a backplane that accepts several different types of circuit boards. The dial shelf is managed by a dial shelf controller board 55. Trunk board 42 provides multiple ingress ports 48 that can be used to terminate trunks from a PSTN 22. DSP/modem boards 44 and 46 are identical, and provide pooled signal processing resources for use in modem emulation, VoIP packet translation, etc. Dial shelf 50 may incorporate redundant dial shelf controller boards, and/or additional trunk and DSP/modem boards (not shown).
Dial shelf 50's backplane includes a TDM bus 52 and a FE bus. TDM bus 52 multiplexes time-slotted data to/from ingress ports 48 onto bus time slots, allowing this data to be passed between trunk board 42 and DSP/modem boards 44 and 46. Router shelf 56 assigns specific DSP resources to each active session, and instructs trunk board 42 and the assigned DSP/modem board which time slot(s) on TDM bus 52 are to be used for that session.
Dial shelf controller 55 also contains a FE hub 54, which connects via the backplane FE bus to each of the trunk and DSP/modem boards. When a DSP/modem board builds out a VoIP or L2TP tunnel packet, it does so with a layer 2 (L2) Ethernet header addressed to router shelf 56. When a DSP/modem board receives a PPP frame, it encapsulates the frame with a layer 2 (L2) Ethernet header addressed to router shelf 56. In either case, the resulting frame is transmitted from the DSP/modem board to forwarding engine 58 via FE hub 54 and FE connector 57.
Forwarding engine 58 performs traditional routing tasks for the received frame. Forwarding engine 58 strips the L2 Ethernet header, processes the packet's headers, and looks up the next hop for the IP packet. A new L2 header is prepended to the packet, and the resulting frame is queued to network interface 60 (e.g., another FE interface) for transmission onto IP network 20.
When a packet is received at network interface 60 from IP network 20, a process complementary to the one described above is performed. In short, all packets received on egress port 62 are passed to forwarding engine 58, which modifies each packet's IP header, looks up the appropriate “next hop” DSP/modem board, and places the packet in a FE frame addressed to that DSP/modem board. The frame is then transmitted via FE connector 57 and FE hub 54 to the appropriate DSP/modem board on dial shelf 50.
Because of the modular nature of the dial shelf, additional ingress ports can be readily accommodated. TDM bus 52 is designed to handle a traffic volume at least equal to the maximum number of ingress ports supported by the access server. As more trunk boards are added, more companion DSP/modem boards can also be added to handle the additional port traffic.
As ingress port traffic scales upwards, several egress-related bottlenecks may become traffic-limiting factors in the access server of
The access server 70 of
A preferred architecture for access server 70, as illustrated in
The backplane of chassis 100 comprises three primary buses—a backplane FE interconnect 102, a maintenance bus 104, and a TDM bus 106. Backplane FE interconnect 102 comprises twenty-four point-to-point, full-duplex 100 Mbps FE links. Each link connects one of slots 0-6 and 8-13 to slots 6 and 7. Maintenance bus 104 is a controller area network bus, which uses a two-wire serial multi-master interface that provides a maximum transfer rate of 1 Mbps. TDM bus 106 is actually an aggregation of four separate circuit-switched buses, each supporting 2048 bi-directional 64 kbps channels. Each of the resulting 8192 channels is accessible at each of slots 0-5 and 8-13. Not shown is a reference clock line for the TDM bus—the source of the reference clock can be selected as either a front panel-connected reference on one of RSC0 and RSC1, an internally-generated free-running clock on one or RSC0 and RSC1, or a signal derived from any trunk port on one of the line cards. Also not shown is a bus linking RSC0 and RSC1 to backplane nonvolatile random-access memory (NVRAM), which stores MAC addresses for the chassis, etc.
Backplane FE interconnect 102 and TDM bus 106 provide data paths, respectively, for the bearer packet data and circuit-switched data streams that pass between the various cards in chassis 100. Specific usage of these data paths is detailed at a later point in this specification.
Maintenance bus (MBUS) 104 provides a highly reliable, fault-tolerant bus for overall chassis control. For instance, at system startup, RSC0 and RSC1 use the MBUS to arbitrate, e.g., based on slot number, which line card slots are assigned to each RSC. Each RSC also periodically broadcasts its status over the MBUS—if one RSC does not receive a status message for a predetermined time, the other RSC restarts mastership arbitration. The RSC also uses the MBUS to discover the line cards installed in chassis 100, to power on/off selected line cards, and to reset the line cards. When a line card is powered on or rebooted, the RSC uses the MBUS to download a boothelper image to that line card. While a line card is running, the MBUS allows the RSC to monitor temperature and voltage on the line card, and to provide a virtual console connection (e.g., through a software patch to the RSC's physical console connection) to the line card. If a line card takes a fatal exception, the line card can dump exception information to the RSC via the MBUS.
Focusing now on the individual cards that can be inserted in chassis 100,
The heart of the RSC is the RSC CPU 114, which in one embodiment is a 64-bit MIPS RM7000 processor, available from Quantum Effect Devices, Inc., Santa Clara, Calif. (at the time of filing of this application, PMC-Sierra, Inc. is in the process of acquiring Quantum Effect Devices). Communication with CPU 114 is handled through system controller 116. In this embodiment, system controller 116 is a GT-64120 system controller, available from Galileo Technology, Inc., San Jose, Calif. (at the time of filing of this application, Marvell Technology Group, Ltd. is in the process of acquiring Galileo Technology). The GT-64120 provides an SDRAM controller for SDRAM 118, two 32-bit PCI buses 120, 122, and device controller connections that make up I/O bus 124.
I/O bus 124 connects to I/O interface logic 126, which can be, e.g., a field-programmable gate array and/or other programmable logic device(s). The particular design of I/O interface logic 126 will be application-dependent, depending on the functionality needed to interface I/O bus 124 with supported devices. In this embodiment, logic 126 makes the following available to CPU 114 from I/O bus 124: boot ROM 136 and onboard flash ROM 137; TDM clock circuitry 140; MBUS controller 142; an eight-bit-wide data connection to switch fabric 144; console port 172 and auxiliary port 174 through DUART 173; and an egress card configuration interface (not shown).
PCI bus 120 connects system controller 116 to daughter card 128. The intended use of daughter card 128 is as a hardware accelerator for packet encryption/decryption. Thus PCI bus 120 facilitates configuration of the daughter card from CPU 114, firmware download of an encryption engine to the daughter card, and relaying encrypted/plaintext traffic between daughter card 128 and CPU 114.
Daughter card 128 also connects to switch fabric 144 through both a low-speed and a high-speed interface. A FE Media-Independent Interface (MII) connects daughter card 128 to switch fabric 144 through EPIF 156, providing a low-speed packet interface directly from daughter board 128 to switch fabric 144, allowing packets to be encrypted/decrypted with no intervention from CPU 114. Bus 129 provides a parallel high-speed packet interface to switch fabric 144. This interface is, e.g., a ViX™ bus compatible with switch fabrics from MMC Networks, Inc., Sunnyvale, Calif. (at the time of filing of this application, Applied Micro Circuits Corporation (AMCC) is in the process of acquiring MMC Networks).
PCI bus 122 supports two CPU peripheral devices, a PCMCIA controller 130 and a FE MAC (Media Access Controller) 134. PCMCIA controller 130 is, e.g., a PD6729 PCMCIA controller available from Intel Corporation. The PD6729 interfaces to one CompactFlash™ slot, allowing the RSC CPU to interface with one compact removable flash memory card 132. Flash memory card 132 is available to hold system images, configuration files, core dumps, line card images, etc.
The second peripheral supported by PCI bus 122 is FE MAC 134. FE MAC 134 provides a direct packet connection from RSC CPU 114 to switch fabric 144 via EPIF 156. FE MAC 134 and EPIF 156 communicate across an FE MII.
Two packet data connections are provided on front panel 110. FE port 158, e.g., a 10/100BaseT port, connects to switch fabric 144 via EPIF 156. An egress port 170 is provided on egress card 162. Egress card 162 is designed to allow substitution of different egress “option” cards, depending on the desired physical egress network media (e.g., FE, Gigabit Ethernet, ATM (Asynchronous Transfer Mode), POS (Packet Over SONET)). Egress card 162 provides an appropriate network interface 166 to egress port 170 (e.g., a Gigabit Ethernet MAC (GMAC)), an XPIF 164 to connect network interface 166 to switch fabric 144, and forwarding memory 168. XPIF 164 is, e.g., a XPIF-300 gigabit-rate switch fabric packet processor, available from MMC Networks.
Further detail on switch fabric 144 and its connected devices are provided in
Switch fabric 144 comprises several components: two connected packet switch modules 180 and 182; shared link memory 184; and shared data memory 186. Packet switch modules 180 and 182 are, e.g., nP5400 packet switch modules from MMC Networks. Each of these processors have sufficient bandwidth to support switching for up to 16 FE ports or 2 Gigabit Ethernet ports—when connected together, two such processors provide sufficient bandwidth for the described embodiment. Internally, switch modules 180 and 182 process data in 48-byte payloads (each accompanied by two bytes of header data). Data memory 186 provides a buffer space capable of storing up to 64K payloads that are being switched across the fabric. Link memory 184 stores the corresponding header data for each stored payload.
Packet data links connect to switch fabric 144 through Port InterFaces (PIFs) and ViX™ bus interconnects 190. EPIFs 146, 148, 150, and 156 are EPIF4 programmable BitStream Processors™, available from MMC Networks. Each EPIF4 provides four FE ports, and has the capability to perform L2/L3 packet processing. XPIF 164 is an XPIF-300 BitStream Processor™, also available from MMC Networks, which can support Gigabit Ethernet-rate packet processing. Both the EPIF and the XPIF convert incoming packets into a series of 48-byte cells before passing them to switch fabric 144, and convert a series of cells received from the switch fabric back into a packet. The PIFs also send a header to the switch fabric along with each cell sent, and process headers received from the switch fabric.
Referring now to
FE MAC 198 provides packet data connectivity between the line card and the router's switching fabric. FE MAC 198 presents an MII port to backplane FE interconnect 102. FE MAC 198 and CPU core 196 transfer packets between themselves using packet data queue 197.
DSP bank 202 comprises one or more digital signal processors for performing computation-intensive packet processing, such as modem emulation and voice data compression/packetization. For a given data stream, DSP bank 202 is responsible for TDM/packet conversion. Each DSP will typically support packet processing for one or more ingress sessions, as instructed via PCI bus 204.
Ingress line circuitry comprises TDM switch 206 and E1/T1 receivers 208 and transmitters 210. In one implementation, receivers 208 and transmitters 210 connect to eight E1/T1 ports on front panel 192. Optionally, a mux/demux 212 (shown) can connect receivers 208 and transmitters 210 to a T3 physical port on front panel 192. When mux/demux 212 is used, it allows up to 28 T1 connections to be multiplexed into the single T3 port. Receivers 208 and transmitters 210 provide framing and a physical interface for connecting multiple ingress ports 80 to, e.g., a PSTN central office. TDM switch 206 multiplexes/demultiplexes data corresponding to the individual E1/T1 timeslots onto assigned time slots on high-speed TDM data bus 106.
A detailed description for a trunk line card 72 and for a DSP/modem line card 76 has been omitted. Trunk line card 72 contains essentially the same receiver/transmitter/TDM switch circuitry as line card 74, but omits DSP circuitry. DSP/modem line card 76 contains essentially everything else shown in
With a general description of the network access server hardware completed, overall function of this hardware, as it relates to the invention, will be described for a typical server installation.
Considering first the RSC CPU 114 of
The RSC CPU performs other tasks that specifically support the embodiment described in
The RSC also manages switch fabric 144. For the disclosed MMC switch fabric, the RSC will initialize the switch and set up switch streams for all desired switch fabric input to output port paths. For instance, one set of streams links the RSC CPU PIF port to each PIF port, respectively. A second set of streams links egress PIF ports to each EPIF-to-line card port, respectively. Another stream provides a path that any PIF can use to reach the CPU, and yet another stream provides a path that any EPIF can use to reach a particular egress port. Some or all of these streams may be duplicated, with one set used for data traffic and the other used for control traffic.
For the forwarding engines, each engine utilizes a “data” queue and a “voice” queue—this optional partitioning of the queues prevents voice packets (or other time-critical packets) from languishing behind several large data packets, and allows the forwarding engines to allocate their resources fairly between data and voice traffic. Other queuing divisions may also be appropriate, such as internally-generated control packet queues and signaling packet queues, or designated queues on the RSC forwarding engine specifically for packets that failed distribution or forwarding in one of the distributed engines.
The illustrated configuration allow the NAS to route packet traffic efficiently along the most common NAS data paths: ingress port to egress port; ingress port to ingress port; ingress port to RSC; egress port to RSC; egress port to ingress port; and RSC to egress or ingress port. NAS function for each of these possible paths is explored below.
First, consider an IP data packet received at an ingress port 78, through a modem (not shown) on the same line card as forwarding engine 240. Each such packet enters an ingress port queue (either 252 or 254), where it waits its turn to be considered by forwarding code 244.
When the packet is considered by forwarding code 244, there are several possible processing paths that could be taken. Some types of data packets, such as ISDN signaling, PPP or L2TP control packets, etc., are to be interpreted by the RSC—if these signaling and control packets can be identified as such, forwarding becomes a matter of sending the packet on a data stream to an input queue on RSC forwarding engine 230. For all other data packets, the forwarding code searches its local FIB table for a route entry match corresponding to the packet's destination IP address. If a matching FIB entry is found, this entry points to a corresponding entry in the adjacency table—an entry that indicates the appropriate switching stream, output port, link layer encapsulation, etc. for the packet. Finally, if no matching FIB entry can be found, the packet must be “punted” (i.e., forwarded to the RSC as a packet that cannot be processed by the forwarding engine). The RSC is tasked with deciding what to do with packets that the distributed forwarding engines can't handle.
When forwarding engine 240 successfully locates a FIB entry, the packet is processed. Forwarding code 244 decrements the packet's time-to-live, computes a new checksum, and performs any other appropriate IP housekeeping tasks. The L2 packet header is stripped and then rewritten with the proper encapsulation for the packet's NAS output port. Finally, unless the packet is going back out an ingress port served by the same line card (e.g., port 256 or 258), a backplane header is prepended to the packet. The backplane header indicates the stream ID to be used to reach the switch port of exit and a packet type. The packet type will indicate to the receiving forwarding engine how it should process the packet.
When forwarding engine 240 must punt the packet to RSC forwarding engine 230, the packet's existing headers are not modified. The packet is simply prepended with a backplane header that will direct the packet to the appropriate input queue (234 or 236) for forwarding engine 230.
When the attached EPIF receives a packet, it interprets the backplane header and queues the packet for transmission across the appropriate switching stream. The packet then traverses the switch fabric. If the packet is bound for an egress port, the PIF serving that port receives the packet, removes the backplane header, and transmits the packet out the egress port. If the packet is bound for another line card, the appropriate PIF receives it and transmits the packet across the backplane FE to the appropriate card (e.g., queue 266). If the packet is bound for the RSC, the PIF transmits the packet across the MII to the FE MAC on the RSC card.
Next, consider a packet received at the egress port. The packet may be a data packet destined for one of the ingress ports, a control packet destined for the RSC, an L2TP data packet destined for one of the ingress ports, or a voice packet destined for one of the ingress ports. Packet classifier 222 of distribution engine 220 attempts to determine the packet type, e.g., as IP/non-IP, control/data/VoIP, etc. Packet classifier 222 then uses the packet type to perform a search, in the table corresponding to that packet type, for the appropriate stream ID for that packet. When a stream ID is successfully located, packet classifier 222 prepends the packet with a backplane header identifying the stream that flows to the desired line card and designates the packet as an input-type packet.
If a packet is an IPv4 packet, block 288 takes the destination address out of the IP header and performs a lookup in the distribution engine's IP route table. For instance, FIB entries can be stored in a ternary content-addressable memory (TCAM) in an order such that the TCAM returns a longest-prefix match for the destination address.
Decision block 290 branches based on the success of the TCAM lookup. If the lookup is unsuccessful, control branches to block 306, and the packet is punted to the RSC. Otherwise, processing continues at block 292.
Block 292 examines the route entry returned by the TCAM. If the entry indicates the RSC as the appropriate route for the packet, further processing is needed. Otherwise, processing branches to block 308. Block 308 forwards the packet to the appropriate line card on the indicated stream ID.
There are several reasons why an indicated route may pass through the RSC. Some packets are actually bound for the NAS itself, and thus the RSC. But UDP packets addressed to the NAS itself may be so addressed because the NAS is an L2TP tunnel endpoint and a voice packet endpoint. Packet classifier 222 attempts to identify L2TP data packets and voice data packets, allowing them to be switched directly to the line card that terminates an L2TP or voice call.
Decision block 294 branches based on whether or not the packet is a UDP packet. Non-UDP packets are punted to the RSC for processing. For UDP packets, block 296 retrieves the UDP port number from the packet header and attempts a lookup in a VOIP session table. Decision block 298 then branches based on the lookup results. For instance, according to one convention, valid VOIP port numbers are even numbers between 16384 and 32766—when the port number falls in this range, it will be forwarded to the appropriate line card for voice processing.
For UDP port numbers that are not valid VOIP port numbers, block 300 classifies the packet as L2TP data/non-L2TP data. UDP packets that are not voice packets and are non-L2TP data are punted at this point to the RSC. Otherwise, a packet's L2TP tunnel ID and session ID are lookup up in an L2TP session table. Upon a successful hit, the packet will be forwarded by block 304 to the appropriate line card for L2TP processing. Finally, if the lookup fails, the packet is punted to the RSC.
Block 308 is reached after one or more successful FIB lookups. The FIB lookup causing the branch to block 308 will return a pointer to an adjacency table entry containing the switching stream to be used for the packet. Block 308 dispatches the packet over this stream to the appropriate line card. Likewise, when a lookup fails, the packet is punted to the RSC at block 306 using an appropriate switching stream.
When distribution engine 220 sends an egress packet to one of the forwarding engines, that forwarding engine queues the packet for its backplane header handler (e.g., handler 242 of forwarding engine 240 in
The preceding description assumes that the distribution engine and forwarding engines have access to current FIB and adjacency tables for the NAS, or at least those portions of the tables that each engine is likely to encounter. The route switch controller is responsible for maintaining master FIB and adjacency tables, and informing distribution engines and forwarding engines when and with what to update those tables. The distribution engines and forwarding engines maintain local copies of the information supplied to them by the RSC.
Tables 312 and 314 are similar to table 310. But table 312 is indexed by VoIP UDP port number, and can thus be used to map VoIP calls to line card resources. And table 310 is indexed by L2TP session ID/L2TP tunnel ID, and can thus be used to map L2TP calls to line card resources.
Table 316 is an adjacency table. PPP sessions, L2TP sessions, and VoIP sessions are represented in the adjacency table. The table contains switch fabric stream IDs that are to be used for various types of communication with each card. Other information, such as layer 2 encapsulation for an egress port, and backplane header encapsulation, can also be part of the adjacency table.
The RSC determines what portion of each of tables 310, 312, 314, and 316 should be shared with each particular line card or egress card. At all times, though, the RSC can use the master table to route any packet received by the NAS. Thus, misrouted, oddball, or confusing packets can always be punted to the RSC for a routing determination in accordance with the full routing table.
Considering first the portion of the master routing tables shared with the egress card,
The distribution engine stores the IP packet distribution routes it receives in TCAM table 320, sorted by prefix length, longest prefix first. When a packet IP destination address is compared against the list of addresses stored in TCAM table 320, the result is the TCAM memory address of the longest matching IP prefix. This TCAM memory address serves as a pointer offset into stream ID table 322. Stream ID table 322 stores the appropriate stream ID for the line card number/traffic type of the packet (the stream ID table may contain other information as well).
Voice port table 324 and tunnel session table 326 also map to stream ID table 322. Tables 324 and 326 may be implemented with content-addressable memory, a hashing function, or by partitioning available voice port and/or tunnel port space among the line cards.
Line cards typically implement a subset of the forwarding code implemented in the RSC. FIB table and adjacency table formats in each line card can be essentially identical to the FIB table and adjacency table formats in the RSC. For adjacency entries that are local to the line card, the line card need not, however, store a backplane header.
It is to be understood that although many of the NAS functions described above can be designed into special-purpose hardware, a combination of software and programmable hardware is preferred. Typically, each “engine” will be an executable process running on a processor that performs other tasks as well. Each processor may have its executable processes stored in a dedicated non-volatile memory, e.g., ROM, flash, optical, or magnetic storage media. More typically, the RSC processor will boot first, e.g., from its own non-volatile memory, and then distribute executable images to the PIFs and line cards as each is brought on line.
The disclosed embodiments presented herein are exemplary. Various other modifications to the disclosed embodiments will be obvious to those of ordinary skill in the art upon reading this disclosure, and are intended to fall within the scope of the invention as claimed.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US5566170||Dec 29, 1994||Oct 15, 1996||Storage Technology Corporation||Method and apparatus for accelerated packet forwarding|
|US5796732 *||Mar 28, 1996||Aug 18, 1998||Cisco Technology, Inc.||Architecture for an expandable transaction-based switching bus|
|US6160811 *||Sep 12, 1997||Dec 12, 2000||Gte Internetworking Incorporated||Data packet router|
|US6243380||Sep 9, 1996||Jun 5, 2001||Nortel Networks Limited||Method and apparatus for mapping asynchronous ports to HDLC addresses|
|US6522627||Nov 12, 1998||Feb 18, 2003||Nortel Networks Limited||Managing internet protocol connection oriented services|
|US6539029 *||Jun 10, 1999||Mar 25, 2003||Telefonaktiebolaget Lm Ericsson (Publ)||Network access server control|
|US6633565||Jun 29, 1999||Oct 14, 2003||3Com Corporation||Apparatus for and method of flow switching in a data communications network|
|US6763018 *||Nov 30, 2000||Jul 13, 2004||3Com Corporation||Distributed protocol processing and packet forwarding using tunneling protocols|
|US6876657||Dec 14, 2000||Apr 5, 2005||Chiaro Networks, Ltd.||System and method for router packet control and ordering|
|US6954463 *||Dec 11, 2000||Oct 11, 2005||Cisco Technology, Inc.||Distributed packet processing architecture for network access servers|
|1||Galileo Technology; System Controllers and PCI Interfaces printed on Apr. 17, 2000 from website located at www.galileot.com/tbriefs/64120tb.htm; pp. 1-2.|
|2||Ma et al., U.S. Appl. 09/735,718, "Intraserver Tag-Switched Distributed Packet Processing for Network Access Servers", Dec. 12, 2000.|
|3||MMC Networks; AnyFlow 5400 Product Overview; pp. 1-3.|
|4||MMC Networks; AnyFlow 5500 Product Overview and product description printed on Jan. 17, 2000 from website located at www.mmcnet.com/Solutions/anyflow5500.asp; pp. 1-6.|
|5||MMC Networks; EPIF-200 Packet Processor Product Overview and product description printed on Jan. 17, 2000 from website located at www.mmcnet.com/Solutions/epif200.asp; pp. 1-5.|
|6||MMC Networks; GPIF-207 Packet Processor Product Overview and product description printed on Jan. 17, 2000 from website located www.mmcnet.com/Solutionsgpif207.asp; pp. 1-4.|
|7||MMC Networks; XPIF-300 Packet Processor Product Overview and product description printed on Jan. 17, 2000 from website located at www.mmcnet.com/Solutions/xpif300.asp; pp. 1-5.|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US7724589||Jul 31, 2006||May 25, 2010||Google Inc.||System and method for delaying a signal communicated from a system to at least one of a plurality of memory circuits|
|US7876743 *||Feb 12, 2004||Jan 25, 2011||Telefonaktiebolaget Lm Ericsson (Publ)||Conversational bearer negotiation|
|US7990746||Aug 2, 2011||Google Inc.||Method and circuit for configuring memory core integrated circuit dies with memory interface integrated circuit dies|
|US8019589||Oct 30, 2007||Sep 13, 2011||Google Inc.||Memory apparatus operable to perform a power-saving operation|
|US8041881||Jun 12, 2007||Oct 18, 2011||Google Inc.||Memory device with emulated characteristics|
|US8055833||Nov 8, 2011||Google Inc.||System and method for increasing capacity, performance, and flexibility of flash storage|
|US8060774 *||Jun 14, 2007||Nov 15, 2011||Google Inc.||Memory systems and memory modules|
|US8077535||Jul 31, 2006||Dec 13, 2011||Google Inc.||Memory refresh apparatus and method|
|US8080874||Dec 20, 2011||Google Inc.||Providing additional space between an integrated circuit and a circuit board for positioning a component therebetween|
|US8081474||Dec 20, 2011||Google Inc.||Embossed heat spreader|
|US8089795||Jan 3, 2012||Google Inc.||Memory module with memory stack and interface with enhanced capabilities|
|US8090897||Jun 12, 2007||Jan 3, 2012||Google Inc.||System and method for simulating an aspect of a memory circuit|
|US8111566||Feb 7, 2012||Google, Inc.||Optimal channel design for memory devices for providing a high-speed memory interface|
|US8112266||Oct 30, 2007||Feb 7, 2012||Google Inc.||Apparatus for simulating an aspect of a memory circuit|
|US8122207||Jun 16, 2010||Feb 21, 2012||Google Inc.||Apparatus and method for power management of memory circuits by a system or component thereof|
|US8130560||Nov 13, 2007||Mar 6, 2012||Google Inc.||Multi-rank partial width memory modules|
|US8154935||Apr 28, 2010||Apr 10, 2012||Google Inc.||Delaying a signal communicated from a system to at least one of a plurality of memory circuits|
|US8169233||Jun 9, 2010||May 1, 2012||Google Inc.||Programming of DIMM termination resistance values|
|US8181048||Jul 19, 2010||May 15, 2012||Google Inc.||Performing power management operations|
|US8209479||Jun 26, 2012||Google Inc.||Memory circuit system and method|
|US8213205||Oct 6, 2009||Jul 3, 2012||Google Inc.||Memory system including multiple memory stacks|
|US8244971||Aug 14, 2012||Google Inc.||Memory circuit system and method|
|US8280714||Oct 26, 2006||Oct 2, 2012||Google Inc.||Memory circuit simulation system and method with refresh capabilities|
|US8315254 *||Nov 20, 2012||Juniper Networks, Inc.||Bandwidth management switching card|
|US8327104||Nov 13, 2007||Dec 4, 2012||Google Inc.||Adjusting the timing of signals associated with a memory system|
|US8335894||Jul 23, 2009||Dec 18, 2012||Google Inc.||Configurable memory system with interface circuit|
|US8340953||Oct 26, 2006||Dec 25, 2012||Google, Inc.||Memory circuit simulation with power saving capabilities|
|US8359187||Jul 31, 2006||Jan 22, 2013||Google Inc.||Simulating a different number of memory circuit devices|
|US8370566||Feb 5, 2013||Google Inc.||System and method for increasing capacity, performance, and flexibility of flash storage|
|US8386722||Jun 23, 2008||Feb 26, 2013||Google Inc.||Stacked DIMM memory interface|
|US8386833||Oct 24, 2011||Feb 26, 2013||Google Inc.||Memory systems and memory modules|
|US8397013||Mar 12, 2013||Google Inc.||Hybrid memory module|
|US8407412||Jan 4, 2012||Mar 26, 2013||Google Inc.||Power management of memory circuits by virtual memory simulation|
|US8438328||Feb 14, 2009||May 7, 2013||Google Inc.||Emulation of abstracted DIMMs using abstracted DRAMs|
|US8446781||Mar 2, 2012||May 21, 2013||Google Inc.||Multi-rank partial width memory modules|
|US8510416 *||Sep 9, 2008||Aug 13, 2013||Uhs Systems Pty Limited||Communication links|
|US8566516||Oct 30, 2007||Oct 22, 2013||Google Inc.||Refresh management of memory modules|
|US8566556||Dec 30, 2011||Oct 22, 2013||Google Inc.||Memory module with memory stack and interface with enhanced capabilities|
|US8582339||Jun 28, 2012||Nov 12, 2013||Google Inc.||System including memory stacks|
|US8595419||Jul 13, 2011||Nov 26, 2013||Google Inc.||Memory apparatus operable to perform a power-saving operation|
|US8599863 *||Apr 23, 2012||Dec 3, 2013||Calxeda, Inc.||System and method for using a multi-protocol fabric module across a distributed server interconnect fabric|
|US8601204||Jul 13, 2011||Dec 3, 2013||Google Inc.||Simulating a refresh operation latency|
|US8615679||Sep 14, 2012||Dec 24, 2013||Google Inc.||Memory modules with reliability and serviceability functions|
|US8619452||Sep 1, 2006||Dec 31, 2013||Google Inc.||Methods and apparatus of stacking DRAMs|
|US8631193||May 17, 2012||Jan 14, 2014||Google Inc.||Emulation of abstracted DIMMS using abstracted DRAMS|
|US8631220||Sep 13, 2012||Jan 14, 2014||Google Inc.||Adjusting the timing of signals associated with a memory system|
|US8667312||May 14, 2012||Mar 4, 2014||Google Inc.||Performing power management operations|
|US8671244||Jul 13, 2011||Mar 11, 2014||Google Inc.||Simulating a memory standard|
|US8675429||Aug 29, 2012||Mar 18, 2014||Google Inc.||Optimal channel design for memory devices for providing a high-speed memory interface|
|US8705240||Sep 14, 2012||Apr 22, 2014||Google Inc.||Embossed heat spreader|
|US8730670||Oct 21, 2011||May 20, 2014||Google Inc.||Embossed heat spreader|
|US8745321||Sep 14, 2012||Jun 3, 2014||Google Inc.||Simulating a memory standard|
|US8751732||Sep 14, 2012||Jun 10, 2014||Google Inc.||System and method for increasing capacity, performance, and flexibility of flash storage|
|US8760936||May 20, 2013||Jun 24, 2014||Google Inc.||Multi-rank partial width memory modules|
|US8762675||Sep 14, 2012||Jun 24, 2014||Google Inc.||Memory system for synchronous data transmission|
|US8773937||Dec 9, 2011||Jul 8, 2014||Google Inc.||Memory refresh apparatus and method|
|US8796830||Sep 1, 2006||Aug 5, 2014||Google Inc.||Stackable low-profile lead frame package|
|US8797779||Sep 14, 2012||Aug 5, 2014||Google Inc.||Memory module with memory stack and interface with enhanced capabilites|
|US8811065||Sep 14, 2012||Aug 19, 2014||Google Inc.||Performing error detection on DRAMs|
|US8819356||Sep 14, 2012||Aug 26, 2014||Google Inc.||Configurable multirank memory system with interface circuit|
|US8868829||Feb 6, 2012||Oct 21, 2014||Google Inc.||Memory circuit system and method|
|US8937942 *||Jul 1, 2010||Jan 20, 2015||Juniper Networks, Inc.||Storing session information in network devices|
|US8949519||Jul 22, 2009||Feb 3, 2015||Google Inc.||Simulating a memory circuit|
|US8972673||Sep 14, 2012||Mar 3, 2015||Google Inc.||Power management of memory circuits by virtual memory simulation|
|US8977806||Sep 15, 2012||Mar 10, 2015||Google Inc.||Hybrid memory module|
|US9008079||Dec 5, 2012||Apr 14, 2015||Iii Holdings 2, Llc||System and method for high-performance, low-power data center interconnect fabric|
|US9047976||Oct 26, 2006||Jun 2, 2015||Google Inc.||Combined signal delay and power saving for use with a plurality of memory circuits|
|US9054990||May 18, 2012||Jun 9, 2015||Iii Holdings 2, Llc||System and method for data center security enhancements leveraging server SOCs or server fabrics|
|US9069929||Jun 19, 2012||Jun 30, 2015||Iii Holdings 2, Llc||Arbitrating usage of serial port in node card of scalable and modular servers|
|US9075655||Sep 21, 2012||Jul 7, 2015||Iii Holdings 2, Llc||System and method for high-performance, low-power data center interconnect fabric with broadcast or multicast addressing|
|US9077654||May 18, 2012||Jul 7, 2015||Iii Holdings 2, Llc||System and method for data center security enhancements leveraging managed server SOCs|
|US9092594||Jun 19, 2012||Jul 28, 2015||Iii Holdings 2, Llc||Node card management in a modular and large scalable server system|
|US9171585||Nov 26, 2013||Oct 27, 2015||Google Inc.||Configurable memory circuit system and method|
|US9172601||Feb 19, 2013||Oct 27, 2015||Uhs Systems Pty Limited||Communications links|
|US9262225||Dec 27, 2012||Feb 16, 2016||Iii Holdings 2, Llc||Remote memory access functionality in a cluster of data processing nodes|
|US9311269||Dec 3, 2012||Apr 12, 2016||Iii Holdings 2, Llc||Network proxy for high-performance, low-power data center interconnect fabric|
|US20040249887 *||Feb 12, 2004||Dec 9, 2004||Miguel-Angel Garcia-Martin||Conversational bearer negotiation|
|US20110022683 *||Sep 9, 2008||Jan 27, 2011||Ron Johan||Communication links|
|US20110142065 *||Jun 16, 2011||Juniper Networks Inc.||Bandwidth management switching card|
|US20120207165 *||Apr 23, 2012||Aug 16, 2012||Calxeda, Inc.||System and Method for Using a Multi-Protocol Fabric Module Across a Distributed Server Interconnect Fabric|
|US20120221742 *||Aug 30, 2012||Hon Hai Precision Industry Co., Ltd.||Switch capable of saving power and method thereof|
|US20140297849 *||Jun 9, 2014||Oct 2, 2014||Netsocket, Inc.||System and Method for Service Assurance in IP Networks|
|U.S. Classification||370/401, 370/392, 709/229, 370/352, 370/356|
|International Classification||H04L12/28, H04L12/56|
|Cooperative Classification||H04L45/583, H04L45/00|
|European Classification||H04L45/00, H04L45/58A|
|Jan 5, 2010||CC||Certificate of correction|
|Oct 5, 2010||CC||Certificate of correction|
|Mar 18, 2013||FPAY||Fee payment|
Year of fee payment: 4