Virtual Circuit Switching:: Frame Relay and ATM
Virtual Circuit Switching:: Frame Relay and ATM
Switching:
Frame Relay
and
ATM
Virtual Circuit Switching
Global Addressing
Three Phases
Setup Phase
Teardown Phase
Virtual circuit wide area network
VCI
VCI phases
Switch and table
Source-to-destination data transfer
SVC setup request
SVC setup acknowledgment
Frame Relay
Architecture
FRAD
VOFR
LMI
Frame Relay network
Note:
Problems
Architecture
Switching
Layers
Multiplexing using different frame sizes
Note:
ATM ATM
Switch Switch
ATM ATM
Switch Switch
ATM ATM
Adaptation Adaptation
Layer Layer
ATM Network
ATM layers
ATM layers in endpoint devices and switches
ATM layer
ATM headers
AAL converts Info into Cells
Voice
A/D AAL
s1 , s2 … cells
Digital voice samples
Video
Data AAL
Bursty variable-length cells
packets
AAL Protocol Structure
Higher Layers AAL has two sublayers:
• Segmentation &
Service Specific Reassembly
Convergence
Sublayer – Segments PDUs into cell
payloads; Reassembles
Convergence
PDUs from received cell
AAL Sublayer payloads
Layer Common Part
• Convergence
Segmentation – Common Part: packet
and framing and error detection
Reassembly functions required by all
Sublayer AAL users
– Specific Part: functions
ATM that depend on specific
requirements of AAL user
classes
AAL1 services
• Structured & Unstructured Transfer
– Unstructured: take bits from T1 and group
into 8-bit bytes; since T1 frame has 193 bits,
bytes are never aligned to frame
– Structured: take 24 T1 bytes and map into
CS PDUs; use CS PDU pointer to indicate
beginning of T1 frame
• Forward error control options:
1. Insert parity cell every 15 cells, correct lost
cell
2. Interleaving of 124 cells, correct up to 4 cell
losses
AAL1
4 bits 4 bits 8 bits 46 or 47 octets
Pointer
SN SNP Payload
optional
• Convergence Sublayer:
– Adaptation to cell-delay variation, constant bit rate delivery
AAL-SDUs
– Detection of lost or out-of-sequence cells
– Source clock recovery
– Forward error correction on user data
– Forward error correction on Sequence Number (SN)
• 1-bit CS to indicate pointer (used for partially-filled cells)
• 3-bit sequence count
– Time-stamp option uses 4 consecutive CS bits for residual
TS
• SAR: Add 1-byte header to 47-byte payload
AAL1
AAL1 PDUs
SAR PDU header
AAL 1
Pointer
1 Byte 46 Bytes
Mobile
AAL
switching
2 ATM cells office
PAD
AAL3/4
• Why 3 / 4 ?
– AAL3: For connection-oriented transfer of data
– AAL4: For connectionless transfer of data
• All connectionless packets use the same VPI/VCI at the UNI
• Multiplexing ID (MID) introduced to distinguish connectionless packets
• AAL3 and AAL4 combined into AAL that can be used for
connection-oriented or connectionless transfer
• AAL3/4 allows multiple users to be multiplexed and
interleaved in the same ATM VC
– Message mode: single user message segmented into ATM
payloads
– Stream mode: one or more messages segmented into ATM
payloads and delivered without indication of boundaries
– Assured mode: error-free delivery of messages
– Non-Assured mode: messages may be delivered in error, or
not at all
AAL3/4
AAL3/4 Common Part CS PDU
User Data
Header Trailer
1 1 2 1 - 65,535 0-3 1 1 2
(bytes) (bytes) (bytes)
2 4 10 44 6 10
(bits) (bytes) (bits)
Simple
Comprehensive Sequencing and Error control
Efficient mechanisms provided by AAL3/4 are not required by
many applications for such applications AAL5 (SEAL)
has been designed.
Adaptation
Layer
AAL5 Common Part CS PDU
Information Pad UU CPI Length CRC
0 - 65,535 0-47 1 1 2 4
(bytes) (bytes)
• User-to-User: 1 byte
• CPI aligns trailer to 8 bytes
• Length: 2 bytes to indicate length of CPCS PDU
payload
• 40-byte CRC
Summary of AAL Capabilities