ATM Architecture
The structure of an ATM switch, including line cards, header processing, and the switching fabric.
The Core Components of an ATM Switch
An is a high-performance device at the heart of an ATM network. Its fundamental purpose is to forward fixed-size data units, known as , from an input port to the correct output port. A switch typically consists of N input ports and N output ports, all interconnected by a central switching element.
The architecture is modular, generally built around four main components:
- Input Modules (Line Cards): Receive the incoming signal and prepare cells for switching.
- Output Modules (Line Cards): Prepare cells from the fabric for onward transmission.
- Switching Fabric: The high-speed core that physically transfers cells from inputs to outputs.
- Control & Management Unit: The "brain" of the switch, handling connection management and overall operation.
Deep Dive: The Input Module
The input module, typically part of a line card, is responsible for a complex series of tasks to process the incoming signal and prepare the ATM cells for the switching fabric.
- Signal Reception and Conversion: Receives the physical optical or electrical signal from the line.
- Physical Layer Processing: In systems like , this involves bit and frame synchronization, processing the transport frame header, and extracting the ATM cell stream from the frame's payload.
- Cell Delineation: Analyzes the bitstream to identify the boundaries of individual 53-byte ATM cells.
- Header Validation (HEC): Checks the validity of each cell's header using the Header Error Control (HEC) field to detect and correct single-bit errors.
- Cell Discarding: Rejects empty cells or cells with uncorrectable header errors.
- Traffic Policing (UPC/NPC): The Usage/Network Parameter Control unit checks if the incoming cell traffic conforms to the quality of service contract agreed upon during connection setup. Non-conforming cells may be discarded or tagged.
- Forwarding Table Lookup: The values from the cell header are used as an index into a routing table to determine which output port the cell should be sent to.
- Internal Header Prepending: An additional internal header (or tag) may be added to the cell. This tag contains information used by the internal switching fabric to route the cell efficiently, and is removed at the output module.
The Switching Fabric
The switching fabric is the high-speed core of the switch, responsible for physically transferring cells from the input modules to the designated output modules.
- Synchronous Operation: The fabric typically operates synchronously. Time is divided into equal intervals called "cell slots," with each slot corresponding to the time it takes to transmit one ATM cell.
- Speed Requirement: To prevent internal congestion, the fabric must operate at a speed at least N times the speed of a single input line (where N is the number of ports), especially for certain buffering strategies. In practice, a switching speed of at least twice the input cell arrival rate is often required to handle statistical traffic fluctuations.
- Key Parameters: Its performance is measured by parameters like and utilization.
The Output Module and Control Unit
The output modules prepare cells for their journey to the next node, while the control unit orchestrates the entire process.
Output Module Functions
- Cell Buffering: Incoming cells from the fabric are temporarily stored in a to await transmission.
- Header Translation: The module replaces the old VPI/VCI values in the cell header with new ones appropriate for the next leg of the journey and recalculates the Header Error Control (HEC) field.
- Physical Transmission: The processed cell is handed over to the physical layer unit, which converts it back into an optical or electrical signal and inserts it into the outgoing transport frame (e.g., SDH).
Control and Management Unit
This unit is the brain of the switch and must perform several critical tasks to establish and manage connections:
- Exchange Signaling Information: The switch must communicate with other network nodes to set up connections.
- Resource Allocation: It must make decisions about allocating resources (like bandwidth and buffer space) for new connection requests.
- Path Selection: It must choose the appropriate route through the network for a new connection to follow.
- Admission Control (): Decides whether to accept or deny new connection requests to prevent network overload.