Asynchronous Transfer Mode (ATM)

A comprehensive study guide for undergraduate communication engineering students

High-Speed Networking Cell Switching B-ISDN

01 Introduction to ATM

Asynchronous Transfer Mode (ATM) is a high-speed networking technology designed to support voice, video, and data traffic over a single network infrastructure. It was developed as part of the Broadband Integrated Services Digital Network (B-ISDN) initiative by telephone companies to efficiently transport both voice and data.

Key Characteristics

  • Cell-based switching: Uses fixed-size 53-byte cells (5-byte header + 48-byte payload)
  • Virtual circuit-based: Connection-oriented with VPI/VCI addressing
  • Statistical multiplexing: Efficient bandwidth utilization through labeled-channel multiplexing
  • QoS support: Multiple service classes for different traffic types

Why "Asynchronous"?

Unlike Synchronous Transfer Mode (STM) used in traditional TDM systems where bandwidth is allocated based on fixed time slots, ATM uses labeled-channel multiplexing. This means cells are transmitted only when there is data to send, making it asynchronous in nature.

STM/TDM
Fixed slots, waste bandwidth
ATM
On-demand, efficient

Historical Context

ATM was designed in the 1980s-90s as telephone companies attempted to create a unified network architecture. While it lost ground to IP/MPLS in core networks, it remains relevant in ADSL access networks and MPLS continues to use virtual circuit concepts derived from ATM.

02 ATM Protocol Architecture

The ATM protocol architecture consists of three planes and four layers, different from both OSI and TCP/IP models.

The Three Planes

User Plane

Transfers user information, handles flow control and error recovery for data transmission.

Control Plane

Manages signaling for establishing, maintaining, and releasing connections (SVC setup).

Management Plane

Layer management (per-layer resources) and plane management (system-wide coordination).

The Four Layers

Upper Layers

User data, packet segmentation

OSI Layers 4-7

ATM Adaptation Layer (AAL)

CS + SAR sublayers, segmentation/reassembly into 48-byte payloads

OSI Layer 2

ATM Layer

Cell header generation, VPI/VCI translation, multiplexing

OSI Layer 2

Physical Layer

TC (HEC, cell delineation) + PMD (bit timing, encoding)

OSI Layer 1
LayerSublayersKey Functions
AALCS (Convergence), SAREncapsulation, segmentation into 48-byte cells, reassembly
ATM Layer5-byte header generation, VPI/VCI translation, flow control, multiplexing
Physical LayerTC, PMDHEC generation, cell delineation, bit timing, line encoding

03 ATM Cell Structure

The ATM cell is a fixed-size 53-byte packet consisting of a 5-byte header and 48-byte payload. This fixed size enables high-speed hardware switching and reduces queuing delays.

Cell Format (UNI - User-Network Interface)

HEADER (5 bytes)
GFC
4 bits
VPI
8 bits
VCI
16 bits
PT
3 bits
CLP
1 bit
HEC (Header Error Control)
8 bits
PAYLOAD (48 bytes)
48 bytes of user data or AAL overhead

Header Fields (UNI)

GFC (Generic Flow Control)

4 bits - Used for local flow control at UNI (often set to 0000)

VPI (Virtual Path Identifier)

8 bits - Identifies the virtual path (256 possible paths)

VCI (Virtual Channel Identifier)

16 bits - Identifies the virtual channel within the path (65,536 channels)

More Header Fields

PT (Payload Type)

3 bits - Indicates payload type (user data, OAM, resource management) and congestion

CLP (Cell Loss Priority)

1 bit - 0 = high priority, 1 = discard eligible during congestion

HEC (Header Error Control)

8 bits - CRC-8 checksum for header error detection and correction

UNI vs NNI Header Formats

UNI (User-Network Interface)

Between end device and ATM switch

| GFC (4) | VPI (8) | VCI (16) | PT (3) | CLP (1) | HEC (8) |
NNI (Network-Network Interface)

Between ATM switches

| VPI (12) | VCI (16) | PT (3) | CLP (1) | HEC (8) |

Note: GFC bits become additional VPI bits (12 total)

04 ATM Adaptation Layer (AAL)

The AAL isolates higher-layer protocols from ATM layer details, handling the segmentation of user data into 48-byte cells and reassembly at the destination.

ATM Service Classes

Class A
Constant Bit Rate (CBR)
  • • Connection-oriented
  • • Fixed bit rate
  • • Timing relation required
  • • Example: Voice, leased lines
AAL1
Class B
Variable Bit Rate (VBR)
  • • Connection-oriented
  • • Variable bit rate
  • • Timing relation required
  • • Example: Compressed video
AAL2
Class C
Connection-Oriented Data
  • • Connection-oriented
  • • Variable bit rate
  • • No timing relation
  • • Example: File transfer
AAL3/4 or AAL5
Class D
Connectionless Data
  • • Connectionless
  • • Variable bit rate
  • • No timing relation
  • • Example: Datagrams
AAL3/4 or AAL5

AAL Types in Detail

AAL1 - Constant Bit Rate Services

Supports CBR traffic like voice and circuit emulation. Adds sequence numbering for clock recovery and error detection.

CS-PDU: | CSI (1) | SN (3) | ...47 bytes payload... |

AAL5 - Simple and Efficient (Most Common)

Simplified AAL for data traffic. Uses PTI bit in ATM header to mark end of frame instead of headers in each cell.

CPCS-PDU Trailer: | PAD (0-47) | UU (1) | CPI (1) | LENGTH (2) | CRC-32 (4) |

Overhead only at the end, making it more efficient than AAL3/4

Segmentation and Reassembly (SAR) Process

📦
User Data
Variable length packet
✂️
CS Sublayer
Add overhead, segment
📱
SAR Sublayer
48-byte chunks
🏷️
ATM Layer
Add 5-byte header
📡
53-byte Cells
Transmit over network

05 ATM Switching & Virtual Circuits

ATM uses virtual circuits for routing. The VPI/VCI pair in the cell header identifies the connection, and switches perform label swapping to forward cells.

Virtual Path (VP)

A bundle of virtual channels grouped together for efficient management. VP switching only examines the VPI field.

  • • Reduces switching table size
  • • Used for trunking between switches
  • • VPI values have local significance

Virtual Channel (VC)

The basic unit of connection between two communicating entities. VC switching examines both VPI and VCI.

  • • Identifies individual connections
  • • Multiple VCs can share a VP
  • • VCI values have local significance

Types of Virtual Circuits

PVC

Permanent Virtual Circuit

Statically configured by administrator. Remains established permanently. Used for high-priority connections.

SVC

Switched Virtual Circuit

Dynamically established via signaling (Q.2931) when needed. Released after communication ends.

Soft VC

Soft Virtual Circuit

Hybrid: PVC between user and switch, SVC within network. Combines easy management with link efficiency.

ATM Switching Table Example

When a cell arrives, the switch looks up the input port/VPI/VCI and forwards to the output port with new VPI/VCI values (label swapping).

Input PortInput VPIInput VCIOutput PortOutput VPIOutput VCI
110100320200
110101320201
21550430150

UNI

User-Network Interface: Between end device and ATM switch. Private UNI (within organization) or Public UNI (to carrier).

NNI

Network-Network Interface: Between ATM switches. Private NNI (within network) or Public NNI (between carriers).

B-ICI

Broadband Inter-Carrier Interface: Between public switches of different network carriers for multi-carrier ATM services.

06 ATM Applications & Traffic Management

ATM WANs

Long-distance cell transmission with routers as endpoints between ATM and other networks.

Multimedia VPNs

Integrated voice, video, and data services with full-service virtual private networking.

Frame Relay Backbone

Frame Relay services using ATM as networking infrastructure for data services.

Residential Broadband

ADSL and residential broadband network infrastructure.

Carrier Infrastructure

Telephone and private line traffic over SONET/SDH fiber infrastructures.

LAN Emulation (LANE)

Allows Ethernet/Token Ring networks to connect over ATM infrastructure.

Traffic Management & QoS

ATM provides multiple Quality of Service (QoS) levels through traffic management mechanisms.

Key Mechanisms

  • Call Admission Control (CAC): Determines if new connection can be accepted based on traffic descriptors and available resources
  • Usage Parameter Control (UPC): Polices traffic at UNI to ensure compliance with contracted rates
  • Cell Scheduling: Priority-based transmission scheduling (Weighted Fair Queueing, GPS)
  • Congestion Control: EFCI (Explicit Forward Congestion Indication), ABR rate control

Service Categories

CBRConstant Bit Rate - Voice, video
rt-VBRReal-time VBR - Compressed video
nrt-VBRNon-real-time VBR - Transaction data
ABRAvailable Bit Rate - Best effort with min guarantee
UBRUnspecified Bit Rate - Pure best effort

07 Summary & Key Takeaways

Core Concepts

Cell Structure: Fixed 53-byte cells (5-byte header + 48-byte payload) enable efficient hardware switching

Virtual Circuits: VPI/VCI identify connections; switches perform label swapping for routing

Protocol Layers: Physical → ATM → AAL → Upper layers, with Control/User/Management planes

Adaptation Layer: AAL segments data into 48-byte payloads; AAL5 is most common for data

Exam Checklist

  • Understand 53-byte cell structure and header fields
  • Explain VPI/VCI and virtual path vs channel
  • Describe PVC, SVC, and Soft VC differences
  • Know AAL types and service classes (A, B, C, D)
  • Understand SAR and CS sublayer functions
  • Explain ATM vs STM (TDM) differences
  • Know UNI vs NNI header format differences
  • Understand traffic management and QoS classes

Remember

ATM was designed for B-ISDN to integrate voice, video, and data. While largely replaced by IP/MPLS in core networks, its concepts (virtual circuits, MPLS labels) remain relevant. The fixed cell size enables hardware acceleration and predictable delay.