Professional Documents
Culture Documents
General Pseudowires
General Pseudowires
Tuan
WiFi / WiMax
Access Points
VoD Servers
BSC
Internet
BRAS
Core
Aggregation
IP/MPLS
Ethernet
L2 VPN
L3 VPN
MPLS
PE
CES
EoMPLS
L3
Bcast
Part 1
ATM-BASED CES
Introduction
The use of AAL1 was subsequently extended to allow replacement of 64K circuits (or
traditional digital voice circuits),
providing a means to convey voice on ATM backbones instead of TDM infrastructures.
AAL1 was not initially developed to optimize Voice-over-ATM applications, but is considered
a de facto standard in the absence of a real specification.
ATM Layers
Applications
Video
Data
Voice
Higher layers
Application
information
ATM.DATA.
Request
Conversion to (from)
ATM-SDU
ATM Layer
ATM.DATA.
Indication
ATM-PDU
Physical layer (PHY)
Indicate
Convert to correct
electrical or
optical format
Role of AAL
CES
Structured
Unstructured
Nx64 w/CAS
Base Nx64
E1
E3
DS1
DS3
J1
E1
DS1
J1
E1
DS1
J1
Unstructured Service
The E1/DS1, E3/DS3, J1 stream (bit by bit) is encapsulated in the AAL1 frame and transmitted
via ATM network
The internal structure of the PDH signal is not considered by the ATM network
Any PDH framing can be supported
Clock recovery methods
Synchronous
Asynchronous
ATM wirtual connection (CBR)
CES
IWF
ATM network
TDM device
CES
IWF
TDM device
ATM interface
Structured Service
TDM interface
( E1 ot T1)
CES
IWF
ATM network
CES
IWF
TDM device
TDM device
ATM access interfaces
TDM interface
( E1 ot T1)
TDM device
CES
IWF
AAL1 Frame
AAL1 frame
4-bit
SN
4-bits
SNP
47 bytes payload
CRC
Parity
SN - sequence number
SNP - sequence number
protection
CSI - Convergence
sublayer indicator
AAL1 Protocol
SN|CSI
0|0
2|0
1|a
4|1|PTR
3|b
6|0
5|c
7|d
AAL2
(not yet agreed by ITU) checks for mis-sequencing and allows regeneration of the original
clock timing at the receiver side.
The IT field indicates either the position of the segment in relation to a submitted message,
or whether the segment contains timing or other information.
3 segment types are: BOM, COM and EOM.
The LI field indicates the number of useful bytes in segment.
FEC provides error detection, and some limited correction.
AAL2 frame
4-bit 4-bits
SN
IT
45 bytes payload
6-bit
LI
10-bits
FEC
SN - Sequence number
IT - Information type
LI - Length indicator
FEC - Forward error control
AAL5
much simpler than AAL3/4. A bit in the cell header (PT) indicates when the last bit of the PDU
is transmitted.
higher
layers
convergence
sub-layer
payload
pad
8 byte
trailer
ATM cell
ATM
layer
5-byte
header
48-byte
payload
...
5-byte
header
up to 40-byte
payload
UU
1
CPI length
1
CRC
4
...
Last TDM frame
(from superframe)
Signalling block
Signalling bits for third TDM channel
ABCD
ABCD
ABCD
Part 2
MPLS BASED
General
DA
SA
Type
8100
VLAN Tags
(optional)
Type
8847
Tunnel
Label
VC Label
Control
Word
RTP
(optional)
TDM
Payload
DA
SA
Type
8100
VLAN Tags
(optional)
Type
8847
Tunnel
Label
PW Label
Control
Word
RTP
(optional)
TDM
Payload
DA
SA
Type
8100
VLAN Tags
(optional)
Type
8847
Transport
Label
Interworking
Label
Control
Word
RTP
(optional)
TDM
Payload
L2 Header
DA
DA (6-byte)
SA (6-byte)
Length/Type = 802.1Q
Tag Type (2-byte)
3-bit Priority
SA
Type
8100
VLAN Tags
(optional)
1-bit
CFI
Length/Type
(2-byte)
12-bit VLAN ID
Type
8847
Label ID
3-bit Exp.
1-bit S
8-bit TTL
Part 3
IP BASED
DA
SA
Type
8100
VLAN Tags
(optional)
Type
800
IP
Header
L2TPv3 Header
(PW demultiplexing layer)
Common interworking
indicators
DA
SA
Type
8100
VLAN Tags
(optional)
Type
800
IP
Header
UDP Header
(PW demultiplexing layer)
DA
SA
Type
8100
VLAN Tags
(optional)
Type
800
IP
Header
UDP Header
L2 Header
RTP
(optional)
TDM
Payload
RTP
(optional)
Common interworking
indicators
TDM
Payload
RTP
(optional)
TDM
Payload
IP version
IHL
IP ToS
Total Length
3-4
Identification
5-6
Flags
Fragment Offset
Protocol
10
IP header checksum
11-12
Source IP address
13-16
Destination IP address
17-20
21-22
23-24
UDP length
25-26
UDP checksum
27-28
Reserved
FRAG
Fragment Offset
R
Length
29
30
Sequence Number
31-32
Adapted Payload
33-N
Part 4
ETHERNET BASED
DA
SA
VLAN Tags
(optional)
Ethertype
88d8
ECID
Control
Word
RTP
(optional)
TDM
Payload
FCS
Part 5
TDM PSEUDOWIRES
Generic PW Encapsulation
Optional
RTP header
Control
Word
Payload Options:
SAToP PW Payload
PSN
CW
Payload (N )
SAToP does not assume alignment to any underlying structure imposed by TDM framing
Optional Octet aligned T1 SAToP payload consists of a number of 25-byte sub frames, each sub frame
carrying 193 bits of TDM data and afterwards 7 bits of padding (zeros)
L = m*N (m integer)
L = 8*N*D
CW
PSN
Timeslot 1
Timeslot 2 Timeslot N
Frame #1
Payload
Timeslot 1
Timeslot 2 Timeslot N
Frame #2
Timeslot 1
Timeslot 2 Timeslot N
Frame #m
PSN
10
Reserved
Set to Zero
FRG
Length
Payload
16
31
SN (Sequence Number)
0 0 0 0 / FORMID (4 b)
Was used to indicate TDMoIP mode (AAL1, AAL1 - CAS, AAL2, HDLC)
Ensures differentiation between IP and PW packets for MPLS PSNs (first nibble MUST be set to zero when PSN is
MPLS)
Flags (4 b)
FRG in CESoPSN FRG bits MUST be used to indicate first, intermediate and last fragment
00 indicates that the entire (un-fragmented) payload is carried in a single packet
01 indicates the packet carrying the first fragment
10 indicates the packet carrying the last fragment
11 indicates a packet carrying an intermediate fragment
CW
PSN
SN
CRC
47-Octet
Payload
Non-P Format
OR
SN CRC
Pointer
46-Octet
Payload
SN - sequence number
P- Even parity bit on C, SN and CRC or the even byte parity LSB for the sequence number
octet (P format cells only)
E - (P format cells only) Even byte parity MSB for pointer octet
Note: P format cells add a 7-bit pointer which delineates the boundaries of the encapsulated
data.
AAL1 PDU
AAL1 SAR
ATM
ATM
ATM
ATM CES
IP/MPLS
ATM
IP/MPLS
SAR
AAL1 PDU
TDMoIP/MPLS
IP/MPLS-based CES
T1/J1/E1
Framers
TU/VT Mappers
M13 Muxes
T3 Framers
Preserve existing
Layer 2 ATM
Infrastructure
HDLC Engine
Software
Upgrade to
IP/MPLS
Infrastructure
TDM Framer
IMA Engine
NP
TM & Policing
IP/MPLS
Interworking
TDM Framer
AAL1 Engine
TDM Framer
SONET/SDH
Framer
optics
Sonet Framer
AAL1 SAR/CES
Structured &
Unstructured
PSN
CID
LI
UUI
HEC
Payload
CID
LI
UUI
HEC
Payload
PSN
Payload
Zero Bit Deletion
Flags
Data
CRC 16
HDLC Frame in TDM
HDLC flags
CRC
Bit/Byte stuffing
Flags
Part 6
PACKET PSEUDOWIRES
HDLC PW
HDLC Pseudo-wire
PW Header
Control Word
(optional)
CW
PSN
0
Reserved
Set to Zero
5 6
7 8
RES
10
Length
Payload
16
SN (Sequence Number)
31
HDLC Payload:
CW
PSN
Flag
Payload
Data
HDLC flags
FCS
Bit/Byte stuffing
FCS
Flags
ATM PW
PW Header
Control Word
(optional)
Pseudo-wire Header Identifies an ATM service on a tunnel. In the case of MPLS header is
one or more MPLS labels.
ATM Control Word May contain length , sequence number needed to carry the service
CW
PSN
10
Reserved
Set to Zero
Flags
RES
Length
Payload
16
31
SN (Sequence Number)
PSN overhead can be reduced by concatenating multiple cells into the same packet
The number of cells in a packet can range from a single cell to 29 cells
For a single cell -> Cell of 53 bytes is forwarded to a 94 bytes frame size (overhead is ~ 70%)
For 29 cell -> 29 Cells of 1537 bytes are forwarded to a 1466 bytes frame size no overhead (since
only 1 byte of the cell header is forwarded in VC mode)
Note: calculation is based on IP PSN type without VLAN, in VC mode
Each PW is configured manually with a limit on the number of cells it will carry in a single packet
Each PW can be set with a timeout mechanism between 100 5000000 uSec
In case AAL5 mode is set to enable (supported from version 1.0), a reception of end of AAL5 frame
indication triggers a packet transmission.
CW
PSN
11
Payload
12
27
30
VPI
VCI
| PTI
|C
VPI
VCI
| PTI
|C
FR PW
PW Header
Control Word
(optional)
FR Service Payload
MPLS Tunnel Label (s) Label is used by MPLS LSRs to forward PW packet
PW Label Identifies one PW (one LSP) assigned to a frame relay VC in one direction.
Together with the MPLS Tunnel label it forms the MPLS label Stack.
Frame Relay Control Word Contains protocol control information
CW
PSN
0
Reserved
Set to Zero
5 6
7 8
RES
10
Length
Payload
16
SN (Sequence Number)
31
CW
PSN
Flags
Payload
Data
FCS
Frame Relay Frame
Flags
Thank You !