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
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
|
Internet Engineering Task Force (IETF) M. Aissaoui
Request for Comments: 6310 P. Busschbach
Category: Standards Track Alcatel-Lucent
ISSN: 2070-1721 L. Martini
M. Morrow
Cisco Systems, Inc.
T. Nadeau
CA Technologies
Y(J). Stein
RAD Data Communications
July 2011
Pseudowire (PW) Operations, Administration, and Maintenance (OAM)
Message Mapping
Abstract
This document specifies the mapping and notification of defect states
between a pseudowire (PW) and the Attachment Circuits (ACs) of the
end-to-end emulated service. It standardizes the behavior of
Provider Edges (PEs) with respect to PW and AC defects. It addresses
ATM, Frame Relay, Time Division Multiplexing (TDM), and Synchronous
Optical Network / Synchronous Digital Hierarchy (SONET/SDH) PW
services, carried over MPLS, MPLS/IP, and Layer 2 Tunneling Protocol
version 3/IP (L2TPv3/IP) Packet Switched Networks (PSNs).
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc6310.
Aissaoui, et al. Standards Track [Page 1]
^L
RFC 6310 PW OAM Message Mapping July 2011
Copyright Notice
Copyright (c) 2011 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
Aissaoui, et al. Standards Track [Page 2]
^L
RFC 6310 PW OAM Message Mapping July 2011
Table of Contents
1. Introduction ....................................................4
2. Abbreviations and Conventions ...................................5
2.1. Abbreviations ..............................................5
2.2. Conventions ................................................6
3. Reference Model and Defect Locations ............................7
4. Abstract Defect States ..........................................8
5. OAM Modes .......................................................9
6. PW Defect States and Defect Notifications ......................11
6.1. PW Defect Notification Mechanisms .........................11
6.1.1. LDP Status TLV .....................................13
6.1.2. L2TP Circuit Status AVP ............................14
6.1.3. BFD Diagnostic Codes ...............................16
6.2. PW Defect State Entry/Exit ................................18
6.2.1. PW Receive Defect State Entry/Exit Criteria ........18
6.2.2. PW Transmit Defect State Entry/Exit Criteria .......19
7. Procedures for ATM PW Service ..................................19
7.1. AC Receive Defect State Entry/Exit Criteria ...............19
7.2. AC Transmit Defect State Entry/Exit Criteria ..............20
7.3. Consequent Actions ........................................21
7.3.1. PW Receive Defect State Entry/Exit .................21
7.3.2. PW Transmit Defect State Entry/Exit ................21
7.3.3. PW Defect State in ATM Port Mode PW Service ........22
7.3.4. AC Receive Defect State Entry/Exit .................22
7.3.5. AC Transmit Defect State Entry/Exit ................23
8. Procedures for Frame Relay PW Service ..........................24
8.1. AC Receive Defect State Entry/Exit Criteria ...............24
8.2. AC Transmit Defect State Entry/Exit Criteria ..............24
8.3. Consequent Actions ........................................24
8.3.1. PW Receive Defect State Entry/Exit .................24
8.3.2. PW Transmit Defect State Entry/Exit ................25
8.3.3. PW Defect State in the FR Port Mode PW Service .....25
8.3.4. AC Receive Defect State Entry/Exit .................25
8.3.5. AC Transmit Defect State Entry/Exit ................26
9. Procedures for TDM PW Service ..................................26
9.1. AC Receive Defect State Entry/Exit Criteria ...............27
9.2. AC Transmit Defect State Entry/Exit Criteria ..............27
9.3. Consequent Actions ........................................27
9.3.1. PW Receive Defect State Entry/Exit .................27
9.3.2. PW Transmit Defect State Entry/Exit ................27
9.3.3. AC Receive Defect State Entry/Exit .................28
10. Procedures for CEP PW Service .................................28
10.1. Defect States ............................................29
10.1.1. PW Receive Defect State Entry/Exit ................29
10.1.2. PW Transmit Defect State Entry/Exit ...............29
10.1.3. AC Receive Defect State Entry/Exit ................29
10.1.4. AC Transmit Defect State Entry/Exit ...............30
Aissaoui, et al. Standards Track [Page 3]
^L
RFC 6310 PW OAM Message Mapping July 2011
10.2. Consequent Actions .......................................30
10.2.1. PW Receive Defect State Entry/Exit ................30
10.2.2. PW Transmit Defect State Entry/Exit ...............30
10.2.3. AC Receive Defect State Entry/Exit ................30
11. Security Considerations .......................................31
12. Contributors and Acknowledgments ..............................31
13. References ....................................................32
13.1. Normative References .....................................32
13.2. Informative References ...................................34
Appendix A. Native Service Management (Informative) ...............36
A.1. Frame Relay Management .....................................36
A.2. ATM Management .............................................37
Appendix B. PW Defects and Detection Tools ........................38
B.1. PW Defects .................................................38
B.2. Packet Loss ................................................38
B.3. PW Defect Detection Tools ..................................38
B.4. PW Specific Defect Detection Mechanisms ....................39
1. Introduction
This document specifies the mapping and notification of defect states
between a pseudowire and the Attachment Circuits (AC) of the end-to-
end emulated service. It covers the case where the ACs and the PWs
are of the same type in accordance to the Pseudowire Emulation Edge-
to-Edge (PWE3) architecture [RFC3985] such that a homogeneous PW
service can be constructed.
This document is motivated by the requirements put forth in [RFC4377]
and [RFC3916]. Its objective is to standardize the behavior of PEs
with respect to defects on PWs and ACs, so that there is no ambiguity
about the alarms generated and consequent actions undertaken by PEs
in response to specific failure conditions.
This document addresses PWs over MPLS, MPLS/IP, L2TPv3/IP PSNs, ATM,
Frame Relay, TDM, and SONET/SDH PW native services. Due to its
unique characteristics, the Ethernet PW service is covered in a
separate document [Eth-OAM-Inter].
This document provides procedures for PWs set up using Label
Distribution Protocol (LDP) [RFC4447] or L2TPv3 [RFC3931] control
protocols. While we mention fault reporting options for PWs
established by other means (e.g., by static configuration or via
BGP), we do not provide detailed procedures for such cases.
Aissaoui, et al. Standards Track [Page 4]
^L
RFC 6310 PW OAM Message Mapping July 2011
This document is scoped only to single segment PWs. The mechanisms
described in this document could also be applied to terminating PEs
(T-PEs) for multi-segment PWs (MS-PWs) ([RFC5254]). Section 10 of
[RFC6073] details procedures for generating or relaying PW status by
a switching PE (S-PE).
2. Abbreviations and Conventions
2.1. Abbreviations
AAL5 ATM Adaptation Layer 5
AIS Alarm Indication Signal
AC Attachment Circuit
ATM Asynchronous Transfer Mode
AVP Attribute Value Pair
BFD Bidirectional Forwarding Detection
CC Continuity Check
CDN Call Disconnect Notify
CE Customer Edge
CV Connectivity Verification
DBA Dynamic Bandwidth Allocation
DLC Data Link Connection
FDI Forward Defect Indication
FR Frame Relay
FRBS Frame Relay Bearer Service
ICMP Internet Control Message Protocol
LB Loopback
LCCE L2TP Control Connection Endpoint
LDP Label Distribution Protocol
LSP Label Switched Path
L2TP Layer 2 Tunneling Protocol
MPLS Multiprotocol Label Switching
NE Network Element
NS Native Service
OAM Operations, Administration, and Maintenance
PE Provider Edge
PSN Packet Switched Network
PW Pseudowire
RDI Reverse Defect Indication
PDU Protocol Data Unit
SDH Synchronous Digital Hierarchy
SDU Service Data Unit
SONET Synchronous Optical Network
TDM Time Division Multiplexing
TLV Type Length Value
VCC Virtual Channel Connection
VCCV Virtual Connection Connectivity Verification
VPC Virtual Path Connection
Aissaoui, et al. Standards Track [Page 5]
^L
RFC 6310 PW OAM Message Mapping July 2011
2.2. Conventions
The words "defect" and "fault" are used interchangeably to mean any
condition that negatively impacts forwarding of user traffic between
the CE endpoints of the PW service.
The words "defect notification" and "defect indication" are used
interchangeably to mean any OAM message generated by a PE and sent to
other nodes in the network to convey the defect state local to this
PE.
The PW can be carried over three types of Packet Switched Networks
(PSNs). An "MPLS PSN" makes use of MPLS Label Switched Paths
[RFC3031] as the tunneling technology to forward the PW packets. An
"MPLS/IP PSN" makes use of MPLS-in-IP tunneling [RFC4023], with an
MPLS shim header used as PW demultiplexer. An "L2TPv3/IP PSN" makes
use of L2TPv3/IP [RFC3931] as the tunneling technology with the
L2TPv3/IP Session ID as the PW demultiplexer.
If LSP-Ping [RFC4379] is run over a PW as described in [RFC5085], it
will be referred to as "VCCV-Ping". If BFD is run over a PW as
described in [RFC5885], it will be referred to as "VCCV-BFD".
While PWs are inherently bidirectional entities, defects and OAM
messaging are related to a specific traffic direction. We use the
terms "upstream" and "downstream" to identify PEs in relation to the
traffic direction. A PE is upstream for the traffic it is forwarding
and is downstream for the traffic it is receiving.
We use the terms "local" and "remote" to identify native service
networks and ACs in relation to a specific PE. The local AC is
attached to the PE in question, while the remote AC is attached to
the PE at the other end of the PW.
A "transmit defect" is any defect that uniquely impacts traffic sent
or relayed by the observing PE. A "receive defect" is any defect
that impacts information transfer to the observing PE. Note that a
receive defect also impacts traffic meant to be relayed, and thus can
be considered to incorporate two defect states. Thus, when a PE
enters both receive and transmit defect states of a PW service, the
receive defect takes precedence over the transmit defect in terms of
the consequent actions.
A "forward defect indication" (FDI) is sent in the same direction as
the user traffic impacted by the defect. A "reverse defect
indication" (RDI) is sent in the direction opposite to that of the
impacted traffic.
Aissaoui, et al. Standards Track [Page 6]
^L
RFC 6310 PW OAM Message Mapping July 2011
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].
3. Reference Model and Defect Locations
Figure 1 illustrates the PWE3 network reference model with an
indication of the possible defect locations. This model will be
referenced in the remainder of this document for describing the OAM
procedures.
ACs PSN tunnel ACs
+----+ +----+
+----+ | PE1|==================| PE2| +----+
| |---(a)---(b)..(c)......PW1..(d)..(e)..(f)---(g)---| |
| CE1| (N1) | | | | (N2) |CE2 |
| |----------|............PW2.............|----------| |
+----+ | |==================| | +----+
^ +----+ +----+ ^
| Provider Edge 1 Provider Edge 2 |
| |
|<-------------- Emulated Service ---------------->|
Customer Customer
Edge 1 Edge 2
Figure 1: PWE3 Network Defect Locations
The procedures will be described in this document from the viewpoint
of PE1, so that N1 is the local native service network and N2 is the
remote native service network. PE2 will typically implement the same
functionality. Note that PE1 is the upstream PE for traffic
originating in the local NS network N1, while it is the downstream PE
for traffic originating in the remote NS network N2.
The following is a brief description of the defect locations:
a. Defect in NS network N1. This covers any defect in network N1
(including any CE1 defect) that impacts all or some ACs attached
to PE1, and is thus a local AC defect. The defect is conveyed to
PE1 and to NS network N2 using NS specific OAM defect indications.
b. Defect on a PE1 AC interface (another local AC defect).
c. Defect on a PE1 PSN interface.
d. Defect in the PSN network. This covers any defect in the PSN that
impacts all or some PWs between PE1 and PE2. The defect is
conveyed to the PE using a PSN and/or a PW specific OAM defect
Aissaoui, et al. Standards Track [Page 7]
^L
RFC 6310 PW OAM Message Mapping July 2011
indication. Note that both data plane defects and control plane
defects must be taken into consideration. Although control
messages may follow a different path than PW data plane traffic, a
control plane defect may affect the PW status.
e. Defect on a PE2 PSN interface.
f. Defect on a PE2 AC interface (a remote AC defect).
g. Defect in NS network N2 (another remote AC defect). This covers
any defect in N2 (including any CE2 defect) that impacts all or a
subset of ACs attached to PE2. The defect is conveyed to PE2 and
to NS network N1 using the NS OAM defect indication.
4. Abstract Defect States
PE1 must track four defect states that reflect the observed states of
both directions of the PW service on both the AC and the PW sides.
Defects may impact one or both directions of the PW service.
The observed state is a combination of defects directly detected by
PE1 and defects of which it has been made aware via notifications.
+-----+
----AC receive---->| |-----PW transmit---->
CE1 | PE1 | PE2/CE2
<---AC transmit----| |<----PW receive-----
+-----+
(arrows indicate direction of user traffic impacted by a defect)
Figure 2: Receive and Transmit Defect States
PE1 will directly detect or be notified of AC receive or PW receive
defects as they occur upstream of PE1 and impact traffic being sent
to PE1. As a result, PE1 enters the AC or PW receive defect state.
In Figure 2, PE1 may be notified of a receive defect in the AC by
receiving a forward defect indication, e.g., ATM AIS, from CE1 or an
intervening network. This defect notification indicates that user
traffic sent by CE1 may not be received by PE1 due to a defect. PE1
can also directly detect an AC receive defect if it resulted from a
failure of the receive side in the local port or link over which the
AC is configured.
Similarly, PE1 may detect or be notified of a receive defect in the
PW by receiving a forward defect indication from PE2. If the PW
status TLV is used for fault notification, this message will indicate
a Local PSN-facing PW (egress) Transmit Fault or a Local AC (ingress)
Aissaoui, et al. Standards Track [Page 8]
^L
RFC 6310 PW OAM Message Mapping July 2011
Receive Fault at PE2, as described in Section 6.1.1. This defect
notification indicates that user traffic sent by CE2 may not be
received by PE1 due to a defect. As a result, PE1 enters the PW
receive defect state.
Note that a forward defect indication is sent in the same direction
as the user traffic impacted by the defect.
Generally, a PE cannot detect transmit defects by itself and will
therefore need to be notified of AC transmit or PW transmit defects
by other devices.
In Figure 2, PE1 may be notified of a transmit defect in the AC by
receiving a reverse defect indication, e.g., ATM RDI, from CE1. This
defect relates to the traffic sent by PE1 to CE1 on the AC.
Similarly, PE1 may be notified of a transmit defect in the PW by
receiving a reverse defect indication from PE2. If PW status is used
for fault notification, this message will indicate a Local PSN-
facing PW (ingress) Receive Fault or a Local Attachment Circuit
(egress) Transmit Fault at PE2, as described in Section 6.1.1. This
defect impacts the traffic sent by PE1 to CE2. As a result, PE1
enters the PW transmit defect state.
Note that a reverse defect indication is sent in the reverse
direction to the user traffic impacted by the defect.
The procedures outlined in this document define the entry and exit
criteria for each of the four states with respect to the set of PW
services within the document scope and the consequent actions that
PE1 must perform.
When a PE enters both receive and transmit defect states related to
the same PW service, then the receive defect takes precedence over
transmit defect in terms of the consequent actions.
5. OAM Modes
A homogeneous PW service forwards packets between an AC and a PW of
the same type. It thus implements both NS OAM and PW OAM mechanisms.
PW OAM defect notification messages are described in Section 6.1. NS
OAM messages are described in Appendix A.
This document defines two different OAM modes, the distinction being
the method of mapping between the NS and PW OAM defect notification
messages.
Aissaoui, et al. Standards Track [Page 9]
^L
RFC 6310 PW OAM Message Mapping July 2011
The first mode, illustrated in Figure 3, is called the "single
emulated OAM loop" mode. Here, a single end-to-end NS OAM loop is
emulated by transparently passing NS OAM messages over the PW. Note
that the PW OAM is shown outside the PW in Figure 3, as it is
transported in LDP messages or in the associated channel, not inside
the PW itself.
+-----+ +-----+
+-----+ | |=================| | +-----+
| CE1 |-=NS-OAM=>| PE1 |----=NS-OAM=>----| PE2 |-=NS-OAM=>| CE2 |
+-----+ | |=================| | +-----+
+-----+ +-----+
\ /
-------=PW-OAM=>-------
Figure 3: Single Emulated OAM Loop Mode
The single emulated OAM loop mode implements the following behavior:
a. The upstream PE (PE1) MUST transparently relay NS OAM messages
over the PW.
b. The upstream PE MUST signal local defects affecting the AC using a
NS defect notification message sent over the PW. In the case that
it is not possible to generate NS OAM messages (e.g., because the
defect interferes with NS OAM message generation), the PE MUST
signal local defects affecting the AC using a PW defect
notification message.
c. The upstream PE MUST signal local defects affecting the PW using a
PW defect notification message.
d. The downstream PE (PE2) MUST insert NS defect notification
messages into its local AC when it detects or is notified of a
defect in the PW or remote AC. This includes translating received
PW defect notification messages into NS defect notification
messages for defects signaled by the upstream PE.
The single emulated OAM loop mode is suitable for PW services that
have a widely deployed NS OAM mechanism. This document specifies the
use of this mode for ATM PW, TDM PW, and Circuit Emulation over
Packet (CEP) PW services. It is the default mode of operation for
all ATM cell mode PW services and the only mode specified for CEP and
Structure-Agnostic TDM over Packets / Circuit Emulation Service over
Packet Switched Network (SAToP/CESoPSN) TDM PW services. It is
optional for AAL5 PDU transport and AAL5 SDU transport modes.
Aissaoui, et al. Standards Track [Page 10]
^L
RFC 6310 PW OAM Message Mapping July 2011
The second OAM mode operates three OAM loops joined at the AC/PW
boundaries of the PEs. This is referred to as the "coupled OAM
loops" mode and is illustrated in Figure 4. Note that in contrast to
Figure 3, NS OAM messages are never carried over the PW.
+-----+ +-----+
+-----+ | |=================| | +-----+
| CE1 |-=NS-OAM=>| PE1 | | PE2 |-=NS-OAM=>| CE2 |
+-----+ | |=================| | +-----+
+-----+ +-----+
\ /
-------=PW-OAM=>-------
Figure 4: Coupled OAM Loops Mode
The coupled OAM loops mode implements the following behavior:
a. The upstream PE (PE1) MUST terminate and translate a received NS
defect notification message into a PW defect notification message.
b. The upstream PE MUST signal local failures affecting its local AC
using PW defect notification messages to the downstream PE.
c. The upstream PE MUST signal local failures affecting the PW using
PW defect notification messages.
d. The downstream PE (PE2) MUST insert NS defect notification
messages into the AC when it detects or is notified of defects in
the PW or remote AC. This includes translating received PW defect
notification messages into NS defect notification messages.
This document specifies the coupled OAM loops mode as the default
mode for the Frame Relay, ATM AAL5 PDU transport, and AAL5 SDU
transport services. It is an optional mode for ATM VCC cell mode
services. This mode is not specified for TDM, CEP, or ATM VPC cell
mode PW services. RFC 5087 defines a similar but distinct mode, as
will be explained in Section 9. For the ATM VPC cell mode case a
pure coupled OAM loops mode is not possible as a PE MUST
transparently pass VC-level (F5) ATM OAM cells over the PW while
terminating and translating VP-level (F4) OAM cells.
6. PW Defect States and Defect Notifications
6.1. PW Defect Notification Mechanisms
For MPLS and MPLS/IP PSNs, a PE that establishes a PW using the Label
Distribution Protocol [RFC5036], and that has negotiated use of the
LDP status TLV per Section 5.4.3 of [RFC4447], MUST use the PW status
Aissaoui, et al. Standards Track [Page 11]
^L
RFC 6310 PW OAM Message Mapping July 2011
TLV mechanism for AC and PW status and defect notification.
Additionally, such a PE MAY use VCCV-BFD Connectivity Verification
(CV) for fault detection only (CV types 0x04 and 0x10 [RFC5885]).
A PE that establishes an MPLS PW using means other than LDP, e.g., by
static configuration or by use of BGP, MUST support some alternative
method of status reporting. The design of a suitable mechanism to
carry the aforementioned status TLV in the PW associated channel is
work in progress [Static-PW-Status]. Additionally, such a PE MAY use
VCCV-BFD CV for both fault detection and status notification (CV
types 0x08 and 0x20 [RFC5885]).
For a L2TPv3/IP PSN, a PE SHOULD use the Circuit Status Attribute
Value Pair (AVP) as the mechanism for AC and PW status and defect
notification. In its most basic form, the Circuit Status AVP
[RFC3931] in a Set-Link-Info (SLI) message can signal active/inactive
AC status. The Circuit Status AVP as described in [RFC5641] is
proposed to be extended to convey status and defects in the AC and
the PSN-facing PW in both ingress and egress directions, i.e., four
independent status bits, without the need to tear down the sessions
or control connection.
When a PE does not support the Circuit Status AVP, it MAY use the
Stop-Control-Connection-Notification (StopCCN) and the Call-
Disconnect-Notify (CDN) messages to tear down L2TP sessions in a
fashion similar to LDP's use of Label Withdrawal to tear down a PW.
A PE may use the StopCCN to shut down the L2TP control connection,
and implicitly all L2TP sessions associated with that control
connection, without any explicit session control messages. This is
useful for the case of a failure which impacts all L2TP sessions (all
PWs) managed by the control connection. It MAY use CDN to disconnect
a specific L2TP session when a failure only affects a specific PW.
Additionally, a PE MAY use VCCV-BFD CV types 0x04 and 0x10 for fault
detection only, but SHOULD notify the remote PE using the Circuit
Status AVP. A PE that establishes a PW using means other than the
L2TP control plane, e.g., by static configuration or by use of BGP,
MAY use VCCV-BFD CV types 0x08 and 0x20 for AC and PW status and
defect notification. These CV types SHOULD NOT be used when the PW
is established via the L2TP control plane.
The CV types are defined in Section 6.1.3 of this document.
Aissaoui, et al. Standards Track [Page 12]
^L
RFC 6310 PW OAM Message Mapping July 2011
6.1.1. LDP Status TLV
[RFC4446] defines the following PW status code points:
0x00000000 - Pseudowire forwarding (clear all failures)
0x00000001 - Pseudowire Not Forwarding
0x00000002 - Local Attachment Circuit (ingress) Receive Fault
0x00000004 - Local Attachment Circuit (egress) Transmit Fault
0x00000008 - Local PSN-facing PW (ingress) Receive Fault
0x00000010 - Local PSN-facing PW (egress) Transmit Fault
[RFC4447] specifies that the "Pseudowire forwarding" code point is
used to indicate that all faults are to be cleared. It also
specifies that the "Pseudowire Not Forwarding" code point means that
a defect has been detected that is not represented by the defined
code points.
The code points used in the LDP status TLV in a PW status
notification message report defects from the viewpoint of the
originating PE. The originating PE conveys this state in the form of
a forward defect or a reverse defect indication.
The forward and reverse defect indication definitions used in this
document map to the LDP Status TLV codes as follows:
Forward defect indication corresponds to the logical OR of:
* Local Attachment Circuit (ingress) Receive Fault,
* Local PSN-facing PW (egress) Transmit Fault, and
* PW Not Forwarding.
Reverse defect indication corresponds to the logical OR of:
* Local Attachment Circuit (egress) Transmit Fault and
* Local PSN-facing PW (ingress) Receive Fault.
Aissaoui, et al. Standards Track [Page 13]
^L
RFC 6310 PW OAM Message Mapping July 2011
A PE MUST use PW status notification messages to report all defects
affecting the PW service including, but not restricted to, the
following:
o defects detected through fault detection mechanisms in the MPLS
and MPLS/IP PSN,
o defects detected through VCCV-Ping or VCCV-BFD CV types 0x04 and
0x10 for fault detection only,
o defects within the PE that result in an inability to forward
traffic between the AC and the PW,
o defects of the AC or in the Layer 2 network affecting the AC as
per the rules detailed in Section 5 for the "single emulated OAM
loop" mode and "coupled OAM loops" modes.
Note that there are two situations that require PW label withdrawal
as opposed to a PW status notification by the PE. The first one is
when the PW is taken down administratively in accordance with
[RFC4447]. The second one is when the Target LDP session established
between the two PEs is lost. In the latter case, the PW labels will
need to be re-signaled when the Targeted LDP session is re-
established.
6.1.2. L2TP Circuit Status AVP
[RFC3931] defines the Circuit Status AVP in the Set-Link-Info (SLI)
message to exchange initial status and status changes in the circuit
to which the pseudowire is bound. [RFC5641] defines extensions to
the Circuit Status AVP that are analogous to the PW Status TLV
defined for LDP. Consequently, for L2TPv3/IP, the Circuit Status AVP
is used in the same fashion as the PW Status described in the
previous section. Extended circuit status for L2TPv3/IP is described
in [RFC5641].
If the extended Circuit Status bits are not supported, and instead
only the "A bit" (Active) is used as described in [RFC3931], a PE MAY
use CDN messages to clear L2TPv3/IP sessions in the presence of
session-level failures detected in the L2TPv3/IP PSN.
A PE MUST set the Active bit in the Circuit Status to clear all
faults, and it MUST clear the Active bit in the Circuit Status to
convey any defect that cannot be represented explicitly with specific
Circuit Status flags from [RFC3931] or [RFC5641].
Aissaoui, et al. Standards Track [Page 14]
^L
RFC 6310 PW OAM Message Mapping July 2011
The forward and reverse defect indication definitions used in this
document map to the L2TP Circuit Status AVP as follows:
Forward defect indication corresponds to the logical OR of:
* Local Attachment Circuit (ingress) Receive Fault,
* Local PSN-facing PW (egress) Transmit Fault, and
* PW Not Forwarding.
Reverse defect indication corresponds to the logical OR of:
* Local Attachment Circuit (egress) Transmit Fault and
* Local PSN-facing PW (ingress) Receive Fault.
The status notification conveys defects from the viewpoint of the
originating LCCE (PE).
When the extended Circuit Status definition of [RFC5641] is
supported, a PE SHALL use the Circuit Status to report all failures
affecting the PW service including, but not restricted to, the
following:
o defects detected through defect detection mechanisms in the
L2TPv3/IP PSN,
o defects detected through VCCV-Ping or VCCV-BFD CV types 0x04 (BFD
IP/UDP-encapsulated, for PW Fault Detection only) and 0x10 (BFD
PW-ACH-encapsulated (without IP/UDP headers), for PW. Fault
Detection and AC/PW Fault Status Signaling) for fault detection
only which are described in Section 6.1.3 of this document,
o defects within the PE that result in an inability to forward
traffic between the AC and the PW,
o defects of the AC or in the L2 network affecting the AC as per the
rules detailed in Section 5 for the "single emulated OAM loop"
mode and the "coupled OAM loops" modes.
When the extended Circuit Status definition of [RFC5641] is not
supported, a PE SHALL use the A bit in the Circuit Status AVP in the
SLI to report:
o defects of the AC or in the L2 network affecting the AC as per the
rules detailed in Section 5 for the "single emulated OAM loop"
mode and the "coupled OAM loops" modes.
Aissaoui, et al. Standards Track [Page 15]
^L
RFC 6310 PW OAM Message Mapping July 2011
When the extended Circuit Status definition of [RFC5641] is not
supported, a PE MAY use the CDN and StopCCN messages in a similar way
to an MPLS PW label withdrawal to report:
o defects detected through defect detection mechanisms in the
L2TPv3/IP PSN (using StopCCN),
o defects detected through VCCV (pseudowire level) (using CDN),
o defects within the PE that result in an inability to forward
traffic between ACs and PW (using CDN).
For ATM L2TPv3/IP pseudowires, in addition to the Circuit Status AVP,
a PE MAY use the ATM Alarm Status AVP [RFC4454] to indicate the
reason for the ATM circuit status and the specific alarm type, if
any. This AVP is sent in the SLI message to indicate additional
information about the ATM circuit status.
L2TP control connections use Hello messages as a keep-alive facility.
It is important to note that if PSN failure is detected by keep-alive
timeout, the control connection is cleared. L2TP Hello messages are
sent in-band so as to follow the data plane with respect to the
source and destination addresses, IP protocol number, and UDP port
(when UDP is used).
6.1.3. BFD Diagnostic Codes
BFD [RFC5880] defines a set of diagnostic codes that partially
overlap the set of defects that can be communicated through LDP
Status TLV or L2TP Circuit Status AVP. This section describes the
behavior of the PEs with respect to using one or both of these
methods for detecting and propagating defect state.
In the case of an MPLS PW established via LDP signaling, the PEs
negotiate VCCV capabilities during the label mapping messages
exchange used to establish the two directions of the PW. This is
achieved by including a capability TLV in the PW Forward Error
Correction (FEC) interface parameters TLV. In the L2TPv3/IP case,
the PEs negotiate the use of VCCV during the pseudowire session
initialization using the VCCV AVP [RFC5085].
The CV Type Indicators field in the OAM capability TLV or VCCV AVP
defines a bitmask used to indicate the specific OAM capabilities that
the PE can use over the PW being established.
Aissaoui, et al. Standards Track [Page 16]
^L
RFC 6310 PW OAM Message Mapping July 2011
A CV type of 0x04 or 0x10 [RFC5885] indicates that BFD is used for PW
fault detection only. These CV types MAY be used any time the PW is
established using LDP or L2TP control planes. In this mode, only the
following diagnostic (Diag) codes specified in [RFC5880] will be
used:
0 - No diagnostic
1 - Control detection time expired
3 - Neighbor signaled session down
7 - Administratively Down
A PE using VCCV-BFD MUST use diagnostic code 0 to indicate to its
peer PE that it is correctly receiving BFD control messages. It MUST
use diagnostic code 1 to indicate to its peer that it has stopped
receiving BFD control messages and will thus declare the PW to be
down in the receive direction. It MUST use diagnostic code 3 to
confirm to its peer that the BFD session is going down after
receiving diagnostic code 1 from this peer. In this case, it will
declare the PW to be down in the transmit direction. A PE MUST use
diagnostic code 7 to bring down the BFD session when the PW is
brought down administratively. All other defects, such as AC/PW
defects and PE internal failures that prevent it from forwarding
traffic, MUST be communicated through the LDP Status TLV in the case
of MPLS or MPLS/IP PSN, or through the appropriate L2TP codes in the
Circuit Status AVP in the case of L2TPv3/IP PSN.
A CV type of 0x08 or 0x20 in the OAM capabilities TLV indicates that
BFD is used for both PW fault detection and Fault Notification. In
addition to the above diagnostic codes, a PE uses the following codes
to signal AC defects and other defects impacting forwarding over the
PW service:
6 - Concatenated Path Down
8 - Reverse Concatenated Path Down
As specified in [RFC5085], the PEs negotiate the use of VCCV during
PW setup. When a PW transported over an MPLS-PSN is established
using LDP, the PEs negotiate the use of the VCCV capabilities using
the optional VCCV Capability Advertisement Sub-TLV parameter in the
Interface Parameter Sub-TLV field of the LDP PW ID FEC or using an
Interface Parameters TLV of the LDP Generalized PW ID FEC. In the
case of L2TPv3/IP PSNs, the PEs negotiate the use of VCCV during the
pseudowire session initialization using VCCV AVP.
Aissaoui, et al. Standards Track [Page 17]
^L
RFC 6310 PW OAM Message Mapping July 2011
Note that a defect that causes the generation of the "PW not
forwarding code" (diagnostic code 6 or 8) does not necessarily result
in the BFD session going down. However, if the BFD session times
out, then diagnostic code 1 MUST be used since it signals a state
change of the BFD session itself. In general, when a BFD session
changes state, the PEs MUST use state change diagnostic codes 0, 1,
3, and 7 in accordance with [RFC5880], and they MUST override any of
the AC/PW status diagnostic codes (codes 6 or 8) that may have been
signaled prior to the BFD session changing state.
The forward and reverse defect indications used in this document map
to the following BFD codes:
Forward defect indication corresponds to the logical OR of:
* Concatenated Path Down (BFD diagnostic code 06)
* Pseudowire Not Forwarding (PW status code 0x00000001).
Reverse defect indication corresponds to:
* Reverse Concatenated Path Down (BFD diagnostic code 08).
These diagnostic codes are used to signal forward and reverse defect
states, respectively, when the PEs negotiated the use of BFD as the
mechanism for AC and PW fault detection and status signaling
notification. As stated in Section 6.1, these CV types SHOULD NOT be
used when the PW is established with the LDP or L2TP control plane.
6.2. PW Defect State Entry/Exit
6.2.1. PW Receive Defect State Entry/Exit Criteria
PE1, as downstream PE, will enter the PW receive defect state if one
or more of the following occurs:
o It receives a forward defect indication (FDI) from PE2 indicating
either a receive defect on the remote AC or that PE2 detected or
was notified of downstream PW fault.
o It detects loss of connectivity on the PSN tunnel upstream of PE1,
which affects the traffic it receives from PE2.
o It detects a loss of PW connectivity through VCCV-BFD or VCCV-
PING, which affects the traffic it receives from PE2.
Aissaoui, et al. Standards Track [Page 18]
^L
RFC 6310 PW OAM Message Mapping July 2011
Note that if the PW control session (LDP session, the L2TP session,
or the L2TP control connection) between the PEs fails, the PW is torn
down and needs to be re-established. However, the consequent actions
towards the ACs are the same as if the PW entered the receive defect
state.
PE1 will exit the PW receive defect state when the following
conditions are met. Note that this may result in a transition to the
PW operational state or the PW transmit defect state.
o All previously detected defects have disappeared, and
o PE2 cleared the FDI, if applicable.
6.2.2. PW Transmit Defect State Entry/Exit Criteria
PE1, as upstream PE, will enter the PW transmit defect state if the
following conditions occur:
o It receives a Reverse Defect Indication (RDI) from PE2 indicating
either a transmit fault on the remote AC or that PE2 detected or
was notified of a upstream PW fault, and
o it is not already in the PW receive defect state.
PE1 will exit the transmit defect state if it receives an OAM message
from PE2 clearing the RDI, or it has entered the PW receive defect
state.
For a PW over L2TPv3/IP using the basic Circuit Status AVP [RFC3931],
the PW transmit defect state is not valid and a PE can only enter the
PW receive defect state.
7. Procedures for ATM PW Service
The following procedures apply to Asynchronous Transfer Mode (ATM)
pseudowires [RFC4717]. ATM terminology is explained in Appendix A.2
of this document.
7.1. AC Receive Defect State Entry/Exit Criteria
When operating in the coupled OAM loops mode, PE1 enters the AC
receive defect state when any of the following conditions are met:
a. It detects or is notified of a physical layer fault on the ATM
interface.
Aissaoui, et al. Standards Track [Page 19]
^L
RFC 6310 PW OAM Message Mapping July 2011
b. It receives an end-to-end Flow 4 OAM (F4) Alarm Indication Signal
(AIS) OAM flow on a Virtual Path (VP) AC or an end-to-end Flow 5
(F5) AIS OAM flow on a Virtual Circuit (VC) as per ITU-T
Recommendation I.610 [I.610], indicating that the ATM VPC or VCC
is down in the adjacent Layer 2 ATM network.
c. It receives a segment F4 AIS OAM flow on a VP AC, or a segment F5
AIS OAM flow on a VC AC, provided that the operator has
provisioned segment OAM and the PE is not a segment endpoint.
d. It detects loss of connectivity on the ATM VPC/VCC while
terminating segment or end-to-end ATM continuity check (ATM CC)
cells with the local ATM network and CE.
When operating in the coupled OAM loops mode, PE1 exits the AC
receive defect state when all previously detected defects have
disappeared.
When operating in the single emulated OAM loop mode, PE1 enters the
AC receive defect state if any of the following conditions are met:
a. It detects or is notified of a physical layer fault on the ATM
interface.
b. It detects loss of connectivity on the ATM VPC/VCC while
terminating segment ATM continuity check (ATM CC) cells with the
local ATM network and CE.
When operating in the single emulated OAM loop mode, PE1 exits the AC
receive defect state when all previously detected defects have
disappeared.
The exact conditions under which a PE enters and exits the AIS state,
or declares that connectivity is restored via ATM CC, are defined in
Section 9.2 of [I.610].
7.2. AC Transmit Defect State Entry/Exit Criteria
When operating in the coupled OAM loops mode, PE1 enters the AC
transmit defect state if any of the following conditions are met:
a. It terminates an end-to-end F4 RDI OAM flow, in the case of a VPC,
or an end-to-end F5 RDI OAM flow, in the case of a VCC, indicating
that the ATM VPC or VCC is down in the adjacent L2 ATM.
b. It receives a segment F4 RDI OAM flow on a VP AC, or a segment F5
RDI OAM flow on a VC AC, provided that the operator has
provisioned segment OAM and the PE is not a segment endpoint.
Aissaoui, et al. Standards Track [Page 20]
^L
RFC 6310 PW OAM Message Mapping July 2011
PE1 exits the AC transmit defect state if the AC state transitions to
working or to the AC receive defect state. The exact conditions for
exiting the RDI state are described in Section 9.2 of [I.610].
Note that the AC transmit defect state is not valid when operating in
the single emulated OAM loop mode, as PE1 transparently forwards the
received RDI cells as user cells over the ATM PW to the remote CE.
7.3. Consequent Actions
In the remainder of this section, the text refers to AIS, RDI, and CC
without specifying whether there is an F4 (VP-level) flow or an F5
(VC-level) flow, or whether it is an end-to-end or a segment flow.
Precise ATM OAM procedures for each type of flow are specified in
Section 9.2 of [I.610].
7.3.1. PW Receive Defect State Entry/Exit
On entry to the PW receive defect state:
a. PE1 MUST commence AIS insertion into the corresponding AC.
b. PE1 MUST cease generation of CC cells on the corresponding AC, if
applicable.
c. If the PW defect was detected by PE1 without receiving FDI from
PE2, PE1 MUST assume PE2 has no knowledge of the defect and MUST
notify PE2 by sending RDI.
On exit from the PW receive defect state:
a. PE1 MUST cease AIS insertion into the corresponding AC.
b. PE1 MUST resume any CC cell generation on the corresponding AC, if
applicable.
c. PE1 MUST clear the RDI to PE2, if applicable.
7.3.2. PW Transmit Defect State Entry/Exit
On entry to the PW Transmit Defect State:
a. PE1 MUST commence RDI insertion into the corresponding AC.
b. If the PW failure was detected by PE1 without receiving RDI from
PE2, PE1 MUST assume PE2 has no knowledge of the defect and MUST
notify PE2 by sending FDI.
Aissaoui, et al. Standards Track [Page 21]
^L
RFC 6310 PW OAM Message Mapping July 2011
On exit from the PW Transmit Defect State:
a. PE1 MUST cease RDI insertion into the corresponding AC.
b. PE1 MUST clear the FDI to PE2, if applicable.
7.3.3. PW Defect State in ATM Port Mode PW Service
In case of transparent cell transport PW service, i.e., "port mode",
where the PE does not keep track of the status of individual ATM VPCs
or VCCs, a PE cannot relay PW defect state over these VCCs and VPCs.
If ATM CC is run on the VCCs and VPCs end-to-end (CE1 to CE2), or on
a segment originating and terminating in the ATM network and spanning
the PSN network, it will time out and cause the CE or ATM switch to
enter the ATM AIS state.
7.3.4. AC Receive Defect State Entry/Exit
On entry to the AC receive defect state and when operating in the
coupled OAM loops mode:
a. PE1 MUST send FDI to PE2.
b. PE1 MUST commence insertion of ATM RDI cells into the AC towards
CE1.
When operating in the single emulated OAM loop mode, PE1 must be able
to support two options, subject to the operator's preference. The
default option is the following:
On entry to the AC receive defect state:
a. PE1 MUST transparently relay ATM AIS cells, or, in the case of a
local AC defect, commence insertion of ATM AIS cells into the
corresponding PW towards CE2.
b. If the defect interferes with NS OAM message generation, PE1 MUST
send FDI to PE2.
c. PE1 MUST cease the generation of CC cells on the corresponding PW,
if applicable.
Aissaoui, et al. Standards Track [Page 22]
^L
RFC 6310 PW OAM Message Mapping July 2011
In certain operational models, for example, in the case that the ATM
access network is owned by a different provider than the PW, an
operator may want to distinguish between defects detected in the ATM
access network and defects detected on the AC directly adjacent to
the PE. Therefore, the following option MUST also be supported:
a. PE1 MUST transparently relay ATM AIS cells over the corresponding
PW towards CE2.
b. Upon detection of a defect on the ATM interface on the PE or in
the PE itself, PE1 MUST send FDI to PE2.
c. PE1 MUST cease generation of CC cells on the corresponding PW, if
applicable.
On exit from the AC receive defect state and when operating in the
coupled OAM loops mode:
a. PE1 MUST clear the FDI to PE2.
b. PE1 MUST cease insertion of ATM RDI cells into the AC.
On exit from the AC receive defect state and when operating in the
single emulated OAM loop mode:
a. PE1 MUST cease insertion of ATM AIS cells into the corresponding
PW.
b. PE1 MUST clear the FDI to PE2, if applicable.
c. PE1 MUST resume any CC cell generation on the corresponding PW, if
applicable.
7.3.5. AC Transmit Defect State Entry/Exit
On entry to the AC transmit defect state and when operating in the
coupled OAM loops mode:
* PE1 MUST send RDI to PE2.
On exit from the AC transmit defect state and when operating in the
coupled OAM loops mode:
* PE1 MUST clear the RDI to PE2.
Aissaoui, et al. Standards Track [Page 23]
^L
RFC 6310 PW OAM Message Mapping July 2011
8. Procedures for Frame Relay PW Service
The following procedures apply to Frame Relay (FR) pseudowires
[RFC4619]. Frame Relay (FR) terminology is explained in Appendix A.1
of this document.
8.1. AC Receive Defect State Entry/Exit Criteria
PE1 enters the AC receive defect state if one or more of the
following conditions are met:
a. A Permanent Virtual Circuit (PVC) is not deleted from the FR
network and the FR network explicitly indicates in a full status
report (and optionally by the asynchronous status message) that
this PVC is inactive [Q.933]. In this case, this status maps
across the PE to the corresponding PW only.
b. The Link Integrity Verification (LIV) indicates that the link from
the PE to the Frame Relay network is down [Q.933]. In this case,
the link down indication maps across the PE to all corresponding
PWs.
c. A physical layer alarm is detected on the FR interface. In this
case, this status maps across the PE to all corresponding PWs.
PE1 exits the AC receive defect state when all previously detected
defects have disappeared.
8.2. AC Transmit Defect State Entry/Exit Criteria
The AC transmit defect state is not valid for a FR AC.
8.3. Consequent Actions
8.3.1. PW Receive Defect State Entry/Exit
The A (Active) bit indicates whether the FR PVC is ACTIVE (1) or
INACTIVE (0) as explained in [RFC4591].
On entry to the PW receive defect state:
a. PE1 MUST clear the Active bit for the corresponding FR AC in a
full status report, and optionally in an asynchronous status
message, as per [Q.933], Annex A.
b. If the PW failure was detected by PE1 without receiving FDI from
PE2, PE1 MUST assume PE2 has no knowledge of the defect and MUST
notify PE2 by sending RDI.
Aissaoui, et al. Standards Track [Page 24]
^L
RFC 6310 PW OAM Message Mapping July 2011
On exit from the PW receive defect state:
a. PE1 MUST set the Active bit for the corresponding FR AC in a full
status report, and optionally in an asynchronous status message,
as per [Q.933], Annex A. PE1 does not apply this procedure on a
transition from the PW receive defect state to the PW transmit
defect state.
b. PE1 MUST clear the RDI to PE2, if applicable.
8.3.2. PW Transmit Defect State Entry/Exit
On entry to the PW transmit defect state:
a. PE1 MUST clear the Active bit for the corresponding FR AC in a
full status report, and optionally in an asynchronous status
message, as per [Q.933], Annex A.
b. If the PW failure was detected by PE1 without RDI from PE2, PE1
MUST assume PE2 has no knowledge of the defect and MUST notify PE2
by sending FDI.
On exit from the PW transmit defect state:
a. PE1 MUST set the Active bit for the corresponding FR AC in a full
status report, and optionally in an asynchronous status message,
as per [Q.933], Annex A. PE1 does not apply this procedure on a
transition from the PW transmit defect state to the PW receive
defect state.
b. PE1 MUST clear the FDI to PE2, if applicable.
8.3.3. PW Defect State in the FR Port Mode PW Service
In case of port mode PW service, STATUS ENQUIRY and STATUS messages
are transported transparently over the PW. A PW Failure will
therefore result in timeouts of the Q.933 link and PVC management
protocol at the Frame Relay devices at one or both sites of the
emulated interface.
8.3.4. AC Receive Defect State Entry/Exit
On entry to the AC receive defect state:
* PE1 MUST send FDI to PE2.
Aissaoui, et al. Standards Track [Page 25]
^L
RFC 6310 PW OAM Message Mapping July 2011
On exit from the AC receive defect state:
* PE1 MUST clear the FDI to PE2.
8.3.5. AC Transmit Defect State Entry/Exit
The AC transmit defect state is not valid for an FR AC.
9. Procedures for TDM PW Service
The following procedures apply to SAToP [RFC4553], CESoPSN [RFC5086]
and TDMoIP [RFC5087]. These technologies utilize the single emulated
OAM loop mode. RFC 5087 distinguishes between trail-extended and
trail-terminated scenarios; the former is essentially the single
emulated loop model. The latter applies to cases where the NS
networks are run by different operators and defect notifications are
not propagated across the PW.
Since TDM is inherently real-time in nature, many OAM indications
must be generated or forwarded with minimal delay. This requirement
rules out the use of messaging protocols, such as PW status messages.
Thus, for TDM PWs, alternate mechanisms are employed.
The fact that TDM PW packets are sent at a known constant rate can be
exploited as an OAM mechanism. Thus, a PE enters the PW receive
defect state whenever a preconfigured number of TDM PW packets do not
arrive in a timely fashion. It exits this state when packets once
again arrive at their proper rate.
Native TDM carries OAM indications in overhead fields that travel
along with the data. TDM PWs emulate this behavior by sending urgent
OAM messages in the PWE control word.
The TDM PWE3 control word contains a set of flags used to indicate PW
and AC defect conditions. The L bit is an AC forward defect
indication used by the upstream PE to signal NS network defects to
the downstream PE. The M field may be used to modify the meaning of
receive defects. The R bit is a PW reverse defect indication used by
the PE to signal PSN failures to the remote PE. Upon reception of
packets with the R bit set, a PE enters the PW transmit defect state.
L bits and R bits are further described in [RFC5087].
Aissaoui, et al. Standards Track [Page 26]
^L
RFC 6310 PW OAM Message Mapping July 2011
9.1. AC Receive Defect State Entry/Exit Criteria
PE1 enters the AC receive defect state if any of the following
conditions are met:
a. It detects a physical layer fault on the TDM interface (Loss of
Signal, Loss of Alignment, etc., as described in [G.775]).
b. It is notified of a previous physical layer fault by detecting
AIS.
The exact conditions under which a PE enters and exits the AIS state
are defined in [G.775]. Note that Loss of Signal and AIS detection
can be performed by PEs for both structure-agnostic and structure-
aware TDM PW types. Note that PEs implementing structure-agnostic
PWs cannot detect Loss of Alignment.
9.2. AC Transmit Defect State Entry/Exit Criteria
PE1 enters the AC transmit defect state when it detects RDI according
to the criteria in [G.775]. Note that PEs implementing structure-
agnostic PWs cannot detect RDI.
9.3. Consequent Actions
9.3.1. PW Receive Defect State Entry/Exit
On entry to the PW receive defect state:
a. PE1 MUST commence AIS insertion into the corresponding TDM AC.
b. PE1 MUST set the R bit in all PW packets sent back to PE2.
On exit from the PW receive defect state:
a. PE1 MUST cease AIS insertion into the corresponding TDM AC.
b. PE1 MUST clear the R bit in all PW packets sent back to PE2.
Note that AIS generation can, in general, be performed by both
structure-aware and structure-agnostic PEs.
9.3.2. PW Transmit Defect State Entry/Exit
On entry to the PW Transmit Defect State:
* A structure-aware PE1 MUST commence RDI insertion into the
corresponding AC.
Aissaoui, et al. Standards Track [Page 27]
^L
RFC 6310 PW OAM Message Mapping July 2011
On exit from the PW Transmit Defect State:
* A structure-aware PE1 MUST cease RDI insertion into the
corresponding AC.
Note that structure-agnostic PEs are not capable of injecting RDI
into an AC.
9.3.3. AC Receive Defect State Entry/Exit
On entry to the AC receive defect state and when operating in the
single emulated OAM loop mode:
a. PE1 SHOULD overwrite the TDM data with AIS in the PW packets sent
towards PE2.
b. PE1 MUST set the L bit in these packets.
c. PE1 MAY omit the payload in order to conserve bandwidth.
d. A structure-aware PE1 SHOULD send RDI back towards CE1.
e. A structure-aware PE1 that detects a potentially correctable AC
defect MAY use the M field to indicate this.
On exit from the AC receive defect state and when operating in the
single emulated OAM loop mode:
a. PE1 MUST cease overwriting PW content with AIS and return to
forwarding valid TDM data in PW packets sent towards PE2.
b. PE1 MUST clear the L bit in PW packets sent towards PE2.
c. A structure-aware PE1 MUST cease sending RDI towards CE1.
10. Procedures for CEP PW Service
The following procedures apply to SONET/SDH Circuit Emulation
[RFC4842]. They are based on the single emulated OAM loop mode.
Since SONET and SDH are inherently real-time in nature, many OAM
indications must be generated or forwarded with minimal delay. This
requirement rules out the use of messaging protocols, such as PW
status messages. Thus, for CEP PWs alternate mechanisms are
employed.
Aissaoui, et al. Standards Track [Page 28]
^L
RFC 6310 PW OAM Message Mapping July 2011
The CEP PWE3 control word contains a set of flags used to indicate PW
and AC defect conditions. The L bit is a forward defect indication
used by the upstream PE to signal to the downstream PE a defect in
its local attachment circuit. The R bit is a PW reverse defect
indication used by the PE to signal PSN failures to the remote PE.
The combination of N and P bits is used by the local PE to signal
loss of pointer to the remote PE.
The fact that CEP PW packets are sent at a known constant rate can be
exploited as an OAM mechanism. Thus, a PE enters the PW receive
defect state when it loses packet synchronization. It exits this
state when it regains packet synchronization. See [RFC4842] for
further details.
10.1. Defect States
10.1.1. PW Receive Defect State Entry/Exit
In addition to the conditions specified in Section 6.2.1, PE1 will
enter the PW receive defect state when one of the following becomes
true:
o It receives packets with the L bit set.
o It receives packets with both the N and P bits set.
o It loses packet synchronization.
10.1.2. PW Transmit Defect State Entry/Exit
In addition to the conditions specified in Section 6.2.2, PE1 will
enter the PW transmit defect state if it receives packets with the R
bit set.
10.1.3. AC Receive Defect State Entry/Exit
PE1 enters the AC receive defect state when any of the following
conditions are met:
a. It detects a physical layer fault on the TDM interface (Loss of
Signal, Loss of Alignment, etc.).
b. It is notified of a previous physical layer fault by detecting of
AIS.
The exact conditions under which a PE enters and exits the AIS state
are defined in [G.707] and [G.783].
Aissaoui, et al. Standards Track [Page 29]
^L
RFC 6310 PW OAM Message Mapping July 2011
10.1.4. AC Transmit Defect State Entry/Exit
The AC transmit defect state is not valid for CEP PWs. RDI signals
are forwarded transparently.
10.2. Consequent Actions
10.2.1. PW Receive Defect State Entry/Exit
On entry to the PW receive defect state:
a. PE1 MUST commence AIS-P/V insertion into the corresponding AC.
See [RFC4842].
b. PE1 MUST set the R bit in all PW packets sent back to PE2.
On exit from the PW receive defect state:
a. PE1 MUST cease AIS-P/V insertion into the corresponding AC.
b. PE1 MUST clear the R bit in all PW packets sent back to PE2.
See [RFC4842] for further details.
10.2.2. PW Transmit Defect State Entry/Exit
On entry to the PW Transmit Defect State:
a. A structure-aware PE1 MUST commence RDI insertion into the
corresponding AC.
On exit from the PW Transmit Defect State:
a. A structure-aware PE1 MUST cease RDI insertion into the
corresponding AC.
10.2.3. AC Receive Defect State Entry/Exit
On entry to the AC receive defect state:
a. PE1 MUST set the L bit in these packets.
b. If Dynamic Bandwidth Allocation (DBA) has been enabled, PE1 MAY
omit the payload in order to conserve bandwidth.
c. If Dynamic Bandwidth Allocation (DBA) is not enabled, PE1 SHOULD
insert AIS-V/P in the SDH/SONET client layer in the PW packets
sent towards PE2.
Aissaoui, et al. Standards Track [Page 30]
^L
RFC 6310 PW OAM Message Mapping July 2011
On exit from the AC receive defect state:
a. PE1 MUST cease overwriting PW content with AIS-P/V and return to
forwarding valid data in PW packets sent towards PE2.
b. PE1 MUST clear the L bit in PW packets sent towards PE2.
See [RFC4842] for further details.
11. Security Considerations
The mapping messages described in this document do not change the
security functions inherent in the actual messages. All generic
security considerations applicable to PW traffic specified in Section
10 of [RFC3985] are applicable to NS OAM messages transferred inside
the PW.
Security considerations in Section 10 of RFC 5085 for VCCV apply to
the OAM messages thus transferred. Security considerations
applicable to the PWE3 control protocol of RFC 4447 Section 8.2 apply
to OAM indications transferred using the LDP status message.
Since the mechanisms of this document enable propagation of OAM
messages and fault conditions between native service networks and
PSNs, continuity of the end-to-end service depends on a trust
relationship between the operators of these networks. Security
considerations for such scenarios are discussed in Section 7 of
[RFC5254].
12. Contributors and Acknowledgments
Mustapha Aissaoui, Peter Busschbach, Luca Martini, Monique Morrow,
Thomas Nadeau, and Yaakov (J) Stein, were each, in turn, editors of
one or more revisions of this document. All of the above were
contributing authors, as was Dave Allan, david.i.allan@ericsson.com.
The following contributed significant ideas or text:
Matthew Bocci, matthew.bocci@alcatel-lucent.co.uk
Simon Delord, Simon.A.DeLord@team.telstra.com
Yuichi Ikejiri, y.ikejiri@ntt.com
Kenji Kumaki, kekumaki@kddi.com
Satoru Matsushima, satoru.matsushima@tm.softbank.co.jp
Teruyuki Oya, teruyuki.oya@tm.softbank.co.jp
Carlos Pignataro, cpignata@cisco.com
Vasile Radoaca, vasile.radoaca@alcatel-lucent.com
Himanshu Shah, hshah@ciena.com
David Watkinson, david.watkinson@alcatel-lucent.com
Aissaoui, et al. Standards Track [Page 31]
^L
RFC 6310 PW OAM Message Mapping July 2011
The editors would like to acknowledge the contributions of Bertrand
Duvivier, Adrian Farrel, Tiberiu Grigoriu, Ron Insler, Michel
Khouderchah, Vanson Lim, Amir Maleki, Neil McGill, Chris Metz, Hari
Rakotoranto, Eric Rosen, Mark Townsley, and Ben Washam.
13. References
13.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to
Indicate Requirement Levels", BCP 14, RFC 2119,
March 1997.
[RFC4379] Kompella, K. and G. Swallow, "Detecting Multi-
Protocol Label Switched (MPLS) Data Plane
Failures", RFC 4379, February 2006.
[RFC4447] Martini, L., Rosen, E., El-Aawar, N., Smith, T.,
and G. Heron, "Pseudowire Setup and Maintenance
Using the Label Distribution Protocol (LDP)",
RFC 4447, April 2006.
[RFC4553] Vainshtein, A. and YJ. Stein, "Structure-Agnostic
Time Division Multiplexing (TDM) over Packet
(SAToP)", RFC 4553, June 2006.
[RFC4591] Townsley, M., Wilkie, G., Booth, S., Bryant, S.,
and J. Lau, "Frame Relay over Layer 2 Tunneling
Protocol Version 3 (L2TPv3)", RFC 4591,
August 2006.
[RFC4619] Martini, L., Kawa, C., and A. Malis,
"Encapsulation Methods for Transport of Frame
Relay over Multiprotocol Label Switching (MPLS)
Networks", RFC 4619, September 2006.
[RFC4717] Martini, L., Jayakumar, J., Bocci, M., El-Aawar,
N., Brayley, J., and G. Koleyni, "Encapsulation
Methods for Transport of Asynchronous Transfer
Mode (ATM) over MPLS Networks", RFC 4717,
December 2006.
[RFC4842] Malis, A., Pate, P., Cohen, R., and D. Zelig,
"Synchronous Optical Network/Synchronous Digital
Hierarchy (SONET/SDH) Circuit Emulation over
Packet (CEP)", RFC 4842, April 2007.
Aissaoui, et al. Standards Track [Page 32]
^L
RFC 6310 PW OAM Message Mapping July 2011
[RFC5036] Andersson, L., Minei, I., and B. Thomas, "LDP
Specification", RFC 5036, October 2007.
[RFC5085] Nadeau, T. and C. Pignataro, "Pseudowire Virtual
Circuit Connectivity Verification (VCCV): A
Control Channel for Pseudowires", RFC 5085,
December 2007.
[RFC5641] McGill, N. and C. Pignataro, "Layer 2 Tunneling
Protocol Version 3 (L2TPv3) Extended Circuit
Status Values", RFC 5641, August 2009.
[RFC5880] Katz, D. and D. Ward, "Bidirectional Forwarding
Detection (BFD)", RFC 5880, June 2010.
[RFC5885] Nadeau, T. and C. Pignataro, "Bidirectional
Forwarding Detection (BFD) for the Pseudowire
Virtual Circuit Connectivity Verification
(VCCV)", RFC 5885, June 2010.
[G.707] "Network node interface for the synchronous
digital hierarchy", ITU-T Recommendation G.707,
December 2003.
[G.775] "Loss of Signal (LOS), Alarm Indication Signal
(AIS) and Remote Defect Indication (RDI) defect
detection and clearance criteria for PDH
signals", ITU-T Recommendation G.775,
October 1998.
[G.783] "Characteristics of synchronous digital hierarchy
(SDH) equipment functional blocks", ITU-
T Recommendation G.783, March 2006.
[I.610] "B-ISDN operation and maintenance principles and
functions", ITU-T Recommendation I.610,
February 1999.
[Q.933] "ISDN Digital Subscriber Signalling System No. 1
(DSS1) Signalling specifications for frame mode
switched and permanent virtual connection control
and status monitoring", ITU- T Recommendation
Q.993, February 2003.
Aissaoui, et al. Standards Track [Page 33]
^L
RFC 6310 PW OAM Message Mapping July 2011
13.2. Informative References
[RFC0792] Postel, J., "Internet Control Message Protocol",
STD 5, RFC 792, September 1981.
[RFC3031] Rosen, E., Viswanathan, A., and R. Callon,
"Multiprotocol Label Switching Architecture",
RFC 3031, January 2001.
[RFC3209] Awduche, D., Berger, L., Gan, D., Li, T.,
Srinivasan, V., and G. Swallow, "RSVP-TE:
Extensions to RSVP for LSP Tunnels", RFC 3209,
December 2001.
[RFC3916] Xiao, X., McPherson, D., and P. Pate,
"Requirements for Pseudo-Wire Emulation Edge-to-
Edge (PWE3)", RFC 3916, September 2004.
[RFC3931] Lau, J., Townsley, M., and I. Goyret, "Layer Two
Tunneling Protocol - Version 3 (L2TPv3)",
RFC 3931, March 2005.
[RFC3985] Bryant, S. and P. Pate, "Pseudo Wire Emulation
Edge-to-Edge (PWE3) Architecture", RFC 3985,
March 2005.
[RFC4023] Worster, T., Rekhter, Y., and E. Rosen,
"Encapsulating MPLS in IP or Generic Routing
Encapsulation (GRE)", RFC 4023, March 2005.
[RFC4377] Nadeau, T., Morrow, M., Swallow, G., Allan, D.,
and S. Matsushima, "Operations and Management
(OAM) Requirements for Multi-Protocol Label
Switched (MPLS) Networks", RFC 4377,
February 2006.
[RFC4385] Bryant, S., Swallow, G., Martini, L., and D.
McPherson, "Pseudowire Emulation Edge-to-Edge
(PWE3) Control Word for Use over an MPLS PSN",
RFC 4385, February 2006.
[RFC4446] Martini, L., "IANA Allocations for Pseudowire
Edge to Edge Emulation (PWE3)", BCP 116,
RFC 4446, April 2006.
Aissaoui, et al. Standards Track [Page 34]
^L
RFC 6310 PW OAM Message Mapping July 2011
[RFC4454] Singh, S., Townsley, M., and C. Pignataro,
"Asynchronous Transfer Mode (ATM) over Layer 2
Tunneling Protocol Version 3 (L2TPv3)", RFC 4454,
May 2006.
[RFC5086] Vainshtein, A., Sasson, I., Metz, E., Frost, T.,
and P. Pate, "Structure-Aware Time Division
Multiplexed (TDM) Circuit Emulation Service over
Packet Switched Network (CESoPSN)", RFC 5086,
December 2007.
[RFC5087] Stein, Y(J)., Shashoua, R., Insler, R., and M.
Anavi, "Time Division Multiplexing over IP
(TDMoIP)", RFC 5087, December 2007.
[RFC5254] Bitar, N., Bocci, M., and L. Martini,
"Requirements for Multi-Segment Pseudowire
Emulation Edge-to-Edge (PWE3)", RFC 5254,
October 2008.
[RFC6073] Martini, L., Metz, C., Nadeau, T., Bocci, M., and
M. Aissaoui, "Segmented Pseudowire", RFC 6073,
January 2011.
[Eth-OAM-Inter] Mohan, D., Bitar, N., DeLord, S., Niger, P.,
Sajassi, A., and R. Qiu, "MPLS and Ethernet OAM
Interworking", Work in Progress, March 2011.
[Static-PW-Status] Martini, L., Swallow, G., Heron, G., and M.
Bocci, "Pseudowire Status for Static
Pseudowires", Work in Progress, June 2011.
[I.620] "Frame relay operation and maintenance principles
and functions", ITU-T Recommendation I.620,
October 1996.
Aissaoui, et al. Standards Track [Page 35]
^L
RFC 6310 PW OAM Message Mapping July 2011
Appendix A. Native Service Management (Informative)
A.1. Frame Relay Management
The management of Frame Relay Bearer Service (FRBS) connections can
be accomplished through two distinct methodologies:
a. Based on [Q.933], Annex A, Link Integrity Verification procedure,
where STATUS and STATUS ENQUIRY signaling messages are sent using
DLCI=0 over a given User-Network Interface (UNI) and Network-
Network Interface (NNI) physical link.
b. Based on FRBS Local Management Interface (LMI), and similar to ATM
Integrated LMI (ILMI) where LMI is common in private Frame Relay
networks.
In addition, ITU-T I.620 [I.620] addressed Frame Relay loopback.
This Recommendation was withdrawn in 2004, and its deployment was
limited.
It is possible to use either, or both, of the above options to manage
Frame Relay interfaces. This document will refer exclusively to
Q.933 messages.
The status of any provisioned Frame Relay PVC may be updated through:
a. Frame Relay STATUS messages in response to Frame Relay STATUS
ENQUIRY messages; these are mandatory.
b. Optional unsolicited STATUS updates independent of STATUS ENQUIRY
(typically, under the control of management system, these updates
can be sent periodically (continuous monitoring) or only upon
detection of specific defects based on configuration).
In Frame Relay, a Data Link Connection (DLC) is either up or down.
There is no distinction between different directions. To achieve
commonality with other technologies, down is represented as a receive
defect.
Frame Relay connection management is not implemented over the PW
using either of the techniques native to FR; therefore, PW mechanisms
are used to synchronize the view each PE has of the remote Native
Service/Attachment Circuit (NS/AC). A PE will treat a remote NS/AC
failure in the same way it would treat a PW or PSN failure, that is,
using AC facing FR connection management to notify the CE that FR is
down.
Aissaoui, et al. Standards Track [Page 36]
^L
RFC 6310 PW OAM Message Mapping July 2011
A.2. ATM Management
ATM management and OAM mechanisms are much more evolved than those of
Frame Relay. There are five broad management-related categories,
including fault management (FT), Performance management (PM),
configuration management (CM), Accounting management (AC), and
Security management (SM). [I.610] describes the functions for the
operation and maintenance of the physical layer and the ATM layer,
that is, management at the bit and cell levels. Because of its
scope, this document will concentrate on ATM fault management
functions. Fault management functions include the following:
a. Alarm Indication Signal (AIS).
b. Remote Defect Indication (RDI).
c. Continuity Check (CC).
d. Loopback (LB).
Some of the basic ATM fault management functions are described as
follows: Alarm Indication Signal (AIS) sends a message in the same
direction as that of the signal, to the effect that an error has been
detected.
The Remote Defect Indication (RDI) sends a message to the
transmitting terminal that an error has been detected. Alarms
related to the physical layer are indicated using path AIS/RDI.
Virtual path AIS/RDI and virtual channel AIS/RDI are also generated
for the ATM layer.
OAM cells (F4 and F5 cells) are used to instrument virtual paths and
virtual channels, respectively, with regard to their performance and
availability. OAM cells in the F4 and F5 flows are used for
monitoring a segment of the network and end-to-end monitoring. OAM
cells in F4 flows have the same VPI as that of the connection being
monitored. OAM cells in F5 flows have the same VPI and VCI as that
of the connection being monitored. The AIS and RDI messages of the
F4 and F5 flows are sent to the other network nodes via the VPC or
the VCC to which the message refers. The type of error and its
location can be indicated in the OAM cells. Continuity check is
another fault management function. To check whether a VCC that has
been idle for a period of time is still functioning, the network
elements can send continuity-check cells along that VCC.
Aissaoui, et al. Standards Track [Page 37]
^L
RFC 6310 PW OAM Message Mapping July 2011
Appendix B. PW Defects and Detection Tools
B.1. PW Defects
Possible defects that impact PWs are the following:
a. Physical layer defect in the PSN interface.
b. PSN tunnel failure that results in a loss of connectivity between
ingress and egress PE.
c. Control session failures between ingress and egress PE.
In case of an MPLS PSN and an MPLS/IP PSN there are additional
defects:
a. PW labeling error, which is due to a defect in the ingress PE, or
to an over-writing of the PW label value somewhere along the LSP
path.
b. LSP tunnel label swapping errors or LSP tunnel label merging
errors in the MPLS network. This could result in the termination
of a PW at the wrong egress PE.
c. Unintended self-replication; e.g., due to loops or denial-of-
service attacks.
B.2. Packet Loss
Persistent congestion in the PSN or in a PE could impact the proper
operation of the emulated service.
A PE can detect packet loss resulting from congestion through several
methods. If a PE uses the sequence number field in the PWE3 Control
Word for a specific pseudowire [RFC3985] and [RFC4385], it has the
ability to detect packet loss. Translation of congestion detection
to PW defect states is beyond the scope of this document.
There are congestion alarms that are raised in the node and to the
management system when congestion occurs. The decision to declare
the PW down and to select another path is usually at the discretion
of the network operator.
B.3. PW Defect Detection Tools
To detect the defects listed above, Service Providers have a variety
of options available.
Aissaoui, et al. Standards Track [Page 38]
^L
RFC 6310 PW OAM Message Mapping July 2011
Physical Layer defect detection and notification mechanisms include
SONET/SDH Loss of Signal (LOS), Loss of Alignment (LOA), and AIS/RDI.
PSN defect detection mechanisms vary according to the PSN type.
For PWs over L2TPv3/IP PSNs, with L2TP as encapsulation protocol, the
defect detection mechanisms described in [RFC3931] apply. These
include, for example, the keep-alive mechanism performed with Hello
messages for detection of loss of connectivity between a pair of
LCCEs (i.e., dead PE peer and path detection). Furthermore, the
tools Ping and Traceroute, based on ICMP Echo Messages [RFC0792]
apply and can be used to detect defects on the IP PSN. Additionally,
VCCV-Ping [RFC5085] and VCCV-BFD [RFC5885] can also be used to detect
defects at the individual pseudowire level.
For PWs over MPLS or MPLS/IP PSNs, several tools can be used:
a. LSP-Ping and LSP-Traceroute [RFC4379] for LSP tunnel connectivity
verification.
b. LSP-Ping with Bi-directional Forwarding Detection [RFC5885] for
LSP tunnel continuity checking.
c. Furthermore, if Resource Reservation Protocol - Traffic
Engineering (RSVP-TE) is used to set up the PSN Tunnels between
ingress and egress PE, the hello protocol can be used to detect
loss of connectivity [RFC3209], but only at the control plane.
B.4. PW Specific Defect Detection Mechanisms
[RFC4377] describes how LSP-Ping and BFD can be used over individual
PWs for connectivity verification and continuity checking,
respectively.
Furthermore, the detection of a fault could occur at different points
in the network and there are several ways the observing PE determines
a fault exists:
a. Egress PE detection of failure (e.g., BFD).
b. Ingress PE detection of failure (e.g., LSP-PING).
c. Ingress PE notification of failure (e.g., RSVP Path-err).
Aissaoui, et al. Standards Track [Page 39]
^L
RFC 6310 PW OAM Message Mapping July 2011
Authors' Addresses
Mustapha Aissaoui
Alcatel-Lucent
600 March Rd
Kanata, ON K2K 2E6
Canada
EMail: mustapha.aissaoui@alcatel-lucent.com
Peter Busschbach
Alcatel-Lucent
67 Whippany Rd
Whippany, NJ 07981
USA
EMail: busschbach@alcatel-lucent.com
Luca Martini
Cisco Systems, Inc.
9155 East Nichols Avenue, Suite 400
Englewood, CO 80112
USA
EMail: lmartini@cisco.com
Monique Morrow
Cisco Systems, Inc.
Richtistrase 7
CH-8304 Wallisellen
Switzerland
EMail: mmorrow@cisco.com
Thomas Nadeau
CA Technologies
273 Corporate Dr.
Portsmouth, NH 03801
USA
EMail: Thomas.Nadeau@ca.com
Yaakov (Jonathan) Stein
RAD Data Communications
24 Raoul Wallenberg St., Bldg C
Tel Aviv 69719
Israel
EMail: yaakov_s@rad.com
Aissaoui, et al. Standards Track [Page 40]
^L
|