summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc3395.txt
blob: c971b650beffe49325701f3a3481d0995385a36c (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
Network Working Group                                         A. Bierman
Request for Comments: 3395                                      C. Bucci
Updates: 2895                                        Cisco Systems, Inc.
Category: Standards Track                                       R. Dietz
                                                              Hifn, Inc.
                                                                A. Warth
                                                          September 2002


 Remote Network Monitoring MIB Protocol Identifier Reference Extensions

Status of this Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2002).  All Rights Reserved.

Abstract

   This memo defines extensions to the Protocol Identifier Reference
   document for the identification of application verb information.  It
   updates the Protocol Identifier Reference document but does not
   obsolete any portion of that document.  In particular, it describes
   the algorithms required to identify protocol operations (verbs)
   within the protocol encapsulations managed with MIBs such as the
   Remote Network Monitoring MIB Version 2, RFC 2021.

Table of Contents

   1. The SNMP Network Management Framework ..........................2
   2. Overview .......................................................3
   2.1 Protocol Identifier Framework .................................3
   2.2 Protocol Identifier Extensions for Application Verbs ..........4
   2.3 Terms .........................................................4
   2.4 Relationship to the RMON-2 MIB ................................5
   2.5 Relationship to the RMON MIB Protocol Identifier Reference.....5
   3. Definitions ....................................................5
   3.1 Verb Identifier Macro Format ..................................5
   3.1.1 Lexical Conventions .........................................6
   3.1.2 Extended Grammar for the PI Language ........................6
   3.1.3 Mapping of the Parent Protocol Name .........................7
   3.1.4 Mapping of the DESCRIPTION Clause ...........................7



Bierman, et. al.            Standards Track                     [Page 1]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


   3.1.5 Mapping of the REFERENCE Clause .............................7
   3.1.6 Mapping of the Verb List Clause .............................7
   3.1.6.1 Mapping of the Verb Name Field ............................8
   3.1.6.2 Mapping of the Verb Enum Field ............................8
   3.2 Protocol Directory Requirements ...............................8
   3.2.1 Mapping of the Verb Layer Numbering Space ...................8
   3.2.2 Mapping of the ProtocolDirID object .........................9
   3.2.3 Mapping of the ProtocolDirParameters object .................9
   3.2.4 Mapping of the ProtocolDirLocalIndex object ................10
   3.2.5 Mapping of the protocolDirDescr object .....................10
   3.2.6 Mapping of the protocolDirType object ......................10
   3.2.7 Mapping of the protocolDirAddressMapConfig object ..........10
   3.2.8 Mapping of the protocolDirHostConfig object ................10
   3.2.9 Mapping of the protocolDirMatrixConfig object ..............10
   3.2.10 Mapping of the protocolDirOwner object ....................11
   3.2.11 Mapping of the protocolDirStatus object ...................11
   4. Implementation Considerations .................................11
   4.1 Stateful Protocol Decoding ...................................11
   4.2 Packet Capture ...............................................11
   4.3 RMON-2 MIB Collections .......................................12
   5. Intellectual Property .........................................12
   6. Acknowledgements ..............................................13
   7. Normative References ..........................................13
   8. Informative References ........................................14
   9. IANA Considerations ...........................................15
   10. Security Considerations ......................................15
   Appendix A: Usage Examples .......................................16
   A.1 FTP Example ..................................................16
   A.2 POP3 Example .................................................17
   A.3 SNMP Example .................................................18
   A.4 HTTP Example .................................................18
   A.5 SMTP Example .................................................19
   Authors' Addresses ...............................................20
   Full Copyright Statement..........................................21

1.  The SNMP Network Management Framework

   The SNMP Management Framework presently consists of five major
   components:

      o  An overall architecture, described in RFC 2571 [RFC2571].

      o  Mechanisms for describing and naming objects and events for the
         purpose of management.  The first version of this Structure of
         Management Information (SMI) is called SMIv1 and is described
         in STD 16, RFC 1155 [RFC1155], STD 16, RFC 1212 [RFC1212] and





Bierman, et. al.            Standards Track                     [Page 2]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


         RFC 1215 [RFC1215].  The second version, called SMIv2, is
         described in STD 58, RFC 2578 [RFC2578], RFC 2579 [RFC2579] and
         RFC 2580 [RFC2580].

      o  Message protocols for transferring management information.  The
         first version of the SNMP message protocol is called SNMPv1 and
         is described in STD 15, RFC 1157 [RFC1157].  A second version
         of the SNMP message protocol, which is not an Internet
         standards track protocol, is called SNMPv2c and is described in
         RFC 1901 [RFC1901] and RFC 1906 [RFC1906].  The third version
         of the message protocol is called SNMPv3 and is described in
         RFC 1906 [RFC1906], RFC 2572 [RFC2572] and RFC 2574 [RFC2574].

      o  Protocol operations for accessing management information.  The
         first set of protocol operations and associated PDU formats is
         described in STD 15, RFC 1157 [RFC1157].  A second set of
         protocol operations and associated PDU formats is described in
         RFC 1905 [RFC1905].

      o  A set of fundamental applications is described in RFC 2573
         [RFC2573].  The view-based access control mechanism is
         described in RFC 2575 [RFC2575].

   A more detailed introduction to the current SNMP Management Framework
   can be found in RFC 2570 [RFC2570].

   Managed objects are accessed via a virtual information store, termed
   the Management Information Base or MIB.  Objects in the MIB are
   defined using the mechanisms defined in the SMI.

   This memo does not specify a MIB module.

2.  Overview

   There is a need for a standardized way of identifying the protocol
   operations defined for particular application protocols.  Different
   protocol operations can have very different performance
   characteristics, and it is desirable to collect certain metrics at
   this level of granularity.  This memo defines extensions to the
   existing protocol identifier structure [RFC2895] and is intended to
   update, not obsolete, the existing protocol identifier encoding
   rules.

2.1  Protocol Identifier Framework

   The RMON Protocol Identifier (PI) structure [RFC2895] allows for a
   variable number of layer identifiers.  Each layer contributes 4
   octets to the protocolDirID OCTET STRING and one octet to the



Bierman, et. al.            Standards Track                     [Page 3]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


   protocolDirParameters OCTET STRING.  These two MIB objects comprise
   the index in the protocolDirTable [RFC2021] and represent a globally
   unique identifier for a particular protocol encapsulation (or set of
   encapsulations if the wild-card base layer is used).

2.2  Protocol Identifier Extensions for Application Verbs

   The existing RMON protocol identifier architecture requires that an
   application verb be represented by one additional protocol layer,
   appended to the protocol identifier for the parent application.
   Since some application verbs are defined as strings which can exceed
   4 octets in length, an integer mapping must be provided for each
   string.  This memo specifies how the verb layer is structured, as
   well as a verb identifier macro syntax for specification of verb name
   to integer mappings.

2.3  Terms

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

   This document uses some terms defined in the RMON Protocol Identifier
   Reference document [RFC2895] and some new terms that need
   introduction here.

   Application Verb
      Also called simply 'verb'.  Refers to one of potentially many
      protocol operations that are defined by a particular application
      protocol.

      Note that an application verb is not equivalent to an application
      protocol sub-command or opcode within a packet containing a PDU
      for the application.  An application verb is a transaction type
      and may involve several PDU types within the application protocol
      (e.g., SNMP Get-PDU and Response-PDU).  In some applications, a
      verb may encompass protocol operations pertaining to more than one
      protocol entry in the protocol directory (e.g., ftp and ftp-data).

   Connect Verb
      The special application verb associated with connection or session
      setup and tear-down traffic, and not attributed to any other verb
      for the application.  This verb is assigned the enumeration value
      of zero, and the verb 'connect(0)' is implicitly defined for all
      application protocols.






Bierman, et. al.            Standards Track                     [Page 4]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


   Parent Application
      One of potentially many protocol encapsulations which identifies a
      particular application protocol.  This term refers generically to
      any or all such encapsulations for a given set of application
      verbs.

   Verb Layer
      The portion of the protocol identifier octet string which
      identifies the application verb.

   Verb Set
      The group of verbs enumerated for a particular application
      protocol.  The list of verb strings within a particular verb-
      identifier macro invocation is also called the verb set for that
      verb identifier.

2.4  Relationship to the RMON-2 MIB

   The RMON-2 MIB [RFC2021] contains the protocolDirTable MIB objects
   used to identify all protocol encapsulations that can be monitored by
   a particular RMON agent.

   This memo describes how these MIB objects are mapped by an
   implementation for entries which identify application verbs. This
   document does not define any new MIB objects to identify application
   verbs.  The applicability of the definitions in this document is not
   limited to the RMON-2 MIB. Other specifications which utilize the
   RMON-2 protocolDirTable and/or the protocol identifier macros which
   it represents can also utilize the application verb macro definitions
   contained in this document.

2.5  Relationship to the RMON MIB Protocol Identifier Reference

   The RMON MIB Protocol Identifier Reference [RFC2895] defines the RMON
   Protocol Identifier Macro Specification Language as well as the
   encoding rules for the ProtocolDirID and protocolDirParameters OCTET
   STRINGs.  This memo defines extensions to the Protocol Identifier
   Reference for the identification of application verb information.  It
   does not obsolete any portion of the Protocol Identifier Reference
   document.

3.  Definitions

3.1  Verb Identifier Macro Format

   The following example is meant to introduce the verb-identifier
   macro.  This macro-like construct is used to represent protocol verbs
   for a specific parent application.



Bierman, et. al.            Standards Track                     [Page 5]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


3.1.1  Lexical Conventions

   The following keyword is added to the PI language:

       VERB-IDENTIFIER

3.1.2  Extended Grammar for the PI Language

   The following is the extended BNF notation for the grammar with
   starting symbol <piFile>.  It is for representing verb identifier
   macros.  Note that only the term <piFile> is actually modified from
   the definition in [RFC2895].  The <piDefinition> syntax is not
   reproduced here, since this memo is intended to extend that
   definition, not replace it.

       -- a file containing one or more
       -- Protocol Identifier (PI) definitions
       <piFile> = [ <piDefinition> | <piVerbDefinition> ]...

       -- a PI definition
       <piVerbDefinition> =
         [<wspace>] <parentProtoName> <wspace> "VERB-IDENTIFIER"
               <wspace> "DESCRIPTION" <wspace> string
             [ <wspace> "REFERENCE" <wspace> string ]
             [<wspace>] "::=" [<wspace>]
             "{" [<wspace>] <verbList> [<wspace>] "}" [<wspace>]

       -- a list of verb identifier string
       <verbList> = <verbId> [ [<wspace>] "," [<wspace>] <verbId> ]...

       -- a verb identifier string
       <verbId> = <verbName> [<wspace>] "(" [<wspace>]
                 <verbEnum> [<wspace>] ")" [<wspace>]

       -- a protocol name
       <parentProtoName> = <protoName>

       -- a verb name
       <verbName> = <lcname>

       -- a verb enumeration
       <verbEnum> = <posNum>

       -- a positive integer
       <posNum> = any integer value greater than zero and
                  less than 16,777,216

       -- <piDefinition> syntax is defined in [RFC2895]



Bierman, et. al.            Standards Track                     [Page 6]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


       -- <protoName> syntax is defined in [RFC2895]
       -- <wspace> syntax is defined in [RFC2895]
       -- <lcname> syntax is defined in [RFC2895]

3.1.3  Mapping of the Parent Protocol Name

   The "parentProtoName" value, called the "parent protocol name",
   SHOULD be an ASCII string consisting of 1 to 64 characters.  (These
   names are intended to appear in IETF documentation, so the use of
   UTF-8 is not appropriate.)  The encoding rules are exactly as
   specified in section 6.2.4 of [RFC2895] for the mapping of the
   protocol name field.  The value for <parentProtoName> (which is
   called the "parent protocol name") MUST be the value of a protocol
   identifier defined as specified for <protoName> in section 3.2.4 of
   [RFC2895].  The value of <parentProtoName> MUST specify a <protoName>
   defined in the <piFile>.

   A protocol identifier macro SHOULD exist in the <piFile> for at least
   one encapsulation of the parent application protocol if any verb
   identifier macros referencing that parent application are present in
   the <piFile>.

3.1.4  Mapping of the DESCRIPTION Clause

   The DESCRIPTION clause provides a textual description of the protocol
   verb set identified by this macro.  It SHOULD NOT contain details
   about items covered by the REFERENCE clause.  The DESCRIPTION clause
   MUST be present in all verb-identifier macro declarations.

3.1.5  Mapping of the REFERENCE Clause

   If a publicly available reference document exists for this set of
   application protocol verbs, it SHOULD be listed here.  Typically this
   will be a URL, otherwise it will be the name and address of the
   controlling body.

   The REFERENCE clause is optional but SHOULD be present if an
   authoritative reference exists which specifies the application
   protocol verbs defined in the <verbList> section of this macro.

3.1.6  Mapping of the Verb List Clause

   The verb list clause MUST be present.  It is used to identify a list
   of application verb names and associate a numeric constant with each
   verb name.  At least one verb MUST be specified and a maximum of
   16,777,215 (2^^24 - 1) verbs MAY be specified.  This enumerated list
   SHOULD be densely numbered (i.e., valued from '1' to 'N', where 'N'
   is the total number of verbs defined in the macro).



Bierman, et. al.            Standards Track                     [Page 7]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


3.1.6.1  Mapping of the Verb Name Field

   The <verbName> field is case-sensitive and SHOULD be set to the most
   appropriate string name for each application verb.  If such a
   descriptive string is defined in an authoritative document then that
   string SHOULD be used.  If no such string exists then an appropriate
   but arbitrary string should be selected for this value.

   Verb names MUST be unique for a particular parent application.  Note
   that the special 'connect(0)' verb is implicitly defined for each
   application protocol.  It is possible for an explicit definition of
   this verb (e.g., 'connect(8)' for http) to exist for a protocol, as
   well as the implicit 'connect(0)' verb.

3.1.6.2  Mapping of the Verb Enum Field

   The <verbEnum> field MUST be unique for all verbs associated with a
   particular parent application.  This field SHOULD contain a value
   between '1' and '16,777,215' inclusive.

3.2  Protocol Directory Requirements

   This section defines how the protocolDirTable should be populated for
   any application verb identified with a verb-identifier macro.

   An agent MUST implement all applicable protocolDirTable MIB objects
   on behalf of each supported application verb.

3.2.1  Mapping of the Verb Layer Numbering Space

   The verb layer consists of the 4 octets within the protocolDirID
   INDEX field which identify a particular application verb.

                     Figure 1
                 Verb Layer Format
                 -----------------

            protocolDirID string fragment
        ---+--------+--------+--------+--------+
           | resrvd |                          |
        .. | set to |  verb enumeration value  |
           | zero   |   (a)     (b)      (c)   |
        ---+--------+--------+--------+--------+ octet
           |    1   |             3            | count

   The first octet is reserved for future use and MUST be set to zero.





Bierman, et. al.            Standards Track                     [Page 8]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


   The next three octets identify the <verbEnum> field used to enumerate
   the particular application verb represented by the <verbName> field.
   This field is a 24-bit unsigned integer, encoded in network byte
   order.

   The value zero is reserved to identify the special 'connect(0)' verb.
   This verb enumeration value (i.e., '0' part of 'connect(0)') MUST NOT
   be redefined in a verb identifier macro verb list.  Note that the
   verb name 'connect' is not reserved and MAY be redefined in a verb
   list.

3.2.2  Mapping of the ProtocolDirID object

   The protocolDirID OCTET STRING value for a particular application
   verb is represented by the protocolDirID value for the parent
   application, appended with the verb's layer identifier value.

                        Figure 2
              ProtocolDirID Format for Verbs
              ------------------------------

                protocolDirID string
           +--------+--------+--------+--------+
           |        parent            |  verb  |
           |    protocolDirID         | layer  |
           |        string            | value  |
           +--------+--------+--------+--------+ octet
           |   length of parent ID    |   4    | count

   The protocolDirID object is encoded as the protocolDirID value of the
   parent application, followed by four additional octets representing
   the verb layer.  The verb layer value is encoded as [0.a.b.c] where
   'a' is the high order byte, 'b' is the middle order byte, and 'c' is
   the low order byte of the <verbEnum> field for the specific
   application verb value. A valid PI verb enumeration will be encoded
   in the range "0.0.0.0" to "0.255.255.255", where the special value
   "0.0.0.0" is reserved for the implicitly defined 'connect(0)' verb.

3.2.3  Mapping of the ProtocolDirParameters object

   The protocolDirParameters OCTET STRING value for a particular
   application verb is represented by the protocolDirParameters value
   for the parent application, appended with one octet containing the
   value zero.  Although not actually used, this field is included to
   conform to the encoding rules defined in the Protocol Identifiers
   Reference [RFC2895].





Bierman, et. al.            Standards Track                     [Page 9]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


3.2.4  Mapping of the ProtocolDirLocalIndex object

   The agent MUST assign an appropriate protocolDirLocalIndex value for
   each application verb according to the encoding rules defined for
   this object in [RFC2021] and [RFC2895].

3.2.5  Mapping of the protocolDirDescr object

   The agent MUST convey the <verbName> value for a particular
   application verb in the protocolDirDescr object.  This object SHOULD
   be encoded as the protocolDirDescr value for the parent application
   appended with a 'dot' character, followed by the exact text contained
   in the <verbName> field.

3.2.6  Mapping of the protocolDirType object

   The agent MUST set the protocolDirType object for each application
   verb to the value representing the empty bit set ( {} ).

3.2.7  Mapping of the protocolDirAddressMapConfig object

   The agent MUST set the protocolDirAddressMapConfig object for each
   application verb to the value 'notSupported(1)'.

3.2.8  Mapping of the protocolDirHostConfig object

   The agent MUST set the protocolDirHostConfig object for each
   application verb present in the protocol directory according to the
   monitoring capabilities for each verb.  The agent MAY set this object
   to the same value as configured in the parent application
   protocolDirHostConfig object.  The agent MAY choose to transition
   this object from the value 'supportedOn(2)' to 'supportedOff(3)' if
   the parent application protocolDirHostConfig object first transitions
   from 'supportedOn(2)' to 'supportedOff(3)'.

3.2.9  Mapping of the protocolDirMatrixConfig object

   The agent MUST set the protocolDirMatrixConfig object for each
   application verb according to the monitoring capabilities for each
   verb.  The agent MAY set this object to the same value as configured
   in the parent application protocolDirMatrixConfig object.  The agent
   MAY choose to transition this object from the value 'supportedOn(2)'
   to 'supportedOff(3)' if the parent application
   protocolDirMatrixConfig object first transitions from
   'supportedOn(2)' to 'supportedOff(3)'.






Bierman, et. al.            Standards Track                    [Page 10]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


3.2.10  Mapping of the protocolDirOwner object

   This object is encoded exactly the same for application verbs as for
   other protocolDirTable entries, according to the rules specified in
   the RMON-2 MIB [RFC2021].

3.2.11  Mapping of the protocolDirStatus object

   This object is encoded exactly the same for application verbs as for
   other protocolDirTable entries, according to the rules specified in
   RMON-2 MIB [RFC2021].

4.  Implementation Considerations

   This section discusses the implementation implications for agents
   which support verbs in the protocol directory and the RMON
   collections which utilize the protocol directory.

4.1  Stateful Protocol Decoding

   Implementations of the RMON-2 MIB for application layer and network
   layer protocols typically require little if any state to be
   maintained by the probe.  The probe can generally decide whether to
   count a packet and its octets on the packet's own merits, without
   referencing or updating any state information.

   Implementations of the RMON-2 MIB at the verb layer will, for many
   protocols, need to maintain state information in order to correctly
   classify a packet as "belonging" to one verb or another.  The
   examples below illustrate this point.

   For SNMP over UDP, a Response-PDU for an SNMP Get-PDU can't be
   distinguished from a Response-PDU for a Getnext-PDU.  A probe would
   need to maintain state information in order to correlate a Response-
   PDU from B to A with a previous request from A to B.

   For application protocols carried over a stream-based transport such
   as TCP, the information required to identify an application verb can
   span several packets.  A probe would need to follow the transport-
   layer flow in order to correctly parse the application-layer data.

4.2  Packet Capture

   For packet capture based on verb-layer protocol directory filtering,
   the decision to include a packet in the capture buffer may need to be
   deferred until the packet can be conclusively attributed to a





Bierman, et. al.            Standards Track                    [Page 11]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


   particular verb.  A probe may need to pre-buffer packets while
   deciding to include or exclude them from capture based on other
   packets that have not yet arrived.

4.3  RMON-2 MIB Collections

   Data collections such as the protocol distribution or Application
   Layer Host Table (alHostTable) require that each packet is counted
   only once, i.e., a given packet is fully classified as a single
   protocol encapsulation which resolves to a single leaf entry in the
   protocol directory.  Also, octet counters related to protocol
   classification are incremented by the entire size of packet, not just
   the octets associated with a particular encapsulation layer.

   It is possible that particular application protocols will allow
   multiple types of verbs to be present in a single packet.  In this
   case, the agent MUST choose one verb type, and therefore one protocol
   directory entry, in order to properly count such a packet.

   It is an implementation-specific matter as to which verb type an
   agent selects to identify a packet in the event more than one verb
   type is present in that packet.  Some possible choices include:

      -  the first verb type encountered in the packet

      -  the verb type with the most instances in the packet

      -  the verb type using the largest number of octets in the packet

      -  the most 'interesting' verb type in the packet (based on
         knowledge of that application protocol).

5.  Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   intellectual property or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; neither does it represent that it
   has made any effort to identify any such rights.  Information on the
   IETF's procedures with respect to rights in standards-track and
   standards-related documentation can be found in BCP-11.  Copies of
   claims of rights made available for publication and any assurances of
   licenses to be made available, or the result of an attempt made to
   obtain a general license or permission for the use of such
   proprietary rights by implementors or users of this specification can
   be obtained from the IETF Secretariat.




Bierman, et. al.            Standards Track                    [Page 12]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights which may cover technology that may be required to practice
   this standard.  Please address the information to the IETF Executive
   Director.

6.  Acknowledgements

   This memo is a product of the RMONMIB WG.

7.  Normative References

   [RFC1905] SNMPv2 Working Group, Case, J., McCloghrie, K., Rose, M.
             and S. Waldbusser, "Protocol Operations for Version 2 of
             the Simple Network Management Protocol (SNMPv2)", RFC 1905,
             January 1996.

   [RFC1906] SNMPv2 Working Group, Case, J., McCloghrie, K., Rose, M.
             and S.  Waldbusser, "Transport Mappings for Version 2 of
             the Simple Network Management Protocol (SNMPv2)", RFC 1906,
             January 1996.

   [RFC2021] Waldbusser, S., "Remote Network Monitoring MIB (RMON-2)",
             RFC 2021, January 1997.

   [RFC2026] Bradner, S., "The Internet Standards Process -- Revision
             3", BCP 9, RFC 2026, October 1996.

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

   [RFC2571] Harrington, D., Presuhn, R. and B. Wijnen, "An Architecture
             for Describing SNMP Management Frameworks", RFC 2571, April
             1999.

   [RFC2572] Case, J., Harrington D., Presuhn R. and B. Wijnen, "Message
             Processing and Dispatching for the Simple Network
             Management Protocol (SNMP)", RFC 2572, April 1999.

   [RFC2573] Levi, D., Meyer, P. and B. Stewart, "SNMPv3 Applications",
             RFC 2573, April 1999.

   [RFC2574] Blumenthal, U. and B. Wijnen, "User-based Security Model
             (USM) for version 3 of the Simple Network Management
             Protocol (SNMPv3)", RFC 2574, April 1999.






Bierman, et. al.            Standards Track                    [Page 13]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


   [RFC2575] Wijnen, B., Presuhn, R. and K. McCloghrie, "View-based
             Access Control Model (VACM) for the Simple Network
             Management Protocol (SNMP)", RFC 2575, April 1999.

   [RFC2578] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J.,
             Rose, M.  and S. Waldbusser, "Structure of Management
             Information Version 2 (SMIv2)", STD 58, RFC 2578, April
             1999.

   [RFC2579] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J.,
             Rose, M.  and S. Waldbusser, "Textual Conventions for
             SMIv2", STD 58, RFC 2579, April 1999.

   [RFC2580] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J.,
             Rose, M.  and S. Waldbusser, "Conformance Statements for
             SMIv2", STD 58, RFC 2580, April 1999.

   [RFC2895] Bierman, A., Bucci, C. and R. Iddon, "Remote Network
             Monitoring MIB Protocol Identifiers", RFC 2895, August
             2000.

8.  Informative References

   [RFC1155] Rose, M. and K. McCloghrie, "Structure and Identification
             of Management Information for TCP/IP-based Internets", STD
             16, RFC 1155, May 1990.

   [RFC1157] Case, J., Fedor, M., Schoffstall, M. and J. Davin, "Simple
             Network Management Protocol", STD 15, RFC 1157, May 1990.

   [RFC1212] Rose, M. and K. McCloghrie, "Concise MIB Definitions", STD
             16, RFC 1212, March 1991.

   [RFC1215] Rose, M., "A Convention for Defining Traps for use with the
             SNMP", RFC 1215, March 1991.

   [RFC1901] SNMPv2 Working Group, Case, J., McCloghrie, K., Rose, M.
             and S.  Waldbusser, "Introduction to Community-based
             SNMPv2", RFC 1901, January 1996.

   [RFC2570] Case, J., Mundy, R., Partain, D. and B. Stewart,
             "Introduction to Version 3 of the Internet-standard Network
             Management Framework", RFC 2570, April 1999.








Bierman, et. al.            Standards Track                    [Page 14]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


9.  IANA Considerations

   At this time there are no application protocol verbs defined that
   require IANA registration, similar to the 'ianaAssigned' protocol
   identifiers found in RFC 2895.  It is remotely possible that a future
   version of this document will contain application verb definitions
   which require assignment in the 'ianaAssigned' protocol identifier
   subtree.

10.  Security Considerations

   This memo defines the structure of a portion of the Remote Monitoring
   MIB framework, but does not define any MIB objects or protocol
   operations.  Instead, it defines algorithms for representing
   application protocol verbs in RMON Protocol Identifiers.  It does not
   introduce any new security risks into a managed system.

   However, if an MIB collection is designed which utilizes this type of
   Protocol Identifier, then such a collection may expose which verbs in
   an application protocol are used in a network.  Inclusion of this
   additional information may require more consideration for protection.
   MIB writers should address such considerations.





























Bierman, et. al.            Standards Track                    [Page 15]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


Appendix A: Usage Examples

   The following examples are listed to demonstrate how RMON verb
   identifiers are declared.

A.1  FTP Example

   This example defines verb enumeration values for the File Transfer
   Protocol as defined in RFC 959 and updated by RFC 2228 and RFC 2640.
   Note that verb name strings specified in the <verbName> field are not
   limited to 4 characters in length. In the FTP protocol, all the
   command names are 4 characters in length and the verb name string
   should match the official command name as closely as possible.

   ftp VERB-IDENTIFIER
       DESCRIPTION
         "The set of verbs for FTP is derived from the list
          of commands defined for the File Transfer Protocol,
          which are identified by case-insensitive strings.
          The commands are simply listed in the order found
          in the FTP documentation."
       REFERENCE
         "File Transfer Protocol, RFC 959, Section 4.1;
          FTP Security Extensions, RFC 2228, Section 3;
          Internationalization of the File Transfer Protocol,
          RFC 2640, Section 4.1."
       ::= {
             user(1),     -- USER NAME
             pass(2),     -- PASSWORD
             acct(3),     -- ACCOUNT
             cwd(4),      -- CHANGE WORKING DIRECTORY
             cdup(5),     -- CHANGE TO PARENT DIRECTORY
             smnt(6),     -- STRUCTURE MOUNT
             rein(7),     -- REINITIALIZE
             quit(8),     -- LOGOUT
             port(9),     -- DATA PORT
             pasv(10),    -- PASSIVE
             type(11),    -- REPRESENTATION TYPE
             stru(12),    -- FILE STRUCTURE
             mode(13),    -- TRANSFER MODE
             retr(14),    -- RETRIEVE
             stor(15),    -- STORE
             stou(16),    -- STORE UNIQUE
             appe(17),    -- APPEND (with create)
             allo(18),    -- ALLOCATE
             rest(19),    -- RESTART
             rnfr(20),    -- RENAME FROM
             rnto(21),    -- RENAME TO



Bierman, et. al.            Standards Track                    [Page 16]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


             abor(22),    -- ABORT
             dele(23),    -- DELETE
             rmd(24),     -- REMOVE DIRECTORY
             mkd(25),     -- MAKE DIRECTORY
             pwd(26),     -- PRINT WORKING DIRECTORY
             list(27),    -- LIST
             nlst(28),    -- NAME LIST
             site(29),    -- SITE PARAMETERS
             syst(30),    -- SYSTEM
             stat(31),    -- STATUS
             help(32),    -- HELP
             noop(33),    -- NOOP
             auth(34),    -- AUTHENTICATION/SECURITY MECHANISM
             adat(35),    -- AUTHENTICATION/SECURITY DATA
             pbsz(36),    -- PROTECTION BUFFER SIZE
             prot(37),    -- DATA CHANNEL PROTECTION LEVEL
             ccc(38),     -- CLEAR COMMAND CHANNEL
             mic(39),     -- INTEGRITY PROTECTED COMMAND
             conf(40),    -- CONFIDENTIALITY PROTECTED COMMAND
             enc(41),     -- PRIVACY PROTECTED COMMAND
             lang(42)     -- LANGUAGE
      }

A.2  POP3 Example

   This example defines verb enumeration values for the Post Office
   Protocol, Version 3, as defined in RFC 1939 and updated by RFC 2449.

   pop3 VERB-IDENTIFIER
       DESCRIPTION
         "The set of verbs for POP3 is derived from the list
          of commands defined for the Post Office Protocol,
          which are identified by case-insensitive strings.
          The commands are simply listed in the order found
          in the POP3 command summary."
       REFERENCE
         "Post Office Protocol, Version 3, RFC 1939, Section 9;
          POP3 Extension Mechanism, RFC 2449, Section 5."
       ::= {
             user(1),
             pass(2),
             quit(3),
             stat(4),
             list(5),
             retr(6),
             dele(7),
             noop(8),
             rset(9),



Bierman, et. al.            Standards Track                    [Page 17]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


             apop(10),
             top(11),
             uidl(12),
             capa(13)
       }

A.3  SNMP Example

   This example defines verb enumeration values for the Simple Network
   Management Protocol, as defined in RFC 1905.

   snmp VERB-IDENTIFIER
       DESCRIPTION
         "The set of verbs for SNMP is derived from the list
          of PDU transaction types in the Protocol Operations
          document for SNMPv2.  Note that the 'Response'
          and 'Report' PDUs are not considered verbs, but are
          classified as belonging to the transaction type
          associated with the request PDU."
       REFERENCE
         "Protocol Operations for Version 2 of the
          Simple Network Management Protocol (SNMPv2),
          RFC 1905, Section 3."
       ::= {
             get(1),
             get-next(2),
             get-bulk(3),
             set(4),
             inform-request(5),
             trap(6)
       }

A.4  HTTP Example

   This example defines verb enumeration values for the Hypertext
   Transfer Protocol, version 1.1, as defined in RFC 2616.

   http VERB-IDENTIFIER
       DESCRIPTION
         "The set of verbs for HTTP is derived from the list
          of methods defined for the Hypertext Transfer Protocol,
          which are identified by case-sensitive strings.
          The commands are simply listed in the order found
          in the HTTP/1.1 documentation.  Methods commonly used
          in HTTP/1.0 are a proper subset of those used in HTTP/1.1.
          Both versions of the protocol are in current use."
       REFERENCE
          "Hypertext Transfer Protocol -- HTTP/1.1, RFC 2616,



Bierman, et. al.            Standards Track                    [Page 18]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


          Section 9; Hypertext Transfer Protocol -- HTTP/1.0, RFC
          1945, Section 8."
       ::= {
             options(1),
             get(2),
             head(3),
             post(4),
             put(5),
             delete(6),
             trace(7),
             connect(8)  -- reserved for future use by HTTP/1.1
       }

A.5  SMTP Example

   This example defines verb enumeration values for the Simple Mail
   Transfer Protocol as defined in RFC 2821.

   smtp VERB-IDENTIFIER
       DESCRIPTION
       "The set of verbs for SMTP is derived from the set of commands
        defined for the protocol.  These commands are identified
        by case-insensitive strings.  Commands are listed in the
        order found in RFC 2821.  The special "xcmd" verb is defined
        here as a catch-all for private-use commands, which must
        start with the letter 'X'."
       REFERENCE
         "Simple Mail Transfer Protocol -- RFC 2821, sections 4.1.1
          and 4.1.5."
       ::= {
             ehlo(1),  -- Extended HELLO (4.1.1.1)
             helo(2),  -- HELLO (4.1.1.1)
             mail(3),  -- MAIL (4.1.1.2)
             rcpt(4),  -- RECIPIENT (4.1.1.3)
             data(5),  -- DATA (4.1.1.4)
             rset(6),  -- RESET (4.1.1.5)
             vrfy(7),  -- VERIFY (4.1.1.6)
             expn(8),  -- EXPAND (4.1.1.7)
             help(9),  -- HELP (4.1.1.8)
             noop(10), -- NOOP (4.1.1.9)
             quit(11), -- QUIT (4.1.1.10)
             xcmd(12)  -- Catch-all for private-use "X" commands (4.1.5)
       }








Bierman, et. al.            Standards Track                    [Page 19]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


Authors' Addresses

   Andy Bierman
   Cisco Systems, Inc.
   170 West Tasman Dr
   San Jose, CA USA 95134

   Phone: +1 408-527-3711
   EMail: abierman@cisco.com


   Chris Bucci
   Cisco Systems, Inc.
   170 West Tasman Dr
   San Jose, CA USA 95134

   Phone: +1 408-527-5337
   EMail: cbucci@cisco.com


   Russell Dietz
   Hifn, Inc.
   750 University Ave
   Los Gatos, CA, USA 95032-7695

   Phone: +1 408-399-3623
   EMail: rdietz@hifn.com


   Albin Warth

   EMail: dahoss@earthlink.net



















Bierman, et. al.            Standards Track                    [Page 20]
^L
RFC 3395                 RMON Verb Identifiers            September 2002


Full Copyright Statement

   Copyright (C) The Internet Society (2002).  All Rights Reserved.

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.



















Bierman, et. al.            Standards Track                    [Page 21]
^L