WO2002056525A2 - Technique for forwarding multi-cast data packets - Google Patents

Technique for forwarding multi-cast data packets Download PDF

Info

Publication number
WO2002056525A2
WO2002056525A2 PCT/US2001/050064 US0150064W WO02056525A2 WO 2002056525 A2 WO2002056525 A2 WO 2002056525A2 US 0150064 W US0150064 W US 0150064W WO 02056525 A2 WO02056525 A2 WO 02056525A2
Authority
WO
WIPO (PCT)
Prior art keywords
packet
cast
forwarding
data
mask
Prior art date
Application number
PCT/US2001/050064
Other languages
French (fr)
Other versions
WO2002056525A3 (en
Inventor
Ed Ku
Piyush Kothary
Ramesh Yarlagadda
Sreenivas Kottapalli
Carl Gyllenhammer
Original Assignee
Maple Optical Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maple Optical Systems Inc filed Critical Maple Optical Systems Inc
Priority to AU2002246806A priority Critical patent/AU2002246806A1/en
Publication of WO2002056525A2 publication Critical patent/WO2002056525A2/en
Publication of WO2002056525A3 publication Critical patent/WO2002056525A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/26Route discovery packet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/56Routing software
    • H04L45/566Routing instructions carried by the data packet, e.g. active networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/101Packet switching elements characterised by the switching fabric construction using crossbar or matrix
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/15Interconnection of switching modules
    • H04L49/1553Interconnection of ATM switching modules, e.g. ATM switching fabrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/201Multicast operation; Broadcast operation
    • H04L49/203ATM switching fabrics with multicast or broadcast capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/252Store and forward routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5614User Network Interface
    • H04L2012/5618Bridges, gateways [GW] or interworking units [IWU]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5646Cell characteristics, e.g. loss, delay, jitter, sequence integrity
    • H04L2012/5651Priority, marking, classes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5665Interaction of ATM with other protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5678Traffic aspects, e.g. arbitration, load balancing, smoothing, buffer management
    • H04L2012/5679Arbitration or scheduling

Abstract

A technique for forwarding multi-cast data packets in a communication network. Multi-cast packets are broadcast to every output port of the switch. The packet is thus buffered in each port. Then, all of the output ports, save those that are appropriate output ports for the packet, drop the packet. Accordingly, the output ports that did not drop the packet forward the packet to the network. A control packet that follows the packet may then instruct the ports regarding which ports are to drop the packet and which ports are to forward the packet. This technique has an advantage to efficiently handling multi-cast packets.

Description


  



   TECHNIQUE FOR FORWARDING MULTI-CAST DATA PACKETS
Related Applications :
This application claims the benefit of U. S. Provisional Application Serial No.



  60/259,161, filed December 28,2000.



   The contents of U. S. Patent Application Serial   No.,    filed on the same day as this application, and   entitled,"METRO    SWITCH AND METHOD FOR
TRANSPORTING DATA CONFIGURED ACCORDING TO MULTIPLE DIFFERENT
FORMATS" ; U. S. Patent Application Serial No., filed on the same day as this application, and entitled,"NON-BLOCKING VIRTUAL SWITCH ARCHITECTURE" ;
U. S. Patent Application Serial No., filed on the same day as this application, and entitled,"QUALITY OF SERVICE TECHNIQUE FOR A DATA
COMMUNICATION NETWORK" ; U. S. Patent Application Serial   No.,    filed on the same day as this application, and   entitled,"TECHNIQUE    FOR TIME DIVISION
MULTIPLEX FORWARDING OF DATA STREAMS" ; and U. S.

   Patent Application
Serial No., filed on the same day as this application, and entitled,"ADDRESS
LEARNING TECHNIQUE IN A DATA COMMUNICATION NETWORK"are hereby incorporated by reference.



  Field of the Invention:
The invention relates to a method and apparatus for data communication in a network.



  Background of the Invention:
Conventionally, integrating different network protocols or media types is complex and difficult. Routers and gateways may be used for protocol conversion and for managing quality of services. However, these techniques and devices tend to be complex, resource intensive, difficult and time consuming to implement and slow in operation.



   In conventional high speed networks, data is typically transmitted in a single format, e. g., ATM, frame relay, PPP, Ethernet, etc. Each of these various types of formats generally requires dedicated hardware and communication paths along which to transmit the data. The principle reason for this is that the communication protocols and signaling techniques tend to be different for each format. For example, in a transmission using an ATM format, data cells are sent from a source to a destination along a predetermined path. Headers are included with each cell for identifying the cell as belonging to a set of associated data. In such a transmission, the size of the data cell being sent is known, as well as the beginning and end of the cell.

   In operation, cells are sent out, sometimes asynchronously, for eventual reassembly with the other associated data cells of the set at a destination. Idle times may occur between transmissions of data cells.



   For a frame relay format, communications are arranged as data frames. Data is sent sometimes asynchronously for eventual reassembly with other associated data packets at a destination. Idle time may occur between the transmissions of individual frames of data. The transmission and assembly of frame relay data, however, is very different from that of ATM transmissions. For example, the frame structures differ as well as the manner in which data is routed to its destination.



   Some network systems require that connections be set up for each communication session and then be taken down once the session is over. This makes such systems generally incompatible with those in which the data is routed as discrete packets. A Time
Division Multiplex (TDM) system, for example, requires the setting up of a communication session to transmit data. While a communication session is active, there is no time that the communication media can be considered idle, unlike the idle periods that occur between packets in a packet-based network. Thus, sharing transmission media is generally not possible in conventional systems. An example of this type of protocol is "Point-to-Point Protocol" (PPP). Internet Protocol (IP) is used in conjunction with PPP in manner known as IP over PPP to forward IP packets between workstations in clientserver networks.



   It would be useful to provide a network system that allows data of various different formats to be transmitted from sources to destinations within the same network and to share transmission media among these different formats. 



   As mentioned, some network systems provide for communication sessions. This scheme works well for long or continuous streams of data, such as streaming video data or voice signal data generated during real-time telephone conversations. However, other network systems send discrete data packets that may be temporarily stored and forwarded during transmission. This scheme works well for communications that are tolerant to transmission latency, such as copying computer data files from one computer system to another. Due to these differences in network systems and types of data each is best suited for, no one network system is generally efficient and capable of efficiently handling mixed streams of data and discrete data packets.



   Therefore, what is needed is a network system that efficiently handles both streams of data and discrete data packets.



   Further, within conventional network systems, data packets are received at an input port of a multi-port switch and are then directed to an appropriate output port based upon the location of the intended recipient for the packet. Within the switch, connections between the input and output ports are typically made by a crossbar switch array. The crossbar array allows packets to be directed from any input port to any output port by making a temporary, switched connection between the ports. However, while such a connection is made and the packet is traversing the crossbar array, the switch is occupied.



  Accordingly, other packets arriving at the switch are blocked from traversing the crossbar. Rather, such incoming packets must be queued at the input ports until the crossbar array becomes available.



   Accordingly, the crossbar array limits the amount of traffic that a typical multiport switch can handle. During periods of heavy network traffic, the crossbar array becomes a bottleneck, causing the switch to become congested and packets lost by overrunning the input buffers.



   An alternate technique, referred to as cell switching, is similar except that packets are broken into smaller portions called cells. The cells traverse the crossbar array individually and are then the original packets are reconstructed from the cells. The cells, however, must be queued at the input ports while each waits its turn to traverse the switch. Accordingly, cell switching also suffers from the drawback that the crossbar array can become a bottleneck during periods of heavy traffic. 



   Another technique, which is a form of time-division multiplexing, involves allocating time slots to the input ports in a repeating sequence. Each port makes use of the crossbar array during its assigned time slots to transmit entire data packets or portions of data packets. Accordingly, this approach also has the drawback that the crossbar array can become a bottleneck during periods of heavy traffic. In addition, if a port does not have any data packets queued for transmission when its assigned time slot arrives, the time slot is wasted as no data may be transmitted during that time slot.



   Therefore, what is needed is a technique for transmitting data packets in a multiport switch that does not suffer from the afore-mentioned drawbacks. More particularly, what is needed is such a technique that avoids a crossbar array from becoming a traffic bottleneck during periods of heavy network traffic.



   Under certain circumstances, it is desirable to send the same data to multiple destinations in a network. Data packets sent in this manner are conventionally referred to as multi-cast data. Thus, network systems must often handle both data intended for a single destination (conventionally referred to as uni-cast data) and multi-cast data. Data is conventionally multi-cast by a multi-port switch repeatedly sending the same data to all of the destinations for the data. Such a technique can be inefficient due to its repetitiveness and can slow down the network by occupying the switch for relatively long periods while multi-casting the data.



   Therefore, what is needed is an improved technique for handling both uni-cast and multi-cast data traffic in a network system.



   Certain network protocols require that switching equipment discover aspects of the network configuration in order to route data traffic appropriately (this discovery process is sometimes referred to   as"learning").    For example, an Ethernet data packet includes a MAC source address and a MAC destination address. The source address uniquely identifies a particular piece of equipment in the network (i. e. a network"node") as the originator of the packet. The destination address uniquely identifies the intended recipient node (sometimes referred to as the"destination node"). Typically, the MAC address of a network node is programmed into the equipment at the time of its manufacture. For this purpose, each manufacturer of network equipment is assigned a predetermined range of addresses.

   The manufacturer then applies those addresses to its products such that no two pieces of network equipment share an identical MAC address.



   A conventional Ethernet switch must learn the MAC addresses of the nodes in the network and the locations of the nodes relative to the switch so that the switch can appropriately direct packets to them. This is typically accomplished in the following manner: when the Ethernet switch receives a packet via one of its input ports, it creates an entry in a look-up table. This entry includes the MAC source address from the packet and an identification of the port of the switch by which the packet was received. Then, the switch looks up the MAC destination address included in the packet in this same look-up table. This technique is suitable for a local area network (LAN). However, where a wide area network (WAN) interconnects   LANs,    a distributed address table is required as well as learning algorithms to create and maintain the distributed table.



  Summary of the Invention:
The invention is a technique for forwarding multi-cast data packets in a communication network. Multi-cast packets are broadcast to every output port of the switch. The packet is thus buffered in each port. Then, all of the output ports, save those that are appropriate output ports for the packet, drop the packet. Accordingly, the output ports that did not drop the packet forward the packet to the network. A control packet that follows the packet may then instruct the ports regarding which ports are to drop the packet and which ports are to forward the packet. This technique has an advantage of efficiently handling multi-cast packets.



   In one aspect, a method of forwarding data packets in a multi-port switch having input ports for receiving data packets to be forwarded by the switch and output ports for forwarding the data packets is provided. A data packet is received by an input port.



  Copies of the data packet are passed to each of a plurality of output ports including at least one output port that is not an appropriate output port for forwarding the packet. One or more masks for the packet are formed, each mask being a binary value having a first logic value in each bit position that corresponds to appropriate output port for forwarding the packet and a second logic value in remaining bit positions. The data packet is forwarded by each appropriate output port indicated by the one or more masks. 



   The mask for a uni-cast packet may have the first logic value in a bit position that corresponds to one appropriate output port for forwarding the packet and a second logic value in the remaining bit positions. The mask for a multi-cast packet may have the first logic value in bit positions that correspond to a plurality of appropriate output ports for forwarding the packet and the second logic value in the remaining bit positions. The copy of the data packet may be dropped by each of the plurality of output ports that is not an appropriate output port for forwarding the data packet after said passing. The data packet may be forwarded by multiple output ports in substantially the same format. A plurality of the masks may be formed. The data packet may be forwarded in a different format for each of multiple output ports.



   The mask may be included in a destination vector for the packet, wherein the destination vector indicates whether the packet is to be forwarded according to multiple different formats. The destination vector may be looked up in a look-up table of the multi-port switch. A command packet may be formed when the data packet is to be forwarded according to multiple different formats. The command packet may include indicia of the format for the data packet for each appropriate output port for forwarding the data packet. The command packet may include the one or more masks for the packet.



  The command packet may include an additional mask having the first logic value in all bit positions.



   In another aspect, a method of forwarding data packets in a multi-port switch having input ports for receiving data packets to be forwarded by the switch and output ports for forwarding the data packets is provided. A data packet is received by an input port. Copies of the data packet are passed to each of a plurality of output ports including at least one output port that is not an appropriate output port for forwarding the packet. A determination is made as to whether the data packet is multi-cast or uni-cast. When the packet is uni-cast, a uni-cast mask is formed for the packet, the uni-cast mask being a binary value having first logic value in a bit position that corresponds to an appropriate output port for forwarding the packet and a second logic value in remaining bit positions.



  When the packet is multi-cast, a plurality of multi-cast masks are formed for the packet, each multi-cast mask being a binary value having the first logic value in a bit position that corresponds to an appropriate output port for forwarding the packet. 



   The data packet may be forwarding by the destination ports indicated by the one of the uni-cast or mult-cast masks. The copy of the data packet may be dropped by each of the plurality of output ports that is not an appropriate output port for forwarding the data packet after the copies are passed. When the data packet is multi-cast, an appropriate format of the data packet may be determined for each multi-cast mask. The data packet may be formatted in accordance with each of the appropriate formats thereby forming a plurality of formatted multi-cast packets. The formatted multi-cast packets may then be forwarded.

   A multi-cast identification list may be formed having a number of entries corresponding to the number of output ports that are to forward the data packet, each entry including an identification of a output port and an indication of an appropriate format for the data packet. The multi-cast masks may be formed based on the output port identifications.



   In a further aspect, a method of forwarding data packets in a multi-port switch having input ports for receiving data packets to be forwarded by the switch and output ports for forwarding the data packets is provided. A data packet is received by an input port.



  Copies of the data packet are passed to each of a plurality of output ports. One or more masks is formed for the packet, each mask being a binary value having a first logic value in one or more bit positions that correspond to appropriate output ports for forwarding the packet and a second logic value in the remaining bit positions. An appropriate format of the data packet is determined for each of the appropriate output ports. The data packet is formatted in accordance with each of the appropriate formats thereby forming a plurality of formatted multi-cast packets. The formatted multi-cast packets are forwarded. The copy of the data packet may be dropped by each output port that is not an appropriate output port for forwarding the data packet after said passing.



   In still another aspect, a method of forwarding data packets in a multi-port switch having input ports for receiving data packets to be forwarded by the switch and output ports for forwarding the data packets is provided. A data packet is received by an input port. A first mask is formed when the packet is multi-cast, the first mask being a binary value having a first logic value in all bit positions. Copies of the data packet are passed to each output port indicated by the first mask, including at least one output port that is not an appropriate output port for forwarding the packet. One or more multi-cast masks are formed for the packet, each multi-cast mask being a binary value having a first logic value in each bit position that corresponds to appropriate output port for forwarding the packet and a second logic value in remaining bit positions.

   The data packet is forwarded by each appropriate output port indicated by the one or more multi-cast masks.



   A determination may be made as to whether the packet is uni-cast or multi-cast.



  When the packet is uni-cast, a uni-cast mask may be formed, the uni-cast mask being a binary value having a first logic value each bit position that corresponds to appropriate output port for forwarding the packet. The uni-cast mask may have one occurrence of the first logic value or a plurality of occurrences of the first logic value. The uni-cast mask may be appended to the packet. The first mask may be appended to the data packet.



  Brief Description of the Drawings:
Figure 1 illustrates a block schematic diagram of a network domain in accordance with the present invention;
Figure 2 illustrates a flow diagram for a packet traversing the network of Figure 1;
Figure 3 illustrates a packet label that can be used for packet label switching in the network of Figure 1;
Figure 4 illustrates a data frame structure for encapsulating data packets to be communicated in the network of Figure 1;
Figure 5 illustrates a block schematic diagram of a switch of Figure 1 showing a plurality of buffers for each port;
Figure 6 illustrates a more detailed block schematic diagram showing other aspects of the switch of Figure 5;
Figure 7 illustrates a flow diagram for packet data traversing the switch of Figures 5 and 6;
Figure 8 illustrates a uni-cast packet prepared for delivery to the queuing engines of Figure 6;

  
Figure 9 illustrates a multi-cast packet prepared for delivery to the queuing engines of Figure 6; 
Figure 10 illustrates a multi-cast identification (MID) list and corresponding command packet for directing transmission of the multi-cast packet of Figure 9;
Figure 11 illustrates the network of Figure 1 including three label-switched paths;
Figure 12 illustrates a flow diagram for address learning at destination equipment in the network of Figure 11;
Figure 13 illustrates a flow diagram for performing cut-through for data streams in the network of Figure 1;
Figure 14 illustrates a sequence number header for appending to data stream sections; and
Figure 15 illustrates a sequence of data stream sections and appended sequence numbers.



  Detailed Description of a Preferred Embodiment:
Figure 1 illustrates a block schematic diagram of a network domain (also referred to as a network"cloud") 100 in accordance with the present invention. The network 100 includes edge equipment (also referred to as provider equipment or, simply,"PE") 102, 104,106,108,110 located at the periphery of the domain 100. Edge equipment 102-110 each communicate with corresponding ones of external equipment (also referred to as customer equipment or, simply,"CE") 112,114,116,118,120 and 122 and may also communicate with each other via network links. As shown in Figure 1, for example, edge equipment 102 is coupled to external equipment 112 and to edge equipment 104.



  Edge equipment 104 is also coupled to external equipment 114 and 116. In addition, edge equipment 106 is coupled to external equipment 118 and to edge equipment 108, while edge equipment 108 is also coupled to external equipment 120. And, edge equipment 110 is coupled to external equipment 122.



   The external equipment 112-122 may include equipment of various local area networks   (LANs)    that operate in accordance with any of a variety of network communication protocols, topologies and standards (e. g., PPP, Frame Relay, Ethernet,
ATM,   TCP/IP,    token ring, etc.). Edge equipment 102-110 provide an interface between the various protocols utilized by the external equipment 112-122 and protocols utilized within the domain 100. In one embodiment, communication among network entities within the domain 100 is performed over fiber-optic links and accordance with a highbandwidth capable protocol, such as Synchronous Optical NETwork (SONET) or
Ethernet (e. g., Gigabit or 10 Gigabit).

   In addition, a unified, label-switching (sometimes referred to as"label-swapping") protocol, for example, multi-protocol label switching (MPLS), is preferably utilized for directing data throughout the network 100.



   Internal to the network domain 100 are a number of network switches (also referred to as provider switches, provider routers or, simply,"P") 124,126 and   128.    The switches 124-128 serve to relay and route data traffic among the edge equipment 102-110 and other switches. Accordingly, the switches 124-128 may each include a plurality of ports, each of which may be coupled via network links to another one of the switches 124-128 or to the edge equipment 102-110. As shown in Figure 1, for example, the switches 124-128 are coupled to each other. In addition, the switch 124 is coupled to edge equipment 102,104,106 and 110. The switch 126 is coupled to edge equipment 106, while the switch   128    is coupled to edge equipment 108 and 110.



   It will be apparent that the particular topology of the network 100 and external equipment 112-122 illustrated in Figure 1 is exemplary and that other topologies may be utilized. For example, more or fewer external equipment, edge equipment or switches may be provided. In addition, the elements of Figure 1 may be interconnected in various different ways.



   The scale of the network 100 may vary as well. For example, the various elements of Figure 1 may be located within a few feet or each other or may be located hundreds of miles apart. Advantages of the invention, however, may be best exploited in a network having a scale on the order of hundreds of miles. This is because the network 100 may facilitate communications among customer equipment that uses various different protocols and over great distances. For example, a first entity may utilize the network 100 to communicate among: a first facility located in San Jose, California; a second facility located in Austin, Texas; and third facility located in Chicago, Illinois. A second entity may utilize the same network 100 to communicate between a headquarters located in Buffalo, New York and a supplier located in Salt Lake City, Utah.

   Further, these entities may use various different network equipment and protocols. Note that long-haul links may also be included in the network 100 to facilitate, for example, international communications.



   The network 100 may be configured to provide allocated bandwidth to different user entities. For example, the first entity mentioned above may need to communicate a larger amount of data between its facilities than the second entity mentioned above. In which case, the first entity may purchase from a service provider a greater bandwidth allocation than the second entity. For example, bandwidth may be allocated to the user entity by assigning various channels (e. g., OC-3, OC-12, OC-48 or OC-192 channels) within SONET STS-1 frames that are communicated among the various locations in the network 100 of the user entity's facilities.



   Figure 2 illustrates a flow diagram 200 for a packet traversing the network 100 of
Figure 1. Program flow begins in a start state 202. From the state 202, program flow moves to a state 204 where a packet or other data is received by equipment of the network 100. Generally, a packet transmitted by a piece of external equipment 112-122 (Figure 1) is received by one of the edge equipment 102-110 (Figure 1) of the network 100. For example, a data packet may be transmitted from customer equipment 112 to edge equipment 102. This packet may be accordance with any of a number of different network protocols, such as Ethernet, Asynchronous Transfer Mode (ATM), Point-to
Point Protocol (PPP), frame relay, Internet Protocol (IP) family, token ring, time-division multiplex (TDM), etc.



   Once the packet is received in the state 204, program flow moves to a state 206.



  In the state 206, the packet may be de-capsulated from a protocol used to transmit the packet. For example, a packet received from external equipment 112 may have been encapsulated according to Ethernet, ATM or TCP/IP prior to transmission to the edge equipment 102. From the state 206, program flow moves to a state 208.



   In the state 208, information regarding the intended destination for the packet, such as a destination address or key, may be retrieved from the packet. The destination data may then be looked up in a forwarding database at the network equipment that received the packet. From the state 208, program flow moves to a state 210.



   In the state 210, based on the results of the look-up performed in the state 208, a determination is made as to whether the equipment of the network 100 that last received the packet (e. g., the edge equipment 102) is the destination for the packet or whether one or more hops within the network 100 are required to reach the destination. Generally, edge equipment that receives a packet from external equipment will not be a destination for the data. Rather, in such a situation, the packet may be delivered to its destination node by the external equipment without requiring services of the network   100.    In which case, the packet may be filtered by the edge equipment 112-120. Assuming that one or more hops are required, then program flow moves to a state 212.



   In the state 212, the network equipment (e. g., edge equipment 102) determines an appropriate label switched path (LSP) for the packet that will route the packet to its intended recipient. For this purpose, a number of LSPs may have previously been set up in the network 100. Alternately, a new LSP may be set up in the state 212. The LSP may be selected based in part upon the intended recipient for the packet. A label obtained from the forwarding database may then be appended to the packet to identify a next hop in the LSP.



   Figure 3 illustrates a packet label header 300 that can be appended to data packets for label switching in the network of Figure 1. The header 300 preferably complies with the MPLS standard for compatibility with other MPLS-configured equipment. However, the header 300 may include modifications that depart from the MPLS standard. As shown in Figure 3, the header 300 includes a label 302 that may identify a next hop along an LSP. In addition, the header 300 preferably includes a priority value 304 to indicate a relative priority for the associated data packet so that packet scheduling may be performed. As the packet traverses the network 100, additional labels may be added or removed in a layered fashion.

   Thus, the header 300 may include a last label stack flag 306 (also known as an"S"bit) to indicate whether the header 300 is the last label in a layered stack of labels appended to a packet or whether one or more other headers are beneath the header 300 in the stack. In one embodiment, the priority 304 and last label flag 306 are located in a field designated by the MPLS standard as"experimental."
Further, the header 300 may include a time-to-live (TTL) value 308 for the label 302. For example, the TTL value may be set to an initial values that is decremented each time the packet traverses a next hop in the network. When the TTL value reaches"1"or zero, this indicates that the packet should not be forwarded any longer. Thus, the TTL value can be used to prevent packets from repeatedly traversing any loops which may occur in the network 100.



   From the state 212, program flow moves to a state 214 where the labeled packet may then be further converted into a format that is suitable for transmission via the links of the network 100. For example, the packet may be encapsulated into a data frame structure, such as a SONET frame or an Ethernet (Gigabit or 10 Gigabit) frame. Figure 4 illustrates a data frame structure 400 that may be used for encapsulating data packets to be communicated via the links of the network of Figure 1. As shown in Figure 4, an exemplary SONET frame 400 is arranged into nine rows and 90 columns. The first three columns 402 are designated for overhead information while the remaining 87 columns are reserved for data. It will be apparent, however, that a format other than SONET may be used for the frames.

   Frames, such as the frame 400, may be transmitted via links in the network 100 (Figure 1) one after the other at regular intervals, as shown in Figure 4 by the start of frame times   Tl    and T2. As mentioned, portions (i. e. channels) of each frame 400 are preferably reserved for various LSPs in the network 100. Thus, various
LSPs can be provided in the network 100 to user entities, each with an allocated amount of bandwidth.



   Thus, in the state 214, the data received by the network equipment (e. g., edge equipment 102) may be inserted into an appropriate allocated channel in the frame 400 (Figure 4) along with its label header 300 (Figure 3) and link header. The link header aids in recovery of the data from the frame 400 upon reception. From the state 214, program flow moves to a state 216, where the packet is communicated within the frame 400 along a next hop of the appropriate LSP in the network 100. For example, the frame 400 may be transmitted from the edge equipment 102 (Figure 1) to the switch 124 (Figure 1). Program flow for the current hop along the packet's path may then terminate in a state 224.



   Program flow may begin again at the start state 202 for the next network equipment in the path for the data packet. Thus, program flow returns to the state 204.



  In the state 204, the packet is received by equipment of the network 100. For the second occurrence of the state 204 for a packet, the network equipment may be one of the switches 124-128. For example, the packet may be received by switch 124 (Figure 1) from edge equipment 102 (Figure 1). In the second occurrence of the state 206, the packet may be de-capsulated from the protocol (e. g., SONET) used for links within the network 100 (Figure 1). Thus, in the state 206, the packet and its label header may be retrieved from the data portion 404 (Figure 4) of the frame 400. In the state 212, the equipment (e. g., the switch 124) may swap a present label 302 (Figure 3) with a label for the next hop in the network 100.

   Alternately, a label may be added, depending upon the label value 302 (Figure 3) for the label header 300 (Figure 3)   and/or    the initialization state of an egress port or channel of the equipment by which the packet is forwarded.



   This process of program flow moving among the states 204-216 and passing the data from node to node continues until the equipment of the network 100 that receives the packet is a destination in the network 100, such as edge equipment 102-110. Then, assuming that in the state 210 it is determined that the data has reached a destination in the network 100 (Figure 1) such that no further hops are required, then program flow moves to a state 218. In the state 218, the label header 300 (Figure 3) may be removed.



  Then, as needed in a state 220, the packet may be encapsulated into a protocol appropriate for delivery to its destination in the customer equipment 112-122. For example, if the destination expects the packet to have Ethernet, ATM or TCP/IP encapsulation, the appropriate encapsulation may be added in the state 220.



   Then, in a state 222, the packet or other data may be forwarded to external equipment in its original format. For example, assuming that the packet sent by customer equipment 112 was intended for customer equipment 118, the edge equipment 106 may remove the label header from the packet (state 218), encapsulate it appropriately (state 220) and forward the packet to the customer equipment 118 (state 222). Program flow may then terminate in a state 224.



   Thus, a network system has been described in which label switching (e. g., MPLS protocol) may be used in conjunction with a link protocol (e. g., PPP over SONET) in a novel manner to allow disparate network equipment the ability to communicate via a shared network resources (e. g., the equipment and links of the network 100 of Figure 1).



   In another aspect of the invention, a non-blocking switch architecture is provided.



  Figure 5 illustrates a block schematic diagram of a switch 600 showing a plurality of buffers 618 for each of several ports. A duplicate of the switch 600 may be utilized as any of the switches 124,126 and 128 or edge equipment 102-110 of Figure 1. Referring to Figure 5, the switch 600 includes a plurality of input ports   Am, B ; n, Cm    and Din and a plurality of output ports   Aout,    Bout, Cut and   Dout.    In addition, the switch 600 includes a plurality of packet buffers 618.



   Each of the input ports   Ain, Bin, Ci,, and Din    is coupled to each of the output ports   Aout, Bout, Cout    and   Dout    via distribution channels 614 and via one of the buffers 618. For example, the input port Ain is coupled to the output port Aout via a buffer designated   "Au,/Aout".    As another example, the input port Bin is coupled to the output port Cout via a buffer   designated"Bm/Cout".    As still another example, the input port Din is coupled to the output port Dout via a buffer   designated"D, nDout"    Thus, the number of buffers provided for each output port is equal to the number of input ports. Each buffer may be implemented as a discrete memory device or, more likely, as allocated space in a memory device having multiple buffers.

   Assuming an equal number (n) of input and output ports, the total number of buffers 618 is n-squared. Accordingly, for a switch having four input and output port pairs, the total number of buffers 618 is preferably sixteen (i. e. four squared).



   Packets that traverse the switch 600 may generally enter at any of the input ports   Am, Bin, Cm and Dm    and exit at any of the output ports   Aout, Bo"t, Cout    and   Dout.    The precise path through the switch 600 taken by a packet will depend upon its origin, its destination and upon the configuration of the network (e. g., the network 100 of Figure 1) in which the switch 600 operates. Packets may be queued temporarily in the buffers 618 while awaiting re-transmission by the switch 600. As such, the switch 600 generally operates as a store-and-forward device.



   Multiple packets may be received at the various input ports   Ain, Bjn, Cin    and   D    of the switch 600 during overlapping time periods. However, because space in the buffers   618    is allocated for each combination of an input port and an output port, the switch 600 is non-blocking. That is, packets received at different input ports and destined for the same output port (or different output ports) do not interfere with each other while traversing the switch 600. For example, assume a first packet is received at the port Am and is destined for the output port Bout. Assume also that while this first packet is still traversing the switch 600, a second packet is received at the port Cm and is also destined for the output port Bout.

   The switch 600 need not wait until the first packet is loaded into the buffers 618 before acting on the second packet. This is because the second packet can be loaded into the buffer   Cin/Bout    during the same time that the first packet is being loaded into the buffer   A ;/Bout.   



   While four pairs of input and output ports are shown in Figure 5 for illustration purposes, it will be apparent that more or fewer ports may be utilized. In one embodiment, the switch 600 includes up to sixteen pairs of input and output ports coupled together in the manner illustrated in Figure 5. These sixteen input/output port pairs may be distributed among up to sixteen slot cards (one per slot card), where each slot card has a total of sixteen   input/output    port pairs. A slot card may be, for example, a printed circuit board included in the switch 600. Each slot card may have a first   input/output    port pair, a second inputloutput pair and so forth up to a sixteenth input/output port pair.

   Corresponding pairs of input and output ports of each slot card may be coupled together in the manner described above in reference to Figure 5. Thus, each slot card may have ports numbered from"one"to"sixteen."The sixteen ports numbered"one"may be coupled together as described in reference to Figure 5. In addition, the sixteen ports numbered"two"may be coupled together in this manner and so forth for all of the ports with those numbered"sixteen"all coupled together as described in reference to Figure 5. In this embodiment, each buffer may have space allocated to each of sixteen ports. Thus, the number of buffers 618 may be sixteen per slot card and 256 (i. e. sixteen squared) per switch. As a result of this configuration, a packet received by a first input port of any slot card may be passed directly to any or all of sixteen first output ports of the slot cards.

   During an overlapping time period, another packet received by the first input port of another slot card may be passed directly to any or all of the sixteen first output ports without these two packets interfering with each other. Similarly, packets received by second input ports may be passed to any second output port of the sixteen slot cards.



   Figure 6 illustrates a more detailed block schematic diagram showing other aspects of the switch 600. A duplicate of the switch 600 of Figure 6 may be utilized as any of the switches 124,126 and 128 or edge equipment 102-110 of Figure 1. Referring to Figure 6, the switch 600 includes an input port connected to a transmission media 602. 



  For illustration purposes, only one input port (and one output port) is shown in Figure 6, though as explained above, the switch 600 includes multiple pairs of ports. Each input port may include an input path through a physical layer device (PHY)   604,    a   framer/media    access control (MAC) device 606 and a media interface   (I/F)    device   608.   



   The PHY 604 may provide an interface directly to the transmission media 602 (e. g., the network links of Figure 1). The PHY 604 may also perform other functions, such as serial-to-parallel digital signal conversion, synchronization, non-return to zero (NRZI) decoding, Manchester decoding,   8B/1OB    decoding, signal integrity verification and so forth. The specific functions performed by the PHY 604 may depend upon the encoding scheme utilized for data transmission. For example, the PHY 604 may provide an optical interface for optical links within the domain 100 or may provide an electrical interface for links to equipment external to the domain 100.



   The framer device 606 may convert data frames received via the media 602 in a first format, such as SONET or Ethernet (e. g., Gigabit or 10 Gigabit), into another format suitable for further processing by the switch 600. For example, the framer device 606 may separate and de-capsulate individual transmission channels from a SONET frame and then identify packets received in each of the channels. The framer device 606 may be coupled to the media   I/F    device 608. The   I/F    device 608 may be implemented as an application-specific integrated circuit (ASIC). The   I/F    device 608 receives the packet from the framer device 606 and identifies a packet type.

   The packet type may be included in the packet where its position may be identified by the   I/F    device 608 relative to a start-of-frame flag received from the PHY 604. Examples of packet types include:
Ether-type (V2); Institute of Electrical and Electronics Engineers (IEEE) 802.3 Standard;
VLAN/Ether-Type or VLAN/802.3. It will be apparent that other packet types may be identified. In addition, the data need not be in accordance with a packetized protocol.



  For example, as explained in more detail herein, the data may be a continuous stream.



   An ingress processor 610 may be coupled to the input port via the media   I/F    device 608. Additional ingress processors (not shown) may be coupled to each of the other input ports of the switch 600, each port having an associated media   I/F    device, a framer device and a PHY. Alternately, the ingress processor 610 may be coupled to all of the other input ports. The ingress processor 610 controls reception of data packets. For example, the ingress processor may use the type information obtained by the   I/F    device 608 to extract a destination key (e. g., a label switch path to the destination node or other destination indicator) from the packet. The destination key may be located in the packet in a position that varies depending upon the packet type.

   For example, based upon the packet type, the ingress processor 610 may parse the header of an Ethernet packet to extract the MAC destination address.



   Memory 612, such as a content addressable memory (CAM)   and/or    a random access memory (RAM), may be coupled to the ingress processor 610. The memory 612 preferably functions primarily as a forwarding database which may be utilized by the ingress processor 610 to perform look-up operations, for example, to determine based on the destination key for packet which are appropriate output ports for the packet or which is an appropriate label for the packet. The memory 612 may also be utilized to store configuration information and software programs for controlling operation of the ingress processor 610.



   The ingress processor 610 may apply backpressure to the   I/F    device   608    to prevent heavy incoming data traffic from overloading the switch 600. For example, if
Ethernet packets are being received from the media 602, the framer device 606 may instruct the PHY 604 to send a backpressure signal via the media 602.



   Distribution channels 614 may be coupled to the input ports via the ingress processor 610 and to a plurality of queuing engines 616. In one embodiment, one queuing engine may be provided for each pair of an input port and an output port for the switch 600, in which case, one ingress processor may also be provided for the   input/output    port pair. Note that each input/output pair may also be referred to as a single port or a single input/output port. The distribution channels 614 preferably provide direct connections from each input port to multiple queuing engines 616 such that a received packet may be simultaneously distributed to the multiple queuing engines 616 and, thus, to the corresponding output ports, via the channels 614.

   For example, each input port may be directly coupled by the distribution channels 614 to the corresponding queuing engine of each slot card, as explained in reference to Figure 5.



   Each of the queuing engines 616 is also associated with one or more of a plurality of buffers 618. Because the switch 600 preferably includes sixteen   input/output    ports per slot card, each slot card preferably includes sixteen queuing engines 616 and sixteen buffers   618.    In addition, each switch 600 preferably includes up to sixteen slot cards.



  Thus, the number of queuing engines 616 corresponds to the number of input/output ports and each queuing engine 616 has an associated buffer   618.    It will be apparent, however, that other numbers can be selected and that less than all of the ports of a switch 600 may be used in a particular configuration of the network 100 (Figure 1).



   As mentioned, packets are passed from the ingress processor 610 to the queuing engines 616 via distribution channels 614. The packets are then stored in buffers 618 while awaiting retransmission by the switch 600. For example, a packet received at one input port may be stored in any one or more of the buffers 618. As such, the packet may then be available for re-transmission via any one or more of the output ports of the switch 600. This feature allows packets from various different input ports to be simultaneously directed through the switch 600 to appropriate output ports in a non-blocking manner in which packets being directed through the switch 600 do not impede each other's progress.



   For scheduling transmission of packets stored in the buffers 618, each queuing engine 616 has an associated scheduler 620. The scheduler 620 may be implemented as an integrated circuit chip. Preferably, the queuing engines 616 and schedulers 620 are provided two per integrated circuit chip. For example, each of eight scheduler chips may include two schedulers. Accordingly, assuming there are sixteen queuing engines 616 per slot card, then sixteen schedulers 620 are preferably provided.



   Each scheduler 620 may prioritize data packets by selecting the most eligible packet stored in its associated buffer 618. In addition, a master-scheduler 622, which may be implemented as a separate integrated circuit chip, may be coupled to all of the schedulers 620 for prioritizing transmission from among the then-current highest priority packets from all of the schedulers 620. Accordingly, the switch 600 preferably utilizes a hierarchy of schedulers with the master scheduler 622 occupying the highest position in the hierarchy and the schedulers 620 occupying lower positions. This is useful because the scheduling tasks are distributed among the hierarchy of scheduler chips to efficiently handle a complex hierarchical priority scheme. 



   For transmitting the packets, the queuing engines 616 are coupled to the output ports of the switch 600 via demultiplexor 624. The demultiplexor 624 routes data packets from a communication bus 626, shared by all of the queuing engines 616, to the appropriate output port for the packet. Counters 628 for gathering statistics regarding packets routed through the switch 600 may be coupled to the demultiplexor 624.



   Each output port may include an output path through a media   I/F    device, framer device and PHY. For example, an output port for the input/output pair illustrated in
Figure 6 may include the media   I/F    device 608, the framer device 606 and the PHY 604.



   In the output path, the   ILS    device 608, the framer 606 and an output PHY 630 may essentially reverse the respective operations performed by the corresponding devices in the input path. For example, the   I/F    device 608 may appropriately format outgoing data packets based on information obtained from a connection identification (CID) table 632 coupled to the   ILS    device 608. The   I/F    device 608 may also add a link-layer, encapsulation header to outgoing packets. In addition, the media   I/F    device 608 may apply backpressure to the master scheduler 622 if needed. The framer 606 may then convert packet data from a format processed by the switch 600 into an appropriate format for transmission via the network 100 (Figure 1).

   For example, the framer device 606 may combine individual data transmission channels into a SONET frame. The PHY 630 may perform parallel to serial conversion and appropriate encoding on the data frame prior to transmission via the media 634. For example, the PHY 630 may perform NRZI encoding, Manchester encoding or 8B/10B decoding and so forth. The PHY 630 may also append an error correction code, such as a   checksum,    to packet data for verifying integrity of the data upon reception by another element of the network 100 (Figure 1).



   A central processing unit (CPU) subsystem 636 included in the switch 600 provides overall control and configuration functions for the switch 600. For example, the subsystem 636 may configure the switch 600 for handling different communication protocols and for distributed network management purposes. In one embodiment, each switch 600 includes a fault manager module 638, a protection module 640, and a network management module 642. For example, the modules 638-642 included in the CPU subsystem 636 may be implemented by software programs that control a general-purpose processor of the system 636. 



   Figures 7a-b illustrate a flow diagram 700 for packet data traversing the switch 600 of Figures 5 and 6. Program flow begins in a start state 702 and moves to a state 704 where the switch 600 awaits incoming packet data, such as a SONET data frame. When packet data is received at an input port of the switch 600, program flow moves to a state 706. Note that packet data may be either a uni-cast packet or a multi-cast. The switch 600 treats each appropriately, as explained herein.



   As mentioned, an ingress path for the port includes the PHY 604, the framer media access control (MAC) device 606 and a media interface (I/F) ASIC device 608 (Figure 6). Each packet typically includes a type in its header and a destination key. The destination key identifies the appropriate destination path for the packet and indicates whether the packet is uni-cast or multi-cast. In the state 704, the PHY 604 receives the packet data and performs functions such as synchronization and decoding. Then program flow moves to a state 706.



   In the state 706, the framer device 606 (Figure 6) receives the packet data from the PHY 604 and identifies each packet. The framer 606 may perform other functions, as mentioned above, such as de-capsulation. Then, the packet is passed to the media   I/F    device 608.



   In a state 708, the media   I/F    device 608 may determine the packet type. In a state   710,    a link layer encapsulation header may also be removed from the packet by the   I/F    device 608 when necessary.



   From the state 710, program flow moves to a state 712. In the state 712, the packet data may be passed to the ingress process 610. The location of the destination key may be determined by the ingress processor 610 based upon the packet type. For example, the ingress processor 610 parses the packet header appropriately depending upon the packet type to identify the destination key in its header.



   In the state 712, the ingress processor 610 uses the key to look up a destination vector in the forwarding database 612. The vector may include: a multi-cast/uni-cast indication bit (M/U) ; a connection identification   (CID)    ; and, in the case of a uni-cast packet, a destination port identification. The CID may be utilized to identify a particular data packet as belonging to a stream of data or to a related group of packets. In addition, the CID may be reusable and may identify the appropriate encapsulation to be used for the packet upon retransmission by the switch. For example, the CID may be used to convert a packet format into another format suitable for a destination node, which uses a protocol that differs from that of the source.

   In the case of a multi-cast packet, a multicast identification   (MID)    takes the place of the CID. Similarly to the CID, the MID may be reusable and may identify the packet as belonging to a stream of multi-cast data or a group of related multi-cast packets. Also, in the case of a multi-cast packet, a multi-cast pointer may take the place of the destination port identification, as explained in reference to the state 724. The multi-cast pointer may identify a multi-cast group to which the packet is to be sent.



   In the case of a uni-cast packet, program flow moves from the state 712 to a state 714. In the state 714, the destination port identification is used to look-up the appropriate slot mask in a slot conversion table (SCT). The slot conversion table is preferably located in the forwarding database 612 (Figure 6). The slot mask preferably includes one bit at a position that corresponds to each port. For the uni-cast packet, the slot mask will include a logic"one"in the bit position that corresponds to the appropriate output port.



  The slot mask will also include logic"zeros"in all the remaining bit positions corresponding to the remaining ports. Thus, assuming that each slot card of the switch 600 includes sixteen output ports, the slot masks are each sixteen bits long (i. e. two bytes).



   In the case of a multi-cast packet, program flow moves from the state 712 to a state 716. In the state 716, the slot mask may be determined as all logic"ones"to indicate that every port is a possible destination port for the packet.



   Program flow then moves to a state 718. In the state 718, the CID (or MID) and slot mask are then appended to the packet by the ingress processor   610    (Figure 6). The ingress processor 610 then forwards the packet to all the queuing engines 616 via the distribution channels 614. Thus, the packet is effectively broadcast to every output port, even ports that are not an appropriate output port for forwarding the packet. Alternately, for a multi-cast packet, the slot mask may have logic"ones"in multiple positions corresponding to those ports that are appropriate destinations for forwarding the packet.



   Figure   8    illustrates a uni-cast packet   800    prepared for delivery to the queuing engines 616 of Figure 6. As shown in Figure 8, the packet 800 includes a slot mask 802, a burst type 804, a CID 806, an M/U bit 808 and a data field   810.    The burst type 804 identifies the type of packet (e. g., uni-cast, multi-cast or command). As mentioned, the slot mask 802 identifies the appropriate output ports for the packet, while the CID 806 may be utilized to identify a particular data packet as belonging to a stream of data or to a related group of packets. The   M/U    bit 808 indicates whether the packet is uni-cast or multi-cast.



   Figure 9 illustrates a multi-cast packet 900 prepared for delivery to the queuing engines 616 of Figure 6. Similarly to the uni-cast packet of Figure 8, the multi-cast packet 900 includes a slot mask 902, a burst type 904, a MID 906, an M/U bit 908 and a data field 910. However, for the multi-cast packet 900, the slot mask 902 is preferably all logic"ones"and the   M/U    908 will be an appropriate value.



   Referring again to Figure 7, program flow moves from the state 718 to a state 720. In the state 720, using the slot mask, each queuing engine 616 (Figure 6) determines whether it is an appropriate destination for the packet. This is accomplished by each queuing engine 616 determining whether the slot mask includes a logic"one"or a"zero" in the position corresponding to that queuing engine 616. If a"zero,"the queuing engine 616 can ignore or drop the packet. If indicated by a"one,"the queuing engine 616 transfers the packet to its associated buffer 618. Accordingly, in the state 720, when a packet is uni-cast, only one queuing engine 616 will generally retain the packet for eventual transmission by the appropriate destination port. For a multi-cast packet, multiple queuing engines 616 may retain the packet for eventual transmission.

   For example, assuming a third ingress processor 610 (out of sixteen ingress processors) received the multi-cast packet, then a third queuing engine 616 of each slot card (out of sixteen per slot card) may retain the packet in the buffers 618. As a result, sixteen queuing engines 616 receive the packet, one queuing engine per slot card.



   As shown in Figure 7, in a state 722, a determination is made as to whether the packet is uni-cast or multi-cast. This may be accomplished based on the M/LJ bit in the packet. In the case of a multi-cast packet, program flow moves from the state 722 to a state 724. In the state 724, the ingress processor 610 (Figure 6) may form a multi-cast identification   (MID)    list. This is accomplished by the ingress processor 610 looking up the MID for the packet in a portion of the database 612 (Figure 6) that provides a table for MID list look-ups. This MID table 950 is illustrated in Figure 10. As shown in
Figure 10, for each MID, the table 950 may include a corresponding entry that includes an offset pointer to an appropriate MID list stored elsewhere in the forwarding database 612. Figure 10 also illustrates an exemplary MID list 1000.

   Each MID list 1000 preferably includes one or more CIDs, one for each packet that is to be re-transmitted by the switch 600 in response to the multi-cast packet. That is, if the multi-cast packet is to be re-transmitted eight times by the switch 600, then looking up the MID in the table 950 will result in finding a pointer to a MID list entry 1000 having eight CIDs. For each CID, the MID list 1000 may also include the port identification for the port (i. e. the output port) that is to re-transmit a packet in response to the corresponding CID. Thus, as shown in Figure 10, the MID list 1000 includes a number (n) of CIDs 1002,1004, and 1006.



  For each CID in the list 1000, the list 1000 includes a corresponding port identification 1008,1010,1012.



   In sum, in the state 724 the MID may be looked up in a first table 950 to identify a multi-cast pointer. The multi-cast pointer may be used to look up the MID list in a second table. The first table may have entries of uniform size, whereas, the entries in the second table may have variable size to accommodate the varying number of packets that may be forwarded based on a single multi-cast packet.



   Program flow then moves to a state 726 (Figure 7) in which the MID list 1000 may be converted into a command packet 1014. Figure 10 illustrates the command packet 1014. The command packet 1014 may be organized in a manner similar to that of the uni-cast packet 800 (Figure 8) and the multi-cast packet 900 (Figure 9). That is, the command packet   1014    may include a slot-mask 1016, a burst type 1018, a MID 1020 and additional information, as explained herein.



   The slot-mask 1016 of the command packet 1014 preferably includes all logic   "ones"so    as to instruct all of the queuing engines 616 (Figure 6) to accept the command packet 1014. The burst type 1018 may identify the packet as a command so as to distinguish it from a uni-cast or multi-cast packet. The MID 1020 may identify a stream of multi-cast data or a group of related multi-cast packets to which the command packet   1014    belongs. As such, the MID   1018    is utilized by the queuing engines 616 to correlate the command packet 1014 to the corresponding prior multi-cast packet (e. g., packet 902 of Figure 9).



   As mentioned, the command packet 1014 includes additional information, such as CIDs 1024,1026,1028 taken from the MID list (i. e. CIDs 1002,1004,1006, respectively) and slot masks 1030,1032,1034. Each of the slot masks 1030,1032,1034 corresponds to a port identification contained in the MID list 1000 (i. e. port identifications 1008,1010,1012, respectively). To obtain the slot masks 1030,1032, 1034, the ingress processor   610    (Figure 6) may look up the corresponding port identifications 1008,1010,1012 from the MID list 1000 in the slot conversion table (SCT) of the database 612 (Figure 6). Thus, for each CID there is a different slot mask.



  This allows a multi-cast packet to be retransmitted by the switch 600 (Figures 5 and 6) with various different encapsulation schemes and header information.



   Then, program flow moves to a state 728 (Figure 7). In the state 728, the command packet 1014 (Figure 10) is forwarded to the queuing engines 616 (Figure 6).



  For example, the queuing engines that correspond to the ingress processor 610 that received the multi-cast packet may receive the command packet from that ingress processor 610. Thus, if the third ingress processor 610 (of sixteen) received the multicast packet, then the third queuing engine 616 of each slot card may receive the command packet 1014 from that ingress processor 610. As a result, sixteen queuing engines receive the command packet 1014, one queuing engine 616 per slot card.



   From the state 728, program flow moves to a state 730. In the state 730, the queuing engines 616 respond to the command packet 1014. This may include the queuing engine 616 for an output port dropping the prior multi-cast packet 900 (Figure 9). A port will drop the packet if that port is not identified in any of the slot masks 1030, 1032,1034 of the command packet 1014 as an output port for the packet.



   For ports that do not drop the packet, the appropriate scheduler 620 queues the packet for retransmission. Program flow then moves to a state 732, in which the master scheduler 622 arbitrates among packets readied for retransmission by the schedulers 620.



   In a state 734, the packet identified as ready for retransmission by the master scheduler 622 is retrieved from the buffers   618    by the appropriate queuing engine 616 and forwarded to the appropriate   I/F    device (s)   608    via the demultiplexor 624. Program flow then moves to a state 736.



   In the state 736, for each slot mask, a packet is formatted for re-transmission by the output ports identified in the slot mask. This may include, for example, encapsulating the packet according to an encapsulation scheme identified by looking up the corresponding CID 1024,1026,1028 in the CID table 630 (Figure 6).



   For example, assume that the MID list 1000 (Figure 10) includes two port identifications and two corresponding CIDs. In which case, the command packet 1014 may only include: slot-mask 1016; burst type 1018; MID 1022 ;"Slot-Mask 1"1030;   "CID-1"1024    ;"Slot-Mask 2"1032;   and"CID-2"1026.    Assume also that"Slot-Mask 1" 1030 indicates that Port Nos. 3 and 8 of sixteen are to retransmit the packet.



  Accordingly, in the state 730 (Figure 7), the   ILS    devices 608 for those two ports cause the packet to be formatted according to the encapsulation scheme indicated   by"CID-1"    1024. In addition, the queuing engines for Port Nos. 1-2,4-7 and 9-12 take no action with respect   to"CID-1"1024.    Further, assume that"Slot Mask 2"1032 indicates that
Port No. 10 is to retransmit the packet. Then, in the state 730, the I/F device 608 for Port
No. 10 formats the packet as indicated   by"CID-2"1026,    while the queuing engines for the remaining ports take no action with respect to"CID-2"1026. Because, in this example, no other ports are identified in the multi-cast command, the queuing engines 616 for the remaining ports (i. e.

   Port Nos. 1-2,4-7,9, and 11-12) take no action with respect to re-transmission of the packet and, thus, may drop the packet.



   From the state 736 (Figure 7), program flow moves to a state 740 where the appropriately formatted multi-cast packets may be transmitted. For example, the packets may be passed to the transmission media 634 (Figure 6) via the media   I/F    device 608, the framer MAC 606 and the PHY 630..



   The uni-cast packet   800    (Figure 8) preferably includes all of the information needed for retransmission of the packet by the switch 600. Accordingly, a separate command packet, such as the packet 1014 (Figure 10) need not be utilized for uni-cast packets. Thus, referring to the flow diagram of Figure 7, in the case of a uni-cast packet, program flow moves from the state 722 to the state 730. In the states 730 and 732, the packet is queued for retransmission. Then, in the state 734, the packet is forwarded to the   I/F    device 608 of the appropriate port identified by the slot mask 802 (Figure 8) for the packet. In the state 736, the CID 806 (Figure 8) from the packet   800    is utilized to appropriately encapsulate the packet payload 810.

   Then, in the state 738, the output port for the packet retransmits the packet to its associated network segment.



   Typically, the slot mask 802 (Figure 8) for a uni-cast packet will include a logic   "one"in    a single position with logic"zeros"in all the remaining positions. However, under certain circumstances, a logic"one"may be included in multiple positions of the slot mask 802 (Figure 8). In which case, the same packet is transmitted multiple times by different ports, however, each copy uses the same CID. Accordingly, such a packet is forwarded in substantially the same format by multiple ports. This is unlike a multi-cast packet in which different copies may use different CIDs and, thus, may be formatted in accordance with different communication protocols.



   In accordance with the present invention, an address learning technique is provided. Address look-up table entries are formed and stored at the switch or edge equipment (also referred to as"destination equipment"-a duplicate of the switch 600 illustrated in Figures 5 and 6 may be utilized as any of the destination equipment) that provides the packet to the intended destination node for the packet. Recall the example from above where the user entity has facilities at three different locations: a first facility located in San Jose, California; a second facility located in Chicago, Illinois ; and a third facility located in Austin, Texas. Assume also that the first facility includes customer equipment 112 (Figure 1); the second facility includes customer equipment 118 (Figure 1); and the third facility includes customer equipment 120 (Figure 1).

   LANs located at each of the facilities may include the customer equipment 112,118 and 120 and may communicate using an Ethernet protocol.



   When the edge equipment 102,106,108 receive Ethernet packets from any of the three facilities of the user entity that are destined for another one of the facilities, the edge equipment 102-110 and switches 124-128 of the network 100 (Figure 1) appropriately encapsulate and route the packets to the appropriate facility. Note that that customer equipment 112,118,120 will generally filter data traffic that is local to the equipment 112,118,120. As such, the edge equipment 102,106,108 will generally not receive that local traffic. However, the learning technique of the present invention may be utilized for filtering such packets from entering the network 100 as well as appropriately directing packets within the network 100.



   Because the network 100 (Figure 1) preferably operates in accordance with a label switching protocol, label switched paths   (LSPs)    may be provided for routing data packets. Corresponding destination keys may be used to identify the LSPs. In this example, LSPs may be set up to forward appropriately encapsulated Ethernet packets between the external equipment 112,118,120. These LSPs are then available for use by the user entity having facilities at those locations. Figure 11 illustrates the network 100 and external equipment 112-122 of Figure 1 along with LSPs 1102-1106. More particularly, the LSP 1102 provides a path between external equipment 112 and 118; the
LSP 1104 provides a path between external equipment 118 and 120; and the LSP 1106 provides a path between the external equipment 120 and 112.

   It will be apparent that alternate LSPs may be set up between the equipment 112,118,120 as needs arise, such as to balance data traffic or to avoid a failed network link.



   Figure 12 illustrates a flow diagram 1200 for address learning at destination   equipmentports    and channels. Program flow begins in a start state 1202. From the start state 1202, program flow moves to a state 1204 where equipment (e. g., edge equipment 102,106 or   108)    of the network 100 (Figures 1 and 12) await reception of a packet (e. g., an Ethernet packet) or other data from external equipment (e. g., 112,118 or 120, respectively).



   When a packet is received, program flow moves to a state 1206 where the equipment determines the destination information from the packet, such as its destination address. For example, referring to Figure 11, the user facility positioned at external equipment 112 may transmit a packet intended for a destination at the external equipment 118. Accordingly, the destination address of the packet will identify a node located at the external equipment 118. In this example, the edge equipment 102 will receive the packet and determine its destination address.



   Once the destination address is determined, the equipment may look up the destination address in an address look-up table. Such a look-up table may be stored, for example, in the forwarding database 612 (Figure 6) of the edge equipment 102. Program flow may then move to a state 1208. 



   In the state   1208,    a determination is made as to whether the destination address from the packet can be found in the table. If the address is not found in the table, then this indicates that the equipment (e. g., edge equipment 102) will not be able to determine the precise LSP that will route the packet to its destination. Accordingly, program flow moves from the state 1208 to a state 1210.



   In the state 1210, the network equipment that received the packet (e. g., edge equipment 102 of Figure 11) forwards the packet to all of the probable destinations for the packet. For example, the packet may be sent as a multi-cast packet in the manner explained above. In the example of Figure 11, the edge equipment 102 will determine that the two LSPs 1202 and 1206 assigned to the user entity are probable paths for the packet. For example, this determination may be based on knowledge that that the packet originated from the user facility at external equipment 112 (Figure 11) and that LSPs 1102,1104 and 1106 are assigned to the user entity. Accordingly, the edge equipment forwards the packet to both external equipment 118 and 120 via the LSPs 1102 and 1106, respectively.



   From the state 1210, program flow moves to a state 1212. In the state 1212, all of the network equipment that are connected to the probable destination nodes for the packet (i. e. the"destination equipment"for the packet) receive the packet and, then, identify the source address from the packet. In addition, each forms a table entry that includes the source address from the packet and a destination key that corresponds to the return path of the respective LSP by which the packet arrived. The entries are stored in respective address look-up tables of the destination equipment. In the example of Figure 11, the edge equipment 106 stores an entry including the MAC source address from the packet and an identification of the LSP 1102 in its look-up table (e. g., located in database 612 of the edge equipment 106).

   In addition, the edge equipment 108 stores an entry including the MAC source address from the packet and an identification of the LSP 1104 in its respective look-up table (e. g., its database 612).



   From the state 1212, program flow moves to a state 1214. In the state 1214, the equipment that received the packet forwards it to the appropriate destination node. More particularly, the equipment forwards the packet to its associated external equipment where it is received by the destination node identified as in the destination address for the packet. In the example of Figure 11, because the destination node for the packet is located at the external equipment 118, the destination node receives the packet from the external equipment   118.    Note that the packet is also forwarded to external equipment that is not connected to the destination node for the packet. This equipment will filter (i. e. drop) the packet. Thus, in the example, the external equipment 120 receives the packet and filters it. Program flow then terminates in a state 1216.



   When a packet is received by equipment of the network 100 (Figures 1 and 11) and there is an entry in the address look-up table of the equipment that corresponds to the destination address of the packet, the packet will be directed to the appropriate destination node via the LSP identified in the look-up table. Returning to the example of
Figure 11, if a node at external equipment 120 originates a packet having as its destination address the MAC address of the node (at external equipment 112) that originated the previous packet discussed above, then the edge equipment 108 will have an entry in its address look-up table that correctly identifies the LSP 1106 as the appropriate path to the destination node for the packet. This entry would have been made in the state 1212 as discussed above.



   Thus, returning to the state 1208, assume that the destination address was found in the look-up table of the equipment that received the packet in the state 1204. In the example of Figure 11 where a node at external equipment 112 sends a packet to a node at external equipment 118, the look-up table consulted in the state 1208 is at edge equipment 102. In this case, program flow moves from the state 1208 to a state 1218.



   In the state 1218, the destination key from the table identifies the appropriate LSP to the destination node. In the example, the LSP 702 is identified as the appropriate path to the destination node.



   Then, the equipment of the network 100 (Figures 1 and 11) forwards the packet along the path identified from the table. In the example, the destination key directs the packet along LSP 1102 (Figure 8) in accordance with a label-switching protocol.



  Because the appropriate path (or paths) is identified from the look-up table, the packet need not be sent to other portions of the network 100.



   From the state 1218, program flow moves to a state 1220. In the state 1220, the table entry identified by the source address may be updated with a new timestamp. The timestamps of entries in the forwarding table 612 may be inspected periodically, such as by an aging manager module of the subsystem 636 (Figure 6). If the timestamp for an entry was updated in the prior period, the entry is left in the database 612. However, if the timestamp has not been recently updated, then the entry may be deleted from the database 612. This helps to ensure that packets are not routed incorrectly when the network 100 (Figure 1) is altered, such as by adding, removing or relocating equipment or links.



   Program flow then moves to the state 1214 where the packet is forwarded to the appropriate destination node for the packet. Then, program flow terminates in the state 1216. Accordingly, a learning technique for forming address look-up tables at destination equipment has been described.



   As mentioned, the equipment of the network 100 (Figure 1), such as the switch 600 (Figures 5 and 6), generally operate in a store-and-forward mode. That is, a data packet is generally received in its entirety by the switch 600 prior to being forwarded by the switch 600. This allows the switch 600 to perform functions that could not be performed unless each entire packet was received prior to forwarding. For example, the integrity of each packet may be verified upon reception by recalculating an error correction code and then attempting to match the calculated value to one that is appended to the received packet. In addition, packets can be scheduled for retransmission by the switch 200 in an order that differs from the order in which the packets were received.



  This may be useful in the event that missed packets need resending out of order.



   This store-and-forward scheme works well for data communications that are tolerant to transmission latency, such as most forms of packetized data. A specific example of a latency-tolerant communication is copying computer data files from one computer system to another. However, certain types of data are intolerant to latency introduced by such store-and-forward transmissions. For example, forms of time division multiplexing (TDM) communication in which continuous communication sessions are set up temporarily and then taken down, tend to be latency intolerant during periods of activity. Specific examples not particularly suitable for store-and-forward transmissions include long or continuous streams of data, such as streaming video data or voice signal data generated during real-time telephone conversations.

   Thus, the present invention employs a technique for using the same switch fabric resources described herein for both types of data.



   In sum, large data streams are divided into smaller portions. Each portion is assigned a high priority (e. g., a highest level available) for transmission and a tracking header for tracking the header through the network equipment, such as the switch 600.



  The schedulers 620 (Figure 6) and the master scheduler 622 (Figure 6) will then ensure that the data stream is cut-through the switch 600 without interruption. Prior to exiting the network equipment, the portions are reassembled into the large packet. Thus, the smaller portions are passed using a"store-and-forward"technique. Because the portions are each assigned a high priority, the large packet is   effectively"cut-through"the    network equipment. This reduces transmission delay and buffer over-runs that otherwise occur in transmitting large packets.



   Under certain circumstances, these TDM communications may take place using dedicated channels through the switch 600 (Figure 6). In which case, there would not be traffic contention. Thus, under these conditions, a high priority would not need to be assigned to the smaller packet portions.



   Figure 13 illustrates a flow diagram 1300 for performing cut-through for data streams in the network of Figure 1. Referring to Figure 13, program flow begins in a start state 1302. Then, program flow moves to a state 1304 where a data stream (or a long data packet) is received by a piece of equipment in the network 100 (Figure 1). For example, the switch 600 (Figures 5 and 6) may receive the data stream into the input path of one of its input ports. The switch 600 may distinguish the data stream from shorter data packets by the source of the stream, its intended destination, its type or is length.



  For example, the length of the incoming packet may be compared to a predetermined length and if the predetermined length is exceeded, then this indicates a data stream rather than a shorter data packet.



   From the state 1304, program flow moves to a state 1306. In the state 1306, a first section is separated from the remainder of the incoming stream. For example, the   I/F    device 608 (Figure 6) may break the incoming stream into 68-byte-long sections.



  Then, in a state 1308, a sequence number is assigned to the first section. Figure 14 illustrates a sequence number header 1400 for appending a sequence number to data stream sections. As shown in Figure 14, the header includes a sequence number 1402, a source port identification 1404 and a control field 1406. The sequence number 1402 is preferably twenty bits long and is used to keep track of the order in which data stream sections are received. The source port identification 1404 is preferably eight bits long and may be utilized to ensure that the data stream sections are prioritized appropriately, as explained in more detail herein. The control field 1406 may be used to indicate a burst type for the section (e. g., start burst, continue burst, end of burst or data message). The header 1400 may also be appended to the first data stream section in the state 1308.



   From the state 1308, program flow moves to a state 1310. In the state 1310, a label-switching header may be appended to the section. For example, the data stream section may be formatted to include a slot-mask, burst type and CID as shown in Figure 8. In addition, the data section is forwarded to the queuing engines 616 (Figure 6) for further processing.



   From the state 1310, program flow may follow two threads. The first thread leads to a state 1312 where a determination is made as to whether the end of the data stream has been reached. If not, program flow returns to the 1306 where a next section of the data stream is handled. This process (i. e. states 1306,1308,1310 and 1312) repeats until the end of the stream is reached. Once the end of the stream is reached, the first thread terminates in a state 1314.



   Figure 15 illustrates a data stream 1500 broken into sequence sections 1502-1512 in accordance with the present invention. In addition, sequence numbers are appended to each section 1502-1512. More particularly, a sequence number (n) is appended to a section 1502 of the sequence 1500. The sequence number is then incremented to   (n+1)    and appended to a next section 1504. As explained above, this process continues until all of the sections of the stream 1500 have been appended with sequence numbers that allow the data stream 1500 reconstructed should the sections fall out of order on their way through the network equipment, such as the switch 600 (Figure 6)
Referring again to Figure 13, the second program thread leads from the state   1310    to a state 1316.

   In the state 1316, the outgoing section (that was sent to the queuing engines 616 in the state   1310)    is received into the appropriate output port for the data stream from the queuing engines 616. Then, program flow moves to a state 1318 where the label added in the state   1310    is removed along with the sequence number added in the state 1308. From the state   1318    program flow moves to a state 1320 where the data stream sections are reassembled in the original order based upon their respective sequence numbers. This may occur, for example, in the output path of the   I/F    device 608 (Figure 6) of the output port for the data stream. Then, the data stream is reformatted and communicated to the network 100 where it travels along a next link in its associated LSP.



   Note that earlier portions of the data stream may be transmitting from an output port (in state 1320) at the same time that later portions are still being received at the input port (state 1306). Further, to synchronize a recipient to the data stream, timing features included in the received data stream are preferably reproduced upon re-transmission of the data. In a further aspect, since TDM systems do not idle, but rather continuously send data, idle codes may be sent using this store and forward technique to keep the transmission of data constant at the destination. This has an advantage of keeping the data communication session active by providing idle codes, as expected by an external destination.



   Once the entire stream has been forwarded or the connection taken down, the second thread terminates in the state 1314. Thus, a technique has been described that effectively provides a cut-through mechanism for data streams using a store-and-forward switch architecture.



   It will be apparent from the foregoing description that the network system of the present invention provides a novel degree of flexibility in forwarding data of various different types and formats. To further exploit this ability, a number of different communication services are provided and integrated. In a preferred embodiment, the same network equipment and communication media described herein is utilized for all provided services. During transmission of data, the CIDs are utilized to identify the service that is utilized for the data.



   A first type of service is for continuous, fixed-bandwidth data streams. For example, this may include communication sessions for TDM, telephony or video data streaming. For such data streams, the necessary bandwidth in the network 100 is preferably reserved prior to commencing such a communication session. This may be accomplished by reserving channels within the SONET frame structure 400 (Figure 4) that are to be transmitted along LSPs that link the end points for such transmissions.



  User entities may subscribe to this type of service by specifying their bandwidth requirements between various locations of the network 100 (Figure 1). In a preferred embodiment, such user entities pay for these services in accordance with their requirements.



   This TDM service described above may be implemented using the data stream cut-through technique described herein. Network management facilities distributed throughout the network 100 may be used ensure that bandwidth is appropriately reserved and made available for such transmissions.



   A second type of services is for data that is latency-tolerant. For example, this may include packet-switched data, such as Ethernet and TCP/IP. This service may be referred to as best efforts service. This type of data may require handshaking and the resending of data in event packets are missed or dropped. Control of best efforts communications may be with the distributed network management services, for example, for setting up LSPs and routing traffic so as to balance traffic loads throughout the network 100 (Figure 1) and to avoid failed equipment. In addition, for individual network devices, such as the switch 600, the schedulers 620 and master scheduler 622 preferably control the scheduling of packet forwarding by the switch 600 according to appropriate priority schemes.



   A third type of services is for constant bit rate (CBR) transmissions. This service is similar to the reserved bandwidth service described above in that CBR bandwidth requirements are generally constant and are preferably reserved ahead-of-time. However, rather than dominating entire transmission channels, as in the TDM service, multiple
CBR transmissions may be multiplexed into a single channel. Statistical multiplexing may be utilized for this purpose. Multiplexing of CBR channels may be accomplished at individual devices within the network 100 (Figure 1), such as the switch 600 (Figure 6), under control of its CPU subsystem 636 (Figure 6) and other elements.



   Thus, using a combination of Time Division Multiplexing (TDM) and packet switching, the system may be configured to guarantee a predefined bandwidth for a user entity, which, in turn, helps manage delay and jitter in the data transmission. Ingress processors 610 (Figure 6) may operates as bandwidth filters, transmitting packet bursts to distribution channels for queuing in a queuing engine 616 (Figure 6). For example, the ingress processor 610 may apply backpressure to the media 602 (Figure 6) to limit incoming data to a predefined bandwidth assigned to a user entity. The queuing engine 616 holds the data packets for subsequent scheduled transmission over the network, which is governed by predetermined priorities. These priorities may be established by several factors including pre-allocated bandwidth, system conditions and other factors.



  The schedulers 620 and 622 (Figure 6) then transmit the data.



   Thus, a network system has been described that includes a number of advantageous and novel features for communicating data of different types and formats.



   While the foregoing has been with reference to particular embodiments of the invention, it will be appreciated by those skilled in the art that changes in these embodiments may be made without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims.

Claims

What is claimed is: 1. A method of forwarding data packets in a multi-port switch having input ports for receiving data packets to be forwarded by the switch and output ports for forwarding the data packets, comprising steps of : receiving a data packet by an input port; passing copies of the data packet to each of a plurality of output ports including at least one output port that is not an appropriate output port for forwarding the packet; forming one or more masks for the packet, each mask being a binary value having a first logic value in each bit position that corresponds to appropriate output port for forwarding the packet and a second logic value in remaining bit positions; and forwarding the data packet by each appropriate output port indicated by the one or more masks.
2. The method according to claim 1, wherein the mask for a uni-cast packet has the first logic value in a bit position that corresponds to one appropriate output port for forwarding the packet and a second logic value in the remaining bit positions.
3. The method according to claim 1, wherein the mask for a multi-cast packet has the first logic value in bit positions that correspond to a plurality of appropriate output ports for forwarding the packet and the second logic value in the remaining bit positions.
4. The method according to claim 1, further comprising dropping the copy of the data packet by each of the plurality of output ports that is not an appropriate output port for forwarding the data packet after said passing.
5. The method according to claim 1, wherein said forwarding includes forwarding the data packet by multiple output ports in substantially the same format.
6. The method according to claim 1, wherein said forming comprises forming a plurality of said masks.
7. The method according to claim 6, wherein said forwarding includes forwarding the data packet in a different format for each of multiple output ports.
8. The method according to claim 1, wherein the mask is included in a destination vector for the packet, wherein the destination vector indicates whether the packet is to be forwarded according to multiple different formats.
9. The method according to claim 1, further comprising looking up the destination vector in a look-up table of the multi-port switch.
10. The method according to claim 1, further comprising forming a command packet when the data packet is to be forwarded according to multiple different formats.
11. The method according to claim 10, wherein the command packet includes indicia of the format for the data packet for each appropriate output port for forwarding the data packet.
12. The method according to claim 10, wherein the command packet includes the one or more masks for the packet.
13. The method according to claim 10, wherein the command packet includes an additional mask having the first logic value in all bit positions.
14. A method of forwarding data packets in a multi-port switch having input ports for receiving data packets to be forwarded by the switch and output ports for forwarding the data packets, comprising steps of : receiving a data packet by an input port; passing copies of the data packet to each of a plurality of output ports including at least one output port that is not an appropriate output port for forwarding the packet;
and determining whether the data packet is multi-cast or uni-cast and when the packet is uni-cast, forming a uni-cast mask for the packet, the uni-cast mask being a binary value having first logic value in a bit position that corresponds to an appropriate output port for forwarding the packet and a second logic value in remaining bit positions and when the packet is multi-cast, forming a plurality of multi-cast masks for the packet, each multi-cast mask being a binary value having the first logic value in a bit position that corresponds to an appropriate output port for forwarding the packet.
15. The method according to claim 14, further comprising forwarding the data packet by the destination ports indicated by the one of the uni-cast or mult-cast masks.
16. The method according to claim 14, further comprising dropping the copy of the data packet by each of the plurality of output ports that is not an appropriate output port for forwarding the data packet after said passing.
17. The method according to claim 14, wherein when the data packet is multicast, performing steps of: determining an appropriate format of the data packet for each multi-cast mask; formatting the data packet in accordance with each of the appropriate formats thereby forming a plurality of formatted multi-cast packets; and forwarding the formatted multi-cast packets.
18. The method according to claim 17, wherein said determining includes forming a multi-cast identification list having a number of entries corresponding to the number of output ports that are to forward the data packet, each entry including an identification of a output port and an indication of an appropriate format for the data packet.
19. The method according to claim 18, further comprising forming the multicast masks based on the output port identifications.
20. A method of forwarding data packets in a multi-port switch having input ports for receiving data packets to be forwarded by the switch and output ports for forwarding the data packets, comprising steps of: receiving a data packet by an input port; passing copies of the data packet to each of a plurality of output ports; forming one or more masks for the packet, each mask being a binary value having a first logic value in one or more bit positions that correspond to appropriate output ports for forwarding the packet and a second logic value in the remaining bit positions; determining an appropriate format of the data packet for each of the appropriate output ports; formatting the data packet in accordance with each of the appropriate formats thereby forming a plurality of formatted multi-cast packets; and forwarding the formatted multi-cast packets.
21. The method according to claim 20, further comprising dropping the copy of the data packet by each output port that is not an appropriate output port for forwarding the data packet after said passing.
22. A method of forwarding data packets in a multi-port switch having input ports for receiving data packets to be forwarded by the switch and output ports for forwarding the data packets, comprising steps of: receiving a data packet by an input port; forming a first mask when the packet is multi-cast, the first mask being a binary value having a first logic value in all bit positions; passing copies of the data packet to each output port indicated by the first mask, including at least one output port that is not an appropriate output port for forwarding the packet; forming one or more multi-cast masks for the packet, each multi-cast mask being a binary value having a first logic value in each bit position that corresponds to appropriate output port for forwarding the packet and a second logic value in remaining bit positions;
and forwarding the data packet by each appropriate output port indicated by the one or more multi-cast masks.
23. The method according to 22, further comprising determining whether the packet is uni-cast or multi-cast, and when the packet is uni-cast, forming a unicast mask, the uni-cast mask being a binary value having a first logic value each bit position that corresponds to appropriate output port for forwarding the packet.
24. The method according to claim 23, wherein the uni-cast mask has one occurrence of the first logic value.
25. The method according to claim 23, wherein the uni-cast mask has a plurality of occurrences of the first logic value.
26. The method according to claim 23, further comprising appending the unicast mask to the packet.
27. The method according to claim 22, further comprising appending the first mask to the data packet.
PCT/US2001/050064 2000-12-28 2001-12-20 Technique for forwarding multi-cast data packets WO2002056525A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2002246806A AU2002246806A1 (en) 2000-12-28 2001-12-20 Technique for forwarding multi-cast data packets

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US25916100P 2000-12-28 2000-12-28
US60/259,161 2000-12-28
US09/974,246 2001-10-09
US09/974,246 US6553030B2 (en) 2000-12-28 2001-10-09 Technique for forwarding multi-cast data packets

Publications (2)

Publication Number Publication Date
WO2002056525A2 true WO2002056525A2 (en) 2002-07-18
WO2002056525A3 WO2002056525A3 (en) 2003-02-27

Family

ID=26947121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2001/050064 WO2002056525A2 (en) 2000-12-28 2001-12-20 Technique for forwarding multi-cast data packets

Country Status (3)

Country Link
US (1) US6553030B2 (en)
AU (1) AU2002246806A1 (en)
WO (1) WO2002056525A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461738C (en) * 2004-03-19 2009-02-11 富士通株式会社 Scheduling token-controlled data transmissions in communication networks

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126244A1 (en) * 1999-04-15 2003-07-03 William Meyer Smith Apparatus for scheduled service of network requests and a method therefor
CN1276663A (en) * 2000-07-20 2000-12-13 上海龙林通讯技术开发有限公司 Multicast method for broad-band Ethermet
US6993024B1 (en) * 2000-11-16 2006-01-31 Chiaro Networks, Ltd. System and method for router multicast control
US8458754B2 (en) 2001-01-22 2013-06-04 Sony Computer Entertainment Inc. Method and system for providing instant start multimedia content
US7342942B1 (en) * 2001-02-07 2008-03-11 Cortina Systems, Inc. Multi-service segmentation and reassembly device that maintains only one reassembly context per active output port
US7496096B1 (en) * 2002-01-31 2009-02-24 Cisco Technology, Inc. Method and system for defining hardware routing paths for networks having IP and MPLS paths
US7328284B2 (en) * 2002-05-06 2008-02-05 Qlogic, Corporation Dynamic configuration of network data flow using a shared I/O subsystem
US7447778B2 (en) 2002-05-06 2008-11-04 Qlogic, Corporation System and method for a shared I/O subsystem
US8611363B2 (en) 2002-05-06 2013-12-17 Adtran, Inc. Logical port system and method
US7404012B2 (en) * 2002-05-06 2008-07-22 Qlogic, Corporation System and method for dynamic link aggregation in a shared I/O subsystem
JP4073754B2 (en) * 2002-10-29 2008-04-09 富士通株式会社 Frame transfer device
KR100534625B1 (en) * 2003-02-18 2005-12-07 삼성전자주식회사 method and apparatus for reliable routing information exchange in distributed router
US7006499B2 (en) * 2003-04-28 2006-02-28 Alcatel Ip Networks, Inc. Source identifier for MAC address learning
US7372853B2 (en) * 2003-06-25 2008-05-13 Fujitsu Limited Method and system for multicasting data packets in an MPLS network
AU2003259715A1 (en) * 2003-08-08 2005-03-07 Luminous Networks, Inc. System and method for providing transparent lan services
AU2005215043A1 (en) * 2004-02-19 2005-09-01 Georgia Tech Research Corporation Systems and methods for parallel communication
GB2420883A (en) * 2004-12-02 2006-06-07 3Com Corp Examining data patterns according to rules stored in content addressable memories
US8837528B2 (en) * 2005-02-25 2014-09-16 Sony Computer Entertainment America Llc Data distribution by proxy
US7796613B2 (en) * 2006-10-31 2010-09-14 Hewlett-Packard Development Company, L.P. Detection of mismatched VLAN tags
US8320374B2 (en) * 2006-12-28 2012-11-27 Alcatel Lucent Method and apparatus for improved multicast routing
US7978690B2 (en) * 2007-03-31 2011-07-12 International Business Machines Corporation Method to operate a crossbar switch
US8559429B2 (en) * 2007-06-11 2013-10-15 International Business Machines Corporation Sequential frame forwarding
US9667442B2 (en) * 2007-06-11 2017-05-30 International Business Machines Corporation Tag-based interface between a switching device and servers for use in frame processing and forwarding
US9483405B2 (en) 2007-09-20 2016-11-01 Sony Interactive Entertainment Inc. Simplified run-time program translation for emulating complex processor pipelines
WO2009061973A1 (en) * 2007-11-09 2009-05-14 Blade Network Technologies, Inc. Session-less load balancing of client traffic across servers in a server group
US8867341B2 (en) * 2007-11-09 2014-10-21 International Business Machines Corporation Traffic management of client traffic at ingress location of a data center
US8537679B2 (en) * 2008-05-08 2013-09-17 Telefonaktiebolaget L M Ericsson (Publ) Load balancing pseudowire encapsulated IPTV channels over aggregated links
US9461930B2 (en) 2009-04-27 2016-10-04 Intel Corporation Modifying data streams without reordering in a multi-thread, multi-flow network processor
US8869150B2 (en) * 2010-05-18 2014-10-21 Lsi Corporation Local messaging in a scheduling hierarchy in a traffic manager of a network processor
US8340112B2 (en) * 2010-03-25 2012-12-25 International Business Machines Corporation Implementing enhanced link bandwidth in a headless interconnect chip
US8433759B2 (en) 2010-05-24 2013-04-30 Sony Computer Entertainment America Llc Direction-conscious information sharing
US8798077B2 (en) * 2010-12-29 2014-08-05 Juniper Networks, Inc. Methods and apparatus for standard protocol validation mechanisms deployed over a switch fabric system
US9426067B2 (en) 2012-06-12 2016-08-23 International Business Machines Corporation Integrated switch for dynamic orchestration of traffic
US8989199B1 (en) 2014-02-24 2015-03-24 Level 3 Communications, Llc Control device discovery in networks having separate control and forwarding devices
WO2018019367A1 (en) * 2016-07-26 2018-02-01 Telefonaktiebolaget Lm Ericsson (Publ) Packet processing technique for a communication network
WO2018191257A1 (en) 2017-04-10 2018-10-18 Fungible, Inc. Relay consistent memory management in a multiple processor system
WO2019068013A1 (en) * 2017-09-29 2019-04-04 Fungible, Inc. Fabric control protocol for data center networks with packet spraying over multiple alternate data paths

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6151301A (en) 1995-05-11 2000-11-21 Pmc-Sierra, Inc. ATM architecture and switching element
JP3291122B2 (en) 1994-06-02 2002-06-10 富士通株式会社 Self-routing switch, ATM switch and switching system
EP0706297A1 (en) 1994-10-07 1996-04-10 International Business Machines Corporation Method for operating traffic congestion control in a data communication network and system for implementing said method
US5841771A (en) 1995-07-07 1998-11-24 Northern Telecom Limited Telecommunications switch apparatus and method for time switching
JPH11510004A (en) 1995-07-19 1999-08-31 フジツウ ネットワーク コミュニケーションズ,インコーポレイテッド Point-to-multipoint transmission using subqueues
US5684800A (en) 1995-11-15 1997-11-04 Cabletron Systems, Inc. Method for establishing restricted broadcast groups in a switched network
US5689506A (en) 1996-01-16 1997-11-18 Lucent Technologies Inc. Multicast routing in multistage networks
US5784003A (en) * 1996-03-25 1998-07-21 I-Cube, Inc. Network switch with broadcast support
US5898668A (en) 1996-12-13 1999-04-27 Siemens Information And Communication Networks, Inc. Method and system for increasing quality of service at or below a threshold cost
GB9704060D0 (en) 1997-02-27 1997-04-16 3Com Ireland Multicast filtering
US6115379A (en) 1997-09-11 2000-09-05 3Com Corporation Unicast, multicast, and broadcast method and apparatus
US5999531A (en) * 1998-04-17 1999-12-07 Cabletron Systems, Inc. Method and system for identifying ports and forwarding packets in a multiport switch
US6292492B1 (en) 1998-05-20 2001-09-18 Csi Zeitnet (A Cabletron Systems Company) Efficient method and apparatus for allocating memory space used for buffering cells received on several connections in an asynchronous transfer mode (ATM) switch
GB2358761B (en) * 2000-01-25 2002-03-13 3Com Corp Multi-port network communication device with selective mac address filtering

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461738C (en) * 2004-03-19 2009-02-11 富士通株式会社 Scheduling token-controlled data transmissions in communication networks

Also Published As

Publication number Publication date
US6553030B2 (en) 2003-04-22
AU2002246806A1 (en) 2002-07-24
US20020085553A1 (en) 2002-07-04
WO2002056525A3 (en) 2003-02-27

Similar Documents

Publication Publication Date Title
US6553030B2 (en) Technique for forwarding multi-cast data packets
US20020085565A1 (en) Technique for time division multiplex forwarding of data streams
US20020085567A1 (en) Metro switch and method for transporting data configured according to multiple different formats
US20020085548A1 (en) Quality of service technique for a data communication network
US20020085507A1 (en) Address learning technique in a data communication network
US6909720B1 (en) Device for performing IP forwarding and ATM switching
US6714517B1 (en) Method and apparatus for interconnection of packet switches with guaranteed bandwidth
US6647428B1 (en) Architecture for transport of multiple services in connectionless packet-based communication networks
US6049546A (en) System and method for performing switching in multipoint-to-multipoint multicasting
US6970424B2 (en) Method and apparatus to minimize congestion in a packet switched network
EP1089498B1 (en) Control architecture in optical burst-switched networks
US6654374B1 (en) Method and apparatus to reduce Jitter in packet switched networks
WO1999034558A1 (en) Atm repeater and network including the same
WO2001086892A1 (en) Method and system for transporting traffic in a packet-switched network
US20020085545A1 (en) Non-blocking virtual switch architecture
EP1356647A2 (en) A data switch and a method for controlling the data switch
US9197438B2 (en) Packet forwarding node
US7206310B1 (en) Method and apparatus for replicating packet data with a network element
WO1999022496A1 (en) Stream-line data network
Li et al. A survey of research and standards in high‐speed networks
Salvador et al. An all-optical WDM packet-switched network architecture with support for group communication
EP1052808A1 (en) Communications network using priority classes
JP3725144B2 (en) Packet switch and packet switching method
JP3545653B2 (en) Packet switch
Salvador et al. A preemptable slotted access protocol to transport variable size packets in all-optical ring LANs/MANs

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
AK Designated states

Kind code of ref document: A3

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Country of ref document: JP