summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc7133.txt
blob: a8dde385e38284c28776f3e1dafd738373694031 (plain) (blame)
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
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
Internet Engineering Task Force (IETF)                        S. Kashima
Request for Comments: 7133                                           NTT
Category: Standards Track                              A. Kobayashi, Ed.
ISSN: 2070-1721                                                 NTT East
                                                               P. Aitken
                                                     Cisco Systems, Inc.
                                                                May 2014


      Information Elements for Data Link Layer Traffic Measurement

Abstract

   This document describes Information Elements related to the data link
   layer.  They are used by the IP Flow Information Export (IPFIX)
   protocol for encoding measured data link layer traffic information.

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/rfc7133.

Copyright Notice

   Copyright (c) 2014 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.






Kashima, et al.              Standards Track                    [Page 1]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


Table of Contents

   1. Introduction ....................................................4
      1.1. Conventions Used in This Document ..........................4
   2. Extended Ethernet Technology ....................................4
      2.1. Wide-Area Ethernet Technology Summary ......................4
      2.2. Virtual Ethernet Technology Summary ........................5
   3. Modification and Addition of Information Elements
      Related to Data Link Layer ......................................6
      3.1. Existing Information Elements ..............................7
           3.1.1. dataLinkFrameSize ...................................8
           3.1.2. dataLinkFrameSection ................................9
           3.1.3. layer2OctetDeltaCount ...............................9
           3.1.4. layer2OctetTotalCount ..............................10
           3.1.5. layer2FrameDeltaCount ..............................10
           3.1.6. layer2FrameTotalCount ..............................11
      3.2. New Information Elements ..................................11
           3.2.1. dataLinkFrameType ..................................12
           3.2.2. sectionOffset ......................................12
           3.2.3. sectionExportedOctets ..............................13
           3.2.4. dot1qServiceInstanceTag ............................13
           3.2.5. dot1qServiceInstanceId .............................14
           3.2.6. dot1qServiceInstancePriority .......................14
           3.2.7. dot1qCustomerSourceMacAddress ......................15
           3.2.8. dot1qCustomerDestinationMacAddress .................15
           3.2.9. postL2OctetDeltaCount ..............................16
           3.2.10. postMCastL2OctetDeltaCount ........................16
           3.2.11. postL2OctetTotalCount .............................17
           3.2.12. postMCastL2OctetTotalCount ........................17
           3.2.13. minimumL2TotalLength ..............................18
           3.2.14. maximumL2TotalLength ..............................18
           3.2.15. droppedL2OctetDeltaCount ..........................19
           3.2.16. droppedL2OctetTotalCount ..........................19
           3.2.17. ignoredL2OctetTotalCount ..........................20
           3.2.18. notSentL2OctetTotalCount ..........................20
           3.2.19. layer2OctetDeltaSumOfSquares ......................21
           3.2.20. layer2OctetTotalSumOfSquares ......................21
   4. Modification of Existing Information Elements Related
      to Packet Section ..............................................22
      4.1. ipHeaderPacketSection .....................................22
      4.2. ipPayloadPacketSection ....................................23
      4.3. mplsLabelStackSection .....................................24
      4.4. mplsPayloadPacketSection ..................................25
   5. Modification of Existing Information Elements Related
      to VLAN Tag ....................................................26
      5.1. dot1qVlanId ...............................................26
      5.2. dot1qPriority .............................................27
      5.3. dot1qCustomerVlanId .......................................27



Kashima, et al.              Standards Track                    [Page 2]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


      5.4. dot1qCustomerPriority .....................................27
   6. The Relationship between Ethernet Header Fields and
      Information Elements ...........................................28
   7. Security Considerations ........................................29
   8. IANA Considerations ............................................29
   9. Acknowledgments ................................................30
   10. References ....................................................30
      10.1. Normative References .....................................30
      10.2. Informative References ...................................31
   Appendix A.  Frame Formats ........................................32
   Appendix B.  Template Format Example ..............................40








































Kashima, et al.              Standards Track                    [Page 3]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


1.  Introduction

   Ethernet [IEEE802.1D] and VLAN (Virtual LAN) technologies had been
   used only in Local Area Networks.  Recently, they have been used in
   Wide Area Networks, e.g., Layer 2 VPN (L2 VPN) services.
   Accordingly, carrier networks using VLAN technologies have been
   enhanced to Provider Bridged Networks and Provider Backbone Bridged
   Networks [IEEE802.1Q].  In addition, Ethernet in data centers has
   also been enhanced for server virtualization and input/output (I/O)
   consolidation.

   While these innovations provide flexibility, scalability, and
   mobility to an existing network architecture, they increase the
   complexity of traffic measurement due to the existence of various
   Ethernet header formats.  To cope with this, a more sophisticated
   method of traffic measurement is required.

   IPFIX and Packet Sampling (PSAMP) help to resolve these problems.
   However, the PSAMP Information Model [RFC5477] and the IPFIX
   Information Model [RFC7011] don't yet contain enough Information
   Elements related to the data link layer, e.g., Ethernet header forms.
   This document describes existing and new Information Elements related
   to data link layers that enable a more sophisticated traffic
   measurement method.

   Note that this document does not update [RFC5477] or [RFC7011]
   because IANA's IPFIX registry [IANA-IPFIX] is the ultimate
   Information Element reference, per Section 1 of [RFC7012].

1.1.  Conventions Used in This Document

   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 RFC 2119 [RFC2119].

2.  Extended Ethernet Technology

2.1.  Wide-Area Ethernet Technology Summary

   Provider Bridge and Provider Backbone Bridge [IEEE802.1Q], which are
   standards for Wide-Area Ethernet, are described below.

   o  In Provider Bridge [IEEE802.1Q], there are two VLAN IDs: Service
      VLAN Identifier (S-VID) and Customer VLAN Identifier (C-VID).
      S-VID is assigned to an Ethernet frame by a service provider,
      while C-VID is independently assigned to an Ethernet frame by a
      customer.  Frame switching in a service provider network is based
      on only S-VID.



Kashima, et al.              Standards Track                    [Page 4]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   o  In Provider Backbone Bridge [IEEE802.1Q], new Ethernet fields,
      such as Backbone VLAN Identifier (B-VID) and Backbone Service
      Instance Identifier (I-SID), are introduced to overcome the
      limitations on the VLAN identifier space and to isolate the
      service provider and customer identifier spaces.  Frame switching
      is based on a 12-bit B-VID, and customer identification is based
      on a 24-bit I-SID.  A flexible network design has become possible
      because network management is separated from customer management.
      Other Ethernet fields that indicate quality of service (QoS) class
      are Backbone VLAN Priority Code Point (B-PCP), Backbone VLAN Drop
      Eligible Indicator (B-DEI), Backbone Service Instance Priority
      Code Point (I-PCP), and Backbone Service Instance Drop Eligible
      Indicator (I-DEI).

   The Provider Backbone Bridge technologies have enhanced a Wide-Area
   Ethernet service from a flat network to a hierarchical network
   consisting of a Provider Bridged Network and Provider Backbone
   Bridged Network.

   Frame formats used in Wide-Area Ethernet are shown in Appendix A.

2.2.  Virtual Ethernet Technology Summary

   There have been several challenges in the existing virtual switches
   environment in a data center.  One is the lack of network management
   visibility: limited features on virtual switches make it difficult to
   monitor traffic among virtual machines (VMs).  Another is the lack of
   management scalability and flexibility: increasing the number of VMs
   for multi-tenant architecture causes an increase in the number of
   virtual switches and in the number of the traffic control policies,
   which reach the limitations of network management scalability and
   flexibility.

   In this situation, the IEEE 802.1 working group is standardizing
   virtual bridging technologies such as Edge Virtual Bridging (EVB),
   including two kinds of Edge Relays: Virtual Edge Bridge (VEB) and
   Virtual Edge Port Aggregator (VEPA) [IEEE802.1Qbg].  The VEB is a
   bridge that provides bridging among multiple VMs and the external
   bridging environment.  The VEPA is a bridge-like device on a host
   that forwards all internal traffic to the adjacent EVB bridge and
   then distributes any traffic received from the adjacent EVB bridge to
   VMs.  The VEPA makes all the VM-to-VM traffic visible to the EVB
   bridge so that the traffic can be monitored and so that the EVB
   bridge can apply filtering to the traffic.

   To improve flexibility, a virtual link between a host system and EVB
   bridge is standardized as S-channel.  S-channel allows a bridge to
   treat the traffic in the virtual link as if it comes in on a separate



Kashima, et al.              Standards Track                    [Page 5]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   port.  For example, in the host, an S-channel may be attached to a
   VEB or a VEPA or directly to an internal port in order to apply each
   port-based filtering rule to the traffic.  S-channel over the link
   between a host and its adjacent bridge uses Service VLAN Tag (S-TAG)
   [IEEE802.1Q].  When S-channel is in use, frames on the link carry an
   S-TAG to identify the S-channel.

   On the other hand, Bridge Port Extension emulates single Extended
   Bridge from multiple physical switches and virtual switches, and it
   also simplifies network management.  Also, it solves the lack of
   network management visibility by forwarding all traffic into a
   central Controlling Bridge using E-channel.  E-channel over the link
   between a Bridge Port Extender and a Controlling Bridge uses E-TAG
   defined in [IEEE802.1BR].

   Traffic monitoring over S-channel and E-channel is required in order
   to get visibility of VM-to-VM traffic and visibility of each
   channel's traffic on a virtual link.

   Frame formats with E-TAG used in E-channel and S-TAG used in
   S-channel are shown in Appendix A.  Though these frames carry special
   tags while on the link, those tags identify a virtual port (or for
   multicast in the downstream direction, a set of virtual ports) to
   which they are destined.  These tag values only have local meaning,
   and the Flow would be reported as sent and arriving on the
   corresponding virtual ports.  Therefore, IPFIX does not need to
   monitor data based on these tags.

3.  Modification and Addition of Information Elements Related to Data
    Link Layer

   The Information Elements listed in the upper section of Table 1 are
   necessary for enabling IPFIX and PSAMP traffic measurement for the
   data link layer, which is not limited to Ethernet because the method
   can be applied to other data link protocols as well.

   Information Elements in the middle section of Table 1 are necessary
   for enabling the IPFIX and PSAMP traffic measurement for
   [IEEE802.1Q].

   Information Elements in the lower section of Table 1 are octet
   counter or packet length for layer 2, and they are necessary for
   enabling IPFIX and PSAMP traffic measurement for the data link layer.








Kashima, et al.              Standards Track                    [Page 6]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


               +-----+------------------------------------+
               | ID  | Name                               |
               +-----+------------------------------------+
               | 312 | dataLinkFrameSize                  |
               | 315 | dataLinkFrameSection               |
               | 408 | dataLinkFrameType                  |
               | 409 | sectionOffset                      |
               | 410 | sectionExportedOctets              |
               +-----+------------------------------------+
               | 411 | dot1qServiceInstanceTag            |
               | 412 | dot1qServiceInstanceId             |
               | 413 | dot1qServiceInstancePriority       |
               | 414 | dot1qCustomerSourceMacAddress      |
               | 415 | dot1qCustomerDestinationMacAddress |
               +-----+------------------------------------+
               | 352 | layer2OctetDeltaCount              |
               | 353 | layer2OctetTotalCount              |
               | 417 | postL2OctetDeltaCount              |
               | 418 | postMCastL2OctetDeltaCount         |
               | 420 | postL2OctetTotalCount              |
               | 421 | postMCastL2OctetTotalCount         |
               | 422 | minimumL2TotalLength               |
               | 423 | maximumL2TotalLength               |
               | 424 | droppedL2OctetDeltaCount           |
               | 425 | droppedL2OctetTotalCount           |
               | 426 | ignoredL2OctetTotalCount           |
               | 427 | notSentL2OctetTotalCount           |
               | 428 | layer2OctetDeltaSumOfSquares       |
               | 429 | layer2OctetTotalSumOfSquares       |
               | 430 | layer2FrameDeltaCount              |
               | 431 | layer2FrameTotalCount              |
               +-----+------------------------------------+

         Table 1: Information Elements Related to Data Link Layer

3.1.  Existing Information Elements

   Some existing Information Elements are required for data link layer
   export.  Their details are reproduced here from IANA's IPFIX registry
   [IANA-IPFIX].  Additions per this document appear between *.

   Section 3.1.1 introduces the missing Data Type Semantics for the
   dataLinkFrameSize Information Element, which is held to be an
   interoperable change per #4 in Section 5.2 of [RFC7013].







Kashima, et al.              Standards Track                    [Page 7]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Section 3.1.2 extends the definition of the dataLinkFrameSection
   Information Element with reference to the new sectionOffset
   Information Element, which is also an interoperable change per #4 in
   Section 5.2 of [RFC7013].

   The layer2OctetDeltaCount Information Element reports the number of
   layer 2 octets since the previous report in incoming packets for this
   Flow, while the layer2OctetTotalCount Information Element reports the
   total number of layer 2 octets in incoming packets for this Flow.
   The layer2FrameDeltaCount Information Element reports the number of
   incoming layer 2 frames since the previous report for this Flow,
   while layer2FrameTotalCount Information Element reports the total
   number of incoming layer 2 frames for this Flow.  All of these
   Information Elements are unchanged from the existing IANA
   [IANA-IPFIX] definitions, and are reproduced in Section 3.1.3 through
   Section 3.1.6 below for completeness.

   Therefore, these changes do not introduce any backward-compatibility
   issues.

   Per Section 5.2 of [RFC7013], for each of these changes, [RFC7133]
   has been appended to the requester in IANA's IPFIX registry
   [IANA-IPFIX], the Information Element's revision number has been
   incremented by one, and the Information Element's revision date
   column has been updated.

3.1.1.  dataLinkFrameSize

   Description:

      This Information Element specifies the length of the selected data
      link frame.

      The data link layer is defined in [ISO/IEC.7498-1:1994].

   Abstract Data Type: unsigned16

   *Data Type Semantics: quantity*

   ElementId: 312

   References: [ISO/IEC.7498-1:1994]

   Status: current







Kashima, et al.              Standards Track                    [Page 8]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


3.1.2.  dataLinkFrameSection

   Description:

      This Information Element carries n octets from the data link frame
      of a selected frame, starting sectionOffset octets into the frame.

      *However, if no sectionOffset field corresponding to this
      Information Element is present, then a sectionOffset of zero
      applies, and the octets MUST be from the start of the data link
      frame.*

      The sectionExportedOctets expresses how much data was observed,
      while the remainder is padding.

      When the sectionExportedOctets field corresponding to this
      Information Element exists, this Information Element MAY have a
      fixed length and MAY be padded, or it MAY have a variable length.

      When the sectionExportedOctets field corresponding to this
      Information Element does not exist, this Information Element
      SHOULD have a variable length and MUST NOT be padded.  In this
      case, the size of the exported section may be constrained due to
      limitations in the IPFIX protocol.

      Further Information Elements, i.e., dataLinkFrameType and
      dataLinkFrameSize, are needed to specify the data link type and
      the size of the data link frame of this Information Element.  A
      set of these Information Elements MAY be contained in a structured
      data type, as expressed in [RFC6313].  Or a set of these
      Information Elements MAY be contained in one Flow Record as shown
      in Appendix B of [RFC7133].

      The data link layer is defined in [ISO/IEC.7498-1:1994].

   Abstract Data Type: octetArray

   ElementId: 315

   References: [RFC6313] [RFC7133] [ISO/IEC.7498-1:1994]

   Status: current

3.1.3.  layer2OctetDeltaCount

   The layer2OctetDeltaCount Information Element is unchanged from the
   existing IANA [IANA-IPFIX] definition and is reproduced here for
   reference only.



Kashima, et al.              Standards Track                    [Page 9]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Description

      The number of layer 2 octets since the previous report (if any) in
      incoming packets for this Flow at the Observation Point.  The
      number of octets includes layer 2 header(s) and layer 2 payload.

   Abstract Data Type: unsigned64

   Data Type Semantics: deltaCounter

   Units: octets

   ElementId: 352

   Status: current

3.1.4.  layer2OctetTotalCount

   The layer2OctetTotalCount Information Element is unchanged from the
   existing IANA [IANA-IPFIX] definition and is reproduced here for
   reference only.

   Description:

      The total number of layer 2 octets in incoming packets for this
      Flow at the Observation Point since the Metering Process
      (re-)initialization for this Observation Point.  The number of
      octets includes layer 2 header(s) and layer 2 payload.

   Abstract Data Type: unsigned64

   Data Type Semantics: totalCounter

   Units: octets

   ElementId: 353

   Status: current

3.1.5.  layer2FrameDeltaCount

   The layer2FrameDeltaCount Information Element is unchanged from the
   existing IANA [IANA-IPFIX] definition and is reproduced here for
   reference only.







Kashima, et al.              Standards Track                   [Page 10]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Description:

      The number of incoming layer 2 frames since the previous report
      (if any) for this Flow at the Observation Point.

   Abstract Data Type: unsigned64

   Data Type Semantics: deltaCounter

   Units: frames

   ElementId: 430

   Status: current

3.1.6.  layer2FrameTotalCount

   The layer2FrameTotalCount Information Element is unchanged from the
   existing IANA [IANA-IPFIX] definition and is reproduced here for
   reference only.

   Description:

      The total number of incoming layer 2 frames for this Flow at the
      Observation Point since the Metering Process (re-)initialization
      for this Observation Point.

   Abstract Data Type: unsigned64

   Data Type Semantics: totalCounter

   Units: frames

   ElementId: 431

   Status: current

3.2.  New Information Elements

   The following new Information Elements have been added for data link
   layer monitoring.

   In IANA's IPFIX registry [IANA-IPFIX], the Requester has been set to
   [RFC7133], the Information Element's Revision has been set to zero,
   and the Information Element's Date set to the date upon which the new
   Information Elements have been added to the registry.  All other





Kashima, et al.              Standards Track                   [Page 11]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   columns that are not explicitly mentioned below (e.g., Units, Range,
   References) are not applicable and are to be left blank since the
   registry does not explicitly record "not applicable".

3.2.1.  dataLinkFrameType

   Description:

      This Information Element specifies the type of the selected data
      link frame.

      The following data link types are defined here:

      - 0x01 IEEE802.3 ETHERNET [IEEE802.3]

      - 0x02 IEEE802.11 MAC Frame format [IEEE802.11]

      Further values may be assigned by IANA.  Note that the assigned
      values are bits so that multiple observations can be OR'd
      together.

      The data link layer is defined in [ISO/IEC.7498-1:1994].

   Abstract Data Type: unsigned16

   Data Type Semantics: flags

   ElementId: 408

   References: [IEEE802.3] [IEEE802.11] [ISO/IEC.7498-1:1994]

   Status: current

3.2.2.  sectionOffset

   Description:

      This Information Element specifies the offset of the packet
      section (e.g., dataLinkFrameSection, ipHeaderPacketSection,
      ipPayloadPacketSection, mplsLabelStackSection, and
      mplsPayloadPacketSection).  If this Information Element is
      omitted, it defaults to zero (i.e., no offset).

      If multiple sectionOffset Information Elements are specified
      within a single Template, then they apply to the packet section
      Information Elements in order: the first sectionOffset applies to
      the first packet section, the second to the second, and so on.
      Note that the "closest" sectionOffset and packet section



Kashima, et al.              Standards Track                   [Page 12]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


      Information Elements within a given Template are not necessarily
      related.  If there are fewer sectionOffset Information Elements
      than packet section Information Elements, then subsequent packet
      section Information Elements have no offset, i.e., a sectionOffset
      of zero applies to those packet section Information Elements.  If
      there are more sectionOffset Information Elements than the number
      of packet section Information Elements, then the additional
      sectionOffset Information Elements are meaningless.

   Abstract Data Type: unsigned16

   Data Type Semantics: quantity

   ElementId: 409

   Status: current

3.2.3.  sectionExportedOctets

   Description:

      This Information Element specifies the observed length of the
      packet section (e.g., dataLinkFrameSection, ipHeaderPacketSection,
      ipPayloadPacketSection, mplsLabelStackSection, and
      mplsPayloadPacketSection) when padding is used.

      The packet section may be of a fixed size larger than the
      sectionExportedOctets.  In this case, octets in the packet section
      beyond the sectionExportedOctets MUST follow the [RFC7011] rules
      for padding (i.e., be composed of zero (0) valued octets).

   Abstract Data Type: unsigned16

   Data Type Semantics: quantity

   ElementId: 410

   References: [RFC7011]

   Status: current

3.2.4.  dot1qServiceInstanceTag

   Description:

      This Information Element, which is 16 octets long, represents the
      Backbone Service Instance Tag (I-TAG) Tag Control Information
      (TCI) field of an Ethernet frame as described in [IEEE802.1Q].  It



Kashima, et al.              Standards Track                   [Page 13]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


      encodes the Backbone Service Instance Priority Code Point (I-PCP),
      Backbone Service Instance Drop Eligible Indicator (I-DEI), Use
      Customer Addresses (UCAs), Backbone Service Instance Identifier
      (I-SID), Encapsulated Customer Destination Address (C-DA),
      Encapsulated Customer Source Address (C-SA), and reserved fields.
      The structure and semantics within the Tag Control Information
      field are defined in [IEEE802.1Q].

   Abstract Data Type: octetArray

   Data Type Semantics: default

   ElementId: 411

   References: [IEEE802.1Q]

   Status: current

3.2.5.  dot1qServiceInstanceId

   Description:

      The value of the 24-bit Backbone Service Instance Identifier
      (I-SID) portion of the Backbone Service Instance Tag (I-TAG) Tag
      Control Information (TCI) field of an Ethernet frame as described
      in [IEEE802.1Q].

   Abstract Data Type: unsigned32

   Data Type Semantics: identifier

   ElementId: 412

   References: [IEEE802.1Q]

   Status: current

   Range: The valid range is 0 - 16777215 (i.e., 24 bits).

3.2.6.  dot1qServiceInstancePriority

   Description:

      The value of the 3-bit Backbone Service Instance Priority Code
      Point (I-PCP) portion of the Backbone Service Instance Tag (I-TAG)
      Tag Control Information (TCI) field of an Ethernet frame as
      described in [IEEE802.1Q].




Kashima, et al.              Standards Track                   [Page 14]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Abstract Data Type: unsigned8

   Data Type Semantics: identifier

   ElementId: 413

   References: [IEEE802.1Q]

   Status: current

   Range: The valid range is 0-7.

3.2.7.  dot1qCustomerSourceMacAddress

   Description:

      The value of the Encapsulated Customer Source Address (C-SA)
      portion of the Backbone Service Instance Tag (I-TAG) Tag Control
      Information (TCI) field of an Ethernet frame as described in
      [IEEE802.1Q].

   Abstract Data Type: macAddress

   Data Type Semantics: default

   ElementId: 414

   References: [IEEE802.1Q]

   Status: current

3.2.8.  dot1qCustomerDestinationMacAddress

   Description:

      The value of the Encapsulated Customer Destination Address (C-DA)
      portion of the Backbone Service Instance Tag (I-TAG) Tag Control
      Information (TCI) field of an Ethernet frame as described in
      [IEEE802.1Q].

   Abstract Data Type: macAddress

   Data Type Semantics: default

   ElementId: 415






Kashima, et al.              Standards Track                   [Page 15]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   References: [IEEE802.1Q]

   Status: current

3.2.9.  postL2OctetDeltaCount

   Description:

      The definition of this Information Element is identical to the
      definition of the layer2OctetDeltaCount Information Element,
      except that it reports a potentially modified value caused by a
      middlebox function after the packet passed the Observation Point.

      This Information Element is the layer 2 version of
      postOctetDeltaCount (ElementId #23).

   Abstract Data Type: unsigned64

   Data Type Semantics: deltaCounter

   ElementId: 417

   References: [RFC5477]

   Status: current

   Units: octets

3.2.10.  postMCastL2OctetDeltaCount

   Description:

      The number of layer 2 octets since the previous report (if any) in
      outgoing multicast packets sent for packets of this Flow by a
      multicast daemon within the Observation Domain.  This property
      cannot necessarily be observed at the Observation Point but may be
      retrieved by other means.  The number of octets includes layer 2
      header(s) and layer 2 payload.

      This Information Element is the layer 2 version of
      postMCastOctetDeltaCount (ElementId #20).

   Abstract Data Type: unsigned64

   Data Type Semantics: deltaCounter

   ElementId: 418




Kashima, et al.              Standards Track                   [Page 16]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   References: [RFC5477]

   Status: current

   Units: octets

3.2.11.  postL2OctetTotalCount

   Description:

      The definition of this Information Element is identical to the
      definition of the layer2OctetTotalCount Information Element,
      except that it reports a potentially modified value caused by a
      middlebox function after the packet passed the Observation Point.

      This Information Element is the layer 2 version of
      postOctetTotalCount (ElementId #171).

   Abstract Data Type: unsigned64

   Data Type Semantics: totalCounter

   ElementId: 420

   References: [RFC5477]

   Status: current

   Units: octets

3.2.12.  postMCastL2OctetTotalCount

   Description:

      The total number of layer 2 octets in outgoing multicast packets
      sent for packets of this Flow by a multicast daemon in the
      Observation Domain since the Metering Process (re-)initialization.
      This property cannot necessarily be observed at the Observation
      Point but may be retrieved by other means.  The number of octets
      includes layer 2 header(s) and layer 2 payload.

      This Information Element is the layer 2 version of
      postMCastOctetTotalCount (ElementId #175).

   Abstract Data Type: unsigned64

   Data Type Semantics: totalCounter




Kashima, et al.              Standards Track                   [Page 17]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   ElementId: 421

   References: [RFC5477]

   Status: current

   Units: octets

3.2.13.  minimumL2TotalLength

   Description:

      Layer 2 length of the smallest packet observed for this Flow.  The
      packet length includes the length of the layer 2 header(s) and the
      length of the layer 2 payload.

      This Information Element is the layer 2 version of
      minimumIpTotalLength (ElementId #25).

   Abstract Data Type: unsigned64

   ElementId: 422

   References: [RFC5477]

   Status: current

   Units: octets

3.2.14.  maximumL2TotalLength

   Description:

      Layer 2 length of the largest packet observed for this Flow.  The
      packet length includes the length of the layer 2 header(s) and the
      length of the layer 2 payload.

      This Information Element is the layer 2 version of
      maximumIpTotalLength (ElementId #26).

   Abstract Data Type: unsigned64

   ElementId: 423

   References: [RFC5477]






Kashima, et al.              Standards Track                   [Page 18]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Status: current

   Units: octets

3.2.15.  droppedL2OctetDeltaCount

   Description:

      The number of layer 2 octets since the previous report (if any) in
      packets of this Flow dropped by packet treatment.  The number of
      octets includes layer 2 header(s) and layer 2 payload.

      This Information Element is the layer 2 version of
      droppedOctetDeltaCount (ElementId #132).

   Abstract Data Type: unsigned64

   Data Type Semantics: deltaCounter

   ElementId: 424

   References: [RFC5477]

   Status: current

   Units: octets

3.2.16.  droppedL2OctetTotalCount

   Description:

      The total number of octets in observed layer 2 packets (including
      the layer 2 header) that were dropped by packet treatment since
      the (re-)initialization of the Metering Process.

      This Information Element is the layer 2 version of
      droppedOctetTotalCount (ElementId #134).

   Abstract Data Type: unsigned64

   Data Type Semantics: totalCounter

   ElementId: 425

   References: [RFC5477]






Kashima, et al.              Standards Track                   [Page 19]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Status: current

   Units: octets

3.2.17.  ignoredL2OctetTotalCount

   Description:

      The total number of octets in observed layer 2 packets (including
      the layer 2 header) that the Metering Process did not process
      since the (re-)initialization of the Metering Process.

      This Information Element is the layer 2 version of
      ignoredOctetTotalCount (ElementId #165).

   Abstract Data Type: unsigned64

   Data Type Semantics: totalCounter

   ElementId: 426

   References: [RFC5477]

   Status: current

   Units: octets

3.2.18.  notSentL2OctetTotalCount

   Description:

      The total number of octets in observed layer 2 packets (including
      the layer 2 header) that the Metering Process did not process
      since the (re-)initialization of the Metering Process.

      This Information Element is the layer 2 version of
      notSentOctetTotalCount (ElementId #168).

   Abstract Data Type: unsigned64

   Data Type Semantics: totalCounter

   ElementId: 427

   References: [RFC5477]






Kashima, et al.              Standards Track                   [Page 20]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Status: current

   Units: octets

3.2.19.  layer2OctetDeltaSumOfSquares

   Description:

      The sum of the squared numbers of layer 2 octets per incoming
      packet since the previous report (if any) for this Flow at the
      Observation Point.  The number of octets includes layer 2
      header(s) and layer 2 payload.

      This Information Element is the layer 2 version of
      octetDeltaSumOfSquares (ElementId #198).

   Abstract Data Type: unsigned64

   Data Type Semantics: deltaCounter

   ElementId: 428

   References: [RFC5477]

   Status: current

   Units: octets

3.2.20.  layer2OctetTotalSumOfSquares

   Description:

      The total sum of the squared numbers of layer 2 octets in incoming
      packets for this Flow at the Observation Point since the Metering
      Process (re-)initialization for this Observation Point.  The
      number of octets includes layer 2 header(s) and layer 2 payload.

      This Information Element is the layer 2 version of
      octetTotalSumOfSquares (ElementId #199).

   Abstract Data Type: unsigned64

   Data Type Semantics: totalCounter

   ElementId: 429

   References: [RFC5477]




Kashima, et al.              Standards Track                   [Page 21]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Status: current

   Units: octets

4.  Modification of Existing Information Elements Related to Packet
    Section

   The new Information Elements related to packet section (i.e.,
   sectionOffset and sectionExportedOctets) can be applied to not only
   dataLinkFrameSection but also to all kinds of packet section (i.e.,
   ipHeaderPacketSection, ipPayloadPacketSection, mplsLabelStackSection,
   and mplsPayloadPacketSection defined in [RFC5477]).  Therefore,
   existing Information Elements Descriptions should be modified as
   follows.

4.1.  ipHeaderPacketSection

   This Information Element is defined in [RFC5477].  The description
   has been updated from [RFC5477].

   Description:

      This Information Element carries a series of n octets from the IP
      header of a sampled packet, starting sectionOffset octets into the
      IP header.

      However, if no sectionOffset field corresponding to this
      Information Element is present, then a sectionOffset of zero
      applies, and the octets MUST be from the start of the IP header.

      With sufficient length, this element also reports octets from the
      IP payload.  However, full packet capture of arbitrary packet
      streams is explicitly out of scope per the Security Considerations
      sections of [RFC5477] and [RFC2804].

      The sectionExportedOctets expresses how much data was exported,
      while the remainder is padding.

      When the sectionExportedOctets field corresponding to this
      Information Element exists, this Information Element MAY have a
      fixed length and MAY be padded, or it MAY have a variable length.

      When the sectionExportedOctets field corresponding to this
      Information Element does not exist, this Information Element
      SHOULD have a variable length and MUST NOT be padded.  In this
      case, the size of the exported section may be constrained due to
      limitations in the IPFIX protocol.




Kashima, et al.              Standards Track                   [Page 22]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Abstract Data Type: octetArray

   ElementId: 313

   References: [RFC2804] [RFC5477]

   Status: current

4.2.  ipPayloadPacketSection

   This Information Element is defined in [RFC5477].  The description is
   updated from [RFC5477].

   Description:

      This Information Element carries a series of n octets from the IP
      payload of a sampled packet, starting sectionOffset octets into
      the IP payload.

      However, if no sectionOffset field corresponding to this
      Information Element is present, then a sectionOffset of zero
      applies, and the octets MUST be from the start of the IP payload.

      The IPv4 payload is that part of the packet that follows the IPv4
      header and any options, which [RFC0791] refers to as "data" or
      "data octets".  For example, see the examples in [RFC0791],
      Appendix A.

      The IPv6 payload is the rest of the packet following the 40-octet
      IPv6 header.  Note that any extension headers present are
      considered part of the payload.  See [RFC2460] for the IPv6
      specification.

      The sectionExportedOctets expresses how much data was observed,
      while the remainder is padding.

      When the sectionExportedOctets field corresponding to this
      Information Element exists, this Information Element MAY have a
      fixed length and MAY be padded, or it MAY have a variable length.

      When the sectionExportedOctets field corresponding to this
      Information Element does not exist, this Information Element
      SHOULD have a variable length and MUST NOT be padded.  In this
      case, the size of the exported section may be constrained due to
      limitations in the IPFIX protocol.






Kashima, et al.              Standards Track                   [Page 23]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Abstract Data Type: octetArray

   ElementId: 314

   References: [RFC0791] [RFC2460]

   Status: current

4.3.  mplsLabelStackSection

   This Information Element is defined in [RFC5477].  The description is
   updated from [RFC5477].

   Description:

      This Information Element carries a series of n octets from the
      MPLS label stack of a sampled packet, starting sectionOffset
      octets into the MPLS label stack.

      However, if no sectionOffset field corresponding to this
      Information Element is present, then a sectionOffset of zero
      applies, and the octets MUST be from the head of the MPLS label
      stack.

      With sufficient length, this element also reports octets from the
      MPLS payload.  However, full packet capture of arbitrary packet
      streams is explicitly out of scope per the Security Considerations
      sections of [RFC5477] and [RFC2804].

      See [RFC3031] for the specification of MPLS packets.

      See [RFC3032] for the specification of the MPLS label stack.

      The sectionExportedOctets expresses how much data was observed,
      while the remainder is padding.

      When the sectionExportedOctets field corresponding to this
      Information Element exists, this Information Element MAY have a
      fixed length and MAY be padded, or it MAY have a variable length.

      When the sectionExportedOctets field corresponding to this
      Information Element does not exist, this Information Element
      SHOULD have a variable length and MUST NOT be padded.  In this
      case, the size of the exported section may be constrained due to
      limitations in the IPFIX protocol.






Kashima, et al.              Standards Track                   [Page 24]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Abstract Data Type: octetArray

   ElementId: 316

   References: [RFC2804] [RFC3031] [RFC3032] [RFC5477]

   Status: current

4.4.  mplsPayloadPacketSection

   This Information Element is defined in [RFC5477].  The description is
   updated from [RFC5477].

   Description:

      The mplsPayloadPacketSection carries a series of n octets from the
      MPLS payload of a sampled packet, starting sectionOffset octets
      into the MPLS payload, as it is data that follows immediately
      after the MPLS label stack.

      However, if no sectionOffset field corresponding to this
      Information Element is present, then a sectionOffset of zero
      applies, and the octets MUST be from the start of the MPLS
      payload.

      See [RFC3031] for the specification of MPLS packets.

      See [RFC3032] for the specification of the MPLS label stack.

      The sectionExportedOctets expresses how much data was observed,
      while the remainder is padding.

      When the sectionExportedOctets field corresponding to this
      Information Element exists, this Information Element MAY have a
      fixed length and MAY be padded, or it MAY have a variable length.

      When the sectionExportedOctets field corresponding to this
      Information Element does not exist, this Information Element
      SHOULD have a variable length and MUST NOT be padded.  In this
      case, the size of the exported section may be constrained due to
      limitations in the IPFIX protocol.

   Abstract Data Type: octetArray

   ElementId: 317






Kashima, et al.              Standards Track                   [Page 25]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   References: [RFC3031] [RFC3032]

   Status: current

5.  Modification of Existing Information Elements Related to VLAN Tag

   The traffic measurement using IPFIX and PSAMP for a Provider Backbone
   Bridged Network requires the Information Elements related to Backbone
   Service Instance Tag (I-TAG) and Backbone VLAN Tag (B-TAG).  The set
   of Information Elements related to I-TAG is added in Section 3,
   because I-TAG structure and semantics are different from that of
   Service VLAN Tag (S-TAG) and Customer VLAN Tag (C-TAG).  The set of
   Information Elements related to B-TAG reuses the existing Information
   Elements, because B-TAG structure and semantics are identical to that
   of C-TAG and S-TAG.  This section modifies existing descriptions and
   references related to C-TAG and S-TAG as follows.

5.1.  dot1qVlanId

   Description:

      The value of the 12-bit VLAN Identifier portion of the Tag Control
      Information field of an Ethernet frame.  The structure and
      semantics within the Tag Control Information field are defined in
      [IEEE802.1Q].  In Provider Bridged Networks, it represents the
      Service VLAN identifier in the Service VLAN Tag (S-TAG) Tag
      Control Information (TCI) field or the Customer VLAN identifier in
      the Customer VLAN Tag (C-TAG) Tag Control Information (TCI) field
      as described in [IEEE802.1Q].  In Provider Backbone Bridged
      Networks, it represents the Backbone VLAN identifier in the
      Backbone VLAN Tag (B-TAG) Tag Control Information (TCI) field as
      described in [IEEE802.1Q].  In a virtual link between a host
      system and EVB bridge, it represents the Service VLAN identifier
      indicating S-channel as described in [IEEE802.1Qbg].

      In the case of a multi-tagged frame, it represents the outer tag's
      VLAN identifier, except for I-TAG.

   Abstract Data Type: unsigned16

   Data Type Semantics: identifier

   ElementId: 243

   Status: current

   References: [IEEE802.1Q] [IEEE802.1Qbg]




Kashima, et al.              Standards Track                   [Page 26]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


5.2.  dot1qPriority

   Description:

      The value of the 3-bit User Priority portion of the Tag Control
      Information field of an Ethernet frame.  The structure and
      semantics within the Tag Control Information field are defined in
      [IEEE802.1Q].  In the case of a multi-tagged frame, it represents
      the 3-bit Priority Code Point (PCP) portion of the outer tag's Tag
      Control Information (TCI) field as described in [IEEE802.1Q],
      except for I-TAG.

   Abstract Data Type: unsigned8

   Data Type Semantics: identifier

   ElementId: 244

   Status: current

   References: [IEEE802.1Q]

5.3.  dot1qCustomerVlanId

   Description:

      The value represents the Customer VLAN identifier in the Customer
      VLAN Tag (C-TAG) Tag Control Information (TCI) field as described
      in [IEEE802.1Q].

   Abstract Data Type: unsigned16

   Data Type Semantics: identifier

   ElementId: 245

   Status: current

   References: [IEEE802.1Q]

5.4.  dot1qCustomerPriority

   Description:

      The value represents the 3-bit Priority Code Point (PCP) portion
      of the Customer VLAN Tag (C-TAG) Tag Control Information (TCI)
      field as described in [IEEE802.1Q].




Kashima, et al.              Standards Track                   [Page 27]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   Abstract Data Type: unsigned8

   Data Type Semantics: identifier

   ElementId: 246

   Status: current

   References: [IEEE802.1Q]

6.  The Relationship between Ethernet Header Fields and Information
    Elements

   The following figures show a summary of various Ethernet header
   fields and the Informational Elements that would be used to represent
   each of the fields.

    <-- 6 --> <-- 6 --> <-- 4 --> <---- 2 ---->
   +---------+---------+---------+-------------+
   |         |         |         |             |
   |  C-DA   |  C-SA   |  C-TAG  | Length/Type |
   |    a    |    b    |    c    |      d      |
   +---------+---------+---------+-------------+

   a.(Information Element)  destinationMacAddress (80)
   b.(Information Element)  sourceMacAddress (56)
   c.(Information Elements) dot1qVlanId (243), dot1qPriority (244)
   d.(Information Element)  ethernetType (256)

               Figure 1: Customer-Tagged Frame Header Fields


    <-- 6 --> <-- 6 --> <-- 4 --> <-- 4 --> <---- 2 ---->
   +---------+---------+---------+---------+-------------+
   |         |         |         |         |             |
   |  C-DA   |  C-SA   |  S-TAG  |  C-TAG  | Length/Type |
   |    a    |    b    |    c    |    d    |      e      |
   +---------+---------+---------+---------+-------------+

   a.(Information Element)  destinationMacAddress (80)
   b.(Information Element)  sourceMacAddress (56)
   c.(Information Elements) dot1qVlanId (243), dot1qPriority (244)
   d.(Information Elements) dot1qCustomerVlanId (245),
                            dot1qCustomerPriority (246)
   e.(Information Element)  ethernetType (256)

               Figure 2: Service-Tagged Frame Header Fields




Kashima, et al.              Standards Track                   [Page 28]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


    <-- 6 --> <-- 6 --> <-- 4 --> <--- 16 ---> <-- 4 --> <---- 2 ---->
   +---------+---------+---------+------------+---------+-------------+
   |         |         |         |            |         |             |
   |  B-DA   |  B-SA   |  B-TAG  |   I-TAG    |  C-TAG  | Length/Type |
   |    a    |    b    |    c    |     d      |    e    |      f      |
   +---------+---------+---------+------------+---------+-------------+

   a.(Information Element)  destinationMacAddress (80)
   b.(Information Element)  sourceMacAddress (56)
   c.(Information Elements) dot1qVlanId (243), dot1qPriority (244)
   d.(Information Elements) dot1qServiceInstanceTag (411), or
                            a set of dot1qServiceInstanceId (412),
                            dot1qServiceInstancePriority (413),
                            dot1qCustomerSourceMacAddress (414)
                            dot1qCustomerDestinationMacAddress (415),
   e.(Information Elements) dot1qCustomerVlanId (245),
                            dot1qCustomerPriority (246)
   f.(Information Element)  ethernetType (256)

            Figure 3: Backbone-VLAN-Tagged Frame Header Fields

7.  Security Considerations

   Reporting more granular data may increase the risk of DoS attacks
   against a Collector.  Protection against DoS attacks is discussed in
   Section 11.4 of [RFC7011].

   The recommendations in this document do not otherwise introduce any
   additional security issues beyond those already mentioned in
   [RFC7011] and [RFC5477].

8.  IANA Considerations

   Existing IPFIX Information Elements [IANA-IPFIX] have been modified
   as indicated in Sections 3.1, 4, and 5.

   Per Section 5.2 of [RFC7013], for each of these changes, [RFC7133]
   has been appended to the Requester in IANA's IPFIX registry
   [IANA-IPFIX], the Information Element's Revision number has been
   incremented by one, and the Information Element's revision Date
   column has been updated.

   New IPFIX Information Elements [IANA-IPFIX] have been allocated as
   shown in Section 3.2.







Kashima, et al.              Standards Track                   [Page 29]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


9.  Acknowledgments

   Thanks to Brian Trammell and the IPFIX working group participants who
   contributed to mailing-list discussions throughout the development of
   this document.  Special thanks to Pat Thaler for her help with the
   IEEE 802 aspects of this work.

10.  References

10.1.  Normative References

   [IEEE802.11]   IEEE, "IEEE Standard for Information technology.
                  Telecommunications and information exchange between
                  systems Local and metropolitan area networks.
                  Specific requirements Part 11: Wireless LAN Medium
                  Access Control (MAC) and Physical Layer (PHY)
                  Specifications", IEEE Std 802.11-2012, March 2012.

   [IEEE802.1BR]  IEEE, "IEEE Standard for Local and metropolitan area
                  networks: Virtual Bridged Local Area Networks: Bridge
                  Port Extension", IEEE Std 802.1BR-2012, July 2012.

   [IEEE802.1Q]   IEEE, "IEEE Standard for Local and metropolitan area
                  networks: Media Access Control (MAC) Bridges and
                  Virtual Bridged Local Area Networks", IEEE Std
                  802.1Q-2011, August 2011.

   [IEEE802.1Qbg] IEEE, "IEEE Standard for Local and metropolitan area
                  networks: Media Access Control (MAC) Bridges and
                  Virtual Bridged Local Area Networks: Amendment 21:
                  Edge Virtual Bridging", IEEE Std 802.1Qbg-2012, July
                  2012.

   [IEEE802.3]    IEEE, "IEEE Standard for Ethernet", IEEE Std
                  802.3-2012, December 2012.

   [RFC0791]      Postel, J., "Internet Protocol", STD 5, RFC 791,
                  September 1981.

   [RFC2119]      Bradner, S., "Key words for use in RFCs to Indicate
                  Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC2460]      Deering, S. and R. Hinden, "Internet Protocol, Version
                  6 (IPv6) Specification", RFC 2460, December 1998.

   [RFC3031]      Rosen, E., Viswanathan, A., and R. Callon,
                  "Multiprotocol Label Switching Architecture", RFC
                  3031, January 2001.



Kashima, et al.              Standards Track                   [Page 30]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   [RFC3032]      Rosen, E., Tappan, D., Fedorkow, G., Rekhter, Y.,
                  Farinacci, D., Li, T., and A. Conta, "MPLS Label Stack
                  Encoding", RFC 3032, January 2001.

   [RFC5477]      Dietz, T., Claise, B., Aitken, P., Dressler, F., and
                  G.  Carle, "Information Model for Packet Sampling
                  Exports", RFC 5477, March 2009.

   [RFC6313]      Claise, B., Dhandapani, G., Aitken, P., and S. Yates,
                  "Export of Structured Data in IP Flow Information
                  Export (IPFIX)", RFC 6313, July 2011.

   [RFC7011]      Claise, B., Trammell, B., and P. Aitken,
                  "Specification of the IP Flow Information Export
                  (IPFIX) Protocol for the Exchange of Flow
                  Information", STD 77, RFC 7011, September 2013.

10.2.  Informative References

   [IANA-IPFIX]   IANA, "IP Flow Information Export (IPFIX) Entities",
                  <http://www.iana.org/assignments/ipfix>.

   [IEEE802.1D]   IEEE, "IEEE Standard for Local and metropolitan area
                  networks: Media Access Control (MAC) Bridges", IEEE
                  Std 802.1D-2004, June 2004.

   [ISO/IEC.7498-1:1994]
                  International Organization for Standardization,
                  "Information technology -- Open Systems
                  Interconnection -- Basic Reference Model: The Basic
                  Mode", ISO Standard 7498-1:1994, June 1996.

   [RFC2804]      IAB and IESG, "IETF Policy on Wiretapping", RFC 2804,
                  May 2000.

   [RFC7012]      Claise, B. and B. Trammell, "Information Model for IP
                  Flow Information Export (IPFIX)", RFC 7012, September
                  2013.

   [RFC7013]      Trammell, B. and B. Claise, "Guidelines for Authors
                  and Reviewers of IP Flow Information Export (IPFIX)
                  Information Elements", BCP 184, RFC 7013, September
                  2013.








Kashima, et al.              Standards Track                   [Page 31]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


Appendix A.  Frame Formats

   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              C-DA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              C-SA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |          Length/Type          |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                                                               |
   ~                         Customer Data                         ~
   ~                                                               ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                     Figure A-1: Untagged Frame Format


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              C-DA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              C-SA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        C-TAG TPID=0x8100      |C-PCP|C|         C-VID         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |          Length/Type          |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                                                               |
   ~                         Customer Data                         ~
   ~                                                               ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                  Figure A-2: C-TAG Tagging Frame Format









Kashima, et al.              Standards Track                   [Page 32]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              C-DA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              C-SA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        S-TAG TPID=0x88a8      |S-PCP|D|         S-VID         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |          Length/Type          |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                                                               |
   ~                         Customer Data                         ~
   ~                                                               ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

    Figure A-3: S-TAG Tagging Frame Format in Provider Bridged Networks


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              C-DA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              C-SA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        S-TAG TPID=0x88a8      |S-PCP|D|         S-VID         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        C-TAG TPID=0x8100      |C-PCP|C|         C-VID         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |          Length/Type          |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                                                               |
   ~                         Customer Data                         ~
   ~                                                               ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Figure A-4: S-TAG and C-TAG Tagging Frame Format in Provider Bridged
                                 Networks






Kashima, et al.              Standards Track                   [Page 33]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              B-DA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              B-SA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        B-TAG TPID=0x88a8      |B-PCP|D|         B-VID         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        I-TAG TPID=0x88e7      |I-PCP|D|U| Res |     I-SID     |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |             I-SID             |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              C-DA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              C-SA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |          Length/Type          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   ~                         Customer Data                         ~
   ~                                                               ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Figure A-5: B-TAG and I-TAG Tagging Frame Format in Provider Backbone
                             Bridged Networks






















Kashima, et al.              Standards Track                   [Page 34]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              B-DA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              B-SA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        B-TAG TPID=0x88a8      |B-PCP|D|         B-VID         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        I-TAG TPID=0x88e7      |I-PCP|D|U| Res |     I-SID     |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |             I-SID             |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              C-DA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              C-SA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |        C-TAG TCI=0x8100       |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |C-PCP|C|         C-VID         |          Length/Type          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   ~                         Customer Data                         ~
   ~                                                               ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Figure A-6: B-TAG, I-TAG, and C-TAG Tagging Frame Format in Provider
                         Backbone Bridged Networks




















Kashima, et al.              Standards Track                   [Page 35]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              C-DA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              C-SA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        S-TAG TPID=0x88a8      |S-PCP|D|         S-VID         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |          Length/Type          |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                                                               |
   ~                         Customer Data                         ~
   ~                                                               ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

    Figure A-7: S-TAG Tagging Frame Format for S-channel over the Link
              between an End Station and Its Adjacent Bridge

   Note: The frame format in Figure A-7 is identical to the format in
   Figure A-3.



























Kashima, et al.              Standards Track                   [Page 36]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              C-DA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              C-SA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        S-TAG TPID=0x88a8      |S-PCP|D|         S-VID         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        C-TAG TPID=0x8100      |C-PCP|C|         C-VID         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |          Length/Type          |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                                                               |
   ~                         Customer Data                         ~
   ~                                                               ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      Figure A-8: S-TAG and C-TAG Tagging Frame Format over the Link
              between an End Station and Its Adjacent Bridge

   Note: The frame format in Figure A-8 is identical to the format in
   Figure A-4.

























Kashima, et al.              Standards Track                   [Page 37]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              C-DA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              C-SA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        E-TAG TPID=0x893F      |E-PCP|D|   Ingress_E-CID_base  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |Res|GRP|      E-CID_base       |Ingre_E-CID_ext|    E-CID_ext  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |          Length/Type          |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                                                               |
   ~                         Customer Data                         ~
   ~                                                               ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      Figure A-9: E-TAG Tagging Frame Format over the Link between a
               Controlling Bridge and a Bridge Port Extender




























Kashima, et al.              Standards Track                   [Page 38]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                              C-DA                             |
   +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                              C-SA                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        E-TAG TPID=0x893F      |E-PCP|D|   Ingress_E-CID_base  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |Res|GRP|      E-CID_base       |Ingre_E-CID_ext|    E-CID_ext  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        C-TAG TPID=0x8100      |C-PCP|C|         C-VID         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |          Length/Type          |                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
   |                                                               |
   ~                         Customer Data                         ~
   ~                                                               ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      Figure A-10: E-TAG and C-TAG Tagging Frame Format over the Link
          between a Controlling Bridge and a Bridge Port Extender


























Kashima, et al.              Standards Track                   [Page 39]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


Appendix B.  Template Format Example

   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |        Set ID (2)             |             Length            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |      Template ID (256)        |     Field Count (8)           |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   ingressInterface (10)       |     Field Length (4)          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   egressInterface (14)        |     Field Length (4)          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | observationTimeSeconds (322)  |     Field Length (8)          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   dataLinkFrameSize (312)     |     Field Length (2)          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | dataLinkFrameSection (315)    |     Field Length (65535)      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   dataLinkFrameType (408)     |     Field Length (2)          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     sectionOffset (409)       |     Field Length (2)          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | sectionExportedOctets (410)   |     Field Length (2)          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                    Figure B-1: Template Format Example
























Kashima, et al.              Standards Track                   [Page 40]
^L
RFC 7133          Data Link Layer Information Elements          May 2014


Authors' Addresses

   Shingo Kashima
   Nippon Telegraph and Telephone Corporation
   1-5-1 Otemachi
   Chiyoda-ku, Tokyo  100-8116
   Japan

   Phone: +81 3 6838 5267
   EMail: kashima@nttv6.net


   Atsushi Kobayashi
   Nippon Telegraph and Telephone East Corporation
   3-19-2 Nishi-shinjuku
   Shinjuku-ku, Tokyo  163-8019
   Japan

   Phone: +81 3 5359 4351
   EMail: akoba@nttv6.net


   Paul Aitken
   Cisco Systems, Inc.
   96 Commercial Quay
   Commercial Street, Edinburgh  EH6 6LX
   United Kingdom

   Phone: +44 131 561 3616
   EMail: paitken@cisco.com





















Kashima, et al.              Standards Track                   [Page 41]
^L