Professional Documents
Culture Documents
Physical Layer
Functionalities Sublayers Protocol Specifications
ATM Layer
Functionalities Sublayers Protocol Specifications
DCW
ATM-Protocol-1
DCW
ATM-Protocol-2
The choice of 53 byte cells is a standards-body comprise. Europeans wanted a 32-byte cell with header, North Americans wanted a 64-byte cell with a header The compromise is 48 bytes (i.e., (32+64)/2) with a 5-byte header.
DCW
ATM-Protocol-3
ATM Layer
Transmission Path
Physical Layer
Transmission Path Level Digital Section Level Regeneration Section Level Digital Section
Regeneration Section
DCW
ATM-Protocol-4
DCW
ATM-Protocol-5
A virtual path connection (VPC) is established by concatenating VP links. At the VPC endpoint, the VPC is terminated and the VCIs are originated, translated, or terminated. The physical layer is subdivided into three levels: transmission path level, digital section level, and regeneration section level. A transmission path is defined between points where the ATM layer accesses the physical layer. The end points of a transmission path perform functions, such as cell delineation (i.e., to find out the beginning of the cell), cell header error control, and assembly and disassembly of the payload of the transmission system (e.g., SONET payload). A digital section extends between network elements that assemble and disassemble continuous bit streams. A regeneration section is between two points of signal regeneration. An example is between two repeaters.
DCW
ATM-Protocol-6
Physical layer provides the physical transport of the ATM cells. Functions performed include cell delineation, header error control, insertion and removal of cells from the physical medium ATM layer is common to all services and provides cell transfer functionalities, such as VC/VP (virtual circuit/ virtual path) routing and multiplexing. ATM adaptation layer (AAL) is service independent and supports higher layer functions of user, control, and management functionalities, such as cell segmentation and reassembly, timing control, flow control. The boundary between the ATM layer and the AAL corresponds to the boundary between functions in the cell header and functions in the cell information field. ATM protocol separates control and information transfer functions. During VCC setup, only the control plane is active, and during the data transfer, only the user plane is active.
DCW
ATM-Protocol-7
Higher Layer
CBR Services
SMDS SIP L3
SNMP ILMI
Q.2931
B-ISUP MTP3
PNNI
AAL3/4
Null
SSCS
AAL5
AAL0
AAL1
AAL2
CS SAR
Null
SSCS CPS
CPCS SAR
SAR
CPCS SAR
ATM Layer
ATM Cell
Physical Layer
Direct Mapping
PLCP T3
Direct Mapping
TAXI Block
PMD
TC
T1
T3
SONET STS-1
FDDI PMD
DCW
ATM-Protocol-8
SAAL
Switch/Network
Higher Layer AAL ATM Layer Physical Layer ATM Layer Physical Layer
To achieve high speed transport capability, the ATM network offers minimum functions required to transfer cells. Inside the network, functions performed by the switches for user data transport are limited at ATM layer. AAL functions are provided by the user end devices or the edge switches of the network. In another word, at the user end devices or the edge switches, the higher layer data is adapted into ATM payload by the ATM adaptation layer (AAL) and ATM cells are generated. Inside the network, the switches only examine the ATM cell header and perform ATM layer functions to be discussed later. The information field is transported transparently.
DCW
ATM-Protocol-9
DCW
ATM-Protocol-10
DCW
ATM-Protocol-11
DCW
ATM-Protocol-12
DCW
ATM-Protocol-13
TC SUBLAYER FUNCTIONS
1. HEC (header error control) generation/verification - HEC is the last octet of the header and protects the header. - At the receiver, there are two modes of operation: - single-bit error correction - multiple-bit error detection, and errored cell discard 2. Cell scrambling and descrambling Cell payload is scrambled before transmission and descrambled by the receiver. Scrambling increases randomization of the cell payload to - avoid continuous non-variable bit pattern - improve the efficiency of the cell delineation algorithm 3. Cell mapping Aligning by row, the byte structure of every cell with the byte structure of the SONET-3C payload capacity (Synchronous Payload Envelope, SPE). The entire STS-3c payload capacity is filled with cells. 4. Cell delineation Identification of cell boundaries. It uses HEC field in the cell header.
DCW
ATM-Protocol-14
STS-3c signal rate: 9 x (9+261) x 8 / 125sec =155.52 Mb/s STS-3c payload rate: 9 x 260 x 8 /125sec = 149.76 Mb/s SONET Efficiency = 149.76/155.52 = 96.3% 149.76 Mb/s x (48/53) 135.63 Mb/s ATM cell payload capacity
DCW
ATM-Protocol-15
Coding
Definition
A1:11110110, A2: 00101000 Framing bytes 00000001-0000001000000011 BIP-8 STS-1 identifier (ID)
B1
Section error monitoring (previous STS-3) Line error monitoring New data flag (indicates change in pointer value) Pointer value
B2 H1 (bits 1-4 )
0000000000 -1100001110
J1
Path trace
In 1996, ITU-T had renamed the three C1 bytes and changed their functions. The first C1 byte is now denoted as J0 byte and is used as section trace. The second and third C1 bytes are denoted as z0 bytes, and the functions are not defined. The J0 byte is used to transmit repetitively a Section Access Point Identifier so that a section receiver can verify its continued connection to the intended transmitter.1
1.
ITU-T G.707, Network node interface for the synchronous digital hierarchy (SDH), March 1996.
DCW
ATM-Protocol-16
CELL DELINEATION
The TC sublayer uses HEC field to identify the cell boundaries. Cell payload is scrambled to improve security and robustness of the HEC cell delineation mechanism. The cell delineation algorithm is as follows:
The Cell Delineation Process is: 1) In the HUNT state, the delineation is performed by checking bit by bit whether the HEC coding law is respected for the assumed header field. Once such an agreement is reached, it is assumed that one header has been found, and the method enters the PRESYNC state. 2) The process repeats until the encoding law has been confirmed DELTA times consecutively. 3) In the SYNC state, the cell delineation will be assumed to be lost if the HEC coding law is recognized incorrectly ALPHA times consecutively. Default value for ALPHA = 7, for DELTA = 6. To increase the robustness of the cell delineation method, the cell payload is scrambled. In the HUNT state, the descrambler is disabled. In the PRESYNC and the SYNC states, the descrambled is enabled for the number of bits equal to the length of the information field (48*8), and disabled for the following assumed header.
DCW ATM-Protocol-17
PLCP framing and cell delineation Path overhead utilization PLCP timing (125sec clock recovery) Nibble stuffing
DCW
ATM-Protocol-18
A1, A2: framing bytes (A1=11110110, A2=00101000) B1: Bit interleaved parity C1: Cycle/stuff counter G1: PLCP path status Px: Path overhead identifier Zx: Growth octets
In PLCP, 12 cells per 125sec 96,000 cells per second or 36.864 Mb/s of cell payload
DCW
ATM-Protocol-20
At the transmit side and receive side, the DS1 physical layers perform cell rate decoupling. The cell delineation is performed using the HEC mechanism. ATM Forum af-phy-0016.000 specifies that payload scrambling shall not be used.
DCW
ATM-Protocol-21
ATM LAYER
ATM Layer Functionalities ATM Protocol Data Unit Format -- UNI: User Network Interface -- NNI: Network-Node Network Node Interface ATM Layer Management
DCW
ATM-Protocol-22
DCW
ATM-Protocol-23
Each ATM layer entity will be able to create and remove its local portion of an ATM user-to-user (AUU) connection. Generic Flow Control: Within the customer premises, a specific protocol, called the generic flow control protocol, may be used between CPN equipment. Two modes of operation have been defined: "uncontrolled access" and "controlled access". Cell Rate Decoupling: The cell rate decoupling functions at the sending entity adds unassigned cells to the assigned cell stream (i.e., cells with valid payload) to be transmitted, transforming a non-continuous stream of assigned cells into continuous stream of assigned and unassigned cells. At the receiving entity, the opposite operation is performed.
DCW
ATM-Protocol-24
From a single source, the relay of cells within a VPC/VCC in the network will preserve cell sequence integrity. VPCs and VCCs are identified by Virtual Path Identifiers (VPIs) and Virtual Channel Identifiers (VCIs). Cells can be switched at the VP or VC levels. The VPIs and VCIs are only significant link by link. VP switch is analogous to digital cross connect.
DCW
ATM-Protocol-25
GFC: Generic Flow Control VPI: Virtual Path Identifier VCI: Virtual Circuit Identifier PTI: Payload Type Indicator CLP: Cell Loss Priority HEC: Header Error Control Number of VPs available = ? Number of VCs available = ?
DCW
ATM-Protocol-26
VPI: Virtual Path Identifier VCI: Virtual Circuit Identifier PTI: Payload Type Indicator CLP: Cell Loss Priority HEC: Header Error Control Number of VPs available at NNI = ? Number of VCs available at NNI = ?
DCW
ATM-Protocol-27
DCW
ATM-Protocol-28
DCW
ATM-Protocol-29
DCW
ATM-Protocol-30
DCW
ATM-Protocol-31
DCW
ATM-Protocol-32
Class B
Class C
Class D
Related
Constant Connection Oriented Circuit emulation, voice 1 variable bit rate video 2
Not Related
Variable Connectionless
The purpose of AAL is thus to accommodate all possible services. Thus, the AAL is service dependent. The classes of services and AAL types are specified during call establishment. Once a connection has been setup, its class and type are identified by the VPI/VCI of the connection. AAL type used in a connection is specified during the connection set up.
DCW
ATM-Protocol-33
In general, the services can be categorized into constant bit rate (CBR), variable bit rate (VBR), available bit rate (ABR), unspecified bit rate (UBR), and guaranteed frame rate (GFR) services. The VBR services can be real-time (rt-VBR) and non-real-time (nrt-VBR). In CBR, users are transmitting data periodically to the network and the rate of data transmission is constant. In VBR, users data is bursty. Users may send a large amount of data at one time; while at other time, some users may not send anything at all. When a user is sending a large amount of data, he can not exceed the maximum rate that he has subscribed to. ABR services are similar to VBR services. In ABR, users data is also very bursty. However, unlike VBR, the ABR users do not specify the maximum rate. The network will use whatever bandwidth it has to transmit ABR users data. If the network has little bandwidth, ABR users data may be dropped. The network will guarantee a minimum cell rate for the user. This is also sometimes called the best effort (BE) service. UBR service is similar to ABR service, except there is no guarantee of any minimum cell rate. We can define the following: PCR: peak cell rate (the maximum cell rate a user can send to the network) SCR: sustained cell rate (the average cell rate) LCR: line cell rate (the rate if cells are sent at the line speed, such as 96,000 cells/second for DS-3) ECR: effective cell rate that a user would experience MCR: minimum cell rate Then, for CBR for VBR for ABR for UBR ECR = PCR = SCR LCR ECR SCR < PCR LCR MCR ECR LCR ECR LCR
DCW
ATM-Protocol-34
DCW
ATM-Protocol-35
AAL1 SUBLAYERS
The functions of AAL1 are grouped into two sublayers: AAL1-SAR (segmentation and reassembly) and AAL1-CS (convergence sublayer). Generation of 47-octect AAL1_SAR_SDUs and the values of convergence sublayer indicator (CSI) subfield and sequence count (SC) subfield at the sending AAL1 entity Detection of missing AAL1_SAR_SDUs at the receiving AAL1 entity Detection of a starvation condition at the receiving AAL1 entity Maintenance of bit-count integrity to the AAL1 user by the receiving entity through the generation of dummy information triggered by the detection of missing AAL1_SAR_SDUs or a starvation condition Recovery of service clock at the receiving entity Generation of 48-octect AAL1_SAR_PDUs at the sending AAL1 entity Transfer of AAL1_SAR_PDUs to the ATM layer and monitoring for the discard of AAL1_SAR_PDUs to relieve congestion Receiving ATM_SDUs at the receiving AAL1 entity Processing of received ATM_SDUs as 48-octect AAL1_SAR_PDUs and passing the results to the AAL1-CS at the receiving AAL1 entity
AAL1-CS
AAL1-SAR
DCW
ATM-Protocol-36
SN (Sequence Number) CSI: Convergence Sublayer Indicator (1 bit) CSIs of the odd numbered cells are used to carry the time stamping information for clock recovery. CSIs of the even numbered cells are used to indicate P-format cell (used for SDT). Sequence Count (3 bits) The SC subfield is used for the transport of a binary encoded sequence count value between peer AAL1-CS entities. SNP (Sequence Number Protection) CRC: Cyclic Redundancy Check (3 bits) Parity (1 bit) These SAR_PDUs are called non-P formatted.
DCW
ATM-Protocol-37
CSI (1 bit)
CRC (3 bits)
Parity (1 bit)
The P-format is used exactly once in every cycle of eight consecutive SAR-PDUs with sequence count values 0 to 7. The P-format is used at the first available opportunity in the cycle to point to a start of a structure boundary. Since the P-format payload only occurs in the even numbered cell, the offset ranges between 0 and 93 inclusive. The offset value 93 is used to indicate that the end of the 93 octet payload coincides with the end of a structured block. If neither a start nor the end of a structured block is present in a cycle, then the P-format with offset value=127 is used at the cell with sequence count value of 6. The size of the structured block is declared during the connection establishment in the SETUP message of Q.2931. It is one of the AAL1 parameters.
DCW
ATM-Protocol-38
SRTS: Synchronous Residual Time Stamp SN: Sequence Number SNP: Sequence Number Protection
DCW
ATM-Protocol-39
DCW
ATM-Protocol-40
AAL 2 OVERVIEW
The AAL type 2 (AAL2) provides for the bandwidth-efficient transmission of low-rate, short, and variable length packets in delay sensitive applications. More than one AAL type 2 user information stream can be supported on a single ATM connection. Examples of applications are cellular telephone, compressed voice, wireless data, etc. The goals for AAL2 are: - To shorten cell-assemble time to reduce delay for the low rate applications, - To increase bandwidth usage efficiency in the network. AAL2 protocol structure is specified in ITU I.363.2. As shown in the following figure, AAL2 consists of two parts: common part sub-layer (CPS) and service specific convergence sub-layer (SSCS). SSCS varies according to the higher layer user data, and may be null. CPS is user data and application independent, and provides common functions to all AAL2 applications. Other elements of AAL2 are AAL2 Negotiation Procedures (ANP) and Operation and Maintenance (OAM) functions.
User Data AAL Service Access Point SSCS (may be null) AAL2 CPS ATM Service Access Point ATM
DCW
ATM-Protocol-41
(A) (B)
10 ms
On the other hand, if the base station does not wait for more voice samples to fill out the whole payload in an ATM cell, then the bandwidth is wasted. In the figure above, it maybe only ten octets of voice are in an ATM cell, the other 38 bytes in the ATM cell payload are not used. The efficiency is 10/53 (=19%).
DCW
ATM-Protocol-42
Header
Payload
ATM Adaptation Layer Type 2 (AAL2) 48 octets ATM Layer ATM cell
CPCS Packet
By doing this, we do not need to wait for one single user to fill up the payload of an ATM cell (which takes a long time), and instead, we fill up the payload with data from several other users. Thus, we can use the bandwidth more efficiently. Since a cell now may contain data from more than one user, data from each individual user needs to be clearly identified, and their boundaries need to be marked. The marking of the data from different users, the delineation of the boundaries, and the multiplexing of the data into 48-byte payload are the functions of AAL2.
DCW
ATM-Protocol-43
SSCS
AAL
CPS
CPS-PH
CPS-PP
ATM
Cell header
Where:
CID: Channel identifier (8 bits) LI: Length indicator (6 bits) UUI: User-to-user indication (5 bits) HEC: Header error control (5 bits) CPS-INFO: Information (1 to 45/64 octets)
DCW
ATM-Protocol-44
CPS-Packet header is 3-octets long and consists of four fields. Channel Identifier (CID) To identify SSCS PDU 0 not used 1 reserved for layer management (e.g. ANP) 2-7 reserved 8-255 identification of SSCS entity
Length Indicator (LI) One less than CPS-packet payload length Maximum CPS-packet payload length Default 45 octets optional 64 octets User-to-User Indication (UUI) - To convey specific information transparently between the CPS users, SSCS entities or layer management - To distinguish between the SSCS entities and layer management users 0 27 for SSCS entities 28-29 reserved for future standardization 30-31 for layer management Header Error Control (HEC) Used for error detection only CPS-INFO CPS-packet payload has a variable length
DCW
ATM-Protocol-45
The start field consists of three fields: Offset Field (OSF) - To indicate the position in octets of the first CPS-packet - 0 46 first CPS-packet boundary (o means next to OSF) - 47 means no CPS-packet boundary Sequence Number (SN) - modular 2 Parity (P) - Odd parity of STF field - For error detection A CPS-packet may be splitted and carried by two CPS-PDU. Note that if the CPS-packets can not fill the whole 48-octets ATM cell payload, pad is used. Padding field is set to all 0. Error Detection: - CPS-packet HEC error detected, discard the rest of CPS-PDU - CPS-PDU STF parity error detect, discard the whole CPSPDU.
DCW
ATM-Protocol-46
AAL3/4 SUBLAYERS
The AAL type 3/4 (AAL3/4) consists of two parts, a common part (CP) and a service specific part (SSP). The SSP is used to provide those additional capabilities, beyond those provided by the CP, that are necessary to support the user of the AAL3/4. For some applications, the SSP will be null. The functions of the AAL3/4 common part have been grouped into two sublayers, the segmentation and reassembly (CPAAL3/4_SAR) sublayer and the convergence sublayer (CPAAL3/4_CS).
DCW
ATM-Protocol-47
DCW
ATM-Protocol-48
CPAAL3/4 FUNCTIONS
AAL3/4 common part performs the following functions: Data transfer Transfer of CPAAL3/4 user information (CPAAL3/4_SDUs) between CPAAL3/4 users Preservation of CPAAL3/4_SDUs Delineation and transparency of CPAAL3/4_SDUs. CPAAL3/4_SDU segmentation Segmentation of CPAAL3/4_SDU into segments of up to 44 octets. CPAAL3/4_SDU reassembly Construct CPAAL3/4_SDUs from the CPAAL3/4_SAR_PDUs delivered by the ATM layer Error detection Detect and handle bit errors, lost or gained information and incorrectly reassembled CPAAL3/4_SDUs. Multiplexing an demultiplexing Multiplexing and demultiplexing of multiple CPAAL3/4 connections or interleaving of CPAAL3/4_CS_PDUs. The number of connections supported over an AUU connection as well as message identifier is defined at the connection establishment (for SVC) or provisioning (for PVC). CPAAL3/4_SDU abort Abort partially transmitted or received CPAAL3/4_SDU. Pipelining Forward partial PDUs to the next functional unit before the full PDU has been collected.
DCW
ATM-Protocol-49
ST:
Segment Type (2 bits) Indicates whether a CPAAL3/4_SAR_PDU is the beginning of a message (BOM), the continuation of a message (COM), the end of a message (EOM) or a single segment message (SSM). ST BOM COM EOM SSM Encoding 10 00 01 11
SN:
Sequence Number (modulo 16) (4 bits) Used to identify the sequential position of the CPAAL3/4_SAR_PDU.
MID: Message Identifier (10 bits) Used to identify CPAAL3/4_SAR_PDUs on a given AUU connection that are part of the same CPAAL3/4_CS_PDU. User Information FILL: Padding to make the CPAAL3/4_SAR_PDU payload field equal to 44 octets.
DCW
ATM-Protocol-50
LI:
Length Indicator (6 bits) Used to indicate the length of the user information field. In the message mode service, if CPAAL3/4_SAR_PDU ST=BOM or COM, the value of the length indicator (LI) field is always 44. In the streaming mode service, the value of LI could be less than 44 for ST=BOM or COM CPAAL3/4_SAR_PDUs.
CRC: Cyclic Redundancy Check (10 bits) CRC calculation performed over the entire CPAAL3/4_SAR_PDU.
DCW
ATM-Protocol-51
CPI (Common Part Indicator) Used to identify the message type (i.e., to interpret the subsequent fields in the header and trailer) and to indicate the counting unit for the values specified in BASize and Length. Btag: Used to detect misassembling error conditions through correlation with the Btag in the trailer. BASize: Used to indicate the maximum buffering requirements to receive a CPAAL3/4_CS_PDU. This field value shall be greater or equal to the length of the user information. User Information: The maximum length of this field is 65,535 octets. Pad: Used to force the CPAAL3/4_CS_PDU payload field to be 32-bit aligned. AL: Used as a filler to achieve 32-bit alignment in CPAAL3/4_CS_PDU trailer. Length: Used to indicate the length of the user information contained in the CPAAL3/4_CS_PDU payload field. Used by the receiver to detect the loss or gain of information.
DCW
ATM-Protocol-52
The functions performed by AAL5 are also the same of those performed by AAL3/4.
DCW
ATM-Protocol-53
AAL5 SUBLAYERS
AAL type 5 is called simple efficient adaptation layer (SEAL). The AAL type 5 (AAL5) consists of two parts, a common part (CP) and a service specific convergence sublayer (SSCS). The SSCS is used to provide those additional capabilities, beyond those provided by the CP, that are necessary to support the user of the AAL5. For some applications, the SSP will be null. The functions of the AAL5 common part have been grouped into two sublayers, the segmentation and reassembly (CPAAL5_SAR) sublayer and the convergence sublayer (CPAAL5_CPCS).
AAL5 Primitive
SSCS
AAL5
DCW
ATM-Protocol-54
DCW
ATM-Protocol-55
DCW
ATM-Protocol-56
CPAAL5_SAR_PDU FORMAT
The sending AAL5 entity segments the CPAAL5_PDU into 48 segment units and transmits them to the ATM layer. The receiving AAL5 entity reassembles the CPAAL5_SAR_PDUs into the CPAAL5_PDU. The CPAAL5_SAR_PDU format is as follows:
DCW
ATM-Protocol-57