1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
|
Network Working Group M. Riegel
Request for Comments: 4197 Siemens AG
Category: Informational October 2005
Requirements for Edge-to-Edge Emulation of
Time Division Multiplexed (TDM) Circuits over
Packet Switching Networks
Status of This Memo
This memo provides information for the Internet community. It does
not specify an Internet standard of any kind. Distribution of this
memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2005).
Abstract
This document defines the specific requirements for edge-to-edge
emulation of circuits carrying Time Division Multiplexed (TDM)
digital signals of the Plesiochronous Digital Hierarchy as well as
the Synchronous Optical NETwork/Synchronous Digital Hierarchy over
packet-switched networks. It is aligned to the common architecture
for Pseudo Wire Emulation Edge-to-Edge (PWE3). It makes references
to the generic requirements for PWE3 where applicable and complements
them by defining requirements originating from specifics of TDM
circuits.
Riegel Informational [Page 1]
^L
RFC 4197 PWE3 TDM Requirements October 2005
Table of Contents
1. Introduction ....................................................3
1.1. TDM Circuits Belonging to the PDH Hierarchy ................3
1.1.1. TDM Structure and Transport Modes ...................4
1.2. SONET/SDH Circuits .........................................4
2. Motivation ......................................................5
3. Terminology .....................................................6
4. Reference Models ................................................7
4.1. Generic PWE3 Models ........................................7
4.2. Clock Recovery .............................................7
4.3. Network Synchronization Reference Model ....................8
4.3.1. Synchronous Network Scenarios ......................10
4.3.2. Relative Network Scenario ..........................12
4.3.3. Adaptive Network Scenario ..........................12
5. Emulated Services ..............................................13
5.1. Structure-Agnostic Transport of Signals out of the
PDH Hierarchy .............................................13
5.2. Structure-Aware Transport of Signals out of the
PDH Hierarchy .............................................14
5.3. Structure-Aware Transport of SONET/SDH Circuits ...........14
6. Generic Requirements ...........................................14
6.1. Relevant Common PW Requirements ...........................14
6.2. Common Circuit Payload Requirements .......................15
6.3. General Design Issues .....................................16
7. Service-Specific Requirements ..................................16
7.1. Connectivity ..............................................16
7.2. Network Synchronization ...................................16
7.3. Robustness ................................................16
7.3.1. Packet loss ........................................17
7.3.2. Out-of-order delivery ..............................17
7.4. CE Signaling ..............................................17
7.5. PSN Bandwidth Utilization .................................18
7.6. Packet Delay Variation ....................................19
7.7. Compatibility with the Existing PSN Infrastructure ........19
7.8. Congestion Control ........................................19
7.9. Fault Detection and Handling ..............................20
7.10. Performance Monitoring ...................................20
8. Security Considerations ........................................20
9. References .....................................................20
9.1. Normative References ......................................20
9.2. Informative References ....................................21
10. Contributors Section ..........................................22
Riegel Informational [Page 2]
^L
RFC 4197 PWE3 TDM Requirements October 2005
1. Introduction
This document defines the specific requirements for edge-to-edge
emulation of circuits carrying Time Division Multiplexed (TDM)
digital signals of the Plesiochronous Digital Hierarchy (PDH) as well
as the Synchronous Optical NETwork (SONET)/Synchronous Digital
Hierarchy (SDH) over Packet-Switched Networks (PSN). It is aligned
to the common architecture for Pseudo Wire Emulation Edge-to-Edge
(PWE3) as defined in [RFC3985]. It makes references to requirements
in [RFC3916] where applicable and complements [RFC3916] by defining
requirements originating from specifics of TDM circuits.
The term "TDM" will be used in this documents as a general descriptor
for the synchronous bit streams belonging to either the PDH or the
SONET/SDH hierarchies.
1.1. TDM Circuits Belonging to the PDH Hierarchy
The bit rates traditionally used in various regions of the world are
detailed in the normative reference [G.702]. For example, in North
America, the T1 bit stream of 1.544 Mbps and the T3 bit stream of
44.736 Mbps are mandated, while in Europe, the E1 bit stream of 2.048
Mbps and the E3 bit stream of 34.368 Mbps are utilized.
Although TDM can be used to carry unstructured bit streams at the
rates defined in [G.702], there is a standardized method of carrying
bit streams in larger units called frames, each frame contains the
same number of bits.
Related to the sampling frequency of voice traffic the bitrate is
always a multiple of 8000, hence the T1 frame consists of 193 bits
and the E1 frame of 256 bits. The number of bits in a frame is
called the frame size.
The framing is imposed by introducing a periodic pattern into the bit
stream to identify the boundaries of the frames (e.g., 1 framing bit
per T1 frame, a sequence of 8 framing bits per E1 frame). The
details of how these framing bits are generated and used are
elucidated in [G.704], [G.706], and [G.751]. Unframed TDM has all
bits available for payload.
Framed TDM is often used to multiplex multiple channels (e.g., voice
channels each consisting of 8000 8-bit-samples per second) in a
sequence of "timeslots" recurring in the same position in each frame.
This multiplexing is called "channelized TDM" and introduces
additional structure.
Riegel Informational [Page 3]
^L
RFC 4197 PWE3 TDM Requirements October 2005
In some cases, framing also defines groups of consecutive frames
called multiframes. Such grouping imposes an additional level of
structure on the TDM bit-stream.
1.1.1. TDM Structure and Transport Modes
Unstructured TDM:
TDM that consists of a raw bit-stream of rate defined in [G.702],
with all bits available for payload.
Structured TDM:
TDM with one or more levels of structure delineation, including
frames, channelization, and multiframes (e.g., as defined in [G.704],
[G.751], and [T1.107]).
Structure-Agnostic Transport:
Transport of unstructured TDM, or of structured TDM when the
structure is deemed inconsequential from the transport point of view.
In structure-agnostic transport, any structural overhead that may be
present is transparently transported along with the payload data, and
the encapsulation provides no mechanisms for its location or
utilization.
Structure-Aware Transport:
Transport of structured TDM taking at least some level of the
structure into account. In structure-aware transport, there is no
guarantee that all bits of the TDM bit-stream will be transported
over the PSN network (specifically, the synchronization bits and
related overhead may be stripped at ingress and usually will be
regenerated at egress) or that transported bits will be situated in
the packet in their original order (but in this case, bit order is
usually recovered at egress; one known exception is loss of
multiframe synchronization between the TDM data and CAS bits
introduced by a digital cross-connect acting as a Native Service
Processing (NSP) block, see [TR-NWT-170]).
1.2. SONET/SDH Circuits
The term SONET refers to the North American Synchronous Optical
NETwork as specified by [T1.105]. It is based on the concept of a
Nx783 byte payload container repeated every 125us. This payload is
referred to as an STS-1 SPE and may be concatenated into higher
bandwidth circuits (e.g., STS-Nc) or sub-divided into lower bandwidth
circuits (Virtual Tributaries). The higher bandwidth concatenated
circuits can be used to carry anything from IP Packets to ATM cells
to Digital Video Signals. Individual STS-1 SPEs are frequently used
Riegel Informational [Page 4]
^L
RFC 4197 PWE3 TDM Requirements October 2005
to carry individual DS3 or E3 TDM circuits. When the 783 byte
containers are sub-divided for lower rate payloads, they are
frequently used to carry individual T1 or E1 TDM circuits.
The Synchronous Digital Hierarchy (SDH) is the international
equivalent and enhancement of SONET and is specified by [G.707].
Both SONET and SDH include a substantial amount of transport overhead
that is used for performance monitoring, fault isolation, and other
maintenance functions along different types of optical or electrical
spans. This also includes a pointer-based mechanism for carrying
payloads asynchronously. In addition, the payload area includes
dedicated overhead for end-to-end performance monitoring, fault
isolation, and maintenance for the service being carried. If the
main payload area is sub-divided into lower rate circuits (such as
T1/E1), additional overhead is included for end-to-end monitoring of
the individual T1/E1 circuits.
This document discusses the requirements for emulation of SONET/SDH
services. These services include end-to-end emulation of the SONET
payload (STS-1 SPE), emulation of concatenated payloads (STS-Nc SPE),
as well as emulation of a variety of sub-STS-1 rate circuits jointly
referred to as Virtual Tributaries (VT) and their SDH analogs.
2. Motivation
[RFC3916] specifies common requirements for edge-to-edge emulation of
circuits of various types. However, these requirements, as well as
references in [RFC3985], do not cover specifics of PWs carrying TDM
circuits.
The need for a specific document to complement [RFC3916] addressing
of edge-to-edge emulation of TDM circuits arises from the following:
o Specifics of the TDM circuits. For example,
* the need for balance between the clock of ingress and egress
attachment circuits in each direction of the Pseudo Wire (PW),
* the need to maintain jitter and wander of the clock of the
egress end service, within the limits imposed by the
appropriate normative documents, in the presence of the packet
delay variation produced by the PSN.
o Specifics of applications using TDM circuits. For example, voice
applications,
* put special emphasis on minimization of one-way delay, and
Riegel Informational [Page 5]
^L
RFC 4197 PWE3 TDM Requirements October 2005
* are relatively tolerant to errors in data.
o Other applications might have different specifics. For example,
transport of signaling information
* is relatively tolerant to one-way delay, and
* is sensitive to errors in transmitted data.
o Specifics of the customers' expectations regarding end-to-end
behavior of services that contain emulated TDM circuits. For
example, experience with carrying such services over SONET/SDH
networks increases the need for
* isolation of problems introduced by the PSN from those
occurring beyond the PSN bounds,
* sensitivity to misconnection,
* sensitivity to unexpected connection termination, etc.
3. Terminology
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119].
The terms defined in [RFC3985], Section 1.4 are used consistently.
However some terms and acronyms are used in conjunction with the TDM
services. In particular:
TDM networks employ Channel-Associated Signaling (CAS) or Common
Channel Signaling (CCS) to supervise and advertise status of
telephony applications, provide alerts to these applications (as to
requests to connect or disconnect), and to transfer routing and
addressing information. These signals must be reliably transported
over the PSNs for the telephony end-systems to function properly.
CAS (Channel-Associated Signaling)
CAS is carried in the same T1 or E1 frame as the voice signals,
but not in the speech band. Since CAS signaling may be
transferred at a rate slower than the TDM traffic in a timeslot,
one need not update all the CAS bits in every TDM frame. Hence,
CAS systems cycle through all the signaling bits only after some
number of TDM frames, which defines a new structure known as a
multiframe or superframe. Common multiframes are 12, 16, or 24
frames in length, corresponding to 1.5, 2, and 3 milliseconds in
duration.
Riegel Informational [Page 6]
^L
RFC 4197 PWE3 TDM Requirements October 2005
CCS (Common Channel Signaling)
CCS signaling uses a separate digital channel to carry
asynchronous messages pertaining to the state of telephony
applications over related TDM timeslots of a TDM trunk. This
channel may be physically situated in one or more adjacent
timeslots of the same TDM trunk (trunk associated CCS) or may be
transported over an entirely separate network.
CCS is typically HDLC-based, with idle codes or keep-alive
messages being sent until a signaling event (e.g., on-hook or
off-hook) occurs. Examples of HDLC-based CCS systems are SS7
[Q.700] and ISDN PRI signaling [Q.931].
Note: For the TDM network, we use the terms "jitter" and "wander" as
defined in [G.810] to describe short- and long-term variance of the
significant instants of the digital signal, while for the PSN we use
the term packet delay variation (PDV) (see [RFC3393]).
4. Reference Models
4.1. Generic PWE3 Models
Generic models that have been defined in [RFC3985] in sections
- 4.1 (Network Reference Model),
- 4.2 (PWE3 Pre-processing),
- 4.3 (Maintenance Reference Model),
- 4.4 (Protocol Stack Reference Model) and
- 4.5 (Pre-processing Extension to Protocol Stack Reference Model).
They are fully applicable for the purposes of this document without
modification.
All the services considered in this document represent special cases
of the Bit-stream and Structured bit-stream payload type defined in
Section 3.3 of [RFC3985].
4.2. Clock Recovery
Clock recovery is extraction of the transmission bit timing
information from the delivered packet stream. Extraction of this
information from a highly jittered source, such as a packet stream,
may be a complex task.
Riegel Informational [Page 7]
^L
RFC 4197 PWE3 TDM Requirements October 2005
4.3. Network Synchronization Reference Model
Figure 1 shows a generic network synchronization reference model.
+---------------+ +---------------+
| PE1 | | PE2 |
K | +--+ | | +--+ | G
| | | J| | | | H| | |
v | v | | | v | | v
+---+ | +-+ +-+ +-+ | +--+ +--+ | +-+ +-+ +-+ | +---+
| | | |P| |D| |P| | | | | | | |P| |E| |P| | | |
| |<===|h|<:|e|<:|h|<:::| |<::| |<:::|h|<:|n|<=|h|<===| |
| | | |y| |c| |y| | | | | | | |y| |c| |y| | | |
| C | | +-+ +-+ +-+ | | | | | | +-+ +-+ +-+ | | C |
| E | | | |S1| |S2| | | | E |
| 1 | | +-+ +-+ +-+ | | | | | | +-+ +-+ +-+ | | 2 |
| | | |P| |E| |P| | | | | | | |P| |D| |P| | | |
| |===>|h|=>|n|:>|h|:::>| |::>| |:::>|h|:>|e|=>|h|===>| |
| | | |y| |c| |y| | | | | | | |y| |c| |y| | | |
+---+ | +-+ +-+ +-+ | +--+ +--+ | +-+ +-+ +-+ | +---+
^ ^ | | ^ | | | ^ | ^ ^
| | | |B | |<------+------>| | | | | |
| A | +--+ | | | +--+-E | F |
| +---------------+ +-+ +---------------+ |
| ^ |I| ^ |
| | +-+ | |
| C D |
+-----------------------------L-----------------------------+
Figure 1: The Network Synchronization Reference Model
The following notation is used in Figure 1:
CE1, CE2
Customer edge devices terminating TDM circuits to be emulated.
PE1, PE2
Provider edge devices adapting these end services to PW.
S1, S2
Provider core routers.
Phy
Physical interface terminating the TDM circuit.
Enc
PSN-bound interface of the PW, where the encapsulation takes
place.
Riegel Informational [Page 8]
^L
RFC 4197 PWE3 TDM Requirements October 2005
Dec
CE-bound interface of the PW, where the decapsulation takes place.
It contains a compensation buffer (also known as the "jitter
buffer") of limited size.
"==>"
TDM attachment circuits.
"::>"
PW providing edge-to-edge emulation for the TDM circuit.
The characters "A" - "L" denote various clocks:
"A"
The clock used by CE1 for transmission of the TDM attachment
circuit towards CE1.
"B"
The clock recovered by PE1 from the incoming TDM attachment
circuit. "A" and "B" always have the same frequency.
"G"
The clock used by CE2 for transmission of the TDM attachment
circuit towards CE2.
"H"
The clock recovered by PE2 from the incoming TDM attachment
circuit. "G" and "H" always have the same frequency.
"C", "D"
Local oscillators available to PE1 and PE2, respectively.
"E"
Clock used by PE2 to transmit the TDM attachment service circuit
to CE2 (the recovered clock).
"F"
Clock recovered by CE2 from the incoming TDM attachment service
("E and "F" have the same frequency).
"I"
If the clock exists, it is the common network reference clock
available to PE1 and PE2.
"J"
Clock used by PE1 to transmit the TDM attachment service circuit
to CE1 (the recovered clock).
Riegel Informational [Page 9]
^L
RFC 4197 PWE3 TDM Requirements October 2005
"K"
Clock recovered by CE1 from the incoming TDM attachment service
("J" and "K" have the same frequency).
"L"
If it exists, it is the common reference clock of CE1 and CE2.
Note that different pairs of CE devices may use different common
reference clocks.
A requirement of edge-to-edge emulation of a TDM circuit is that
clock "B" and "E", as well as clock "H" and "J", are of the same
frequency. The most appropriate method will depend on the network
synchronization scheme.
The following groups of synchronization scenarios can be considered:
4.3.1. Synchronous Network Scenarios
Depending on which part of the network is synchronized by a common
clock, there are two scenarios:
o PE Synchronized Network:
Figure 2 is an adapted version of the generic network reference
model, and presents the PE synchronized network scenario.
The common network reference clock "I" is available to all the PE
devices, and local oscillators "C" and "D" are locked to "I":
* Clocks "E" and "J" are the same as "D" and "C", respectively.
* Clocks "A" and "G" are the same as "K" and "F", respectively
(i.e., CE1 and CE2 use loop timing).
Riegel Informational [Page 10]
^L
RFC 4197 PWE3 TDM Requirements October 2005
+-----+ +-----+
+-----+ | |- - -|=================|- - -| | +-----+
| /-- |<---------|............PW1..............|<---------| <-\ |
|| CE | | | PE1 | | PE2 | | |CE2 ||
| \-> |--------->|............PW2..............|--------->| --/ |
+-----+ | |- - -|=================|- - -| | +-----+
+-----+ +-----+
^ ^
|C |D
+-----------+-----------+
|
+-+
|I|
+-+
Figure 2: PE Synchronized Scenario
o CE Synchronized Network:
Figure 3 is an adapted version of the generic network reference
model, and presents the CE synchronized network scenario.
The common network reference clock "L" is available to all the CE
devices, and local oscillators "A" and "G" are locked to "L":
* Clocks "E" and "J" are the same as "G" and "A", respectively
(i.e., PE1 and PE2 use loop timing).
+-----+ +-----+
+-----+ | |- - -|=================|- - -| | +-----+
| |<---------|............PW1..............|<---------| |
| CE1 | | | PE1 | | PE2 | | | CE2 |
| |--------->|............PW2..............|--------->| |
+-----+ | |- - -|=================|- - -| | +-----+
^ +-----+ +-----+ ^
|A G|
+----------------------------+------------------------------+
|
+-+
|L|
+-+
Figure 3: CE Synchronized Scenario
No timing information has to be transferred in these cases.
Riegel Informational [Page 11]
^L
RFC 4197 PWE3 TDM Requirements October 2005
4.3.2. Relative Network Scenario
In this case, each CE uses its own transmission clock source that
must be carried across the PSN and recovered by the remote PE,
respectively. The common PE clock "I" can be used as reference for
this purpose.
Figure 4 shows the relative network scenario.
The common network reference clock "I" is available to all the PE
devices, and local oscillators "C" and "D" are locked to "I":
o Clocks "A" and "G" are generated locally without reference to a
common clock.
o Clocks "E" and "J" are generated in reference to a common clock
available at all PE devices.
In a slight modification of this scenario, one (but not both!) of the
CE devices may use its receive clock as its transmission clock (i.e.,
use loop timing).
|G
+-----+ +-----+ v
+-----+ | |- - -|=================|- - -| | +-----+
| |<---------|............PW1..............|<---------| |
| CE1 | | | PE1 | | PE2 | | | CE2 |
| |--------->|............PW2..............|--------->| |
+-----+ | |- - -|=================|- - -| | +-----+
^ +-----+<-------+------->+-----+
|A |
+-+
|I|
+-+
Figure 4: Relative Network Scenario Timing
In this case, timing information (the difference between the common
reference clock "I" and the incoming clock "A") MUST be explicitly
transferred from the ingress PE to the egress PE.
4.3.3. Adaptive Network Scenario
The adaptive scenario is characterized by:
o No common network reference clock "I" is available to PE1 and PE2.
o No common reference clock "L" is available to CE1 and CE2.
Riegel Informational [Page 12]
^L
RFC 4197 PWE3 TDM Requirements October 2005
Figure 5 presents the adaptive network scenario.
|J |G
v |
+-----+ +-----+ v
+-----+ | |- - -|=================|- - -| | +-----+
| |<---------|............PW1..............|<---------| |
| CE1 | | | PE1 | | PE2 | | | CE2 |
| |--------->|............PW2..............|--------->| |
+-----+ | |- - -|=================|- - -| | +-----+
^ +-----+ +-----+
| ^
A| E|
Figure 5: Adaptive Scenario
Synchronizing clocks "A" and "E" in this scenario is more difficult
than it is in the other scenarios.
Note that the tolerance between clocks "A" and "E" must be small
enough to ensure that the jitter buffer does not overflow or
underflow.
In this case, timing information MAY be explicitly transferred from
the ingress PE to the egress PE, e.g., by RTP.
5. Emulated Services
This section defines requirements for the payload and encapsulation
layers for edge-to-edge emulation of TDM services with bit-stream
payload as well as structured bit-stream payload.
Wherever possible, the requirements specified in this document SHOULD
be satisfied by appropriate arrangements of the encapsulation layer
only. The (rare) cases when the requirements apply to both the
encapsulation and payload layers (or even to the payload layer only)
will be explicitly noted.
The service-specific encapsulation layer for edge-to-edge emulation
comprises the following services over a PSN.
5.1. Structure-Agnostic Transport of Signals out of the PDH Hierarchy
Structure-agnostic transport is considered for the following signals:
o E1 as described in [G.704].
o T1 (DS1) as described in [G.704].
Riegel Informational [Page 13]
^L
RFC 4197 PWE3 TDM Requirements October 2005
o E3 as defined in [G.751].
o T3 (DS3) as described in [T1.107].
5.2. Structure-Aware Transport of Signals out of the PDH Hierarchy
Structure-aware transport is considered for the following signals:
o E1/T1 with one of the structures imposed by framing as described
in [G.704].
o NxDS0 with or without CAS.
5.3. Structure-Aware Transport of SONET/SDH Circuits
Structure-aware transport is considered for the following SONET/SDH
circuits:
o SONET STS-1 synchronous payload envelope (SPE)/SDH VC-3.
o SONET STS-Nc SPE (N = 3, 12, 48, 192) / SDH VC-4, VC-4-4c,
VC-4-16c, VC-4-64c.
o SONET VT-N (N = 1.5, 2, 3, 6) / SDH VC-11, VC-12, VC-2.
o SONET Nx VT-N / SDH Nx VC-11/VC-12/VC-2/VC-3.
Note: There is no requirement for the structure-agnostic transport of
SONET/SDH. For this case, it would seem that structure must be taken
into account.
6. Generic Requirements
6.1. Relevant Common PW Requirements
The encapsulation and payload layers MUST conform to the common PW
requirements defined in [RFC3916]:
1. Conveyance of Necessary Header Information:
A. For structure-agnostic transport, this functionality MAY be
provided by the payload layer.
B. For structure-aware transport, the necessary information MUST
be provided by the encapsulation layer.
Riegel Informational [Page 14]
^L
RFC 4197 PWE3 TDM Requirements October 2005
C. Structure-aware transport of SONET/SDH circuits MUST preserve
path overhead information as part of the payload. Relevant
components of the transport overhead MAY be carried in the
encapsulation layer.
2. Support of Multiplexing and Demultiplexing if supported by the
native services. This is relevant for Nx DS0 circuits (with or
without signaling) and Nx VT-x in a single STS-1 SPE or VC-4.:
A. For these circuits, the combination of encapsulation and
payload layers MUST provide for separate treatment of every
sub-circuit.
B. Enough information SHOULD be provided by the pseudo wire to
allow multiplexing and demultiplexing by the NSP. Reduction
of the complexity of the PW emulation by using NSP circuitry
for multiplexing and demultiplexing MAY be the preferred
solution.
3. Intervention or transparent transfer of Maintenance Messages of
the Native Services, depending on the particular scenario.
4. Consideration of Per-PSN Packet Overhead (see also Section 7.5
below).
5. Detection and handling of PW faults. The list of faults is given
in Section 7.9 below.
Fragmentation indications MAY be used for structure-aware transport
when the structures in question either exceed desired packetization
delay or exceed Path MTU between the pair of PEs.
The following requirement listed in [RFC3916] is not applicable to
emulation of TDM services:
o Support of variable length PDUs.
6.2. Common Circuit Payload Requirements
Structure-agnostic transport treats TDM circuits as belonging to the
'Bit-stream' payload type defined in [RFC3985].
Structure-aware transport treats these circuits as belonging to the
"Structured bit-stream" payload type defined in [RFC3985].
Accordingly, the encapsulation layer MUST provide the common
Sequencing service and SHOULD provide Timing information
(Synchronization services) when required (see Section 4.3 above).
Riegel Informational [Page 15]
^L
RFC 4197 PWE3 TDM Requirements October 2005
Note: Length service MAY be provided by the encapsulation layer, but
is not required.
6.3. General Design Issues
The combination of payload and encapsulation layers SHOULD comply
with the general design principles of the Internet protocols as
presented in Section 3 of [RFC1958] and [RFC3985].
If necessary, the payload layer MAY use some forms of adaptation of
the native TDM payload in order to achieve specific, well-documented
design objectives. In these cases, standard adaptation techniques
SHOULD be used.
7. Service-Specific Requirements
7.1. Connectivity
1. The emulation MUST support the transport of signals between
Attachment Circuits (ACs) of the same type (see Section 5) and,
wherever appropriate, bit-rate.
2. The encapsulation layer SHOULD remain unaffected by specific
characteristics of connection between the ACs and PE devices at
the two ends of the PW.
7.2. Network Synchronization
1. The encapsulation layer MUST provide synchronization services
that are sufficient to:
A. match the ingress and egress end service clocks regardless of
the specific network synchronization scenario, and
B. keep the jitter and wander of the egress service clock within
the service-specific limits defined by the appropriate
normative references.
2. If the same high-quality synchronization source is available to
all the PE devices in the given domain, the encapsulation layer
SHOULD be able to make use of it (e.g., for better reconstruction
of the native service clock).
7.3. Robustness
The robustness of the emulated service depends not only upon the
edge-to-edge emulation protocol, but also upon proper implementation
of the following procedures.
Riegel Informational [Page 16]
^L
RFC 4197 PWE3 TDM Requirements October 2005
7.3.1. Packet loss
Edge-to-edge emulation of TDM circuits MAY assume very low
probability of packet loss between ingress and egress PE. In
particular, no retransmission mechanisms are required.
In order to minimize the effect of lost packets on the egress
service, the encapsulation layer SHOULD:
1. Enable independent interpretation of TDM data in each packet by
the egress PE (see [RFC2736]). This requirement MAY be
disregarded if the egress PE needs to interpret structures that
exceed the path MTU between the ingress and egress PEs.
2. Allow reliable detection of lost packets (see next section). In
particular, it SHOULD allow estimation of the arrival time of the
next packet and detection of lost packets based on this estimate.
3. Minimize possible effect of lost packets on recovery of the
circuit clock by the egress PE.
4. Increase the resilience of the CE TDM interface to packet loss by
allowing the egress PE to substitute appropriate data.
7.3.2. Out-of-order delivery
The encapsulation layer MUST provide the necessary mechanisms to
guarantee ordered delivery of packets carrying the TDM data over the
PSN. Packets that have arrived out-of-order:
1. MUST be detected, and
2. SHOULD be reordered if not judged to be too late or too early for
playout.
Out-of-order packets that cannot be reordered MUST be treated as
lost.
7.4. CE Signaling
Unstructured TDM circuits would not usually require any special
mechanism for carrying CE signaling as this would be carried as part
of the emulated service.
Some CE applications using structured TDM circuits (e.g., telephony)
require specific signaling that conveys the changes of state of these
applications relative to the TDM data.
Riegel Informational [Page 17]
^L
RFC 4197 PWE3 TDM Requirements October 2005
The encapsulation layer SHOULD support signaling of state of CE
applications for the relevant circuits providing for:
1. Ability to support different signaling schemes with minimal
impact on encapsulation of TDM data,
2. Multiplexing of application-specific CE signals and data of the
emulated service in the same PW,
3. Synchronization (within the application-specific tolerance
limits) between CE signals and data at the PW egress,
4. Probabilistic recovery against possible, occasional loss of
packets in the PSN, and
5. Deterministic recovery of the CE application state after PW setup
and network outages.
CE signaling that is used for maintenance purposes (loopback
commands, performance monitoring data retrieval, etc.) SHOULD use the
generic PWE3 maintenance protocol.
7.5. PSN Bandwidth Utilization
1. The encapsulation layer SHOULD allow for an effective trade-off
between the following requirements:
A. Effective PSN bandwidth utilization. Assuming that the size
of the encapsulation layer header does not depend on the size
of its payload, an increase in the packet payload size
results in increased efficiency.
B. Low edge-to-edge latency. Low end-to-end latency is the
common requirement for Voice applications over TDM services.
Packetization latency is one of the components comprising
edge-to-edge latency, and it decreases with the packet
payload size.
The compensation buffer used by the CE-bound IWF increases
latency to the emulated circuit. Additional delays introduced by
this buffer SHOULD NOT exceed the packet delay variation observed
in the PSN.
2. The encapsulation layer MAY provide for saving PSN bandwidth by
not sending corrupted TDM data across the PSN.
Riegel Informational [Page 18]
^L
RFC 4197 PWE3 TDM Requirements October 2005
3. The encapsulation layer MAY provide the ability to save the PSN
bandwidth for the structure-aware case by not sending channels
that are permanently inactive.
4. The encapsulation layer MAY enable the dynamic suppression of
temporarily unused channels from transmission for the structure-
aware case.
If used, dynamic suppression of temporarily unused channels
MUST NOT violate the integrity of the structures delivered over
the PW.
5. For NxDS0, the encapsulation layer MUST provide the ability to
keep the edge-to-edge delay independent of the service rate.
7.6. Packet Delay Variation
The encapsulation layer SHOULD provide for the ability to compensate
for packet delay variation, while maintaining jitter and wander of
the egress end service clock with tolerances specified in the
normative references.
The encapsulation layer MAY provide for run-time adaptation of delay
introduced by the jitter buffer if the packet delay variation varies
with time. Such an adaptation MAY introduce a low level of errors
(within the limits tolerated by the application) but SHOULD NOT
introduce additional wander of the egress end service clock.
7.7. Compatibility with the Existing PSN Infrastructure
The combination of encapsulation and PSN tunnel layers used for edge-
to-edge emulation of TDM circuits SHOULD be compatible with existing
PSN infrastructures. In particular, compatibility with the
mechanisms of header compression over links where capacity is at a
premium SHOULD be provided.
7.8. Congestion Control
TDM circuits run at a constant rate, and hence offer constant traffic
loads to the PSN. The rate varying mechanism that TCP uses to match
the demand to the network congestion state is, therefore, not
applicable.
The ability to shut down a TDM PW when congestion has been detected
MUST be provided.
Riegel Informational [Page 19]
^L
RFC 4197 PWE3 TDM Requirements October 2005
Precautions should be taken to avoid situations wherein multiple TDM
PWs are simultaneously shut down or re-established, because this
leads to PSN instability.
Further congestion considerations are discussed in chapter 6.5 of
[RFC3985].
7.9. Fault Detection and Handling
The encapsulation layer for edge-to-edge emulation of TDM services
SHOULD, separately or in conjunction with the lower layers of the
PWE3 stack, provide for detection, handling, and reporting of the
following defects:
1. Misconnection, or Stray Packets. The importance of this
requirement stems from customer expectation due to reliable
misconnection detection in SONET/SDH networks.
2. Packet Loss. Packet loss detection is required to maintain clock
integrity, as discussed in Section 7.3.1 above. In addition,
packet loss detection mechanisms SHOULD provide for localization
of the outage in the end-to-end emulated service.
3. Malformed packets.
7.10. Performance Monitoring
The encapsulation layer for edge-to-edge emulation of TDM services
SHOULD provide for collection of performance monitoring (PM) data
that is compatible with the parameters defined for 'classic',
TDM-based carriers of these services. The applicability of [G.826]
is left for further study.
8. Security Considerations
The security considerations in [RFC3916] are fully applicable to the
emulation of TDM services. In addition, TDM services are sensitive
to packet delay variation [Section 7.6], and need to be protected
from this method of attack.
9. References
9.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
Riegel Informational [Page 20]
^L
RFC 4197 PWE3 TDM Requirements October 2005
9.2. Informative References
[RFC3916] Xiao, X., McPherson, D., and P. Pate, "Requirements for
Pseudo-Wire Emulation Edge-to-Edge (PWE3)", RFC 3916,
September 2004.
[RFC3985] Bryant, S. and P. Pate, "Pseudo Wire Emulation Edge-to-
Edge (PWE3) Architecture", RFC 3985, March 2005.
[G.702] ITU-T Recommendation G.702 (11/88) - Digital hierarchy
bit rates
[G.704] ITU-T Recommendation G.704 (10/98) - Synchronous frame
structures used at 1544, 6312, 2048, 8448 and 44 736
Kbit/s hierarchical levels
[G.706] ITU-T Recommendation G.706 (04/91) - Frame alignment and
cyclic redundancy check (CRC) procedures relating to
basic frame structures defined in Recommendation G.704
[G.707] ITU-T Recommendation G.707 (10/00) - Network node
interface for the synchronous digital hierarchy (SDH)
[G.751] ITU-T Recommendation G.751 (11/88) - Digital multiplex
equipments operating at the third order bit rate of 34
368 Kbit/s and the fourth order bit rate of 139 264
Kbit/s and using positive justification
[G.810] ITU-T Recommendation G.810 (08/96) - Definitions and
terminology for synchronization networks
[G.826] ITU-T Recommendation G.826 (02/99) - Error performance
parameters and objectives for international, constant
bit rate digital paths at or above the primary rate
[Q.700] ITU-T Recommendation Q.700 (03/93) - Introduction to
CCITT Signalling System No. 7
[Q.931] ITU-T Recommendation Q.931 (05/98) - ISDN user-network
interface layer 3 specification for basic call control
[RFC1958] Carpenter, B., "Architectural Principles of the
Internet", RFC 1958, June 1996.
[RFC2736] Handley, M. and C. Perkins, "Guidelines for Writers of
RTP Payload Format Specifications", BCP 36, RFC 2736,
December 1999.
Riegel Informational [Page 21]
^L
RFC 4197 PWE3 TDM Requirements October 2005
[RFC3393] Demichelis, C. and P. Chimento, "IP Packet Delay
Variation Metric for IP Performance Metrics (IPPM)", RFC
3393, November 2002.
[T1.105] ANSI T1.105 - 2001 Synchronous Optical Network (SONET) -
Basic Description including Multiplex Structure, Rates,
and Formats, May 2001
[T1.107] ANSI T1.107 - 1995. Digital Hierarchy - Format
Specification
[TR-NWT-170] Digital Cross Connect Systems - Generic Requirements and
Objectives, Bellcore, TR-NWT-170, January 1993
10. Contributors Section
The following have contributed to this document:
Sasha Vainshtein
Axerra Networks
EMail: sasha@axerra.com
Yaakov Stein
RAD Data Communication
EMail: yaakov_s@rad.com
Prayson Pate
Overture Networks, Inc.
EMail: prayson.pate@overturenetworks.com
Ron Cohen
Lycium Networks
EMail: ronc@lyciumnetworks.com
Tim Frost
Zarlink Semiconductor
EMail: tim.frost@zarlink.com
Riegel Informational [Page 22]
^L
RFC 4197 PWE3 TDM Requirements October 2005
Author's Address
Maximilian Riegel
Siemens AG
St-Martin-Str 76
Munich 81541
Germany
Phone: +49-89-636-75194
EMail: maximilian.riegel@siemens.com
Riegel Informational [Page 23]
^L
RFC 4197 PWE3 TDM Requirements October 2005
Full Copyright Statement
Copyright (C) The Internet Society (2005).
This document is subject to the rights, licenses and restrictions
contained in BCP 78, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at ietf-
ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Riegel Informational [Page 24]
^L
|