home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_q_t / draft-ietf-rtfm-meter-mib-00.txt < prev    next >
Text File  |  1997-03-12  |  81KB  |  2,483 lines

  1.  
  2.  
  3.  
  4.  
  5. Internet Engineering Task Force                           Nevil Brownlee
  6. INTERNET-DRAFT                                The University of Auckland
  7. Expire in six months                                          March 1997
  8.  
  9.  
  10.                   Traffic Flow Measurement:  Meter MIB
  11.  
  12.                    <draft-ietf-rtfm-meter-mib-00.txt>
  13.  
  14.  
  15.  
  16.  
  17. Status of this Memo
  18.  
  19. This document is an Internet Draft.  Internet Drafts are working
  20. documents of the Internet Engineering Task Force (IETF), its Areas, and
  21. its Working Groups.  Note that other groups may also distribute working
  22. documents as Internet Drafts.  This Internet Draft is a product of the
  23. Realtime Traffic Flow Measurement Working Group of the IETF.
  24.  
  25. Internet Drafts are draft documents valid for a maximum of six months.
  26. Internet Drafts may be updated, replaced, or obsoleted by other
  27. documents at any time.  It is not appropriate to use Internet Drafts as
  28. reference material or to cite them other than as a "working draft" or
  29. "work in progress."
  30.  
  31. Please check the I-D abstract listing contained in the internet-drafts
  32. Shadow Directories on nic.ddn.mil, nnsc.nsf.net, nic.nordu.net,
  33. ftp.nisc.sri.com or munnari.oz.au to learn the current status of this or
  34. any other Internet Draft.
  35.  
  36.  
  37.  
  38. Abstract
  39.  
  40. This memo defines a portion of the Management Information Base (MIB) for
  41. use with network management protocols in TCP/IP-based internets.  In
  42. particular, this memo defines managed objects used for obtaining traffic
  43. flow information from network traffic meters.
  44.  
  45.  
  46.  
  47.  
  48.  
  49. INTERNET-DRAFT      Traffic Flow Measurement:  Meter MIB      March 1997
  50.  
  51. Contents
  52.  
  53.  1 Introduction                                                        2
  54.  
  55.  2 The Network Management Framework                                    2
  56.  
  57.  3 Objects                                                             3
  58.    3.1 Format of Definitions  . . . . . . . . . . . . . . . . . . . .  3
  59.  
  60.  4 Overview                                                            3
  61.   4.1 Scope of Definitions, Textual Conventions . . . . . . . . . . .  4
  62.   4.2 Usage of the MIB variables  . . . . . . . . . . . . . . . . . .  4
  63.  
  64.  5 Definitions                                                         6
  65.  
  66.  6 Acknowledgements                                                   40
  67.  
  68.  7 References                                                         41
  69.  
  70.  8 Security Considerations                                            42
  71.  
  72.  9 Author's Address                                                   43
  73.  
  74.  
  75.  
  76. 1 Introduction
  77.  
  78. This memo defines a portion of the Management Information Base (MIB) for
  79. use with network management protocols in the Internet community.  In
  80. particular, it describes managed objects for managing and collecting
  81. data from network Realtime Traffic Flow Meters, as described in [9]
  82.  
  83.  
  84.  
  85. 2 The Network Management Framework
  86.  
  87. The Internet-standard Network Management Framework consists of three
  88. components.  They are:
  89.  
  90.     RFC 1155 defines the SMI, the mechanisms used for describing
  91.     and naming objects for the purpose of management.  RFC 1212
  92.     defines a more concise description mechanism, which is wholly
  93.     consistent with the SMI.
  94.  
  95.     RFC 1156 defines MIB-I, the core set of managed objects for the
  96.     Internet suite of protocols.  RFC 1213 [1] defines MIB-II, an
  97.     evolution of MIB-I based on implementation experience and new
  98.     operational requirements.
  99.  
  100.     RFC 1157 defines the SNMP, the protocol used for network access
  101.     to managed objects.
  102.  
  103.  
  104. Nevil Brownlee                                                  [Page 2]
  105.  
  106.  
  107. INTERNET-DRAFT      Traffic Flow Measurement:  Meter MIB      March 1997
  108.  
  109.     RFC 1902 [2] defines the SMI for version 2 of the Simple
  110.     Network Management Protocol.
  111.  
  112.     RFCs 1903 and 1904 [3,4] define Textual Conventions and
  113.     Conformance Statements for version 2 of the Simple Network
  114.     Management Protocol.
  115.  
  116.     RFC 1908 [5] describes how versions 1 and 2 of the Simple
  117.     Network Management Protocol should coexist.
  118.  
  119. The Framework permits new objects to be defined for the purpose of
  120. experimentation and evaluation.
  121.  
  122.  
  123.  
  124. 3 Objects
  125.  
  126. Managed objects are accessed via a virtual information store, termed the
  127. Management Information Base or MIB. Objects in the MIB are defined using
  128. the subset of Abstract Syntax Notation One (ASN.1) [6] defined in the
  129. SMI. In particular, each object has a name, a syntax, and an encoding.
  130. The name is an object identifier, an administratively assigned name,
  131. which specifies an object type.  The object type together with an object
  132. instance serves to uniquely identify a specific instantiation of the
  133. object.  For human convenience, we often use a textual string, termed
  134. the OBJECT DESCRIPTOR, to also refer to the object type.
  135.  
  136. The syntax of an object type defines the abstract data structure
  137. corresponding to that object type.  The ASN.1 language is used for this
  138. purpose.  However, the SMI [2] purposely restricts the ASN.1 constructs
  139. which may be used.  These restrictions are explicitly made for
  140. simplicity.
  141.  
  142. The encoding of an object type is simply how that object type is
  143. represented using the object type's syntax.  Implicitly tied to the
  144. notion of an object type's syntax and encoding is how the object type is
  145. represented when being transmitted on the network.
  146.  
  147. The SMI specifies the use of the basic encoding rules of ASN.1 [7],
  148. subject to the additional requirements imposed by the SNMP.
  149.  
  150.  
  151. 3.1 Format of Definitions
  152.  
  153.  
  154. Section 4 contains contains the specification of all object types
  155. contained in this MIB module.  These object types are defined using the
  156. conventions defined in [2] and [3].
  157.  
  158.  
  159.  
  160.  
  161.  
  162. Nevil Brownlee                                                  [Page 3]
  163.  
  164.  
  165. INTERNET-DRAFT      Traffic Flow Measurement:  Meter MIB      March 1997
  166.  
  167. 4 Overview
  168.  
  169.  
  170. Traffic Flow Measurement seeks to provide a well-defined method for
  171. gathering traffic flow information from networks and internetworks.  The
  172. background for this is given in "Traffic Flow Measurement:  Background"
  173. [8].  The Realtime Traffic Flow Measurement (rtfm) Working Group has
  174. produced a measurement architecture to achieve it; this is documented in
  175. "Traffic Flow Measurement:  Architecture" [9].  The architecture defines
  176. three entities:
  177.  
  178.  
  179.  
  180.   - METERS, which observe network traffic flows and build up a table of
  181.     flow data records for them,
  182.  
  183.   - METER READERS, which collect traffic flow data from meters, and
  184.  
  185.   - MANAGERS, which oversee the operation of meters and meter readers.
  186.  
  187.  
  188. This memo defines the SNMP management information for a Traffic Flow
  189. Meter (TFM). It documents the earlier work of the Internet Accounting
  190. Working Group, and is intended to provide a starting point for the
  191. Realtime Traffic Flow Measurement Working Group.
  192.  
  193.  
  194. 4.1 Scope of Definitions, Textual Conventions
  195.  
  196.  
  197. All objects defined in this memo are registered in a single subtree
  198. within the mib-2 namespace [1,2], and are for use in network devices
  199. which may perform a PDU forwarding or monitoring function.  For these
  200. devices, the value of the ifSpecific variable in the MIB-II [1] has the
  201. OBJECT IDENTIFIER value:
  202.  
  203. flowMIB OBJECT IDENTIFIER ::=  mib-2 40
  204.  
  205. as defined below.
  206.  
  207. The RTFM Meter MIB was first produced and tested using SNMPv1.  It has
  208. been converted into SNMPv2 following the guidelines in RFC 1452 [5].
  209.  
  210.  
  211.  
  212. 4.2 Usage of the MIB variables
  213.  
  214.  
  215. The MIB breaks into four parts - control, flows, rules and conformance
  216. statements.
  217.  
  218. The rules implement the minumum set of packet-matching actions, as set
  219.  
  220. Nevil Brownlee                                                  [Page 4]
  221.  
  222.  
  223. INTERNET-DRAFT      Traffic Flow Measurement:  Meter MIB      March 1997
  224.  
  225. out in the "Traffic Flow Measurment:  Architecture" document [9].  In
  226. addition they provide for BASIC-style subroutines, allowing a network
  227. manager to dramatically reduce the number of rules required to monitor a
  228. large network.
  229.  
  230. Traffic flows are identified by a set of attributes for each of their
  231. end-points.  Attributes include network addresses for each layer of the
  232. network protocol stack, and 'subscriber ids,' which may be used to
  233. identify an accountable entity for the flow.
  234.  
  235. The conformance statements are set out as defined in [4].  They explain
  236. what must be implemented in a meter which claims to conform to this MIB.
  237.  
  238. To retrieve flow data one could simply do a linear scan of the flow
  239. table.  This would certainly work, but would require a lot of protocol
  240. exchanges.  To reduce the overhead in retrieving flow data the flow
  241. table uses a TimeFilter variable, defined as a Textual Convention in the
  242. RMON2 MIB [10].  This, when used together with SNMPv2's GetBulk request,
  243. allows a meter reader to scan the flow table and upload a specified set
  244. of flow attributes for those rows which have changed since the last
  245. reading.
  246.  
  247. As an alternative method of reading flow data, the MIB provides an index
  248. into the flow table called flowColumnActivityTable.  This is (logically)
  249. a three-dimensional array, subscripted by flow attribute, activity time
  250. and starting flow number.  It allows a meter reader to retrieve (in an
  251. octet string) data for a column of the flow table with a minimum of SNMP
  252. overhead.  An attempt has been made to include a full ASN.1 definition
  253. of the flowColumnActivityData object.
  254.  
  255. One aspect of data collection which needs emphasis is that all the MIB
  256. variables are set up to allow multiple independent meter readers to work
  257. properly, i.e.  the flow table indexes are stateless.  An alternative
  258. approach would have been to 'snapshot' the flow table, which would mean
  259. that the meter readers would have to be synchronized.  The stateless
  260. approach does mean that two meter readers will never return exactly the
  261. same set of traffic counts, but over long periods (e.g.  15-minute
  262. collections over a day) the discrepancies are acceptable.  If one really
  263. needs a snapshot, this can be achieved by switching to an identical rule
  264. set with a different RuleSet number, hence asynchronous collections may
  265. be regarded as a useful generalisation of synchronised ones.
  266.  
  267. The control variables are the minimum set required for a meter reader.
  268. Their number has been whittled down as experience has been gained with
  269. the MIB implementation.  A few of them are 'general,' i.e.  they control
  270. the overall behaviour of the meter.  These are set by a single 'master'
  271. manager, and no other manager should attempt to change their values.
  272. The decision as to which manager is the 'master' must be made by the
  273. network operations personnel responsible; this MIB does not attempt to
  274. define any interaction between managers.
  275.  
  276.  
  277.  
  278. Nevil Brownlee                                                  [Page 5]
  279.  
  280.  
  281. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  282.  
  283. There are three other groups of control groups, arranged into tables in
  284. the same way as in the RMON2 MIB [10].  They are used as follows:
  285.  
  286.  
  287.  
  288.   - RULE SET INFO: Before attempting to download a RuleSet, a manager
  289.     must create a row in the flowRuleSetInfoTable with
  290.     flowRuleInfoStatus set to 'createAndWait' and set flowRuleInfoSize
  291.     to a value large enough to hold the RuleSet.  When the rule set is
  292.     ready the manager must set flowRuleInfoStatus to 'active,'
  293.     indicating that the rule set is ready for use (but not yet
  294.     'running').
  295.  
  296.   - METER READER INFO: Any meter reader wishing to collect data
  297.     reliably for all flows should first create a row in the
  298.     flowReaderInfoTable with flowReaderStatus set to 'active.'  It
  299.     should write that row's flowReaderLastTime object each time it
  300.     starts a collection pass through the flow table.  The meter will
  301.     not recover a flow's memory until every meter reader holding a row
  302.     in this table has collected that flow's data.
  303.  
  304.   - MANAGER INFO: Any manager wishing to run a rule set in the meter
  305.     must create a row in the flowManagerInfo table designating the rule
  306.     set as either a 'current' or a 'standby' rule set, and set the
  307.     row's flowManagerStatus variable to 'active.'
  308.  
  309.  
  310.  
  311. 5 Definitions
  312.  
  313.  
  314. FLOW-METER-MIB DEFINITIONS ::= BEGIN
  315.  
  316. IMPORTS
  317.     MODULE-IDENTITY, OBJECT-TYPE, Counter32, Counter64, Integer32
  318.         FROM SNMPv2-SMI
  319.     TEXTUAL-CONVENTION, RowStatus, TimeStamp, TruthValue
  320.         FROM SNMPv2-TC
  321.     OBJECT-GROUP, MODULE-COMPLIANCE
  322.         FROM SNMPv2-CONF
  323.     mib-2, ifIndex
  324.         FROM RFC1213-MIB
  325.     TimeFilter, OwnerString
  326.         FROM RMON-MIB;
  327.  
  328. flowMIB MODULE-IDENTITY
  329.     LAST-UPDATED "9703111620Z"
  330.     ORGANIZATION "IETF Realtime Traffic Flow Measurement Working Group"
  331.     CONTACT-INFO
  332.         "Nevil Brownlee, The University of Auckland
  333.  
  334.         Postal: Information Technology Sytems & Services
  335.  
  336. Nevil Brownlee                                                  [Page 6]
  337.  
  338.  
  339. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  340.  
  341.                 The University of Auckland
  342.                 Private Bag 92-019
  343.                 Auckland, New Zealand
  344.  
  345.         Phone:  +64 9 373 7599 x8941
  346.         E-mail: n.brownlee@auckland.ac.nz"
  347.     DESCRIPTION
  348.                 "MIB for the RTFM Traffic Flow Meter."
  349.     ::= { mib-2 40 }
  350.  
  351.  
  352. flowControl         OBJECT IDENTIFIER ::= { flowMIB 1 }
  353.  
  354. flowData            OBJECT IDENTIFIER ::= { flowMIB 2 }
  355.  
  356. flowRules           OBJECT IDENTIFIER ::= { flowMIB 3 }
  357.  
  358. flowMIBConformance  OBJECT IDENTIFIER ::= { flowMIB 4 }
  359.  
  360.  
  361. -- Textual Conventions
  362.  
  363. MediumType ::= TEXTUAL-CONVENTION
  364.     STATUS  current
  365.     DESCRIPTION
  366.         "Specifies the type of a MediumAddress (see below).  The
  367.         values used for IEEE 802 media are from the 'Network
  368.         Management Parameters (ifType definitions)' section of the
  369.         Assigned Numbers RFC [11]."
  370.     SYNTAX  INTEGER {
  371.         ethernet(7),
  372.         tokenring(9),
  373.         fddi(15) }
  374.  
  375. MediumAddress ::= TEXTUAL-CONVENTION
  376.     STATUS  current
  377.     DESCRIPTION
  378.         "Specifies the value of a Medium Access Control (MAC) address.
  379.         Address format depends on the actual Medium, as follows:
  380.  
  381.         Ethernet:     ethernet(7)
  382.             6-octet 802.3 MAC address in 'canonical' order
  383.  
  384.         Token Ring:   tokenring(9)
  385.             6-octet 802.5 MAC address in 'canonical' order
  386.  
  387.         FDDI:         fddi(15)
  388.             FddiMACLongAddress, i.e. a 6-octet MAC address
  389.             in 'canonical' order  (defined in the FDDI MIB [12])
  390.         "
  391.     SYNTAX OCTET STRING (SIZE (6..20))
  392.  
  393.  
  394. Nevil Brownlee                                                  [Page 7]
  395.  
  396.  
  397. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  398.  
  399.  
  400. PeerType ::= TEXTUAL-CONVENTION
  401.     STATUS  current
  402.     DESCRIPTION
  403.         "Indicates the type of a PeerAddress (see below).  The values
  404.         used are from the 'Address Family Numbers' section of the
  405.         Assigned Numbers RFC [11]."
  406.     SYNTAX  INTEGER {
  407.         ipv4(1),
  408.         ipv6(2),
  409.         nsap(3),
  410.         ipx(11),
  411.         appletalk(12),
  412.         decnet(13) }
  413.  
  414. PeerAddress ::= TEXTUAL-CONVENTION
  415.     STATUS  current
  416.     DESCRIPTION
  417.         "Specifies the value of a peer address for various network
  418.         protocols.  Address format depends on the actual protocol,
  419.         as indicated below:
  420.  
  421.         IPv4:        ipv4(1)
  422.             4-octet IpAddress  (defined in the SNMPv2 SMI [2])
  423.  
  424.         IPv6:        ipv6(2)
  425.             16-octet IpAddress  (defined in the
  426.                                     IPv6 Addressing RFC [13])
  427.  
  428.         CLNS:        nsap(3)
  429.             NsapAddress  (defined in the SNMPv2 SMI [2])
  430.  
  431.         Novell:      ipx(11)
  432.             4-octet Network number,
  433.             6-octet Host number (MAC address)
  434.  
  435.         AppleTalk:   appletalk(12)
  436.             2-octet Network number (sixteen bits),
  437.             1-octet Host number (eight bits)
  438.  
  439.         DECnet:      decnet(13)
  440.             1-octet Area number (in low-order six bits),
  441.             2-octet Host number (in low-order ten bits)
  442.         "
  443.     SYNTAX OCTET STRING (SIZE (3..20))
  444.  
  445. AdjacentType ::= TEXTUAL-CONVENTION
  446.     STATUS  current
  447.     DESCRIPTION
  448.         "Indicates the type of an adjacent address.
  449.         Is a superset of MediumType and PeerType."
  450.  
  451.  
  452. Nevil Brownlee                                                  [Page 8]
  453.  
  454.  
  455. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  456.  
  457.     SYNTAX  INTEGER {
  458.         ip(1),
  459.         nsap(3),
  460.         ethernet(7),
  461.         tokenring(9),
  462.         ipx(11),
  463.         appletalk(12),
  464.         decnet(13),
  465.         fddi(15) }
  466.  
  467. AdjacentAddress ::= TEXTUAL-CONVENTION
  468.     STATUS  current
  469.     DESCRIPTION
  470.         "Specifies the value of an adjacent address.
  471.         Is a superset of MediumAddress and PeerAddress."
  472.     SYNTAX OCTET STRING (SIZE (3..20))
  473.  
  474. TransportType ::= TEXTUAL-CONVENTION
  475.     STATUS  current
  476.     DESCRIPTION
  477.         "Indicates the type of a TransportAddress (see below).  Values
  478.         will depend on the actual protocol; for IP they will be those
  479.         given in the 'Protocol Numbers' section of the  Assigned Numbers
  480.         RFC [11], including icmp(1), tcp(6) and udp(17)."
  481.     SYNTAX  INTEGER (1..255)
  482.  
  483. TransportAddress ::= TEXTUAL-CONVENTION
  484.     STATUS  current
  485.     DESCRIPTION
  486.         "Specifies the value of a transport address for various
  487.         network protocols.  Format as follows:
  488.  
  489.         IP:
  490.             2-octet UDP or TCP port number
  491.  
  492.         Other protocols:
  493.             2-octet port number
  494.         "
  495.     SYNTAX OCTET STRING (SIZE (2))
  496.  
  497. RuleAddress ::= TEXTUAL-CONVENTION
  498.     STATUS  current
  499.     DESCRIPTION
  500.         "Specifies the value of an address.  Is a superset of
  501.         MediumAddress, PeerAddress and TransportAddress."
  502.     SYNTAX OCTET STRING (SIZE (2..20))
  503.  
  504. FlowAttributeNumber ::= TEXTUAL-CONVENTION
  505.     STATUS  current
  506.     DESCRIPTION
  507.         "Uniquely identifies an attribute within a flow data record."
  508.  
  509.  
  510. Nevil Brownlee                                                  [Page 9]
  511.  
  512.  
  513. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  514.  
  515.     SYNTAX  INTEGER {
  516.         flowIndex(1),
  517.         flowStatus(2),
  518.         flowTimeMark(3),
  519.  
  520.         sourceInterface(4),
  521.         sourceAdjacentType(5),
  522.         sourceAdjacentAddress(6),
  523.         sourceAdjacentMask(7),
  524.         sourcePeerType(8),
  525.         sourcePeerAddress(9),
  526.         sourcePeerMask(10),
  527.         sourceTransType(11),
  528.         sourceTransAddress(12),
  529.         sourceTransMask(13),
  530.  
  531.         destInterface(14),
  532.         destAdjacentType(15),
  533.         destAdjacentAddress(16),
  534.         destAdjacentMask(17),
  535.         destPeerType(18),
  536.         destPeerAddress(19),
  537.         destPeerMask(20),
  538.         destTransType(21),
  539.         destTransAddress(22),
  540.         destTransMask(23),
  541.  
  542.         pduScale(24),
  543.         octetScale(25),
  544.  
  545.         ruleSet(26),
  546.         toOctets(27),             -- Source-to-Dest
  547.         toPDUs(28),
  548.         fromOctets(29),           -- Dest-to-Source
  549.         fromPDUs(30),
  550.         firstTime(31),            -- Activity times
  551.         lastActiveTime(32),
  552.  
  553.         sourceSubscriberID(33),   -- Subscriber ID
  554.         destSubscriberID(34),
  555.         sessionID(35),
  556.  
  557.         sourceClass(36),          -- Computed attributes
  558.         destClass(37),
  559.         flowClass(38),
  560.         sourceKind(39),
  561.         destKind(40),
  562.         flowKind(41) }
  563.  
  564. RuleAttributeNumber ::= TEXTUAL-CONVENTION
  565.     STATUS  current
  566.  
  567.  
  568. Nevil Brownlee                                                 [Page 10]
  569.  
  570.  
  571. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  572.  
  573.     DESCRIPTION
  574.         "Uniquely identifies an attribute which may be tested in
  575.         a rule.  These include attributes whose values come directly
  576.         from (or are computed from) the flow's packets, and the five
  577.         'meter' variables used to hold an AttributeValue."
  578.     SYNTAX  INTEGER {
  579.         null(0),
  580.         sourceInterface(4),       -- Source Address
  581.         sourceAdjacentType(5),
  582.         sourceAdjacentAddress(6),
  583.         sourcePeerType(8),
  584.         sourcePeerAddress(9),
  585.         sourceTransType(11),
  586.         sourceTransAddress(12),
  587.  
  588.         destInterface(14),        -- Dest Address
  589.         destAdjacentType(15),
  590.         destAdjacentAddress(16),
  591.         destPeerType(18),
  592.         destPeerAddress(19),
  593.         destTransType(21),
  594.         destTransAddress(22),
  595.  
  596.         sourceSubscriberID(33),   -- Subscriber ID
  597.         destSubscriberID(34),
  598.         sessionID(35),
  599.  
  600.         sourceClass(36),          -- Computed attributes
  601.         destClass(37),
  602.         flowClass(38),
  603.         sourceKind(39),
  604.         destKind(40),
  605.         flowKind(41),
  606.  
  607.         matchingStoD(50),         -- Packet matching
  608.  
  609.         v1(51),                   -- Meter variables
  610.         v2(52),
  611.         v3(53),
  612.         v4(54),
  613.         v5(55) }
  614.  
  615. ActionNumber ::= TEXTUAL-CONVENTION
  616.     STATUS  current
  617.     DESCRIPTION
  618.         "Uniquely identifies the action of a rule, i.e. the Pattern
  619.         Matching Engine's opcode number.  Details of the opcodes
  620.         are given in the 'Traffic Flow Measurement: Architecture'
  621.         document [9]."
  622.     SYNTAX  INTEGER {
  623.         ignore(1),
  624.  
  625.  
  626. Nevil Brownlee                                                 [Page 11]
  627.  
  628.  
  629. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  630.  
  631.         fail(2),
  632.         count(3),
  633.         countPkt(4),
  634.         return(5),
  635.         gosub(6),
  636.         gosubAct(7),
  637.         assign(8),
  638.         assignAct(9),
  639.         goto(10),
  640.         gotoAct(11),
  641.         pushRuleTo(12),
  642.         pushRuleToAct(13),
  643.         pushPktTo(14),
  644.         pushPktToAct(15) }
  645.  
  646.  
  647. --
  648. -- Control Group:  Rule Set Info Table
  649. --
  650.  
  651. flowRuleSetInfoTable OBJECT-TYPE
  652.     SYNTAX  SEQUENCE OF FlowRuleSetInfoEntry
  653.     MAX-ACCESS  not-accessible
  654.     STATUS  current
  655.     DESCRIPTION
  656.         "An array of information about the rule sets held in the
  657.         meter.
  658.  
  659.         Any manager may configure a new rule set for the meter by
  660.         creating a row in this table with status active(1), and setting
  661.         values for all the objects in its rules.  At this stage the new
  662.         rule set is available but not 'running,' i.e. it is not being
  663.         used by the meter to produce entries in the flow table.
  664.  
  665.         To actually 'run' a rule set a manager must create a row in
  666.         the flowManagerInfoTable, set it's flowManagerStatus to
  667.         active(1), and set either its CurrentRuleSet or StandbyRuleSet
  668.         to point to the rule set to be run.
  669.  
  670.         Once a rule set is running a manager may not change any of the
  671.         objects within the rule set itself.
  672.  
  673.         Any manager may stop a rule set running by removing all
  674.         references to it in the flowManagerInfoTable (i.e. by setting
  675.         CurrentRuleSet and StandbyRuleSet values to 0). This provides a
  676.         way to stop rule sets left running if a manager fails."
  677.     ::= { flowControl 1 }
  678.  
  679. flowRuleSetInfoEntry OBJECT-TYPE
  680.     SYNTAX  FlowRuleSetInfoEntry
  681.     MAX-ACCESS  not-accessible
  682.  
  683.  
  684. Nevil Brownlee                                                 [Page 12]
  685.  
  686.  
  687. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  688.  
  689.     STATUS  current
  690.     DESCRIPTION
  691.         "Information about a particular rule set."
  692.     INDEX  { flowRuleInfoIndex }
  693.     ::= { flowRuleSetInfoTable 1 }
  694.  
  695. FlowRuleSetInfoEntry ::= SEQUENCE {
  696.     flowRuleInfoIndex         Integer32,
  697.     flowRuleInfoSize          Integer32,
  698.     flowRuleInfoOwner         OwnerString,
  699.     flowRuleInfoTimeStamp     TimeStamp,
  700.     flowRuleInfoStatus        RowStatus,
  701.     flowRuleInfoName          OCTET STRING,
  702.     flowRuleInfoRulesReady    TruthValue,
  703.     flowRuleInfoFlowRecords   Integer32
  704.     }
  705.  
  706. flowRuleInfoIndex OBJECT-TYPE
  707.     SYNTAX  Integer32
  708.     MAX-ACCESS  not-accessible
  709.     STATUS  current
  710.     DESCRIPTION
  711.         "An index which selects an entry in the flowRuleSetInfoTable.
  712.         Each such entry contains control information for a particular
  713.         rule set which the meter may run."
  714.     ::= { flowRuleSetInfoEntry 1 }
  715.  
  716. flowRuleInfoSize OBJECT-TYPE
  717.     SYNTAX  Integer32
  718.     MAX-ACCESS  read-create
  719.     STATUS  current
  720.     DESCRIPTION
  721.         "Number of rules in this rule set.  Setting this variable will
  722.         cause the meter to allocate space for these rules."
  723.     ::= { flowRuleSetInfoEntry 2 }
  724.  
  725. flowRuleInfoOwner OBJECT-TYPE
  726.     SYNTAX  OwnerString
  727.     MAX-ACCESS  read-create
  728.     STATUS  current
  729.     DESCRIPTION
  730.         "Identifies the manager which 'owns' this rule set.  A manager
  731.         must set this variable when creating a row in this table."
  732.     ::= { flowRuleSetInfoEntry 3 }
  733.  
  734. flowRuleInfoTimeStamp OBJECT-TYPE
  735.     SYNTAX  TimeStamp
  736.     MAX-ACCESS  read-only
  737.     STATUS  current
  738.     DESCRIPTION
  739.         "Time this row's associated rule set was last changed."
  740.  
  741.  
  742. Nevil Brownlee                                                 [Page 13]
  743.  
  744.  
  745. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  746.  
  747.     ::= { flowRuleSetInfoEntry 4 }
  748.  
  749. flowRuleInfoStatus OBJECT-TYPE
  750.     SYNTAX  RowStatus
  751.     MAX-ACCESS  read-create
  752.     STATUS  current
  753.     DESCRIPTION
  754.         "The status of this flowRuleSetInfoEntry. If this value is
  755.         not active(1) the meter must not attempt to use this row's
  756.         associated rule set.  Once its value has been set to active(1)
  757.         a manager may change any of this row's variables except
  758.         flowRuleInfoOwner and flowRuleInfoTimeStamp."
  759.     ::= { flowRuleSetInfoEntry 5 }
  760.  
  761. flowRuleInfoName OBJECT-TYPE
  762.     SYNTAX  OCTET STRING
  763.     MAX-ACCESS  read-create
  764.     STATUS  current
  765.     DESCRIPTION
  766.         "An alphanumeric identifier used by managers and readers to
  767.         identify a rule set.  For example, a manager wishing to run a
  768.         rule set named WWW-FLOWS could search the flowRuleSetInfoTable
  769.         to see whether the WWW-FLOWS rule set is already available on
  770.         the meter.
  771.  
  772.         Note that references to rule sets in the flowManagerInfoTable
  773.         use indexes for their flowRuleSetInfoTable entries.  These may
  774.         be different each time the rule set is loaded into a meter."
  775.     ::= { flowRuleSetInfoEntry 6 }
  776.  
  777. flowRuleRulesReady OBJECT-TYPE
  778.     SYNTAX  TruthValue
  779.     MAX-ACCESS  read-create
  780.     STATUS  current
  781.     DESCRIPTION
  782.         "Indicates whether the rules for this row's associated rule set
  783.         are ready for use.  The meter will refuse to 'run' the rule set
  784.         unless this variable has been set to true(1)."
  785.     ::= { flowRuleSetInfoEntry 7 }
  786.  
  787. flowRuleInfoFlowRecords OBJECT-TYPE
  788.     SYNTAX  Integer32
  789.     MAX-ACCESS  read-only
  790.     STATUS  current
  791.     DESCRIPTION
  792.         "The number of entries in the flow table for this rule set.
  793.         These may be current (waiting for collection by one or more
  794.         meter readers) or idle (waiting for the meter to recover
  795.         their memory)."
  796.     ::= { flowRuleSetInfoEntry 8 }
  797.  
  798.  
  799.  
  800. Nevil Brownlee                                                 [Page 14]
  801.  
  802.  
  803. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  804.  
  805. --
  806. -- Control Group:  Interface Info Table
  807. --
  808.  
  809. flowInterfaceTable OBJECT-TYPE
  810.     SYNTAX  SEQUENCE OF FlowInterfaceEntry
  811.     MAX-ACCESS  not-accessible
  812.     STATUS  current
  813.     DESCRIPTION
  814.         "An array of information specific to each meter interface."
  815.     ::= { flowControl 2 }
  816.  
  817. flowInterfaceEntry OBJECT-TYPE
  818.     SYNTAX  FlowInterfaceEntry
  819.     MAX-ACCESS  not-accessible
  820.     STATUS  current
  821.     DESCRIPTION
  822.         "Information about a particular interface."
  823.     INDEX   { ifIndex }
  824.     ::= { flowInterfaceTable 1 }
  825.  
  826. FlowInterfaceEntry ::= SEQUENCE {
  827.     flowInterfaceSampleRate   Integer32,
  828.     flowInterfaceLostPackets  Counter32
  829.     }
  830.  
  831. flowInterfaceSampleRate OBJECT-TYPE
  832.     SYNTAX  Integer32
  833.     MAX-ACCESS  read-write
  834.     STATUS  current
  835.     DESCRIPTION
  836.         "The parameter N for statistical counting on this interface.
  837.         Set to N to count 1/Nth of the packets appearing at this
  838.         interface.  A meter should choose its own algorithm to
  839.         introduce variance into the sampling so that exactly every Nth
  840.         packet is not counted.  A sampling rate of 1 counts all
  841.         packets.  A sampling rate of 0 results in the interface
  842.         being ignored by the meter."
  843.     DEFVAL { 1 }
  844.     ::= { flowInterfaceEntry 1 }
  845.  
  846. flowInterfaceLostPackets OBJECT-TYPE
  847.     SYNTAX  Counter32
  848.     MAX-ACCESS  read-only
  849.     STATUS  current
  850.     DESCRIPTION
  851.         "The number of packets the meter has lost for this interface.
  852.         Such losses may occur because the meter has been unable to
  853.         keep up with the traffic volume."
  854.     ::= { flowInterfaceEntry 2 }
  855.  
  856.  
  857.  
  858. Nevil Brownlee                                                 [Page 15]
  859.  
  860.  
  861. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  862.  
  863. --
  864. -- Control Group:  Meter Reader Info Table
  865. --
  866.  
  867. -- Any meter reader wishing to collect data reliably for all flows
  868. -- should first create a row in this table.  It should write that
  869. -- row's flowReaderLastTime object each time it starts a collection
  870. -- pass through the flow table.
  871.  
  872. -- If a meter reader (MR) does not create a row in this table, e.g.
  873. -- because it failed authentication in the meter's SNMP write
  874. -- community, collection can still proceed but the meter will not be
  875. -- aware of meter reader MR.  This could lead the meter to recover
  876. -- flows before they have been collected by MR.
  877.  
  878. flowReaderInfoTable OBJECT-TYPE
  879.     SYNTAX  SEQUENCE OF FlowReaderInfoEntry
  880.     MAX-ACCESS  not-accessible
  881.     STATUS  current
  882.     DESCRIPTION
  883.         "An array of information about meter readers which have
  884.         registered their intent to collect flow data from this meter."
  885.     ::= { flowControl 3 }
  886.  
  887. flowReaderInfoEntry OBJECT-TYPE
  888.     SYNTAX  FlowReaderInfoEntry
  889.     MAX-ACCESS  not-accessible
  890.     STATUS  current
  891.     DESCRIPTION
  892.         "Information about a particular meter reader."
  893.     INDEX  { flowReaderIndex }
  894.     ::= { flowReaderInfoTable 1 }
  895.  
  896. FlowReaderInfoEntry ::= SEQUENCE {
  897.     flowReaderIndex            Integer32,
  898.     flowReaderTimeout          Integer32,
  899.     flowReaderOwner            OwnerString,
  900.     flowReaderLastTime         TimeStamp,
  901.     flowReaderPreviousTime     TimeStamp,
  902.     flowReaderStatus           RowStatus,
  903.     flowReaderRuleSetName      OCTET STRING
  904.     }
  905.  
  906. flowReaderIndex OBJECT-TYPE
  907.     SYNTAX  Integer32
  908.     MAX-ACCESS  not-accessible
  909.     STATUS  current
  910.     DESCRIPTION
  911.         "An index which selects an entry in the flowReaderInfoTable."
  912.     ::= { flowReaderInfoEntry 1 }
  913.  
  914.  
  915.  
  916. Nevil Brownlee                                                 [Page 16]
  917.  
  918.  
  919. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  920.  
  921. flowReaderTimeout OBJECT-TYPE
  922.     SYNTAX  Integer32
  923.     MAX-ACCESS  read-create
  924.     STATUS  current
  925.     DESCRIPTION
  926.         "Specifies the maximum time (in seconds) between flow data
  927.         collections for this meter reader.  If this time elapses
  928.         without a collection, the meter should assume that this meter
  929.         reader has stopped collecting, and delete this row from the
  930.         table."
  931.     ::= { flowReaderInfoEntry 2 }
  932.  
  933. flowReaderOwner OBJECT-TYPE
  934.     SYNTAX  OwnerString
  935.     MAX-ACCESS  read-create
  936.     STATUS  current
  937.     DESCRIPTION
  938.         "Identifies the meter reader which created this row."
  939.     ::= { flowReaderInfoEntry 3 }
  940.  
  941. flowReaderLastTime OBJECT-TYPE
  942.     SYNTAX  TimeStamp
  943.     MAX-ACCESS  read-only
  944.     STATUS  current
  945.     DESCRIPTION
  946.         "Time this meter reader began its most recent data collection.
  947.  
  948.         This variable should be written by a meter reader as its first
  949.         step in reading flow data.  The meter will set this LastTime
  950.         value to sysUptime and set its PreviousTime value (below) to
  951.         the old  LastTime.  This allows the meter to recover flows
  952.         which have been inactive since PreviousTime, for these have
  953.         been collected at least once.
  954.  
  955.         If the meter reader fails to write flowLastReadTime, collection
  956.         may still proceed but the meter may not be able to recover
  957.         inactive flows until the flowReaderTimeout has been reached
  958.         for this entry."
  959.     ::= { flowReaderInfoEntry 4 }
  960.  
  961. flowReaderPreviousTime OBJECT-TYPE
  962.     SYNTAX  TimeStamp
  963.     MAX-ACCESS  read-only
  964.     STATUS  current
  965.     DESCRIPTION
  966.         "Time this meter reader began the collection before last."
  967.     ::= { flowReaderInfoEntry 5 }
  968.  
  969. flowReaderStatus OBJECT-TYPE
  970.     SYNTAX  RowStatus
  971.     MAX-ACCESS  read-create
  972.  
  973.  
  974. Nevil Brownlee                                                 [Page 17]
  975.  
  976.  
  977. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  978.  
  979.     STATUS  current
  980.     DESCRIPTION
  981.         "The status of this FlowReaderInfoEntry. A value of active(1)
  982.         implies that the associated reader should be collecting data
  983.         from the meter.  Once this variable has been set to active(1)
  984.         a manager may only change this row's flowReaderLastTime and
  985.         flowReaderTimeout variables."
  986.     ::= { flowReaderInfoEntry 6 }
  987.  
  988. flowReaderRuleSetName OBJECT-TYPE
  989.     SYNTAX  OCTET STRING
  990.     MAX-ACCESS  read-create
  991.     STATUS  current
  992.     DESCRIPTION
  993.         "An alphanumeric identifier identifying a rule set of interest
  994.         to this meter reader.  The reader will attempt to collect any
  995.         data generated by the meter for this rule set, and the meter
  996.         will not recover the memory of any of the rule set's flows
  997.         until this collection has taken place.  Note that a reader may
  998.         have entries in this table for several rule sets."
  999.     ::= { flowReaderInfoEntry 7 }
  1000.  
  1001. --
  1002. -- Control Group:  Manager Info Table
  1003. --
  1004.  
  1005. -- Any manager wishing to run a rule set must create a row in this
  1006. -- table.  Once it has a table row, the manager may set the control
  1007. -- variables in its row so as to cause the meter to run any valid
  1008. -- rule set held by the meter.
  1009.  
  1010. -- A single manager may run several rule sets; it must create a row
  1011. -- in this table for each of them.  In short, each row of this table
  1012. -- describes (and controls) a 'task' which the meter is executing.
  1013.  
  1014. flowManagerInfoTable OBJECT-TYPE
  1015.     SYNTAX  SEQUENCE OF FlowManagerInfoEntry
  1016.     MAX-ACCESS  not-accessible
  1017.     STATUS  current
  1018.     DESCRIPTION
  1019.         "An array of information about managers which have
  1020.         registered their intent to run rule sets on this meter."
  1021.     ::= { flowControl 4 }
  1022.  
  1023. flowManagerInfoEntry OBJECT-TYPE
  1024.     SYNTAX  FlowManagerInfoEntry
  1025.     MAX-ACCESS  not-accessible
  1026.     STATUS  current
  1027.     DESCRIPTION
  1028.         "Information about a particular meter 'task.'  By creating
  1029.         an entry in this table and activating it, a manager requests
  1030.  
  1031.  
  1032. Nevil Brownlee                                                 [Page 18]
  1033.  
  1034.  
  1035. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1036.  
  1037.         that the meter 'run' the indicated rule set.
  1038.  
  1039.         The entry also specifies a HighWaterMark and a StandbyRuleSet.
  1040.         If the meter's flow table usage exceeds this task's
  1041.         HighWaterMark the meter will stop running the task's
  1042.         CurrentRuleSet and switch to its StandbyRuleSet.
  1043.  
  1044.         If the value of the task's StandbyRuleSet is 0 when its
  1045.         HighWaterMark is exceeded, the meter simply stops running the
  1046.         task's CurrentRuleSet.  By careful selection of HighWaterMarks
  1047.         for the various tasks a manager can ensure that the most
  1048.         critical rule sets are the last to stop running as the number
  1049.         of flows increases.
  1050.  
  1051.         When a manager has determined that the demand for flow table
  1052.         space has abated, it may cause the task to switch back to its
  1053.         CurrentRuleSet by setting its flowManagerRunningStandby
  1054.         variable to false(2)."
  1055.     INDEX  { flowManagerIndex }
  1056.     ::= { flowManagerInfoTable 1 }
  1057.  
  1058. FlowManagerInfoEntry ::= SEQUENCE {
  1059.     flowManagerIndex           Integer32,
  1060.     flowManagerCurrentRuleSet  Integer32,
  1061.     flowManagerStandbyRuleSet  Integer32,
  1062.     flowManagerHighWaterMark   INTEGER,
  1063.     flowManagerCounterWrap     INTEGER,
  1064.     flowManagerOwner           OwnerString,
  1065.     flowManagerTimeStamp       TimeStamp,
  1066.     flowManagerStatus          RowStatus,
  1067.     flowManagerRunningStandby  TruthValue
  1068.     }
  1069.  
  1070. flowManagerIndex OBJECT-TYPE
  1071.     SYNTAX  Integer32
  1072.     MAX-ACCESS  not-accessible
  1073.     STATUS  current
  1074.     DESCRIPTION
  1075.         "An index which selects an entry in the flowManagerInfoTable."
  1076.     ::= { flowManagerInfoEntry 1 }
  1077.  
  1078. flowManagerCurrentRuleSet OBJECT-TYPE
  1079.     SYNTAX  Integer32
  1080.     MAX-ACCESS  read-create
  1081.     STATUS  current
  1082.     DESCRIPTION
  1083.         "Index to the array of rule sets.  Specifies which set of
  1084.         rules is currently being used for accounting by this task.
  1085.         When the manager sets this variable the meter will close the
  1086.         task's current rule set and start using the new one, and will
  1087.         set the task's flowManagerRunningStandby value to false(2).
  1088.  
  1089.  
  1090. Nevil Brownlee                                                 [Page 19]
  1091.  
  1092.  
  1093. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1094.  
  1095.         Flows created by the old rule set remain in memory, orphaned
  1096.         until their data has been read.  Specifying rule set 0 (the
  1097.         empty set) stops flow measurement by this manager."
  1098.     ::= { flowManagerInfoEntry 2 }
  1099.  
  1100. flowManagerStandbyRuleSet OBJECT-TYPE
  1101.     SYNTAX  Integer32
  1102.     MAX-ACCESS  read-create
  1103.     STATUS  current
  1104.     DESCRIPTION
  1105.         "Index to the array of rule sets.  After reaching HighWaterMark
  1106.         (see below) the manager will switch to using the task's
  1107.         StandbyRuleSet in place of its CurrentRuleSet.  For this to be
  1108.         effective the designated StandbyRuleSet should have a coarser
  1109.         reporting granularity then the CurrentRuleSet.  The manager may
  1110.         also need to decrease the meter reading interval so that the
  1111.         meter can recover flows measured by the (old) CurrentRuleSet."
  1112.     DEFVAL { 0 }  -- No standby
  1113.     ::= { flowManagerInfoEntry 3 }
  1114.  
  1115. flowManagerHighWaterMark OBJECT-TYPE
  1116.     SYNTAX  INTEGER (0..100)
  1117.     MAX-ACCESS  read-create
  1118.     STATUS  current
  1119.     DESCRIPTION
  1120.         "A value expressed as a percentage, interpreted by the meter
  1121.         as an indication of how full the flow table should be before
  1122.         it should switch to the standby rule set (if one has been
  1123.         specified) for this task.  Values of 0% or 100% disable the
  1124.         checking represented by this variable."
  1125.     ::= { flowManagerInfoEntry 4 }
  1126.  
  1127. flowManagerCounterWrap OBJECT-TYPE
  1128.     SYNTAX  INTEGER { wrap(1), scale(2) }
  1129.     MAX-ACCESS  read-create
  1130.     STATUS  deprecated
  1131.     DESCRIPTION
  1132.         "Specifies whether PDU and octet counters should wrap when
  1133.         they reach the top of their range (normal behaviour for
  1134.         Counter64 objects), or whether their scale factors should
  1135.         be used instead.  The combination of counter and scale
  1136.         factor allows counts to be returned as binary floating
  1137.         point numbers, with 64-bit mantissas and 8-bit exponents."
  1138.     DEFVAL { wrap }
  1139.     ::= { flowManagerInfoEntry 5 }
  1140.  
  1141. flowManagerOwner OBJECT-TYPE
  1142.     SYNTAX  OwnerString
  1143.     MAX-ACCESS  read-create
  1144.     STATUS  current
  1145.     DESCRIPTION
  1146.  
  1147.  
  1148. Nevil Brownlee                                                 [Page 20]
  1149.  
  1150.  
  1151. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1152.  
  1153.         "Identifies the manager which created this row."
  1154.     ::= { flowManagerInfoEntry 6 }
  1155.  
  1156. flowManagerTimeStamp OBJECT-TYPE
  1157.     SYNTAX  TimeStamp
  1158.     MAX-ACCESS  read-only
  1159.     STATUS  current
  1160.     DESCRIPTION
  1161.         "Time this row was last changed by its manager."
  1162.     ::= { flowManagerInfoEntry 7 }
  1163.  
  1164. flowManagerStatus OBJECT-TYPE
  1165.     SYNTAX  RowStatus
  1166.     MAX-ACCESS  read-create
  1167.     STATUS  current
  1168.     DESCRIPTION
  1169.         "The status of this row in the flowManagerInfoTable.  A value
  1170.         of active(1) implies that this task may be activated, by
  1171.         setting its CurrentRuleSet and StandbyRuleSet variables.
  1172.         Its HighWaterMark and RunningStandby variables may also be
  1173.         changed."
  1174.     ::= { flowManagerInfoEntry 8 }
  1175.  
  1176. flowManagerRunningStandby OBJECT-TYPE
  1177.     SYNTAX  TruthValue
  1178.     MAX-ACCESS  read-write
  1179.     STATUS  deprecated
  1180.     DESCRIPTION
  1181.         "Set to true(1) by the meter to indicate that it has switched
  1182.         to runnning this task's StandbyRuleSet in place of its
  1183.         CurrentRuleSet.  To switch back to the CurrentRuleSet, the
  1184.         manager may simply set this variable to false(2)."
  1185.     DEFVAL { false }
  1186.     ::= { flowManagerInfoEntry 9 }
  1187.  
  1188. --
  1189. -- Control Group:  General Meter Control Variables
  1190. --
  1191.  
  1192. flowFloodMark OBJECT-TYPE
  1193.     SYNTAX  INTEGER (0..100)
  1194.     MAX-ACCESS  read-write
  1195.     STATUS  current
  1196.     DESCRIPTION
  1197.         "A value expressed as a percentage, interpreted by the meter
  1198.         as an indication of how full the flow table should be before
  1199.         it should take some action to avoid running out of resources
  1200.         to handle new flows.  Values of 0% or 100% disable the
  1201.         checking represented by this variable."
  1202.     DEFVAL { 95 } -- Enabled by default.
  1203.     ::= { flowControl 5 }
  1204.  
  1205.  
  1206. Nevil Brownlee                                                 [Page 21]
  1207.  
  1208.  
  1209. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1210.  
  1211.  
  1212. flowInactivityTimeout OBJECT-TYPE
  1213.     SYNTAX  Integer32
  1214.     MAX-ACCESS  read-write
  1215.     STATUS  current
  1216.     DESCRIPTION
  1217.         "The time in seconds since the last packet seen, after which a
  1218.         flow may be discarded. Note that although a flow may be 'idle',
  1219.         it will not be discarded (and its memory recovered) until after
  1220.         its data has been collected by all 'registered' meter readers."
  1221.     DEFVAL { 600 } -- 10 minutes
  1222.     ::= { flowControl 6 }
  1223.  
  1224. flowActiveFlows OBJECT-TYPE
  1225.     SYNTAX  Integer32
  1226.     MAX-ACCESS  read-only
  1227.     STATUS  current
  1228.     DESCRIPTION
  1229.         "The numbers of flows which are currently in use."
  1230.     ::= { flowControl 7 }
  1231.  
  1232. flowMaxFlows OBJECT-TYPE
  1233.     SYNTAX  Integer32
  1234.     MAX-ACCESS  read-only
  1235.     STATUS  current
  1236.     DESCRIPTION
  1237.         "The maximum number of flows allowed in the meter's
  1238.         flow table.  At present this is determined when the meter
  1239.         is first started up."
  1240.     ::= { flowControl 8 }
  1241.  
  1242. flowFloodMode OBJECT-TYPE
  1243.     SYNTAX  TruthValue
  1244.     MAX-ACCESS  read-only
  1245.     STATUS  current
  1246.     DESCRIPTION
  1247.         "Indicates that the meter has passed its FloodMark and
  1248.         is not running in its normal mode.  When a manager notices
  1249.         this it should take action to remedy the problem which
  1250.         caused the flooding."
  1251.     ::= { flowControl 9 }
  1252.  
  1253.  
  1254. --
  1255. -- The Flow Table
  1256. --
  1257.  
  1258. -- This is a table kept by a meter, with one flow data entry for every
  1259. -- flow being measured.  Each flow data entry stores the attribute
  1260. -- values for a traffic flow.  Details of flows and their attributes
  1261. -- are given in the 'Traffic Flow Measurement: Architecture'
  1262.  
  1263.  
  1264. Nevil Brownlee                                                 [Page 22]
  1265.  
  1266.  
  1267. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1268.  
  1269. -- document [9].
  1270.  
  1271. -- From time to time a meter reader may sweep the flow table so as
  1272. -- to read counts.  This is most effectively achieved by using the
  1273. -- TimeMark variable together with successive GetBulk requests to
  1274. -- retrieve the values of the desired flow attribute variables.
  1275.  
  1276. -- This scheme allows multiple meter readers to independently use the
  1277. -- same meter; the meter readers do not have to be synchronised and
  1278. -- they may use different collection intervals.
  1279.  
  1280. flowDataTable OBJECT-TYPE
  1281.     SYNTAX  SEQUENCE OF FlowDataEntry
  1282.     MAX-ACCESS  not-accessible
  1283.     STATUS  current
  1284.     DESCRIPTION
  1285.         "The list of all flows being measured."
  1286.     ::= { flowData 1 }
  1287.  
  1288. flowDataEntry OBJECT-TYPE
  1289.     SYNTAX  FlowDataEntry
  1290.     MAX-ACCESS  not-accessible
  1291.     STATUS  current
  1292.     DESCRIPTION
  1293.         "The flow data record for a particular flow."
  1294.     INDEX { flowDataRuleSet, flowDataTimeMark, flowDataIndex }
  1295.     ::= { flowDataTable 1 }
  1296.  
  1297. FlowDataEntry ::= SEQUENCE {
  1298.     flowDataIndex                   Integer32,
  1299.     flowDataTimeMark                TimeFilter,
  1300.     flowDataStatus                  INTEGER,
  1301.  
  1302.     flowDataSourceInterface         Integer32,
  1303.     flowDataSourceAdjacentType      AdjacentType,
  1304.     flowDataSourceAdjacentAddress   AdjacentAddress,
  1305.     flowDataSourceAdjacentMask      AdjacentAddress,
  1306.     flowDataSourcePeerType          PeerType,
  1307.     flowDataSourcePeerAddress       PeerAddress,
  1308.     flowDataSourcePeerMask          PeerAddress,
  1309.     flowDataSourceTransType         TransportType,
  1310.     flowDataSourceTransAddress      TransportAddress,
  1311.     flowDataSourceTransMask         TransportAddress,
  1312.  
  1313.     flowDataDestInterface           Integer32,
  1314.     flowDataDestAdjacentType        AdjacentType,
  1315.     flowDataDestAdjacentAddress     AdjacentAddress,
  1316.     flowDataDestAdjacentMask        AdjacentAddress,
  1317.     flowDataDestPeerType            PeerType,
  1318.     flowDataDestPeerAddress         PeerAddress,
  1319.     flowDataDestPeerMask            PeerAddress,
  1320.  
  1321.  
  1322. Nevil Brownlee                                                 [Page 23]
  1323.  
  1324.  
  1325. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1326.  
  1327.     flowDataDestTransType           TransportType,
  1328.     flowDataDestTransAddress        TransportAddress,
  1329.     flowDataDestTransMask           TransportAddress,
  1330.  
  1331.     flowDataPDUScale                INTEGER,
  1332.     flowDataOctetScale              INTEGER,
  1333.  
  1334.     flowDataRuleSet                 INTEGER,
  1335.  
  1336.     flowDataToOctets                Counter64,    -- Source->Dest
  1337.     flowDataToPDUs                  Counter64,
  1338.     flowDataFromOctets              Counter64,    -- Dest->Source
  1339.     flowDataFromPDUs                Counter64,
  1340.     flowDataFirstTime               TimeStamp,    -- Activity times
  1341.     flowDataLastActiveTime          TimeStamp,
  1342.  
  1343.     flowDataSourceSubscriberID      OCTET STRING,
  1344.     flowDataDestSubscriberID        OCTET STRING,
  1345.     flowDataSessionID               OCTET STRING,
  1346.  
  1347.     flowDataSourceClass             INTEGER,
  1348.     flowDataDestClass               INTEGER,
  1349.     flowDataClass                   INTEGER,
  1350.     flowDataSourceKind              INTEGER,
  1351.     flowDataDestKind                INTEGER,
  1352.     flowDataKind                    INTEGER
  1353.     }
  1354.  
  1355. flowDataIndex OBJECT-TYPE
  1356.     SYNTAX  Integer32
  1357.     MAX-ACCESS  not-accessible
  1358.     STATUS  current
  1359.     DESCRIPTION
  1360.         "Value of this flow data record's index within the meter's
  1361.         flow table."
  1362.     ::= { flowDataEntry 1 }
  1363.  
  1364. flowDataTimeMark OBJECT-TYPE
  1365.     SYNTAX  TimeFilter
  1366.     MAX-ACCESS  not-accessible
  1367.     STATUS  current
  1368.     DESCRIPTION
  1369.         "A TimeFilter for this entry.  Allows GetNext and GetBulk
  1370.         to find flow table rows which have changed since a specified
  1371.         value of sysUptime."
  1372.     ::= { flowDataEntry 2 }
  1373.  
  1374. flowDataStatus OBJECT-TYPE
  1375.     SYNTAX  INTEGER { inactive(1), current(2) }
  1376.     MAX-ACCESS  read-only
  1377.     STATUS  current
  1378.  
  1379.  
  1380. Nevil Brownlee                                                 [Page 24]
  1381.  
  1382.  
  1383. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1384.  
  1385.     DESCRIPTION
  1386.         "Status of this flow data record."
  1387.     ::= { flowDataEntry 3 }
  1388.  
  1389. flowDataSourceInterface OBJECT-TYPE
  1390.     SYNTAX  Integer32
  1391.     MAX-ACCESS  read-only
  1392.     STATUS  current
  1393.     DESCRIPTION
  1394.         "Index of the interface associated with the source address
  1395.         for this flow.  It's value is one of those contained in the
  1396.         ifIndex field of the meter's interfaces table."
  1397.     ::= { flowDataEntry 4 }
  1398.  
  1399. flowDataSourceAdjacentType OBJECT-TYPE
  1400.     SYNTAX  AdjacentType
  1401.     MAX-ACCESS  read-only
  1402.     STATUS  current
  1403.     DESCRIPTION
  1404.         "Adjacent address type of the source for this flow.  If
  1405.         metering is being performed at the network level this will
  1406.         probably be an 802 MAC address, and the adjacent type will
  1407.         indicate the medium being used.  If traffic is being metered
  1408.         inside a tunnel, its adjacent address type will be the peer
  1409.         type of the host at the end of the tunnel."
  1410.     ::= { flowDataEntry 5 }
  1411.  
  1412. flowDataSourceAdjacentAddress OBJECT-TYPE
  1413.     SYNTAX  AdjacentAddress
  1414.     MAX-ACCESS  read-only
  1415.     STATUS  current
  1416.     DESCRIPTION
  1417.         "Address of the adjacent device on the path for the source
  1418.         for this flow."
  1419.     ::= { flowDataEntry 6 }
  1420.  
  1421. flowDataSourceAdjacentMask OBJECT-TYPE
  1422.     SYNTAX  AdjacentAddress
  1423.     MAX-ACCESS  read-only
  1424.     STATUS  current
  1425.     DESCRIPTION
  1426.         "1-bits in this mask indicate which bits must match when
  1427.         comparing the adjacent source address for this flow."
  1428.     ::= { flowDataEntry 7 }
  1429.  
  1430. flowDataSourcePeerType OBJECT-TYPE
  1431.     SYNTAX  PeerType
  1432.     MAX-ACCESS  read-only
  1433.     STATUS  current
  1434.     DESCRIPTION
  1435.         "Peer address type of the source for this flow."
  1436.  
  1437.  
  1438. Nevil Brownlee                                                 [Page 25]
  1439.  
  1440.  
  1441. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1442.  
  1443.     ::= { flowDataEntry 8 }
  1444.  
  1445. flowDataSourcePeerAddress OBJECT-TYPE
  1446.     SYNTAX  PeerAddress
  1447.     MAX-ACCESS  read-only
  1448.     STATUS  current
  1449.     DESCRIPTION
  1450.         "Address of the peer device for the source of this flow."
  1451.     ::= { flowDataEntry 9 }
  1452.  
  1453. flowDataSourcePeerMask OBJECT-TYPE
  1454.     SYNTAX  PeerAddress
  1455.     MAX-ACCESS  read-only
  1456.     STATUS  current
  1457.     DESCRIPTION
  1458.         "1-bits in this mask indicate which bits must match when
  1459.         comparing the source peer address for this flow."
  1460.     ::= { flowDataEntry 10 }
  1461.  
  1462. flowDataSourceTransType OBJECT-TYPE
  1463.     SYNTAX  TransportType
  1464.     MAX-ACCESS  read-only
  1465.     STATUS  current
  1466.     DESCRIPTION
  1467.         "Transport address type of the source for this flow.  The
  1468.         value of this attribute will depend on the peer address type."
  1469.     ::= { flowDataEntry 11 }
  1470.  
  1471. flowDataSourceTransAddress OBJECT-TYPE
  1472.     SYNTAX  TransportAddress
  1473.     MAX-ACCESS  read-only
  1474.     STATUS  current
  1475.     DESCRIPTION
  1476.         "Transport address for the source of this flow."
  1477.     ::= { flowDataEntry 12 }
  1478.  
  1479. flowDataSourceTransMask OBJECT-TYPE
  1480.     SYNTAX  TransportAddress
  1481.     MAX-ACCESS  read-only
  1482.     STATUS  current
  1483.     DESCRIPTION
  1484.         "1-bits in this mask indicate which bits must match when
  1485.         comparing the transport source address for this flow."
  1486.     ::= { flowDataEntry 13 }
  1487.  
  1488. flowDataDestInterface OBJECT-TYPE
  1489.     SYNTAX  Integer32
  1490.     MAX-ACCESS  read-only
  1491.     STATUS  current
  1492.     DESCRIPTION
  1493.         "Index of the interface associated with the dest address for
  1494.  
  1495.  
  1496. Nevil Brownlee                                                 [Page 26]
  1497.  
  1498.  
  1499. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1500.  
  1501.         this flow.  This value is one of the values contained in the
  1502.         ifIndex field of the interfaces table."
  1503.     ::= { flowDataEntry 14 }
  1504.  
  1505. flowDataDestAdjacentType OBJECT-TYPE
  1506.     SYNTAX  AdjacentType
  1507.     MAX-ACCESS  read-only
  1508.     STATUS  current
  1509.     DESCRIPTION
  1510.         "Adjacent address type of the destination for this flow."
  1511.     ::= { flowDataEntry 15 }
  1512.  
  1513. flowDataDestAdjacentAddress OBJECT-TYPE
  1514.     SYNTAX  AdjacentAddress
  1515.     MAX-ACCESS  read-only
  1516.     STATUS  current
  1517.     DESCRIPTION
  1518.         "Address of the adjacent device on the path for the
  1519.         destination for this flow."
  1520.     ::= { flowDataEntry 16 }
  1521.  
  1522. flowDataDestAdjacentMask OBJECT-TYPE
  1523.     SYNTAX  AdjacentAddress
  1524.     MAX-ACCESS  read-only
  1525.     STATUS  current
  1526.     DESCRIPTION
  1527.         "1-bits in this mask indicate which bits must match when
  1528.         comparing the adjacent dest address for this flow."
  1529.     ::= { flowDataEntry 17 }
  1530.  
  1531. flowDataDestPeerType OBJECT-TYPE
  1532.     SYNTAX  PeerType
  1533.     MAX-ACCESS  read-only
  1534.     STATUS  current
  1535.     DESCRIPTION
  1536.         "Peer address type of the destination for this flow."
  1537.     ::= { flowDataEntry 18 }
  1538.  
  1539. flowDataDestPeerAddress OBJECT-TYPE
  1540.     SYNTAX  PeerAddress
  1541.     MAX-ACCESS  read-only
  1542.     STATUS  current
  1543.     DESCRIPTION
  1544.         "Address of the peer device for the destination of this flow."
  1545.     ::= { flowDataEntry 19 }
  1546.  
  1547. flowDataDestPeerMask OBJECT-TYPE
  1548.     SYNTAX  PeerAddress
  1549.     MAX-ACCESS  read-only
  1550.     STATUS  current
  1551.     DESCRIPTION
  1552.  
  1553.  
  1554. Nevil Brownlee                                                 [Page 27]
  1555.  
  1556.  
  1557. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1558.  
  1559.         "1-bits in this mask indicate which bits must match when
  1560.         comparing the dest peer type for this flow."
  1561.     ::= { flowDataEntry 20 }
  1562.  
  1563. flowDataDestTransType OBJECT-TYPE
  1564.     SYNTAX  TransportType
  1565.     MAX-ACCESS  read-only
  1566.     STATUS  current
  1567.     DESCRIPTION
  1568.         "Transport address type of the destination for this flow.  The
  1569.         value of this attribute will depend on the peer address type."
  1570.     ::= { flowDataEntry 21 }
  1571.  
  1572. flowDataDestTransAddress OBJECT-TYPE
  1573.     SYNTAX  TransportAddress
  1574.     MAX-ACCESS  read-only
  1575.     STATUS  current
  1576.     DESCRIPTION
  1577.         "Transport address for the destination of this flow."
  1578.     ::= { flowDataEntry 22 }
  1579.  
  1580. flowDataDestTransMask OBJECT-TYPE
  1581.     SYNTAX  TransportAddress
  1582.     MAX-ACCESS  read-only
  1583.     STATUS  current
  1584.     DESCRIPTION
  1585.         "1-bits in this mask indicate which bits must match when
  1586.         comparing the transport destination address for this flow."
  1587.     ::= { flowDataEntry 23 }
  1588.  
  1589. flowDataPDUScale OBJECT-TYPE
  1590.     SYNTAX  INTEGER (1..255)
  1591.     MAX-ACCESS  read-only
  1592.     STATUS  current
  1593.     DESCRIPTION
  1594.         "The scale factor applied to this particular flow.  Indicates
  1595.         the number of bits the PDU counter values should be moved left
  1596.         to obtain the actual values."
  1597.     ::= { flowDataEntry 24 }
  1598.  
  1599. flowDataOctetScale OBJECT-TYPE
  1600.     SYNTAX  INTEGER (1..255)
  1601.     MAX-ACCESS  read-only
  1602.     STATUS  current
  1603.     DESCRIPTION
  1604.         "The scale factor applied to this particular flow.  Indicates
  1605.         the number of bits the octet counter values should be moved
  1606.         left to obtain the actual values."
  1607.     ::= { flowDataEntry 25 }
  1608.  
  1609. flowDataRuleSet OBJECT-TYPE
  1610.  
  1611.  
  1612. Nevil Brownlee                                                 [Page 28]
  1613.  
  1614.  
  1615. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1616.  
  1617.     SYNTAX  INTEGER (1..255)
  1618.     MAX-ACCESS  not-accessible
  1619.     STATUS  current
  1620.     DESCRIPTION
  1621.         "The RuleSet number of the rule set which created this flow."
  1622.     ::= { flowDataEntry 26 }
  1623.  
  1624. flowDataToOctets OBJECT-TYPE
  1625.     SYNTAX  Counter64
  1626.     MAX-ACCESS  read-only
  1627.     STATUS  current
  1628.     DESCRIPTION
  1629.         "The count of octets flowing from source to dest address and
  1630.         being delivered to the protocol level being metered.  In the
  1631.         case of IP this would count the number of octets delivered to
  1632.         the IP level."
  1633.     ::= { flowDataEntry 27 }
  1634.  
  1635. flowDataToPDUs OBJECT-TYPE
  1636.     SYNTAX  Counter64
  1637.     MAX-ACCESS  read-only
  1638.     STATUS  current
  1639.     DESCRIPTION
  1640.         "The count of protocol packets flowing from source to dest
  1641.         address and being delivered to the protocol level being
  1642.         metered.  In the case of IP, for example, this would count the
  1643.         IP packets delivered to the IP protocol level."
  1644.     ::= { flowDataEntry 28 }
  1645.  
  1646. flowDataFromOctets OBJECT-TYPE
  1647.     SYNTAX  Counter64
  1648.     MAX-ACCESS  read-only
  1649.     STATUS  current
  1650.     DESCRIPTION
  1651.         "The count of octets flowing from dest to source address and
  1652.         being delivered to the protocol level being metered."
  1653.     ::= { flowDataEntry 29 }
  1654.  
  1655. flowDataFromPDUs OBJECT-TYPE
  1656.     SYNTAX  Counter64
  1657.     MAX-ACCESS  read-only
  1658.     STATUS  current
  1659.     DESCRIPTION
  1660.         "The count of protocol packets flowing from dest to source
  1661.         address and being delivered to the protocol level being
  1662.         metered.  In the case of IP, for example, this would count
  1663.         the IP packets delivered to the IP protocol level."
  1664.     ::= { flowDataEntry 30 }
  1665.  
  1666. flowDataFirstTime OBJECT-TYPE
  1667.     SYNTAX  TimeStamp
  1668.  
  1669.  
  1670. Nevil Brownlee                                                 [Page 29]
  1671.  
  1672.  
  1673. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1674.  
  1675.     MAX-ACCESS  read-only
  1676.     STATUS  current
  1677.     DESCRIPTION
  1678.         "The time at which this flow was first entered in the table"
  1679.     ::= { flowDataEntry 31 }
  1680.  
  1681. flowDataLastActiveTime OBJECT-TYPE
  1682.     SYNTAX  TimeStamp
  1683.     MAX-ACCESS  read-only
  1684.     STATUS  current
  1685.     DESCRIPTION
  1686.         "The last time this flow had activity, i.e. the time of
  1687.         arrival of the most recent PDU belonging to this flow."
  1688.     ::= { flowDataEntry 32 }
  1689.  
  1690. flowDataSourceSubscriberID OBJECT-TYPE
  1691.     SYNTAX  OCTET STRING (SIZE (4..20))
  1692.     MAX-ACCESS  read-only
  1693.     STATUS  current
  1694.     DESCRIPTION
  1695.         "Subscriber ID associated with the source address for this
  1696.         flow."
  1697.     ::= { flowDataEntry 33 }
  1698.  
  1699. flowDataDestSubscriberID OBJECT-TYPE
  1700.     SYNTAX  OCTET STRING (SIZE (4..20))
  1701.     MAX-ACCESS  read-only
  1702.     STATUS  current
  1703.     DESCRIPTION
  1704.         "Subscriber ID associated with the dest address for this
  1705.         flow."
  1706.     ::= { flowDataEntry 34 }
  1707.  
  1708. flowDataSessionID OBJECT-TYPE
  1709.     SYNTAX  OCTET STRING (SIZE (4..10))
  1710.     MAX-ACCESS  read-only
  1711.     STATUS  current
  1712.     DESCRIPTION
  1713.         "Session ID for this flow.  Such an ID might be allocated
  1714.         by a network access server to distinguish a series of sessions
  1715.         between the same pair of addresses, which would otherwise
  1716.         appear to be parts of the same accounting flow."
  1717.     ::= { flowDataEntry 35 }
  1718.  
  1719. flowDataSourceClass OBJECT-TYPE
  1720.     SYNTAX  INTEGER (1..255)
  1721.     MAX-ACCESS  read-only
  1722.     STATUS  current
  1723.     DESCRIPTION
  1724.         "Source class for this flow.  Determined by the rules, set by
  1725.         a PushRule action when this flow was entered in the table."
  1726.  
  1727.  
  1728. Nevil Brownlee                                                 [Page 30]
  1729.  
  1730.  
  1731. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1732.  
  1733.     ::= { flowDataEntry 36 }
  1734.  
  1735. flowDataDestClass OBJECT-TYPE
  1736.     SYNTAX  INTEGER (1..255)
  1737.     MAX-ACCESS  read-only
  1738.     STATUS  current
  1739.     DESCRIPTION
  1740.         "Destination class for this flow.  Determined by the rules, set
  1741.         by a PushRule action when this flow was entered in the table."
  1742.     ::= { flowDataEntry 37 }
  1743.  
  1744. flowDataClass OBJECT-TYPE
  1745.     SYNTAX  INTEGER (1..255)
  1746.     MAX-ACCESS  read-only
  1747.     STATUS  current
  1748.     DESCRIPTION
  1749.         "Class for this flow.  Determined by the rules, set by a
  1750.         PushRule action when this flow was entered in the table."
  1751.     ::= { flowDataEntry 38 }
  1752.  
  1753. flowDataSourceKind OBJECT-TYPE
  1754.     SYNTAX  INTEGER (1..255)
  1755.     MAX-ACCESS  read-only
  1756.     STATUS  current
  1757.     DESCRIPTION
  1758.         "Source kind for this flow.  Determined by the rules, set by
  1759.         a PushRule action when this flow was entered in the table."
  1760.     ::= { flowDataEntry 39 }
  1761.  
  1762. flowDataDestKind OBJECT-TYPE
  1763.     SYNTAX  INTEGER (1..255)
  1764.     MAX-ACCESS  read-only
  1765.     STATUS  current
  1766.     DESCRIPTION
  1767.         "Destination kind for this flow.  Determined by the rules, set
  1768.         by a PushRule action when this flow was entered in the table."
  1769.     ::= { flowDataEntry 40 }
  1770.  
  1771. flowDataKind OBJECT-TYPE
  1772.     SYNTAX  INTEGER (1..255)
  1773.     MAX-ACCESS  read-only
  1774.     STATUS  current
  1775.     DESCRIPTION
  1776.         "Class for this flow.  Determined by the rules, set by a
  1777.         PushRule action when this flow was entered in the table."
  1778.     ::= { flowDataEntry 41 }
  1779.  
  1780.  
  1781. --
  1782. -- The Activity Column Table
  1783. --
  1784.  
  1785.  
  1786. Nevil Brownlee                                                 [Page 31]
  1787.  
  1788.  
  1789. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1790.  
  1791.  
  1792. flowColumnActivityTable OBJECT-TYPE
  1793.     SYNTAX  SEQUENCE OF FlowColumnActivityEntry
  1794.     MAX-ACCESS  not-accessible
  1795.     STATUS   deprecated
  1796.     DESCRIPTION
  1797.         "Index into the Flow Table.  Allows a meter reader to retrieve
  1798.         a list containing the flow table indeces of flows which were
  1799.         last active at or after a given time, together with the values
  1800.         of a specified attribute for each such flow."
  1801.     ::= { flowData 2 }
  1802.  
  1803. flowColumnActivityEntry OBJECT-TYPE
  1804.     SYNTAX  FlowColumnActivityEntry
  1805.     MAX-ACCESS  not-accessible
  1806.     STATUS  deprecated
  1807.     DESCRIPTION
  1808.         "The Column Activity Entry for a particular attribute,
  1809.         activity time and flow."
  1810.     INDEX { flowColumnActivityAttribute, flowColumnActivityTime,
  1811.             flowColumnActivityIndex }
  1812.     ::= { flowColumnActivityTable 1 }
  1813.  
  1814. FlowColumnActivityEntry ::= SEQUENCE {
  1815.     flowColumnActivityAttribute   FlowAttributeNumber,
  1816.     flowColumnActivityTime        TimeFilter,
  1817.     flowColumnActivityIndex       Integer32,
  1818.     flowColumnActivityData        OCTET STRING
  1819.     }
  1820.  
  1821. flowColumnActivityAttribute OBJECT-TYPE
  1822.     SYNTAX  FlowAttributeNumber
  1823.     MAX-ACCESS  read-only
  1824.     STATUS  deprecated
  1825.     DESCRIPTION
  1826.         "Specifies the attribute for which values are required from
  1827.         active flows."
  1828.     ::= { flowColumnActivityEntry 1 }
  1829.  
  1830. flowColumnActivityTime OBJECT-TYPE
  1831.     SYNTAX  TimeFilter
  1832.     MAX-ACCESS  read-only
  1833.     STATUS  deprecated
  1834.     DESCRIPTION
  1835.         "This variable is a copy of flowDataLastActiveTime in the
  1836.         flow data record identified by the flowColumnActivityIndex
  1837.         value of this flowColumnActivityTable entry."
  1838.     ::= { flowColumnActivityEntry 2 }
  1839.  
  1840. flowColumnActivityIndex OBJECT-TYPE
  1841.     SYNTAX  Integer32
  1842.  
  1843.  
  1844. Nevil Brownlee                                                 [Page 32]
  1845.  
  1846.  
  1847. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1848.  
  1849.     MAX-ACCESS  read-only
  1850.     STATUS  deprecated
  1851.     DESCRIPTION
  1852.         "Index of a flow table entry which was active at or after
  1853.         a specified flowColumnActivityTime."
  1854.     ::= { flowColumnActivityEntry 3 }
  1855.  
  1856. flowColumnActivityData OBJECT-TYPE
  1857.     SYNTAX  OCTET STRING (SIZE (3..1000))
  1858.     MAX-ACCESS  read-only
  1859.     STATUS  deprecated
  1860.     DESCRIPTION
  1861.         "Collection of attribute data for flows active after
  1862.         flowColumnActivityTime.  Within the OCTET STRING is a
  1863.         sequence of { flow index, attribute value } pairs, one for
  1864.         each active flow.  The end of the sequence is marked by a
  1865.         flow index value of 0, indicating that there are no more
  1866.         rows in this column.
  1867.  
  1868.         The format of objects inside flowColumnFlowData is as follows.
  1869.         All numbers are unsigned.  Numbers and strings appear with
  1870.         their high-order bytes leading.  Numbers are fixed size, as
  1871.         specified by their SYNTAX in the flow table (above), i.e. one
  1872.         octet for flowAddressType and small constants, and four octets
  1873.         for Counter and TimeStamp.  Strings are variable-length, with
  1874.         the length given in a single leading octet.
  1875.  
  1876.         The following is an attempt at an ASN.1 definition of
  1877.         flowColumnActivityData:
  1878.  
  1879.         flowColumnActivityData ::= SEQUENCE flowRowItemEntry
  1880.         flowRowItemEntry ::= SEQUENCE {
  1881.            flowRowNumber    INTEGER (1..65535),
  1882.                                  -- 0 indicates the end of this column
  1883.            flowDataValue   flowDataType -- Choice depends on attribute
  1884.            }
  1885.         flowDataType ::= CHOICE {
  1886.             flowByteValue   INTEGER (1..255),
  1887.             flowShortValue  INTEGER (1..65535),
  1888.             flowLongValue   Integer32,
  1889.             flowStringValue OCTET STRING  -- Length (n) in first byte,
  1890.                   -- n+1 bytes total length, trailing zeroes truncated
  1891.             }"
  1892.     ::= { flowColumnActivityEntry 4 }
  1893.  
  1894. flowDataPackageTable OBJECT-TYPE
  1895.     SYNTAX  SEQUENCE OF FlowDataPackageEntry
  1896.     MAX-ACCESS  not-accessible
  1897.     STATUS   current
  1898.     DESCRIPTION
  1899.         "Index into the Flow Table.  Allows a meter reader to retrieve
  1900.  
  1901.  
  1902. Nevil Brownlee                                                 [Page 33]
  1903.  
  1904.  
  1905. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1906.  
  1907.         a sequence containing the values of a specified set of
  1908.         attributes for a flow which came from a specified rule set and
  1909.         which was last active at or after a given time."
  1910.     ::= { flowData 3 }
  1911.  
  1912. flowDataPackageEntry OBJECT-TYPE
  1913.     SYNTAX  FlowDataPackageEntry
  1914.     MAX-ACCESS  not-accessible
  1915.     STATUS  current
  1916.     DESCRIPTION
  1917.         "The data package containing selected variables from
  1918.         active rows in the flow table."
  1919.     INDEX { flowPackageSelector,
  1920.         flowPackageRuleSet, flowPackageTime, flowPackageIndex }
  1921.     ::= { flowDataPackageTable 1 }
  1922.  
  1923. FlowDataPackageEntry ::= SEQUENCE {
  1924.     flowPackageSelector    OCTET STRING,
  1925.     flowPackageRuleSet     INTEGER,
  1926.     flowPackageTime        TimeFilter,
  1927.     flowPackageIndex       Integer32,
  1928.     flowPackageData        OCTET STRING
  1929.     }
  1930.  
  1931. flowPackageSelector OBJECT-TYPE
  1932.     SYNTAX  OCTET STRING
  1933.     MAX-ACCESS  not-accessible
  1934.     STATUS  current
  1935.     DESCRIPTION
  1936.         "Specifies the attributes for which values are required from
  1937.         an active flow.  These are encoded as a sequence of octets
  1938.         each containing a FlowAttribute number, preceded by an octet
  1939.         giving the length of the sequence (not including the length
  1940.         octet)."
  1941.     ::= { flowDataPackageEntry 1 }
  1942.  
  1943. flowPackageRuleSet OBJECT-TYPE
  1944.     SYNTAX  INTEGER (1..255)
  1945.     MAX-ACCESS  not-accessible
  1946.     STATUS  current
  1947.     DESCRIPTION
  1948.         "Specifies the index (in the flowRuleSetInfoTable) of the rule
  1949.         set which produced the required flow."
  1950.     ::= { flowDataPackageEntry 2 }
  1951.  
  1952. flowPackageTime OBJECT-TYPE
  1953.     SYNTAX  TimeFilter
  1954.     MAX-ACCESS  not-accessible
  1955.     STATUS  current
  1956.     DESCRIPTION
  1957.         "This variable is a copy of flowDataLastActiveTime in the
  1958.  
  1959.  
  1960. Nevil Brownlee                                                 [Page 34]
  1961.  
  1962.  
  1963. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  1964.  
  1965.         flow data record identified by the flowColumnActivityIndex
  1966.         value of this flowPackageTable entry."
  1967.     ::= { flowDataPackageEntry 3 }
  1968.  
  1969. flowPackageIndex OBJECT-TYPE
  1970.     SYNTAX  INTEGER
  1971.     MAX-ACCESS  not-accessible
  1972.     STATUS  current
  1973.     DESCRIPTION
  1974.         "Index of a flow table entry which was active at or after
  1975.         a specified flowPackageTime."
  1976.     ::= { flowDataPackageEntry 4 }
  1977.  
  1978. flowPackageData OBJECT-TYPE
  1979.     SYNTAX  OCTET STRING (SIZE (3..1000))
  1980.     MAX-ACCESS  read-only
  1981.     STATUS  current
  1982.     DESCRIPTION
  1983.         "A Collection of attribute values for a single flow, as
  1984.         specified by the values of this row's indeces.  The attribute
  1985.         values are contained within a BER-encoded sequence [7], in the
  1986.         order they appear in their flowPackageSelector.  For example,
  1987.         to retrieve a flowPackage containing values for attributes 11,
  1988.         18 and 34, for flows in rule set 7, active since uptime 12345,
  1989.         beginning with the first row after row 3447, one would request
  1990.         the package whose OID is
  1991.             flowPackageData . 3.11.18.34 . 7. 12345 . 3447 "
  1992.     ::= { flowDataPackageEntry 5 }
  1993.  
  1994.  
  1995. --
  1996. -- The Rule Table
  1997. --
  1998.  
  1999. -- This is an array of rule tables; the 'running' ones are indicated
  2000. -- by the entries in the meter's flowManagerInfoTable.  Several rule
  2001. -- sets can be held in a meter so that the manager can change the rules
  2002. -- easily, for example with time of day.  Note that a manager may
  2003. -- not change the rules in any 'running' rule set!  See the 'Traffic
  2004. -- Flow Measurement: Architecture' document [9] for details of rules
  2005. -- and how they are used.
  2006. --
  2007. -- Space for a rule table is allocated by setting the value of
  2008. -- flowRuleInfoSize in the rule table's flowRuleSetInfoTable row.
  2009.  
  2010. flowRuleTable OBJECT-TYPE
  2011.     SYNTAX  SEQUENCE OF FlowRuleEntry
  2012.     MAX-ACCESS  not-accessible
  2013.     STATUS   current
  2014.     DESCRIPTION
  2015.         "Contains all the rule sets which may be used by the meter."
  2016.  
  2017.  
  2018. Nevil Brownlee                                                 [Page 35]
  2019.  
  2020.  
  2021. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  2022.  
  2023.     ::= { flowRules 1 }
  2024.  
  2025. flowRuleEntry OBJECT-TYPE
  2026.     SYNTAX  FlowRuleEntry
  2027.     MAX-ACCESS  not-accessible
  2028.     STATUS   current
  2029.     DESCRIPTION
  2030.         "The rule record itself."
  2031.     INDEX { flowRuleSet, flowRuleIndex }
  2032.     ::= { flowRuleTable 1 }
  2033.  
  2034. FlowRuleEntry ::= SEQUENCE {
  2035.     flowRuleSet                  INTEGER,
  2036.     flowRuleIndex                INTEGER,
  2037.     flowRuleSelector             RuleAttributeNumber,
  2038.     flowRuleMask                 RuleAddress,
  2039.     flowRuleMatchedValue         RuleAddress,
  2040.     flowRuleAction               ActionNumber,
  2041.     flowRuleParameter            INTEGER
  2042.     }
  2043.  
  2044. flowRuleSet OBJECT-TYPE
  2045.     SYNTAX  INTEGER (1..255)
  2046.     MAX-ACCESS  not-accessible
  2047.     STATUS  current
  2048.     DESCRIPTION
  2049.         "Selects a rule set from the array of rule sets."
  2050.     ::= { flowRuleEntry 1 }
  2051.  
  2052. flowRuleIndex OBJECT-TYPE
  2053.     SYNTAX  INTEGER (1..65535)
  2054.     MAX-ACCESS  not-accessible
  2055.     STATUS  current
  2056.     DESCRIPTION
  2057.         "The index into the Rule table.  N.B: These values will
  2058.         often be consecutive, given the fall-through semantics of
  2059.         processing the table."
  2060.     ::= { flowRuleEntry 2 }
  2061.  
  2062. flowRuleSelector OBJECT-TYPE
  2063.     SYNTAX  RuleAttributeNumber
  2064.     MAX-ACCESS  read-write
  2065.     STATUS  current
  2066.     DESCRIPTION
  2067.         "Indicates the attribute to be matched.
  2068.  
  2069.         null(0) is a special case; null rules always succeed.
  2070.  
  2071.         matchingStoD(50) is set by the meter's Packet Matching Engine.
  2072.         Its value is true(1) if the PME is attempting to match the
  2073.         packet with its addresses in Source-to-Destination order (i.e.
  2074.  
  2075.  
  2076. Nevil Brownlee                                                 [Page 36]
  2077.  
  2078.  
  2079. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  2080.  
  2081.         as they appear in the packet), and false(2) otherwise.
  2082.         Details of how packets are matched are given in the 'Traffic
  2083.         Flow Measurement: Architecture' document [9].
  2084.  
  2085.         v1(51), v2(52), v3(53), v4(54) and v5(55) select meter
  2086.         variables, each of which can hold the name (i.e. selector
  2087.         value) of an address attribute.  When one of these is used
  2088.         as a selector, its value specifies the attribute to be
  2089.         tested.  Variable values are set by an Assign action."
  2090.     ::= { flowRuleEntry 3 }
  2091.  
  2092. flowRuleMask OBJECT-TYPE
  2093.     SYNTAX  RuleAddress
  2094.     MAX-ACCESS  read-write
  2095.     STATUS  current
  2096.     DESCRIPTION
  2097.         "The initial mask used to compute the desired value.  If the
  2098.         mask is zero the rule's test will always succeed."
  2099.     ::= { flowRuleEntry 4 }
  2100.  
  2101. flowRuleMatchedValue OBJECT-TYPE
  2102.     SYNTAX  RuleAddress
  2103.     MAX-ACCESS  read-write
  2104.     STATUS  current
  2105.     DESCRIPTION
  2106.         "The resulting value to be matched for equality.
  2107.         Specifically, if the attribute chosen by the flowRuleSelector
  2108.         logically ANDed with the mask specified by the flowRuleMask
  2109.         equals the value specified in the flowRuleMatchedValue, then
  2110.         continue processing the table entry based on the action
  2111.         specified by the flowRuleAction entry.  Otherwise, proceed to
  2112.         the next entry in the rule table."
  2113.     ::= { flowRuleEntry 5 }
  2114.  
  2115. flowRuleAction OBJECT-TYPE
  2116.     SYNTAX  ActionNumber
  2117.     MAX-ACCESS  read-write
  2118.     STATUS  current
  2119.     DESCRIPTION
  2120.         "The action to be taken if this rule's test succeeds, or if
  2121.         the meter's 'test' flag is off.  Actions are opcodes for the
  2122.         meter's Packet Matching Engine; details are given in the
  2123.         'Traffic Flow Measurement: Architecture' document [9]."
  2124.     ::= { flowRuleEntry 6 }
  2125.  
  2126. flowRuleParameter OBJECT-TYPE
  2127.     SYNTAX  INTEGER (1..65535)
  2128.     MAX-ACCESS  read-write
  2129.     STATUS  current
  2130.     DESCRIPTION
  2131.         "A parameter value providing extra information for the
  2132.  
  2133.  
  2134. Nevil Brownlee                                                 [Page 37]
  2135.  
  2136.  
  2137. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  2138.  
  2139.         rule's action."
  2140.     ::= { flowRuleEntry 7 }
  2141.  
  2142.  
  2143. --
  2144. -- Traffic Flow Meter conformance statement
  2145. --
  2146.  
  2147. flowMIBCompliances
  2148.     OBJECT IDENTIFIER ::= { flowMIBConformance 1 }
  2149.  
  2150. flowMIBGroups
  2151.     OBJECT IDENTIFIER ::= { flowMIBConformance 2 }
  2152.  
  2153. flowControlGroup OBJECT-GROUP
  2154.     OBJECTS  {
  2155.         flowRuleInfoSize, flowRuleInfoOwner,
  2156.             flowRuleInfoTimeStamp, flowRuleInfoStatus,
  2157.             flowRuleInfoName, flowRuleInfoRulesReady,
  2158.             flowRuleInfoFlowRecords,
  2159.         flowInterfaceRate,
  2160.             flowInterfaceLostPackets,
  2161.         flowReaderTimeout, flowReaderOwner,
  2162.             flowReaderLastTime, flowReaderPreviousTime,
  2163.             flowReaderStatus, flowReaderRuleSetName,
  2164.         flowManagerCurrentRuleSet, flowManagerStandbyRuleSet,
  2165.             flowManagerHighWaterMark,
  2166.             flowManagerOwner, flowManagerTimeStamp,
  2167.             flowManagerStatus, flowManagerRunningStandby,
  2168.         flowFloodMark,
  2169.             flowInactivityTimeout, flowActiveFlows,
  2170.             flowMaxFlows, flowFloodMode }
  2171.     STATUS  current
  2172.     DESCRIPTION
  2173.         "The control group defines objects which are used to control
  2174.         an accounting meter."
  2175.     ::= {flowMIBGroups 1 }
  2176.  
  2177. flowDataTableGroup OBJECT-GROUP
  2178.     OBJECTS  {
  2179.         flowDataIndex,
  2180.         flowDataStatus,
  2181.         flowDataSourceInterface,
  2182.         flowDataSourceAdjacentType,
  2183.         flowDataSourceAdjacentAddress, flowDataSourceAdjacentMask,
  2184.         flowDataSourcePeerType,
  2185.         flowDataSourcePeerAddress, flowDataSourcePeerMask,
  2186.         flowDataSourceTransType,
  2187.         flowDataSourceTransAddress, flowDataSourceTransMask,
  2188.         flowDataDestInterface,
  2189.         flowDataDestAdjacentType,
  2190.  
  2191.  
  2192. Nevil Brownlee                                                 [Page 38]
  2193.  
  2194.  
  2195. INTERNET-DRAFT       Traffic Flow Measurement: Meter MIB      March 1997
  2196.  
  2197.         flowDataDestAdjacentAddress, flowDataDestAdjacentMask,
  2198.         flowDataDestPeerType,
  2199.         flowDataDestPeerAddress, flowDataDestPeerMask,
  2200.         flowDataDestTransType,
  2201.         flowDataDestTransAddress, flowDataDestTransMask,
  2202.         flowDataRuleSet,
  2203.         flowDataToOctets, flowDataToPDUs,
  2204.         flowDataFromOctets, flowDataFromPDUs,
  2205.         flowDataFirstTime, flowDataLastActiveTime,
  2206.         flowDataSourceClass, flowDataDestClass, flowDataClass,
  2207.         flowDataSourceKind, flowDataDestKind, flowDataKind
  2208.         }
  2209.     STATUS  current
  2210.     DESCRIPTION
  2211.         "The flow table group defines objects which provide the
  2212.         structure for the rule table, including the creation time
  2213.         and activity time indexes into it.  In addition it defines
  2214.         objects which provide a base set of flow attributes for the
  2215.         adjacent, peer and transport layers, together with a flow's
  2216.         counters and times.  Finally it defines a flow's class and
  2217.         kind attributes, which are set by rule actions."
  2218.     ::= {flowMIBGroups 2 }
  2219.  
  2220. flowDataScaleGroup OBJECT-GROUP
  2221.     OBJECTS  {
  2222.         flowManagerCounterWrap,
  2223.         flowDataPDUScale, flowDataOctetScale
  2224.         }
  2225.     STATUS  current
  2226.     DESCRIPTION
  2227.         "The flow scale group defines objects which specify scale
  2228.         factors for counters."
  2229.     ::= {flowMIBGroups 3 }
  2230.  
  2231. flowDataSubscriberGroup OBJECT-GROUP
  2232.     OBJECTS  {
  2233.         flowDataSourceSubscriberID, flowDataDestSubscriberID,
  2234.         flowDataSessionID
  2235.         }
  2236.     STATUS  current
  2237.     DESCRIPTION
  2238.         "The flow subscriber group defines objects which may be used
  2239.         to identify the end point(s) of a flow."
  2240.     ::= {flowMIBGroups 4 }
  2241.  
  2242. flowDataColumnTableGroup OBJECT-GROUP
  2243.     OBJECTS  {
  2244.         flowColumnActivityAttribute,
  2245.         flowColumnActivityTime,
  2246.         flowColumnActivityIndex,
  2247.         flowColumnActivityData
  2248.  
  2249.  
  2250. Nevil Brownlee                                                 [Page 39]
  2251.  
  2252.  
  2253. INTERNET-DRAFT      Traffic Flow Measurement:  Meter MIB      March 1997
  2254.  
  2255.         }
  2256.     STATUS  current
  2257.     DESCRIPTION
  2258.         "The flow column table group defines objects which can be used
  2259.         to collect part of a column of attribute values from the flow
  2260.         table."
  2261.     ::= {flowMIBGroups 5 }
  2262.  
  2263. flowDataPackageGroup OBJECT-GROUP
  2264.     OBJECTS  {
  2265.         flowPackageSelector, flowPackageRuleSet,
  2266.         flowPackageIndex, flowPackageData
  2267.         }
  2268.     STATUS  current
  2269.     DESCRIPTION
  2270.         "The data package group defines objects which can be used
  2271.         to collect a specified set of attribute values from a row of
  2272.         the flow table."
  2273.     ::= {flowMIBGroups 6 }
  2274.  
  2275. flowRuleTableGroup OBJECT-GROUP
  2276.     OBJECTS  {
  2277.         flowRuleSelector,
  2278.         flowRuleMask, flowRuleMatchedValue,
  2279.         flowRuleAction, flowRuleParameter
  2280.         }
  2281.     STATUS  current
  2282.     DESCRIPTION
  2283.         "The rule table group defines objects which hold the set(s)
  2284.         of rules specifying which traffic flows are to be accounted
  2285.         for."
  2286.     ::= {flowMIBGroups 7 }
  2287.  
  2288. flowMIBCompliance MODULE-COMPLIANCE
  2289.     STATUS  current
  2290.     DESCRIPTION
  2291.         "The compliance statement for a Traffic Flow Meter."
  2292.     MODULE
  2293.         MANDATORY-GROUPS  {
  2294.             flowControlGroup,
  2295.             flowDataTableGroup,
  2296.             flowRuleTableGroup
  2297.             }
  2298.     ::= { flowMIBCompliances 1 }
  2299.  
  2300. END
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308. Nevil Brownlee                                                 [Page 40]
  2309.  
  2310.  
  2311. INTERNET-DRAFT      Traffic Flow Measurement:  Meter MIB      March 1997
  2312.  
  2313. 6 Acknowledgements
  2314.  
  2315.  
  2316. An early draft of this document was produced under the auspices of the
  2317. IETF's Accounting Working Group with assistance from SNMP and SAAG
  2318. working groups.  Particular thanks are due to Jim Barnes, Sig Handelman
  2319. and Stephen Stibler for their support and their assistance with checking
  2320. the MIB.
  2321.  
  2322.  
  2323.  
  2324. 7 References
  2325.  
  2326.  
  2327.     [1] McCloghrie, K., and Rose, M., Editors, "Management
  2328.     Information Base for Network Management of TCP/IP-based
  2329.     internets," RFC 1213, Performance Systems International, March
  2330.     1991.
  2331.  
  2332.     [2] Case J., McCloghrie K., Rose M., and Waldbusser S.,
  2333.     "Structure of Management Information for version 2 of the
  2334.     Simple Network Managemenet Protocol," RFC 1902, SNMP Research
  2335.     Inc., Hughes LAN Systems, Dover Beach Consulting, Carnegie
  2336.     Mellon University, January 1996.
  2337.  
  2338.     [3] Case J., McCloghrie, K., Rose, M., and Waldbusser, S.,
  2339.     "Textual Conventions for version 2 of the Simple Network
  2340.     Managemenet Protocol SNMPv2", RFC 1903, SNMP Research Inc.,
  2341.     Hughes LAN Systems, Dover Beach Consulting, Carnegie Mellon
  2342.     University, January 1996.
  2343.  
  2344.     [4] Case, J., McCloghrie, K., Rose, M., and Waldbusser, S.,
  2345.     "Conformance Statements for version 2 of the Simple Network
  2346.     Managemenet Protocol (SNMPv2)," RFC 1904, SNMP Research Inc.,
  2347.     Hughes LAN Systems, Dover Beach Consulting, Carnegie Mellon
  2348.     University, January 1996.
  2349.  
  2350.     [5] Case, J., McCloghrie, K., Rose, M., and Waldbusser, S.,
  2351.     "Coexistence between version 1 and version 2 of the
  2352.     Internet-standard Network Management Framework," RFC 1908, SNMP
  2353.     Research Inc., Hughes LAN Systems, Dover Beach Consulting,
  2354.     Carnegie Mellon University, JAnuary 1996.
  2355.  
  2356.     [6] Information processing systems - Open Systems
  2357.     Interconnection - Specification of Abstract Syntax Notation One
  2358.     (ASN.1), International Organization for Standardization,
  2359.     International Standard 8824, December 1987.
  2360.  
  2361.     [7] Information processing systems - Open Systems
  2362.     Interconnection - Specification of Basic Encoding Rules for
  2363.     Abstract Notation One (ASN.1), International Organization for
  2364.  
  2365.  
  2366. Nevil Brownlee                                                 [Page 41]
  2367.  
  2368.  
  2369. INTERNET-DRAFT      Traffic Flow Measurement:  Meter MIB      March 1997
  2370.  
  2371.     Standardization, International Standard 8825, December 1987.
  2372.  
  2373.     [8] Mills, C., Hirsch, G. and Ruth, G., "Internet Accounting
  2374.     Background," RFC 1272, Bolt Beranek and Newman Inc., Meridian
  2375.     Technology Corporation, November 1991.
  2376.  
  2377.     [9] Brownlee, N., Mills, C., and G. Ruth, "Traffic Flow
  2378.     Measurement:  Architecture", RFC 2063, The University of
  2379.     Auckland, Bolt Beranek and Newman Inc., GTE Laboratories, Inc,
  2380.     January 1997.
  2381.  
  2382.     [10] Waldbusser, S., "Remote Network Monitoring Management
  2383.     Information Base Version 2 using SMIv2," RFC 2021, INS, January
  2384.     1997.
  2385.  
  2386.     [11] Reynolds, J., Postel, J., "Assigned Numbers," RFC 1700,
  2387.     ISI, October 1994.
  2388.  
  2389.     [12] Case, J., "FDDI Management Information Base," RFC 1285,
  2390.     SNMP Research Incorporated, January 1992.
  2391.  
  2392.     [13] Hinden, R., Deering, S., "IP Version 6 Addressing
  2393.     Architecture," RFC 1884, Ipsilon Networks, Xerox PARC, December
  2394.     1995.
  2395.  
  2396.  
  2397.  
  2398.  
  2399. 8 Security Considerations
  2400.  
  2401.  
  2402. This MIB describes how an RTFM traffic meter is controlled, and provides
  2403. a way for traffic flow data to be retrieved from it by a meter reader.
  2404. This is essentially an application using SNMP as a method of
  2405. communication between co-operating hosts; the meter seems unlikely to
  2406. have any inherent security risks.
  2407.  
  2408. Since, however, the traffic flow data can be extremely valuable for
  2409. network management purposes it is vital that sensible precautions be
  2410. taken to keep the meter and its data secure.  This could be achieved in
  2411. many ways, for example
  2412.  
  2413.  
  2414.   - Physical Separation.  Meter(s) and meter reader(s) could be
  2415.     deployed within a separate network, access to which is carefully
  2416.     controlled.
  2417.  
  2418.   - Application-layer Security.  A minimal level of security for SNMP
  2419.     is provided by using 'community' strings, which are essentially
  2420.     clear-text passwords.  Stronger security for SNMP is being
  2421.     developed within the IETF; when this becomes available it should be
  2422.     used to protect managed network equipment.
  2423.  
  2424. Nevil Brownlee                                                 [Page 42]
  2425.  
  2426.  
  2427. INTERNET-DRAFT      Traffic Flow Measurement:  Meter MIB      March 1997
  2428.  
  2429.   - Lower-layer Security.  Access to the meter can be protected using
  2430.     encryption at the network layer.  For example, one could run SNMP
  2431.     to the meter through an encrypted TCP tunnel.
  2432.  
  2433.  
  2434.  
  2435. When implementing a meter it may be sensible to use separate network
  2436. interfaces for control and for metering.  If this is done the control
  2437. interface can be made physically secure, which also guards against
  2438. denial-of-service attacks.  Denial-of-service attacks on the metering
  2439. interfaces are not a concern, since they appear as extra traffic flows
  2440. which can be measured!
  2441.  
  2442.  
  2443.  
  2444. 9 Author's Address
  2445.  
  2446.  
  2447.     Nevil Brownlee
  2448.     Information Technology Sytems & Services
  2449.     The University of Auckland
  2450.  
  2451.     Phone: +64 9 373 7599 x8941
  2452.     E-mail: n.brownlee @auckland.ac.nz
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482. Nevil Brownlee                                                 [Page 43]
  2483.