Documente Academic
Documente Profesional
Documente Cultură
Netsanet Sinor
ID No-GSE/7944/11
1
Table of content
1. Introduction………………………………………………….….3
2. Basic concept ……………………………………………….…..3
2.1. AAL0……………………………………………………...4
2.2. AAL1…………………………………………………..….5
2.3. AAL2…………………………………………………..….5
2.4. AAL3/4………………………………………………..…..6
2.5. AAL5……………………………………………...………6
3.CONCLUSION…………………………………….… ….…………9
2
1.Introduction
The use of Asynchronous Transfer Mode (ATM) technology and services creates
the need for an adaptation layer in order to support information transfer protocols,
which are not based on ATM. This adaptation layer defines how to segment higher-
layer packets into cells and the reassembly of these packets. Additionally, it defines
how to handle various transmission aspects in the ATM layer.
Examples of services that need adaptations are Gigabit Ethernet, IP, Frame Relay,
SONET/SDH, UMTS/Wireless, etc.
The main services provided by AAL (ATM Adaptation Layer) are:
Segmentation and reassembly
Handling of transmission errors
Handling of lost and mis inserted cell conditions
Timing and flow control
2. Basic concept
ATM has been designed to support applications including broadband ISDN, carrying
multiple synchronous information channels, as a transfer mechanism for frame-relay
and Switched Multi-Megabit Data Service (SMDS) applications, and finally as a
link-transport mechanism for Local Area Networks. Each of these types of interfaces
requires special mapping services to operate over the ATM cell structure.
AAL is divided into two major sublayers, the convergence and segmentation and
reassembly sublayer
1. convergence sublayer(cs): -Convergence sublayer (CS): at the source, the CS is
responsible to accept bit streams or arbitrary length messages from the applications
and breaking them up into units of 44 to 48 bytes (the exact size is protocol
dependent). At the destination, the CS reassembles the cells into the original
messages. The CS consists of 2 subparts:
a. The common part, which is common to all applications.
b. The service specific part, which is specific for the application.
3
2. Segmentation and Reassembly (SAR) sublayer: it can add headers & trailers to
the data units given to it by the CS to form cell payloads. At the destination, the SAR
sublayer reassembles the cells into messages.
The SAR is basically concerned with cells while the CS is concerned with
messages.
The below ATM Adaptation Layer protocols (AALs) have been defined by
the ITU-T. It is meant that these AALs will meet a variety of needs. The
classification is based on
AAL is the simplest and least useful of the AAL service classes is AAL-0. This class
of service provides a direct interface into the ATM layer by users. It has been
included in the standard to permit equipment designers to disregard the AAL in its
entirety. While some had envisioned AAL-0 to useful in supporting control and
service messaging, it lacks the guaranteed delivery mechanisms that are critical to
many network controls functions. For proprietary systems this can be useful. For
systems that must operate in open environments, with equipment from multiple
4
vendors, this "feature" should probably be avoided. It doesn't provide much in the
way of an aid to interoperability.
SAR-PDU, that is sent over a single ATM cell. AAL-1 PDU fields include the
Sequence Number that consists of a three-bit repeating sequence number, and a
"CS-indication" bit, a 4-bit Sequence Number Protection (SNP) field that protects
against sequence number errors, and a 47-octet payload. Typically, this payload
field is intended to be filled, however, it can be partially used based on
renegotiated operation.
Some of the most interesting aspects of AAL-1 are involved in clock recovery. Send
too much information and data must be dropped. Send too little (too slow), and
information must be padded. Two general approaches to resolving these issues have
been proposed, Synchronous Residual Time Stamp where the clocks on both ends
of a network connection are synchronized, and Adaptive Clock, in which the receiver
adjusts the speed of its clock on the basis of the amount of information available in
its receive buffers.
AAL-2 is based on the assumption that some forms of isochronous information can
be represented in a multiple data rate format. For example, the rate of some video
5
compression techniques can vary on the basis of the complexity and rate of change
of moving images. While this portion of the standard has been highlighted, it is
absent from the published standards.
Based on the SMDS standard, AAL-3/4 provides data transport services for both
connection and connectionless data. These services correspond to Class C and Class
D data. Unlike AAL-0 and AAL-1, AAL-3/4 includes a range of service options.
Information is transferred in either message or streaming mode. Optional delivery
assurance techniques include discarding faulty SDUs, end-to-end data recovery, and
delivery of all SDUs regardless of their integrity. Assured transmission through
retransmission is discussed in the standards, but is not fully specified. Non-assured
transmission is supported in the standard, with options to deliver or discard faulty
SDUs. Typically, it is most useful to discard faulty SDUs. Delivery of unreliable
information is typically something to avoid. Several logical AAL connections can
be multiplexed over a single ATM Virtual Circuit (VC). Finally, AAL-3/4 provides
a capability to support multipoint delivery of information from a single source.
6
CPI - Common Part Indicator: Acts as a protocol identifier that defines how
the remaining fields of the PDU are to be processed. At this point, it is largely
a placeholder to support future changes to the protocol, the CPI is specified to
be always zero by ITU-T I.363.
Btag - Beginning Tag. This value is used to determine whether or not the
CPCS-PDU has been properly delivered. When the CPCS-PDU is
constructed, the same value is entered into both the Btag and Etag fields. If a
reassembled CPCS-PDU is received with these values being different, the
PDU is assumed to have been corrupted. The tag value is incremented (with
a wrap at all ones) as each PDU is constructed.
BASize - Buffer Allocation Size Indication. Tells the receiver the amount of
buffer space to allocate to process the PDU. This value is equal-to or greater
than the PDU size.
Pad - Ensures that the PDU is a multiple of 4 octets in length. This simplifies
processing of the PDU in 32-bit chunks.
AL - Alignment Field. This is unused pad space with the sole purpose of
padding the trailer to 4-octets
Etag - End Tag. Matches the beginning tag. Used for data integrity verification
Length - Field Length. Specifies the actual length of the CPCS-PDU (in octets
when CPI=0). As the SAR is responsible for framing the data, this is provided
to support additional error checking.
ST - Segment Type (2-bits) defines where the segment belongs in the SAR-
SDU (essentially the CPCS-PDU). Possible values include: (10) beginning of
the message, (00) continuation of the message, (01) end of the message, and
(11) single segment message.
SN - Sequence Number (4-bits). Used to ensure the in-order delivery of
segments.
7
MID - Multiplexing Identification Field. (10-bits) Provides compatibility with
SMDS, this field carries multiplex channel identification, allowing for the
transmission of multiple channels of information over a single ATM VC.
Payload - (44-octets) the segment of the CPCS-PDU information to be
transferred within this cell.
LI - length Indication. (6 bits) Identifies the amount of information in the
payload portion of the cell. Only the last cell in a transmission should have
less than 44 octets of information. Therefore, this value will be 44 for all
segments with the exception of the end-of-message segment, in which case it
is an even multiple of 4 between 4 and 44 (remember the CPCS padding).
CRC - cyclic redundancy check (10-bits). Calculated over the complete SAR-
PDU with the exception of the CRC field.
While the AAL-3/4 provides a rich set of services, it does so at the expense of
additional protocol overhead and processing. AAL-5, originally coined the Simple
and Efficient Adaptation Layer (SEAL) was designed to provide similar services at
lower overhead. This AAL takes advantage of the ATM End of Message (EOM) flag
to signal the end of a single message. Significant overhead is elimated by removing
the SAR header and trailer. Processing involves construction of a CPCS-PDU
(shown in Figure 6) that can carry between 1 and 65535 octets, that is segmented
into a series of 48 octet SAR-PDUs for ATM transmission.
8
Service Class A Class B Class C Class D
Timing Related Related Not related Not related
Between
source and
destination
Bit Rate constant Variable variable variable
3. Conclusion
AAL is basically a software layer that accepts user data, which may be digitized
voice, video or computer data, and makes them suitable for transmission over an
ATM network. The transmissions can be of fixed or variable data rate. AAL accepts
higher layer packets and segments them into fixed sized ATM cells before
transmission via ATM. It also reassembles the received segments to the higher layer
packets.
9
10
11
12
13
14
15
16
17