summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc7270.txt
blob: 9732e9874671b06ef062170bf7d16829d6de74d8 (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
Internet Engineering Task Force (IETF)                    A. Yourtchenko
Request for Comments: 7270                                     P. Aitken
Category: Informational                                        B. Claise
ISSN: 2070-1721                                      Cisco Systems, Inc.
                                                               June 2014


                  Cisco-Specific Information Elements
              Reused in IP Flow Information Export (IPFIX)

Abstract

   This document describes some additional IP Flow Information Export
   (IPFIX) Information Elements in the range of 1-127, which is the
   range compatible with field types used by NetFlow version 9 in RFC
   3954, as specified in the IPFIX Information Model in RFC 7012.

Status of This Memo

   This document is not an Internet Standards Track specification; it is
   published for informational purposes.

   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).  Not all documents
   approved by the IESG are a candidate for any level of Internet
   Standard; see 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/rfc7270.

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.




Yourtchenko, et al.           Informational                     [Page 1]
^L
RFC 7270               Cisco Information Elements              June 2014


Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Information Elements Overview . . . . . . . . . . . . . . . .   3
   4.  Information Elements  . . . . . . . . . . . . . . . . . . . .   4
     4.1.  samplingInterval  . . . . . . . . . . . . . . . . . . . .   4
     4.2.  samplingAlgorithm . . . . . . . . . . . . . . . . . . . .   4
     4.3.  engineType  . . . . . . . . . . . . . . . . . . . . . . .   5
     4.4.  engineId  . . . . . . . . . . . . . . . . . . . . . . . .   5
     4.5.  ipv4RouterSc  . . . . . . . . . . . . . . . . . . . . . .   5
     4.6.  samplerId . . . . . . . . . . . . . . . . . . . . . . . .   6
     4.7.  samplerMode . . . . . . . . . . . . . . . . . . . . . . .   6
     4.8.  samplerRandomInterval . . . . . . . . . . . . . . . . . .   6
     4.9.  classId . . . . . . . . . . . . . . . . . . . . . . . . .   7
     4.10. samplerName . . . . . . . . . . . . . . . . . . . . . . .   7
     4.11. flagsAndSamplerId . . . . . . . . . . . . . . . . . . . .   7
     4.12. forwardingStatus  . . . . . . . . . . . . . . . . . . . .   8
     4.13. srcTrafficIndex . . . . . . . . . . . . . . . . . . . . .   9
     4.14. dstTrafficIndex . . . . . . . . . . . . . . . . . . . . .  10
     4.15. className . . . . . . . . . . . . . . . . . . . . . . . .  10
     4.16. layer2packetSectionOffset . . . . . . . . . . . . . . . .  10
     4.17. layer2packetSectionSize . . . . . . . . . . . . . . . . .  10
     4.18. layer2packetSectionData . . . . . . . . . . . . . . . . .  11
   5.  Other Information Elements  . . . . . . . . . . . . . . . . .  11
     5.1.  Performance Metrics IEs . . . . . . . . . . . . . . . . .  11
     5.2.  Application Information IEs . . . . . . . . . . . . . . .  11
     5.3.  IEs Assigned for NetFlow v9 Compatibility . . . . . . . .  11
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  12
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .  13
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  13
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .  13
     8.2.  Informative References  . . . . . . . . . . . . . . . . .  13
   Appendix A.  XML Specification of IPFIX Information Elements  . .  15

1.  Introduction

   Section 4 of [RFC7012] defines the IPFIX Information Elements (IEs)
   in the range of 1-127 to be compatible with the NetFlow version 9
   fields, as specified in "Cisco Systems NetFlow Services Export
   Version 9" [RFC3954].  As [RFC3954] was published in 2004, it does
   not contain all NetFlow version 9 field types in the range of 1-127.
   The question was asked whether IPFIX Devices should exclusively
   report the IANA IPFIX IEs [IANA-IPFIX].  In other words, when
   upgrading from a NetFlow Metering Process to an IPFIX Metering
   Process, should the IPFIX Devices stop reporting IEs specific to
   NetFlow version 9 that were not registered in IANA [IANA-IPFIX]?




Yourtchenko, et al.           Informational                     [Page 2]
^L
RFC 7270               Cisco Information Elements              June 2014


   This document is intended to fill the gap in this IE range.  It
   describes some additional IPFIX Information Elements in the range of
   1-127, which is the range compatible with field types used by NetFlow
   version 9 in [RFC3954], as specified in the IPFIX Information Model
   [RFC7012].  With this, IPFIX implementations could export all the
   Information Elements specified in IANA [IANA-IPFIX], regardless of
   the range.

   This document follows the rules in "Guidelines for Authors and
   Reviewers of IP Flow Export (IPFIX) Information Elements" [RFC7013].
   This document does not extend [RFC3954].  The IPFIX Protocol
   [RFC7011] has its own Information Model ([RFC7012] and IANA
   [IANA-IPFIX]), which is extensible upon application to IANA, subject
   to expert review by IE-DOCTORS [RFC7013].  This document extends the
   IPFIX Information Model.

2.  Terminology

   IPFIX-specific terminology used in this document is defined in
   Section 2 of [RFC7011].  As in [RFC7011], these IPFIX-specific terms
   have the first letter of a word capitalized when used in this
   document.

3.  Information Elements Overview

   The following Information Elements are discussed in the sections
   below:

     +----+-----------------------+-----+---------------------------+
     | ID | Name                  |  ID | Name                      |
     +----+-----------------------+-----+---------------------------+
     | 34 | samplingInterval      |  84 | samplerName               |
     | 35 | samplingAlgorithm     |  87 | flagsAndSamplerId         |
     | 38 | engineType            |  89 | forwardingStatus          |
     | 39 | engineId              |  92 | srcTrafficIndex           |
     | 43 | ipv4RouterSc          |  93 | dstTrafficIndex           |
     | 48 | samplerId             | 100 | className                 |
     | 49 | samplerMode           | 102 | layer2packetSectionOffset |
     | 50 | samplerRandomInterval | 103 | layer2packetSectionSize   |
     | 51 | classId               | 104 | layer2packetSectionData   |
     +----+-----------------------+-----+---------------------------+

                                  Table 1








Yourtchenko, et al.           Informational                     [Page 3]
^L
RFC 7270               Cisco Information Elements              June 2014


4.  Information Elements

4.1.  samplingInterval

   Description:
      Deprecated in favor of 305 samplingPacketInterval.  When using
      sampled NetFlow, the rate at which packets are sampled -- e.g., a
      value of 100 indicates that one of every 100 packets is sampled.

   Abstract Data Type:  unsigned32

   ElementId:  34

   Semantics:  quantity

   Status:  deprecated

   Units:  packets

4.2.  samplingAlgorithm

   Description:
      Deprecated in favor of 304 selectorAlgorithm.  The type of
      algorithm used for sampled NetFlow:

         1 - Deterministic Sampling,

         2 - Random Sampling.

      The values are not compatible with the selectorAlgorithm IE, where
      "Deterministic" has been replaced by "Systematic count-based" (1)
      or "Systematic time-based" (2), and "Random" is (3).  Conversion
      is required; see "Packet Sampling (PSAMP) Parameters"
      [IANA-PSAMP].

   Abstract Data Type:  unsigned8

   ElementId:  35

   Semantics:  identifier

   Status:  deprecated









Yourtchenko, et al.           Informational                     [Page 4]
^L
RFC 7270               Cisco Information Elements              June 2014


4.3.  engineType

   Description:
      Type of flow switching engine in a router/switch:

         RP = 0,

         VIP/Line card = 1,

         PFC/DFC = 2.

      Reserved for internal use on the Collector.

   Abstract Data Type:  unsigned8

   ElementId:  38

   Semantics:  identifier

   Status:  deprecated

4.4.  engineId

   Description:
      Versatile Interface Processor (VIP) or line card slot number of
      the flow switching engine in a router/switch.  Reserved for
      internal use on the Collector.

   Abstract Data Type:  unsigned8

   ElementId:  39

   Semantics:  identifier

   Status:  deprecated

4.5.  ipv4RouterSc

   Description:
      This is a platform-specific field for the Catalyst 5000/Catalyst
      6000 family.  It is used to store the address of a router that is
      being shortcut when performing MultiLayer Switching.

   Abstract Data Type:  ipv4Address

   ElementId:  43

   Semantics:  default



Yourtchenko, et al.           Informational                     [Page 5]
^L
RFC 7270               Cisco Information Elements              June 2014


   Status:  deprecated

   Reference:
      [CCO-MLS] describes MultiLayer Switching.

4.6.  samplerId

   Description:
      Deprecated in favor of 302 selectorId.  The unique identifier
      associated with samplerName.

   Abstract Data Type:  unsigned8

   ElementId:  48

   Semantics:  identifier

   Status:  deprecated

4.7.  samplerMode

   Description:
      Deprecated in favor of 304 selectorAlgorithm.  The values are not
      compatible: selectorAlgorithm=3 is random sampling.  The type of
      algorithm used for sampling data: 1 - Deterministic, 2 - Random
      Sampling.  Use with samplerRandomInterval.

   Abstract Data Type:  unsigned8

   ElementId:  49

   Semantics:  identifier

   Status:  deprecated

4.8.  samplerRandomInterval

   Description:
      Deprecated in favor of 305 samplingPacketInterval.  Packet
      interval at which to sample -- in case of random sampling.  Used
      in connection with the samplerMode 0x02 (random sampling) value.

   Abstract Data Type:  unsigned32

   ElementId:  50






Yourtchenko, et al.           Informational                     [Page 6]
^L
RFC 7270               Cisco Information Elements              June 2014


   Semantics:  quantity

   Status:  deprecated

4.9.  classId

   Description:
      Deprecated in favor of 302 selectorId.  Characterizes the traffic
      class, i.e., QoS treatment.

   Abstract Data Type:  unsigned8

   ElementId:  51

   Semantics:  identifier

   Status:  deprecated

4.10.  samplerName

   Description:
      Deprecated in favor of 335 selectorName.  Name of the flow
      sampler.

   Abstract Data Type:  string

   ElementId:  84

   Status:  deprecated

4.11.  flagsAndSamplerId

   Description:
      Flow flags and the value of the sampler ID (samplerId) combined in
      one bitmapped field.  Reserved for internal use on the Collector.

   Abstract Data Type:  unsigned32

   ElementId:  87

   Semantics:  identifier

   Status:  deprecated








Yourtchenko, et al.           Informational                     [Page 7]
^L
RFC 7270               Cisco Information Elements              June 2014


4.12.  forwardingStatus

   Description:
      This Information Element describes the forwarding status of the
      flow and any attached reasons.  The reduced-size encoding rules as
      per [RFC7011] apply.

      The basic encoding is 8 bits.  The future extensions
      could add one or three bytes.  The layout of the basic
      encoding is as follows:

         MSB -   0   1   2   3   4   5   6   7   - LSB
               +---+---+---+---+---+---+---+---+
               | Status|  Reason code or flags |
               +---+---+---+---+---+---+---+---+

      Status:

      00b = Unknown
      01b = Forwarded
      10b = Dropped
      11b = Consumed

      Reason Code (status = 01b, Forwarded)

      01 000000b = 64 = Unknown
      01 000001b = 65 = Fragmented
      01 000010b = 66 = Not Fragmented

      Reason Code (status = 10b, Dropped)

      10 000000b = 128 = Unknown
      10 000001b = 129 = ACL deny
      10 000010b = 130 = ACL drop
      10 000011b = 131 = Unroutable
      10 000100b = 132 = Adjacency
      10 000101b = 133 = Fragmentation and DF set
      10 000110b = 134 = Bad header checksum
      10 000111b = 135 = Bad total Length
      10 001000b = 136 = Bad header length
      10 001001b = 137 = bad TTL
      10 001010b = 138 = Policer
      10 001011b = 139 = WRED
      10 001100b = 140 = RPF
      10 001101b = 141 = For us
      10 001110b = 142 = Bad output interface
      10 001111b = 143 = Hardware




Yourtchenko, et al.           Informational                     [Page 8]
^L
RFC 7270               Cisco Information Elements              June 2014


      Reason Code (status = 11b, Consumed)

      11 000000b = 192 = Unknown
      11 000001b = 193 = Punt Adjacency
      11 000010b = 194 = Incomplete Adjacency
      11 000011b = 195 = For us

      Examples:

        value : 0x40 = 64
        binary: 01000000
        decode: 01        -> Forward
                  000000  -> No further information

        value : 0x89 = 137
        binary: 10001001
        decode: 10        -> Drop
                  001001  -> Fragmentation and DF set

   Abstract Data Type:  unsigned32

   ElementId:  89

   Semantics:  identifier

   Status:  current

   Reference:
      See "NetFlow Version 9 Flow-Record Format" [CCO-NF9FMT].

4.13.  srcTrafficIndex

   Description:
      BGP Policy Accounting Source Traffic Index.

   Abstract Data Type:  unsigned32

   ElementId:  92

   Semantics:  identifier

   Status:  current

   Reference:
      BGP policy accounting as described in [CCO-BGPPOL].






Yourtchenko, et al.           Informational                     [Page 9]
^L
RFC 7270               Cisco Information Elements              June 2014


4.14.  dstTrafficIndex

   Description:
      BGP Policy Accounting Destination Traffic Index.

   Abstract Data Type:  unsigned32

   ElementId:  93

   Semantics:  identifier

   Status:  current

   Reference:
      BGP policy accounting as described in [CCO-BGPPOL].

4.15.  className

   Description:
      Deprecated in favor of 335 selectorName.  Traffic Class Name,
      associated with the classId Information Element.

   Abstract Data Type:  string

   ElementId:  100

   Status:  deprecated

4.16.  layer2packetSectionOffset

   Description:
      Deprecated in favor of 409 sectionOffset.  Layer 2 packet section
      offset.  Potentially a generic packet section offset.

   Abstract Data Type:  unsigned16

   ElementId:  102

   Semantics:  quantity

   Status:  deprecated

4.17.  layer2packetSectionSize

   Description:
      Deprecated in favor of 312 dataLinkFrameSize.  Layer 2 packet
      section size.  Potentially a generic packet section size.




Yourtchenko, et al.           Informational                    [Page 10]
^L
RFC 7270               Cisco Information Elements              June 2014


   Abstract Data Type:  unsigned16

   ElementId:  103

   Semantics:  quantity

   Status:  deprecated

4.18.  layer2packetSectionData

   Description:
      Deprecated in favor of 315 dataLinkFrameSection.  Layer 2 packet
      section data.

   Abstract Data Type:  octetArray

   ElementId:  104

   Status:  deprecated

5.  Other Information Elements

5.1.  Performance Metrics IEs

   ElementId: 65 .. 69

   Performance metrics will need a consolidation in the industry, based
   on [RFC6390].  Once this consolidation happens, via a separate
   document the IEs 65-69 will either be assigned in the IANA registry
   or their status will be deprecated.

5.2.  Application Information IEs

   ElementId: 94 .. 96

   ElementId: 101

   Please refer to [RFC6759].

5.3.  IEs Assigned for NetFlow v9 Compatibility

   ElementId: 105..127

   These element IDs are not covered by this document and are left "as
   is", i.e., for NetFlow v9 compatibility.






Yourtchenko, et al.           Informational                    [Page 11]
^L
RFC 7270               Cisco Information Elements              June 2014


6.  IANA Considerations

   This document specifies several new IPFIX Information Elements in
   IANA's "IPFIX Information Elements" registry [IANA-IPFIX] as
   summarized in Section 3 and detailed in Section 4 above.  The
   following Information Elements have been assigned:

   o  IE Number 34 for the samplingInterval IE

   o  IE Number 35 for the samplingAlgorithm IE

   o  IE Number 38 for the engineType IE

   o  IE Number 39 for the engineId IE

   o  IE Number 43 for the ipv4RouterSc IE

   o  IE Number 48 for the samplerId IE

   o  IE Number 49 for the samplerMode IE

   o  IE Number 50 for the samplerRandomInterval IE

   o  IE Number 51 for the classId IE

   o  IE Number 84 for the samplerName IE

   o  IE Number 87 for the flagsAndSamplerId IE

   o  IE Number 89 for the forwardingStatus IE

   o  IE Number 92 for the srcTrafficIndex IE

   o  IE Number 93 for the dstTrafficIndex IE

   o  IE Number 100 for the className IE

   o  IE Number 102 for the layer2packetSectionOffset IE

   o  IE Number 103 for the layer2packetSectionSize IE

   o  IE Number 104 for the layer2packetSectionData IE









Yourtchenko, et al.           Informational                    [Page 12]
^L
RFC 7270               Cisco Information Elements              June 2014


7.  Security Considerations

   This document specifies the definitions of several Information
   Elements and does not alter the security considerations of the base
   protocol.  Please refer to the security considerations sections of
   [RFC3954] and [RFC7012].

8.  References

8.1.  Normative References

   [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.

8.2.  Informative References

   [CCO-BGPPOL]
              Cisco, "BGP Policy Accounting and BGP Policy Accounting
              Output Interface Accounting Features", December 2005,
              <http://www.cisco.com/en/US/tech/tk365/
              technologies_tech_note09186a0080094e88.shtml>.

   [CCO-MLS]  Cisco, "IP MultiLayer Switching Sample Configuration",
              November 2007,
              <http://www.cisco.com/en/US/products/hw/switches/ps700/
              products_configuration_example09186a00800ab513.shtml>.

   [CCO-NF9FMT]
              Cisco, "NetFlow Version 9 Flow-Record Format", May 2011,
              <http://www.cisco.com/en/US/technologies/tk648/tk362/
              technologies_white_paper09186a00800a3db9.html>.

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

   [IANA-PSAMP]
              IANA, "Packet Sampling (PSAMP) Parameters",
              <http://www.iana.org/assignments/psamp-parameters/>.

   [RFC3954]  Claise, B., "Cisco Systems NetFlow Services Export Version
              9", RFC 3954, October 2004.

   [RFC6390]  Clark, A. and B. Claise, "Guidelines for Considering New
              Performance Metric Development", BCP 170, RFC 6390,
              October 2011.



Yourtchenko, et al.           Informational                    [Page 13]
^L
RFC 7270               Cisco Information Elements              June 2014


   [RFC6759]  Claise, B., Aitken, P., and N. Ben-Dvora, "Cisco Systems
              Export of Application Information in IP Flow Information
              Export (IPFIX)", RFC 6759, November 2012.

   [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.









































Yourtchenko, et al.           Informational                    [Page 14]
^L
RFC 7270               Cisco Information Elements              June 2014


Appendix A.  XML Specification of IPFIX Information Elements

   <?xml version="1.0" encoding="UTF-8"?>

   <fieldDefinitions xmlns="urn:ietf:params:xml:ns:ipfix-info"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="urn:ietf:params:xml:ns:ipfix-info
                 ipfix-info.xsd">

     <field name="samplingInterval" dataType="unsigned32"
              group=""
              dataTypeSemantics="quantity"
              elementId="34" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Deprecated in favor of 305 samplingPacketInterval.  When using
        sampled NetFlow, the rate at which packets are sampled --
        e.g., a value of 100 indicates that one of every 100 packets
        is sampled.
        </paragraph>
       </description>
     </field>
     <field name="samplingAlgorithm" dataType="unsigned8"
              group=""
              dataTypeSemantics="identifier"
              elementId="35" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Deprecated in favor of 304 selectorAlgorithm.  The type of
        algorithm used for sampled NetFlow: 1 - Deterministic Sampling,
        2 - Random Sampling.  The values are not compatible with the
        selectorAlgorithm IE, where "Deterministic" has been replaced
        by "Systematic count-based" (1) or "Systematic time-based" (2),
        and "Random" is (3).  Conversion is required; see
        [IANA-PSAMP] PSAMP parameters.
        </paragraph>
       </description>
     </field>
     <field name="engineType" dataType="unsigned8"
              group=""
              dataTypeSemantics="identifier"
              elementId="38" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Type of flow switching engine in a router/switch: RP = 0,
        VIP/Line card = 1, PFC/DFC = 2.  Reserved for internal use on
        the Collector.
        </paragraph>



Yourtchenko, et al.           Informational                    [Page 15]
^L
RFC 7270               Cisco Information Elements              June 2014


       </description>
     </field>
     <field name="engineId" dataType="unsigned8"
             group=""
             dataTypeSemantics="identifier"
             elementId="39" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Versatile Interface Processor (VIP) or line card slot number of
        the flow switching engine in a router/switch.  Reserved for
        internal use on the Collector.
        </paragraph>
       </description>
     </field>
     <field name="ipv4RouterSc" dataType="ipv4Address"
             group=""
             dataTypeSemantics="default"
             elementId="43" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        This is a platform-specific field for the Catalyst 5000/Catalyst
        6000 family.  It is used to store the address of a router that
        is being shortcut when performing MultiLayer Switching.
        </paragraph>
       </description>
       <reference>
        http://www.cisco.com/en/US/products/hw/switches/ps700/
        products_configuration_example09186a00800ab513.shtml
        describes MultiLayer Switching.
       </reference>
     </field>
     <field name="samplerId" dataType="unsigned8"
             group=""
             dataTypeSemantics="identifier"
             elementId="48" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Deprecated in favor of 302 selectorId.  The unique identifier
        associated with samplerName.
        </paragraph>
       </description>
     </field>
     <field name="samplerMode" dataType="unsigned8"
             group=""
             dataTypeSemantics="identifier"
             elementId="49" applicability="flow" status="deprecated">
       <description>
        <paragraph>



Yourtchenko, et al.           Informational                    [Page 16]
^L
RFC 7270               Cisco Information Elements              June 2014


        Deprecated in favor of 304 selectorAlgorithm.  The values are
        not compatible: selectorAlgorithm=3 is random sampling.  The
        type of algorithm used for sampled NetFlow: 1 - Deterministic
        Sampling, 2 - Random Sampling.  Use with samplerRandomInterval.
        </paragraph>
       </description>
     </field>
     <field name="samplerRandomInterval" dataType="unsigned32"
             group=""
             dataTypeSemantics="quantity"
             elementId="50" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Deprecated in favor of 305 samplingPacketInterval.  Packet
        interval at which to sample -- in case of random sampling.  Used
        in connection with the samplerMode 0x02 (random sampling) value.
        </paragraph>
       </description>
     </field>
     <field name="classId" dataType="unsigned8"
             group=""
             dataTypeSemantics="identifier"
             elementId="51" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Deprecated in favor of 302 selectorId.  Characterizes the
        traffic class, i.e., QoS treatment.
        </paragraph>
       </description>
     </field>
     <field name="samplerName" dataType="string"
             group=""
             dataTypeSemantics=""
             elementId="84" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Deprecated in favor of 335 selectorName.  Name of the flow
        sampler.
        </paragraph>
       </description>
     </field>
     <field name="flagsAndSamplerId" dataType="unsigned32"
             group=""
             dataTypeSemantics="identifier"
             elementId="87" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Flow flags and the value of the sampler ID (samplerId) combined



Yourtchenko, et al.           Informational                    [Page 17]
^L
RFC 7270               Cisco Information Elements              June 2014


        in one bitmapped field.  Reserved for internal use on the
        Collector.
        </paragraph>
       </description>
     </field>
     <field name="forwardingStatus" dataType="unsigned32"
             group=""
             dataTypeSemantics="identifier"
             elementId="89" applicability="flow" status="current">
       <description>
        <paragraph>
        This Information Element describes the forwarding status of the
        flow and any attached reasons.  The reduced-size encoding rules
        as per [RFC7011] apply.
        </paragraph>
        <artwork>
           The basic encoding is 8 bits.  The future extensions
           could add one or three bytes.  The layout of the basic
           encoding is as follows:

             MSB -   0   1   2   3   4   5   6   7   - LSB
                 +---+---+---+---+---+---+---+---+
                 | Status|  Reason code or flags |
                 +---+---+---+---+---+---+---+---+
           Status:

           00b = Unknown
           01b = Forwarded
           10b = Dropped
           11b = Consumed

           Reason Code (status = 01b, Forwarded)

           01 000000b = 64 = Unknown
           01 000001b = 65 = Fragmented
           01 000010b = 66 = Not Fragmented

           Reason Code (status = 10b, Dropped)

           10 000000b = 128 = Unknown
           10 000001b = 129 = ACL deny
           10 000010b = 130 = ACL drop
           10 000011b = 131 = Unroutable
           10 000100b = 132 = Adjacency
           10 000101b = 133 = Fragmentation and DF set
           10 000110b = 134 = Bad header checksum
           10 000111b = 135 = Bad total Length
           10 001000b = 136 = Bad header length



Yourtchenko, et al.           Informational                    [Page 18]
^L
RFC 7270               Cisco Information Elements              June 2014


           10 001001b = 137 = bad TTL
           10 001010b = 138 = Policer
           10 001011b = 139 = WRED
           10 001100b = 140 = RPF
           10 001101b = 141 = For us
           10 001110b = 142 = Bad output interface
           10 001111b = 143 = Hardware

           Reason Code (status = 11b, Consumed)

           11 000000b = 192 = Unknown
           11 000001b = 193 = Punt Adjacency
           11 000010b = 194 = Incomplete Adjacency
           11 000011b = 195 = For us

           Examples:

             value : 0x40 = 64
             binary: 01000000
             decode: 01     -> Forward
                   000000  -> No further information

             value : 0x89 = 137
             binary: 10001001
             decode: 10     -> Drop
                   001001  -> Fragmentation and DF set
        </artwork>
       </description>
       <reference>
        See http://www.cisco.com/en/US/technologies/tk648/tk362/
        technologies_white_paper09186a00800a3db9.html -
        NetFlow Version 9 Flow-Record Format.
       </reference>
     </field>
     <field name="srcTrafficIndex" dataType="unsigned32"
             group=""
             dataTypeSemantics="identifier"
             elementId="92" applicability="flow" status="current">
       <description>
        <paragraph>
        BGP Policy Accounting Source Traffic Index.
        </paragraph>
       </description>
       <reference>
        BGP policy accounting as described in
        http://www.cisco.com/en/US/tech/tk365/
        technologies_tech_note09186a0080094e88.shtml
       </reference>



Yourtchenko, et al.           Informational                    [Page 19]
^L
RFC 7270               Cisco Information Elements              June 2014


     </field>
     <field name="dstTrafficIndex" dataType="unsigned32"
             group=""
             dataTypeSemantics="identifier"
             elementId="93" applicability="flow" status="current">
       <description>
        <paragraph>
        BGP Policy Accounting Destination Traffic Index.
        </paragraph>
       </description>
       <reference>
        BGP policy accounting as described in
        http://www.cisco.com/en/US/tech/tk365/
        technologies_tech_note09186a0080094e88.shtml
       </reference>
     </field>
     <field name="className" dataType="string"
             group=""
             dataTypeSemantics=""
             elementId="100" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Deprecated in favor of 335 selectorName.  Traffic Class Name,
        associated with the classId Information Element.
        </paragraph>
       </description>
     </field>
     <field name="layer2packetSectionOffset" dataType="unsigned16"
             group=""
             dataTypeSemantics="quantity"
             elementId="102" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Deprecated in favor of 409 sectionOffset.
        Layer 2 packet section offset.  Potentially a generic packet
        section offset.
        </paragraph>
       </description>
     </field>
     <field name="layer2packetSectionSize" dataType="unsigned16"
             group=""
             dataTypeSemantics="quantity"
             elementId="103" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Deprecated in favor of 312 dataLinkFrameSize.
        Layer 2 packet section size.  Potentially a generic packet
        section size.



Yourtchenko, et al.           Informational                    [Page 20]
^L
RFC 7270               Cisco Information Elements              June 2014


        </paragraph>
       </description>
     </field>
     <field name="layer2packetSectionData" dataType="octetArray"
             group=""
             dataTypeSemantics=""
             elementId="104" applicability="flow" status="deprecated">
       <description>
        <paragraph>
        Deprecated in favor of 315 dataLinkFrameSection.
        Layer 2 packet section data.
        </paragraph>
       </description>
     </field>
   </fieldDefinitions>

Authors' Addresses

   Andrew Yourtchenko
   Cisco Systems, Inc.
   De Kleetlaan, 7
   Brussels, Diegem  B-1831
   Belgium

   Phone: +32 2 704 5494
   EMail: ayourtch@cisco.com


   Paul Aitken
   Cisco Systems, Inc.
   96 Commercial Quay
   Edinburgh  EH6 6LX
   Scotland

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


   Benoit Claise
   Cisco Systems, Inc.
   De Kleetlaan, 6a b1
   Diegem  B-1831
   Belgium

   Phone: +32 2 704 5622
   EMail: bclaise@cisco.com





Yourtchenko, et al.           Informational                    [Page 21]
^L