AAL2 (ATM Adaptation Layer type 2)

Introduction:

The ATM (Asynchronous Transfer Mode) is a switching and transmission technology that was designed to provide high-speed, low-latency, and reliable data communication services. The ATM network is divided into three layers; the physical layer, the ATM layer, and the ATM adaptation layer (AAL). The AAL is responsible for adapting user data to the ATM layer for efficient and reliable transmission. In this article, we will focus on the AAL2, one of the four types of AAL, its functions, and its features.

AAL2 Overview:

The AAL2 is a connection-oriented ATM adaptation layer protocol that is used to transfer variable bit-rate (VBR) traffic, such as voice and video data, over the ATM network. It is designed to efficiently support small, time-sensitive packets that are generated by real-time applications, such as voice and video codecs. The AAL2 provides a mechanism for segmenting and reassembling user data into ATM cells that can be transported across the ATM network.

Functions of AAL2:

The AAL2 performs several functions to ensure the efficient and reliable transfer of user data over the ATM network. These functions include:

  1. Segmentation and Reassembly: The AAL2 segments user data into small, fixed-sized payloads, which are then encapsulated in ATM cells for transport across the ATM network. When the cells reach the destination, the AAL2 reassembles the payloads back into the original user data.
  2. Multiplexing and Demultiplexing: The AAL2 supports the multiplexing and demultiplexing of several user data streams onto a single ATM virtual connection (VC). This allows multiple real-time applications to share the same VC, which reduces the amount of network resources required for transport.
  3. Timing and Clock Recovery: The AAL2 provides a mechanism for recovering the timing and clock information from the user data stream. This allows the receiver to reconstruct the original timing information, which is essential for real-time applications such as voice and video.
  4. Error Detection and Correction: The AAL2 performs error detection and correction on the user data stream using a CRC (Cyclic Redundancy Check) algorithm. This helps to ensure the integrity of the data as it is transported across the ATM network.
  5. Packetization: The AAL2 packetizes the user data into small, fixed-sized payloads, which are then encapsulated in ATM cells for transport across the ATM network. This reduces the impact of cell loss on the user data stream.
  6. Connection-Oriented: The AAL2 is connection-oriented, which means that it establishes a virtual connection (VC) between the sender and the receiver before data transfer can begin. This provides a reliable and efficient mechanism for transporting user data over the ATM network.

AAL2 Features:

The AAL2 has several features that make it suitable for real-time applications such as voice and video. These features include:

  1. VBR Support: The AAL2 supports VBR traffic, which is common in real-time applications such as voice and video. This allows for efficient transport of small, time-sensitive packets.
  2. Small Payloads: The AAL2 segments user data into small, fixed-sized payloads, which are encapsulated in ATM cells for transport across the ATM network. This reduces the impact of cell loss on the user data stream and ensures efficient transport.
  3. Low Latency: The AAL2 is designed to provide low-latency transport of real-time data. This is essential for applications such as voice and video, which require immediate response times.
  4. Bandwidth Efficiency: The AAL2 provides a mechanism for multiplexing several user data streams onto a single ATM VC. This reduces the amount of network resources required for transport, making it more.
  5. Dynamic Buffering: The AAL2 uses dynamic buffering to adjust the buffer size based on the traffic load. This allows for efficient use of network resources and helps to ensure low latency.
  6. Variable Packet Sizes: The AAL2 supports variable packet sizes, which allows it to efficiently transport both small and large packets. This is important for real-time applications that generate packets of different sizes.
  7. Flow Control: The AAL2 provides a mechanism for flow control, which allows the receiver to control the rate of data transfer. This helps to ensure that the receiver can handle the incoming data and prevents congestion on the network.
  8. QoS Support: The AAL2 supports Quality of Service (QoS), which allows it to prioritize traffic based on its importance. This is important for real-time applications, such as voice and video, that require high priority to ensure low latency and jitter.

AAL2 Protocol Stack:

The AAL2 protocol stack consists of three sublayers: the Convergence Sublayer (CS), the Segmentation and Reassembly (SAR) Sublayer, and the Common Part Sublayer (CPS).

  1. Convergence Sublayer (CS): The CS is responsible for providing the necessary adaptation between the user data and the SAR sublayer. It performs functions such as timing recovery, clock synchronization, and error detection.
  2. Segmentation and Reassembly (SAR) Sublayer: The SAR sublayer is responsible for segmenting the user data into fixed-size payloads and encapsulating them into ATM cells for transport across the ATM network. It also performs reassembly of the payloads at the destination.
  3. Common Part Sublayer (CPS): The CPS is responsible for providing the necessary functions for establishing and managing the ATM VC. This includes functions such as VC management, flow control, and QoS management.

Conclusion:

In summary, the AAL2 is an important ATM adaptation layer protocol that is designed to efficiently transport variable bit-rate traffic, such as voice and video, over the ATM network. It provides a reliable and efficient mechanism for segmenting and reassembling user data into ATM cells for transport across the ATM network. Its features, such as VBR support, small payloads, low latency, and bandwidth efficiency, make it well-suited for real-time applications. The AAL2 protocol stack consists of three sublayers: the Convergence Sublayer (CS), the Segmentation and Reassembly (SAR) Sublayer, and the Common Part Sublayer (CPS). Overall, the AAL2 plays a critical role in ensuring the efficient and reliable transport of real-time traffic over the ATM network.