home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_i / draft-ietf-ifmib-mib-05.txt < prev    next >
Text File  |  1996-11-26  |  144KB  |  4,540 lines

  1.  
  2. Draft                  Interfaces Group MIB          November 1996
  3.  
  4.  
  5.  
  6.                      The Interfaces Group MIB
  7.  
  8.                          26 November 1996
  9.  
  10.  
  11.                    draft-ietf-ifmib-mib-05.txt
  12.  
  13.  
  14.                          Keith McCloghrie
  15.                           Cisco Systems
  16.                           kzm@cisco.com
  17.  
  18.                        Frank J. Kastenholz
  19.                            FTP Software
  20.                           kasten@ftp.com
  21.  
  22.  
  23.  
  24.  
  25.  
  26.                        Status of this Memo
  27.  
  28. This document is an Internet-Draft.  Internet-Drafts are working
  29. documents of the Internet Engineering Task Force (IETF), its
  30. areas, and its working groups.  Note that other groups may also
  31. distribute working documents as Internet-Drafts.
  32.  
  33. Internet-Drafts are draft documents valid for a maximum of six
  34. months and may be updated, replaced, or obsoleted by other
  35. documents at any time.  It is inappropriate to use Internet-
  36. Drafts as reference material or to cite them other than as ``work
  37. in progress.''
  38.  
  39. To learn the current status of any Internet-Draft, please check
  40. the ``1id-abstracts.txt'' listing contained in the Internet-
  41. Drafts Shadow Directories on ds.internic.net (US East Coast),
  42. nic.nordu.net (Europe), ftp.isi.edu (US West Coast), or
  43. munnari.oz.au (Pacific Rim).
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. Expires May 1997                                          [Page 1]
  56.  
  57.  
  58.  
  59.  
  60.  
  61. Draft                  Interfaces Group MIB          November 1996
  62.  
  63.  
  64. 1.  Introduction
  65.  
  66. This memo defines a portion of the Management Information Base
  67. (MIB) for use with network management protocols in the Internet
  68. community.  In particular, it describes managed objects used for
  69. managing Network Interfaces.
  70.  
  71. This memo discusses the 'interfaces' group of MIB-II, especially
  72. the experience gained from the definition of numerous media-
  73. specific MIB modules for use in conjunction with the 'interfaces'
  74. group for managing various sub-layers beneath the internetwork-
  75. layer.  It specifies clarifications to, and extensions of, the
  76. architectural issues within the previous model used for the
  77. 'interfaces' group.
  78.  
  79. This memo also includes a MIB module.  As well as including new
  80. MIB definitions to support the architectural extensions, this MIB
  81. module also re-specifies the 'interfaces' group of MIB-II in a
  82. manner that is both compliant to the SNMPv2 SMI and semantically-
  83. identical to the existing SNMPv1-based definitions.
  84.  
  85.  
  86. 1.1.  Change Log
  87.  
  88. This section tracks changes made to the revisions of the Internet
  89. Drafts of this document.  It will be deleted when the document is
  90. published as an RFC.
  91.  
  92. 26 November 1996
  93.  
  94. The following changes were made for the version of the document
  95. dated 26 November 1996. These changes were made based on Working
  96. Group email discussions following the Montreal IETF meeting.
  97.  
  98. (1)  Added additional clarifying text for when assigning an
  99.      ifIndex value is appropriate.
  100.  
  101. (2)  Added lowerLayerDown state for ifOperStatus.
  102.  
  103. (3)  Added ifCounterDiscontinuityTime.
  104.  
  105. (4)  Updated the description clause of each counter object covered
  106.      by ifCounterDiscontinuityTime (as required by RFC 1902,
  107.      section 7.1.6).
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. Expires May 1997                                          [Page 2]
  115.  
  116.  
  117.  
  118.  
  119.  
  120. Draft                  Interfaces Group MIB          November 1996
  121.  
  122.  
  123. (5)  Added text on rate-limiting linkUp/linkDown text.
  124.  
  125. (6)  Minor editorial changes.
  126.  
  127. 22 February 1996
  128.  
  129. The following changes were made for the version of the document
  130. dated 19 February 1996. These changes were made based on Working
  131. Group email discussions.
  132.  
  133. (1)  Added InterfaceIndexOrZero textual convention.
  134.  
  135. (2)  Added notPresent state for ifOperStatus.
  136.  
  137. 11 February 1996
  138.  
  139. The following changes were made for the version of the document
  140. dated 11 February 1996. These changes were made based on comments
  141. received via email.
  142.  
  143. (1)  Clarified value of ifOperStatus in linkUp and linkDown traps.
  144.  
  145. (2)  Included ifIndex in the ifGeneralInformationGroup object
  146.      group.
  147.  
  148. (3)  Supplemented the explanatory text for ifName.
  149.  
  150. 28 January 1996
  151.  
  152. The following changes were made for the version of the document
  153. dated 28 January 1996. These changes were made based on the output
  154. of the working group's meeting at the Dallas IETF meeting.
  155.  
  156. (1)  Changed ifStackLastChange to be a scalar object.
  157.  
  158. (2)  Updated the definition of ifAlias.
  159.  
  160. (3)  Added text contrasting the use of ifDescr, ifName and
  161.      ifAlias.
  162.  
  163. (4)  Added section on the creation/deletion of interfaces.
  164.  
  165. (5)  Added section on how an interface's ifOperStatus depends on
  166.      the states of the interfaces below it in the interface stack.
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173. Expires May 1997                                          [Page 3]
  174.  
  175.  
  176.  
  177.  
  178.  
  179. Draft                  Interfaces Group MIB          November 1996
  180.  
  181.  
  182. (6)  Added clarification that a defective interface which
  183.      periodically tests itself does not transition to the
  184.      ifOperStatus=testing state while that testing is in progress.
  185.  
  186. 26 November 1995
  187.  
  188. The following changes were made for the version of the document
  189. dated 26 November 1995. These changes were made based on the
  190. output of the working group's meeting at the Stockholm IETF
  191. meeting.
  192.  
  193. (1)  Added the ifAlias, ifStackLastChange and ifTableLastChange
  194.      objects.
  195.  
  196. (2)  Defined new group definitions to contain the new objects, and
  197.      defined a new conformance definition.  Deprecated the old
  198.      group and conformance definitions.
  199.  
  200. (3)  Corrected the MAX-ACCESS clause values for
  201.      ifRcvAddressAddress, ifRcvAddressStatus and ifStackStatus.
  202.  
  203. (4)  Deprecated the ifTestTable and ifTestGroup.
  204.  
  205. (5)  Removed (to be defined elsewhere) the IANAifType-MIB MIB
  206.      Module.
  207.  
  208. (6)  Re-arranged and combined the previous sections 3.1 and 3.2.
  209.  
  210. (7)  Minor editorial changes.
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232. Expires May 1997                                          [Page 4]
  233.  
  234.  
  235.  
  236.  
  237.  
  238. Draft                  Interfaces Group MIB          November 1996
  239.  
  240.  
  241. 2.  The SNMP Network Management Framework
  242.  
  243. The SNMP Network Management Framework presently consists of three
  244. major components.  They are:
  245.  
  246. o    RFC 1902 which defines the SMI, the mechanisms used for
  247.      describing and naming objects for the purpose of management.
  248.  
  249. o    RFC 1213 defines MIB-II, the core set of managed objects for
  250.      the Internet suite of protocols.
  251.  
  252. o    RFC 1157 and RFC 1905 which define two versions of the
  253.      protocol used for network access to managed objects.
  254.  
  255. The Framework permits new objects to be defined for the purpose of
  256. experimentation and evaluation.
  257.  
  258.  
  259. 2.1.  Object Definitions
  260.  
  261. Managed objects are accessed via a virtual information store,
  262. termed the Management Information Base or MIB.  Objects in the MIB
  263. are defined using the subset of Abstract Syntax Notation One
  264. (ASN.1) defined in the SMI.  In particular, each object object
  265. type is named by an OBJECT IDENTIFIER, an administratively
  266. assigned name.  The object type together with an object instance
  267. serves to uniquely identify a specific instantiation of the
  268. object.  For human convenience, we often use a textual string,
  269. termed the descriptor, to refer to the object type.
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291. Expires May 1997                                          [Page 5]
  292.  
  293.  
  294.  
  295.  
  296.  
  297. Draft                  Interfaces Group MIB          November 1996
  298.  
  299.  
  300. 3.  Experience with the Interfaces Group
  301.  
  302. One of the strengths of internetwork-layer protocols such as IP
  303. [6] is that they are designed to run over any network interface.
  304. In achieving this, IP considers any and all protocols it runs over
  305. as a single "network interface" layer.  A similar view is taken by
  306. other internetwork-layer protocols.  This concept is represented
  307. in MIB-II by the 'interfaces' group which defines a generic set of
  308. managed objects such that any network interface can be managed in
  309. an interface-independent manner through these managed objects.
  310. The 'interfaces' group provides the means for additional managed
  311. objects specific to particular types of network interface (e.g., a
  312. specific medium such as Ethernet) to be defined as extensions to
  313. the 'interfaces' group for media-specific management.  Since the
  314. standardization of MIB-II, many such media-specific MIB modules
  315. have been defined.
  316.  
  317. Experience in defining these media-specific MIB modules has shown
  318. that the model defined by MIB-II is too simplistic and/or static
  319. for some types of media-specific management.  As a result, some of
  320. these media-specific MIB modules assume an evolution or loosening
  321. of the model.  This memo documents and standardizes that evolution
  322. of the model and fills in the gaps caused by that evolution.  This
  323. memo also incorporates the interfaces group extensions documented
  324. in RFC 1229 [7].
  325.  
  326. 3.1.  Clarifications/Revisions
  327.  
  328. There are several areas for which experience has indicated that
  329. clarification, revision, or extension of the model would be
  330. helpful.  The following sections discuss the changes in the
  331. interfaces group adopted by this memo in each of these areas.
  332.  
  333. In some sections, one or more paragraphs contain discussion of
  334. rejected alternatives to the model adopted in this memo.  Readers
  335. not familiar with the MIB-II model and not interested in the
  336. rationale behind the new model may want to skip these paragraphs.
  337.  
  338. 3.1.1.  Interface Sub-Layers
  339.  
  340. Experience in defining media-specific management information has
  341. shown the need to distinguish between the multiple sub-layers
  342. beneath the internetwork-layer.  In addition, there is a need to
  343. manage these sub-layers in devices (e.g., MAC-layer bridges) which
  344. are unaware of which, if any, internetwork protocols run over
  345.  
  346.  
  347.  
  348.  
  349.  
  350. Expires May 1997                                          [Page 6]
  351.  
  352.  
  353.  
  354.  
  355.  
  356. Draft                  Interfaces Group MIB          November 1996
  357.  
  358.  
  359. these sub-layers.  As such, a model of having a single conceptual
  360. row in the interfaces table (MIB-II's ifTable) represent a whole
  361. interface underneath the internetwork-layer, and having a single
  362. associated media-specific MIB module (referenced via the ifType
  363. object) is too simplistic.  A further problem arises with the
  364. value of the ifType object which has enumerated values for each
  365. type of interface.
  366.  
  367. Consider, for example, an interface with PPP running over an HDLC
  368. link which uses a RS232-like connector.  Each of these sub-layers
  369. has its own media-specific MIB module.  If all of this is
  370. represented by a single conceptual row in the ifTable, then an
  371. enumerated value for ifType is needed for that specific
  372. combination which maps to the specific combination of media-
  373. specific MIBs.  Furthermore, such a model still lacks a method to
  374. describe the relationship of all the sub-layers of the MIB stack.
  375.  
  376. An associated problem is that of upward and downward multiplexing
  377. of the sub-layers.  An example of upward multiplexing is MLP
  378. (Multi-Link-Procedure) which provides load-sharing over several
  379. serial lines by appearing as a single point-to-point link to the
  380. sub-layer(s) above.  An example of downward multiplexing would be
  381. several instances of PPP, each framed within a separate X.25
  382. virtual circuit, all of which run over one fractional T1 channel,
  383. concurrently with other uses of the T1 link.  The MIB structure
  384. must allow these sorts of relationships to be described.
  385.  
  386. Several solutions for representing multiple sub-layers were
  387. rejected.  One was to retain the concept of one conceptual row for
  388. all the sub-layers of an interface and have each media-specific
  389. MIB module identify its "superior" and "subordinate" sub-layers
  390. through OBJECT IDENTIFIER "pointers".  This scheme would have
  391. several drawbacks: the superior/subordinate pointers would be
  392. contained in the media-specific MIB modules; thus, a manager could
  393. not learn the structure of an interface without inspecting
  394. multiple pointers in different MIB modules; this would be overly
  395. complex and only possible if the manager had knowledge of all the
  396. relevant media-specific MIB modules; MIB modules would all need to
  397. be retrofitted with these new "pointers"; this scheme would not
  398. adequately address the problem of upward and downward
  399. multiplexing; and finally, enumerated values of ifType would be
  400. needed for each combination of sub-layers.  Another rejected
  401. solution also retained the concept of one conceptual row for all
  402. the sub-layers of an interface but had a new separate MIB table to
  403. identify the "superior" and "subordinate" sub-layers and to
  404.  
  405.  
  406.  
  407.  
  408.  
  409. Expires May 1997                                          [Page 7]
  410.  
  411.  
  412.  
  413.  
  414.  
  415. Draft                  Interfaces Group MIB          November 1996
  416.  
  417.  
  418. contain OBJECT IDENTIFIER "pointers" to the media-specific MIB
  419. module for each sub-layer.  Effectively, one conceptual row in the
  420. ifTable would represent each combination of sub-layers between the
  421. internetwork-layer and the wire.  While this scheme has fewer
  422. drawbacks, it still would not support downward multiplexing, such
  423. as PPP over MLP: observe that MLP makes two (or more) serial lines
  424. appear to the layers above as a single physical interface, and
  425. thus PPP over MLP should appear to the internetwork-layer as a
  426. single interface; in contrast, this scheme would result in two (or
  427. more) conceptual rows in the ifTable, both of which the
  428. internetwork-layer would run over.  This scheme would also require
  429. enumerated values of ifType for each combination of sub-layers.
  430.  
  431. The solution adopted by this memo is to have an individual
  432. conceptual row in the ifTable to represent each sub-layer, and
  433. have a new separate MIB table (the ifStackTable, see section 6
  434. below) to identify the "superior" and "subordinate" sub-layers
  435. through INTEGER "pointers" to the appropriate conceptual rows in
  436. the ifTable.  This solution supports both upward and downward
  437. multiplexing, allows the IANAifType to Media-Specific MIB mapping
  438. to identify the media-specific MIB module for that sub-layer, such
  439. that the new table need only be referenced to obtain information
  440. about layering, and it only requires enumerated values of ifType
  441. for each sub-layer, not for combinations of them.  However, it
  442. does require that the descriptions of some objects in the ifTable
  443. (specifically, ifType, ifPhysAddress, ifInUcastPkts, and
  444. ifOutUcastPkts) be generalized so as to apply to any sub-layer
  445. (rather than only to a sub-layer immediately beneath the network
  446. layer as previously), plus some (specifically, ifSpeed) which need
  447. to have appropriate values identified for use when a generalized
  448. definition does not apply to a particular sub-layer.
  449.  
  450. In addition, this adopted solution makes no requirement that a
  451. device, in which a sub-layer is instrumented by a conceptual row
  452. of the ifTable, be aware of whether an internetwork protocol runs
  453. on top of (i.e., at some layer above) that sub-layer.  In fact,
  454. the counters of packets received on an interface are defined as
  455. counting the number "delivered to a higher-layer protocol".  This
  456. meaning of "higher-layer" includes:
  457.  
  458. (1)  Delivery to a forwarding module which accepts
  459.      packets/frames/octets and forwards them on at the same
  460.      protocol layer.  For example, for the purposes of this
  461.      definition, the forwarding module of a MAC-layer bridge is
  462.      considered as a "higher-layer" to the MAC-layer of each port
  463.  
  464.  
  465.  
  466.  
  467.  
  468. Expires May 1997                                          [Page 8]
  469.  
  470.  
  471.  
  472.  
  473.  
  474. Draft                  Interfaces Group MIB          November 1996
  475.  
  476.  
  477.      on the bridge.
  478.  
  479. (2)  Delivery to a higher sub-layer within a interface stack.  For
  480.      example, for the purposes of this definition, if a PPP module
  481.      operated directly over a serial interface, the PPP module
  482.      would be considered the higher sub-layer to the serial
  483.      interface.
  484.  
  485. (3)  Delivery to a higher protocol layer which does not do packet
  486.      forwarding for sub-layers that are "at the top of" the
  487.      interface stack.  For example, for the purposes of this
  488.      definition, the local IP module would be considered the
  489.      higher layer to a SLIP serial interface.
  490.  
  491. Similarly, for output, the counters of packets transmitted out an
  492. interface are defined as counting the number "that higher-level
  493. protocols requested to be transmitted".  This meaning of "higher-
  494. layer" includes:
  495.  
  496. (1)  A forwarding module, at the same protocol layer, which
  497.      transmits packets/frames/octets that were received on an
  498.      different interface.  For example, for the purposes of this
  499.      definition, the forwarding module of a MAC-layer bridge is
  500.      considered as a "higher-layer" to the MAC-layer of each port
  501.      on the bridge.
  502.  
  503. (2)  The next higher sub-layer within an interface stack.  For
  504.      example, for the purposes of this definition, if a PPP module
  505.      operated directly over a serial interface, the PPP module
  506.      would be a "higher layer" to the serial interface.
  507.  
  508. (3)  For sub-layers that are "at the top of" the interface stack,
  509.      a higher element in the network protocol stack.  For example,
  510.      for the purposes of this definition, the local IP module
  511.      would be considered the higher layer to an Ethernet
  512.      interface.
  513.  
  514. 3.1.2.  Guidance on Defining Sub-layers
  515.  
  516. The designer of a media-specific MIB must decide whether to divide
  517. the interface into sub-layers or not, and if so, how to make the
  518. divisions.  The following guidance is offered to assist the
  519. media-specific MIB designer in these decisions.
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527. Expires May 1997                                          [Page 9]
  528.  
  529.  
  530.  
  531.  
  532.  
  533. Draft                  Interfaces Group MIB          November 1996
  534.  
  535.  
  536. In general, the number of entries in the ifTable should be kept to
  537. the minimum required for network management.  In particular, a
  538. group of related interfaces should be treated as a single
  539. interface with one entry in the ifTable providing that:
  540.  
  541. (1)  None of the group of interfaces performs multiplexing for any
  542.      other interface in the agent,
  543.  
  544. (2)  There is a meaningful and useful way for all of the ifTable's
  545.      information (e.g., the counters, and the status variables),
  546.      and all of the ifTable's capabilities (e.g., write access to
  547.      ifAdminStatus), to apply to the group of interfaces as a
  548.      whole.
  549.  
  550. Under these circumstances, there should be one entry in the
  551. ifTable for such a group of interfaces, and any internal structure
  552. which needs to be represented to network management should be
  553. captured in a MIB module specific to the particular type of
  554. interface.
  555.  
  556. Note that application of bullet 2 above to the ifTable's ifType
  557. object requires that there is a meaningful media-specific MIB and
  558. a meaningful ifType value which apply to the group of interfaces
  559. as a whole.  For example, it is not appropriate to treat an HDLC
  560. sub-layer and an RS-232 sub-layer as a single ifTable entry when
  561. the media-specific MIBs and the ifType values for HDLC and RS-232
  562. are separate (rather than combined).
  563.  
  564. Subject to the above, it is appropriate to assign an ifIndex value
  565. to any interface that can occur in an interface stack (in the
  566. ifStackTable) where the bottom of the stack is a physical
  567. interface (ifConnectorPresent has the value 'true') and there is a
  568. layer-3 or other application that "points down" to the top of this
  569. stack.  An example of an application that points down to the top
  570. of the stack is the Character MIB [9].
  571.  
  572. Note that the sub-layers of an interface on one device will
  573. sometimes be different from the sub-layers of the interconnected
  574. interface of another device; for example, for a frame-relay DTE
  575. interface connected a frameRelayService interface, the inter-
  576. connected DTE and DCE interfaces have different ifType values and
  577. media-specific MIBs.
  578.  
  579. These guidelines are just that, guidelines.  The designer of a
  580. media-specific MIB is free to lay out the MIB in whatever SMI
  581.  
  582.  
  583.  
  584.  
  585.  
  586. Expires May 1997                                         [Page 10]
  587.  
  588.  
  589.  
  590.  
  591.  
  592. Draft                  Interfaces Group MIB          November 1996
  593.  
  594.  
  595. conformant manner is desired.  However, in doing so, the media-
  596. specific MIB MUST completely specify the sub-layering model used
  597. for the MIB, and provide the assumptions, reasoning, and rationale
  598. used to develop that model.
  599.  
  600. 3.1.3.  Virtual Circuits
  601.  
  602. Several of the sub-layers for which media-specific MIB modules
  603. have been defined are connection oriented (e.g., Frame Relay,
  604. X.25).  Experience has shown that each effort to define such a MIB
  605. module revisits the question of whether separate conceptual rows
  606. in the ifTable are needed for each virtual circuit.  Most, if not
  607. all, of these efforts to date have decided to have all virtual
  608. circuits reference a single conceptual row in the ifTable.
  609.  
  610. This memo strongly recommends that connection-oriented sub-layers
  611. do not have a conceptual row in the ifTable for each virtual
  612. circuit.  This avoids the proliferation of conceptual rows,
  613. especially those which have considerable redundant information.
  614. (Note, as a comparison, that connection-less sub-layers do not
  615. have conceptual rows for each remote address.)  There may,
  616. however, be circumstances under which it is appropriate for a
  617. virtual circuit of a connection-oriented sub-layer to have its own
  618. conceptual row in the ifTable; an example of this might be PPP
  619. over an X.25 virtual circuit.  The MIB in section 6 of this memo
  620. supports such circumstances.
  621.  
  622. If a media-specific MIB wishes to assign an entry in the ifTable
  623. to each virtual circuit, the MIB designer must present the
  624. rationale for this decision in the media-specific MIB's
  625. specification.
  626.  
  627. 3.1.4.  Bit, Character, and Fixed-Length Interfaces
  628.  
  629. RS-232 is an example of a character-oriented sub-layer over which
  630. (e.g., through use of PPP) IP datagrams can be sent.  Due to the
  631. packet-based nature of many of the objects in the ifTable,
  632. experience has shown that it is not appropriate to have a
  633. character-oriented sub-layer represented by a whole conceptual row
  634. in the ifTable.
  635.  
  636. Experience has also shown that it is sometimes desirable to have
  637. some management information for bit-oriented interfaces, which are
  638. similarly difficult to represent by a whole conceptual row in the
  639. ifTable.  For example, to manage the channels of a DS1 circuit,
  640.  
  641.  
  642.  
  643.  
  644.  
  645. Expires May 1997                                         [Page 11]
  646.  
  647.  
  648.  
  649.  
  650.  
  651. Draft                  Interfaces Group MIB          November 1996
  652.  
  653.  
  654. where only some of the channels are carrying packet-based data.
  655.  
  656. A further complication is that some subnetwork technologies
  657. transmit data in fixed length transmission units.  One example of
  658. such a technology is cell relay, and in particular Asynchronous
  659. Transfer Mode (ATM), which transmits data in fixed-length cells.
  660. Representing such a interface as a packet-based interface produces
  661. redundant objects if the relationship between the number of
  662. packets and the number of octets in either direction is fixed by
  663. the size of the transmission unit (e.g., the size of a cell).
  664.  
  665. About half the objects in the ifTable are applicable to every type
  666. of interface: packet-oriented, character-oriented, and bit-
  667. oriented.  Of the other half, two are applicable to both
  668. character-oriented and packet-oriented interfaces, and the rest
  669. are applicable only to packet-oriented interfaces.  Thus, while it
  670. is desirable for consistency to be able to represent any/all types
  671. of interfaces in the ifTable, it is not possible to implement the
  672. full ifTable for bit- and character-oriented sub-layers.
  673.  
  674. A rejected solution to this problem would be to split the ifTable
  675. into two (or more) new MIB tables, one of which would contain
  676. objects that are relevant only to packet-oriented interfaces
  677. (e.g., PPP), and another that may be used by all interfaces.  This
  678. is highly undesirable since it would require changes in every
  679. agent implementing the ifTable (i.e., just about every existing
  680. SNMP agent).
  681.  
  682. The solution adopted in this memo builds upon the fact that
  683. compliance statements in SNMPv2 (in contrast to SNMPv1) refer to
  684. object groups, where object groups are explicitly defined by
  685. listing the objects they contain.  Thus, in SNMPv2, multiple
  686. compliance statements can be specified, one for all interfaces and
  687. additional ones for specific types of interfaces.  The separate
  688. compliance statements can be based on separate object groups,
  689. where the object group for all interfaces can contain only those
  690. objects from the ifTable which are appropriate for every type of
  691. interfaces.  Using this solution, every sub-layer can have its own
  692. conceptual row in the ifTable.
  693.  
  694. Thus, section 6 of this memo contains definitions of the objects
  695. of the existing 'interfaces' group of MIB-II, in a manner which is
  696. both SNMPv2-compliant and semantically-equivalent to the existing
  697. MIB-II definitions.  With equivalent semantics, and with the BER
  698. ("on the wire") encodings unchanged, these definitions retain the
  699.  
  700.  
  701.  
  702.  
  703.  
  704. Expires May 1997                                         [Page 12]
  705.  
  706.  
  707.  
  708.  
  709.  
  710. Draft                  Interfaces Group MIB          November 1996
  711.  
  712.  
  713. same OBJECT IDENTIFIER values as assigned by MIB-II.  Thus, in
  714. general, no rewrite of existing agents which conform to MIB-II and
  715. the ifExtensions MIB is required.
  716.  
  717. In addition, this memo defines several object groups for the
  718. purposes of defining which objects apply to which types of
  719. interface:
  720.  
  721. (1)  the ifGeneralInformationGroup.  This group contains those
  722.      objects applicable to all types of network interfaces,
  723.      including bit-oriented interfaces.
  724.  
  725. (2)  the ifPacketGroup.  This group contains those objects
  726.      applicable to packet-oriented network interfaces.
  727.  
  728. (3)  the ifFixedLengthGroup.  This group contains the objects
  729.      applicable not only to character-oriented interfaces, such as
  730.      RS-232, but also to those subnetwork technologies, such as
  731.      cell-relay/ATM, which transmit data in fixed length
  732.      transmission units.  As well as the octet counters, there are
  733.      also a few other counters (e.g., the error counters) which
  734.      are useful for this type of interface, but are currently
  735.      defined as being packet-oriented.  To accommodate this, the
  736.      definitions of these counters are generalized to apply to
  737.      character-oriented interfaces and fixed-length-transmission
  738.      interfaces.
  739.  
  740. It should be noted that the octet counters in the ifTable
  741. aggregate octet counts for unicast and non-unicast packets into a
  742. single octet counter per direction (received/transmitted).  Thus,
  743. with the above definition of fixed-length-transmission interfaces,
  744. where such interfaces which support non-unicast packets, separate
  745. counts of unicast and multicast/broadcast transmissions can only
  746. be maintained in a media-specific MIB module.
  747.  
  748. 3.1.5.  Interface Numbering
  749.  
  750. MIB-II defines an object, ifNumber, whose value represents:
  751.  
  752.      "The number of network interfaces (regardless of their
  753.      current state) present on this system."
  754.  
  755. Each interface is identified by a unique value of the ifIndex
  756. object, and the description of ifIndex constrains its value as
  757. follows:
  758.  
  759.  
  760.  
  761.  
  762.  
  763. Expires May 1997                                         [Page 13]
  764.  
  765.  
  766.  
  767.  
  768.  
  769. Draft                  Interfaces Group MIB          November 1996
  770.  
  771.  
  772.      "Its value ranges between 1 and the value of ifNumber.  The
  773.      value for each interface must remain constant at least from
  774.      one re-initialization of the entity's network management
  775.      system to the next re-initialization."
  776.  
  777. This constancy requirement on the value of ifIndex for a
  778. particular interface is vital for efficient management.  However,
  779. an increasing number of devices allow for the dynamic
  780. addition/removal of network interfaces.  One example of this is a
  781. dynamic ability to configure the use of SLIP/PPP over a
  782. character-oriented port.  For such dynamic additions/removals, the
  783. combination of the constancy requirement and the restriction that
  784. the value of ifIndex is less than ifNumber is problematic.
  785.  
  786. Redefining ifNumber to be the largest value of ifIndex was
  787. rejected since it would not help.  Such a re-definition would
  788. require ifNumber to be deprecated and the utility of the redefined
  789. object would be questionable.  Alternatively, ifNumber could be
  790. deprecated and not replaced.  However, the deprecation of ifNumber
  791. would require a change to that portion of ifIndex's definition
  792. which refers to ifNumber.  So, since the definition of ifIndex
  793. must be changed anyway in order to solve the problem, changes to
  794. ifNumber do not benefit the solution.
  795.  
  796. The solution adopted in this memo is just to delete the
  797. requirement that the value of ifIndex must be less than the value
  798. of ifNumber, and to retain ifNumber with its current definition.
  799. This is a minor change in the semantics of ifIndex; however, all
  800. existing agent implementations conform to this new definition, and
  801. in the interests of not requiring changes to existing agent
  802. implementations and to the many existing media-specific MIBs, this
  803. memo assumes that this change does not require ifIndex to be
  804. deprecated.  Experience indicates that this assumption does
  805. "break" a few management applications, but this is considered
  806. preferable to breaking all agent implementations.
  807.  
  808. This solution also results in the possibility of "holes" in the
  809. ifTable, i.e., the ifIndex values of conceptual rows in the
  810. ifTable are not necessarily contiguous, but SNMP's GetNext (and
  811. SNMPv2's GetBulk) operation easily deals with such holes.  The
  812. value of ifNumber still represents the number of conceptual rows,
  813. which increases/decreases as new interfaces are dynamically
  814. added/removed.
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822. Expires May 1997                                         [Page 14]
  823.  
  824.  
  825.  
  826.  
  827.  
  828. Draft                  Interfaces Group MIB          November 1996
  829.  
  830.  
  831. The requirement for constancy (between re-initializations) of an
  832. interface's ifIndex value is met by requiring that after an
  833. interface is dynamically removed, its ifIndex value is not re-used
  834. by a *different* dynamically added interface until after the
  835. following re-initialization of the network management system.
  836. This avoids the need for assignment (in advance) of ifIndex values
  837. for all possible interfaces that might be added dynamically.  The
  838. exact meaning of a "different" interface is hard to define, and
  839. there will be gray areas.  Any firm definition in this document
  840. would likely to turn out to be inadequate.  Instead, implementors
  841. must choose what it means in their particular situation, subject
  842. to the following rules:
  843.  
  844. (1)  a previously-unused value of ifIndex must be assigned to a
  845.      dynamically added interface if an agent has no knowledge of
  846.      whether the interface is the "same" or "different" to a
  847.      previously incarnated interface.
  848.  
  849. (2)  a management station, not noticing that an interface has gone
  850.      away and another has come into existence, must not be
  851.      confused when calculating the difference between the counter
  852.      values retrieved on successive polls for a particular ifIndex
  853.      value.
  854.  
  855. When the new interface is the same as an old interface, but a
  856. discontinuity in the value of the interface's counters cannot be
  857. avoided, the ifTable has (until now) required that a new ifIndex
  858. value be assigned to the returning interface.  That is, either all
  859. counter values have had to be retained during the absence of an
  860. interface in order to use the same ifIndex value on that
  861. interface's return, or else a new ifIndex value has had to be
  862. assigned to the returning interface.  Both alternatives have
  863. proved to be burdensome to some implementations:
  864.  
  865. (1)  maintaining the counter values may not be possible (e.g., if
  866.      they are maintained on removable hardware),
  867.  
  868. (2)  using a new ifIndex value presents extra work for management
  869.      applications.  While the potential need for such extra work
  870.      is unavoidable on agent re-initializations, it is desirable
  871.      to avoid it between re-initializations.
  872.  
  873. To address this, a new object, ifCounterDiscontinuityTime, has
  874. been defined to record the time of the last discontinuity in an
  875. interface's counters.  By monitoring the value of this new object,
  876.  
  877.  
  878.  
  879.  
  880.  
  881. Expires May 1997                                         [Page 15]
  882.  
  883.  
  884.  
  885.  
  886.  
  887. Draft                  Interfaces Group MIB          November 1996
  888.  
  889.  
  890. a management application can now detect counter discontinuities
  891. without the ifIndex value of the interface being changed.  Thus,
  892. an agent which implements this new object should, when a new
  893. interface is the same as an old interface, retain that interface's
  894. ifIndex value and update if necessary the interface's value of
  895. ifCounterDiscontinuityTime.  With this new object, a management
  896. application must, when calculating differences between counter
  897. values retrieved on successive polls, discard any calculated
  898. difference for which the value of ifCounterDiscontinuityTime is
  899. different for the two polls.  (Note that this test must be
  900. performed in addition to the normal checking of sysUpTime to
  901. detect an agent re-initialization.) Since such discards are a
  902. waste of network management processing and bandwidth, an agent
  903. should not update the value of ifCounterDiscontinuityTime unless
  904. absolutely necessary.
  905.  
  906. While defining this new object is a change in the semantics of the
  907. ifTable counter objects, it is impractical to deprecate and
  908. redefine all these counters because of their wide deployment and
  909. importance.  Also, a survey of implementations indicates that many
  910. agents and management applications do not correctly implement this
  911. aspect of the current semantics (because of the burdensome issues
  912. mentioned above), such that the practical implications of such a
  913. change is small.  Thus, this breach of the SMI's rules is
  914. considered to be acceptable.
  915.  
  916. Note, however, that the addition of ifCounterDiscontinuityTime
  917. does not change the fact that:
  918.  
  919.          it is necessary at certain times for the
  920.          assignment of ifIndex values to change on a re-
  921.          initialization of the agent (such as a reboot).
  922.  
  923. The possibility of ifIndex value re-assignment must be
  924. accommodated by a management application whenever the value of
  925. sysUpTime is reset to zero.
  926.  
  927. Note also that some agents support multiple "naming scopes", e.g.,
  928. for an SNMPv1 agent, multiple values of the SNMPv1 community
  929. string.  For such an agent (e.g., a CNM agent which supports a
  930. different subset of interfaces for different customers), there is
  931. no required relationship between the ifIndex values which identify
  932. interfaces in one naming scope and those which identify interfaces
  933. in another naming scope.  It is the agent's choice as to whether
  934. the same or different ifIndex values identify the same or
  935.  
  936.  
  937.  
  938.  
  939.  
  940. Expires May 1997                                         [Page 16]
  941.  
  942.  
  943.  
  944.  
  945.  
  946. Draft                  Interfaces Group MIB          November 1996
  947.  
  948.  
  949. different interfaces in different naming scopes.
  950.  
  951. Because of the restriction of the value of ifIndex to be less than
  952. ifNumber, interfaces have been numbered with small integer values.
  953. This has led to the ability by humans to use the ifIndex values as
  954. (somewhat) user-friendly names for network interfaces (e.g.,
  955. "interface number 3").  With the relaxation of the restriction on
  956. the value of ifIndex, there is now the possibility that ifIndex
  957. values could be assigned as very large numbers (e.g., memory
  958. addresses).  Such numbers would be much less user-friendly.
  959. Therefore, this memo recommends that ifIndex values still be
  960. assigned as (relatively) small integer values starting at 1, even
  961. though the values in use at any one time are not necessarily
  962. contiguous.  (Note that this makes remembering which values have
  963. been assigned easy for agents which dynamically add new
  964. interfaces)
  965.  
  966. A new problem is introduced by representing each sub-layer as an
  967. ifTable entry.  Previously, there usually was a simple, direct,
  968. mapping of interfaces to the physical ports on systems.  This
  969. mapping would be based on the ifIndex value.  However, by having
  970. an ifTable entry for each interface sub-layer, mapping from
  971. interfaces to physical ports becomes increasingly problematic.
  972.  
  973. To address this issue, a new object, ifName, is added to the MIB.
  974. This object contains the device's local name (e.g., the name used
  975. at the device's local console) for the interface of which the
  976. relevant entry in the ifTable is a component.  For example,
  977. consider a router having an interface composed of PPP running over
  978. an RS-232 port.  If the router uses the name "wan1" for the
  979. (combined) interface, then the ifName objects for the
  980. corresponding PPP and RS-232 entries in the ifTable would both
  981. have the value "wan1".  On the other hand, if the router uses the
  982. name "wan1.1" for the PPP interface and "wan1.2" for the RS-232
  983. port, then the ifName objects for the corresponding PPP and RS-232
  984. entries in the ifTable would have the values "wan1.1" and
  985. "wan1.2", respectively.  As an another example, consider an agent
  986. which responds to SNMP queries concerning an interface on some
  987. other (proxied) device: if such a proxied device associates a
  988. particular identifier with an interface, then it is appropriate to
  989. use this identifier as the value of the interface's ifName, since
  990. the local console in this case is that of the proxied device.
  991.  
  992. In contrast, the existing ifDescr object is intended to contain a
  993. description of an interface, whereas another new object, ifAlias,
  994.  
  995.  
  996.  
  997.  
  998.  
  999. Expires May 1997                                         [Page 17]
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005. Draft                  Interfaces Group MIB          November 1996
  1006.  
  1007.  
  1008. provides a location in which a network management application can
  1009. store a non-volatile interface-naming value of its own choice.
  1010. The ifAlias object allows a network manager to give one or more
  1011. interfaces their own unique names, irrespective of any interface-
  1012. stack relationship.  Further, the ifAlias name is non-volatile,
  1013. and thus an interface must retain its assigned ifAlias value
  1014. across reboots, even if an agent chooses a new ifIndex value for
  1015. the interface.
  1016.  
  1017. 3.1.6.  Counter Size
  1018.  
  1019. As the speed of network media increase, the minimum time in which
  1020. a 32 bit counter will wrap decreases.  For example, a 10Mbs stream
  1021. of back-to-back, full-size packets causes ifInOctets to wrap in
  1022. just over 57 minutes; at 100Mbs, the minimum wrap time is 5.7
  1023. minutes, and at 1Gbs, the minimum is 34 seconds.  Requiring that
  1024. interfaces be polled frequently enough not to miss a counter wrap
  1025. is increasingly problematic.
  1026.  
  1027. A rejected solution to this problem was to scale the counters; for
  1028. example, ifInOctets could be changed to count received octets in,
  1029. say, 1024 byte blocks.  While it would provide acceptable
  1030. functionality at high rates of the counted-events, at low rates it
  1031. suffers.  If there is little traffic on an interface, there might
  1032. be a significant interval before enough of the counted-events
  1033. occur to cause the scaled counter to be incremented.  Traffic
  1034. would then appear to be very bursty, leading to incorrect
  1035. conclusions of the network's performance.
  1036.  
  1037. Instead, this memo adopts expanded, 64 bit, counters.  These
  1038. counters are provided in new "high capacity" groups.  The old,
  1039. 32-bit, counters have not been deprecated.  The 64-bit counters
  1040. are to be used only when the 32-bit counters do not provide enough
  1041. capacity; that is, when the 32 bit counters could wrap too fast.
  1042.  
  1043. For interfaces that operate at 20,000,000 (20 million) bits per
  1044. second or less, 32-bit byte and packet counters MUST be used.  For
  1045. interfaces that operate faster than 20,000,000 bits/second, and
  1046. slower than 650,000,000 bits/second, 32-bit packet counters MUST
  1047. be used and 64-bit octet counters MUST be used.  For interfaces
  1048. that operate at 650,000,000 bits/second or faster, 64-bit packet
  1049. counters AND 64-bit octet counters MUST be used.
  1050.  
  1051. These speed thresholds were chosen as reasonable compromises based
  1052. on the following:
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058. Expires May 1997                                         [Page 18]
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064. Draft                  Interfaces Group MIB          November 1996
  1065.  
  1066.  
  1067. (1)  The cost of maintaining 64-bit counters is relatively high,
  1068.      so minimizing the number of agents which must support them is
  1069.      desirable.  Common interfaces (such as 10Mbs Ethernet) should
  1070.      not require them.
  1071.  
  1072. (2)  64-bit counters are a new feature, introduced in SNMPv2.  It
  1073.      is reasonable to expect that support for them will be spotty
  1074.      for the immediate future.  Thus, we wish to limit them to as
  1075.      few systems as possible.  This, in effect, means that 64-bit
  1076.      counters should be limited to higher speed interfaces.
  1077.      Ethernet (10,000,000 bps) and Token Ring (16,000,000 bps) are
  1078.      fairly wide-spread so it seems reasonable to not require 64-
  1079.      bit counters for these interfaces.
  1080.  
  1081. (3)  The 32-bit octet counters will wrap in the following times,
  1082.      for the following interfaces (when transmitting maximum-sized
  1083.      packets back-to-back):
  1084.  
  1085.      -   10Mbs Ethernet: 57 minutes,
  1086.  
  1087.      -   16Mbs Token Ring: 36 minutes,
  1088.  
  1089.      -   a US T3 line (45 megabits): 12 minutes,
  1090.  
  1091.      -   FDDI: 5.7 minutes
  1092.  
  1093. (4)  The 32-bit packet counters wrap in about 57 minutes when 64-
  1094.      byte packets are transmitted back-to-back on a 650,000,000
  1095.      bit/second link.
  1096.  
  1097. As an aside, a 1-terabit/second (1,000 Gbs) link will cause a 64
  1098. bit octet counter to wrap in just under 5 years.  Conversely, an
  1099. 81,000,000 terabit/second link is required to cause a 64-bit
  1100. counter to wrap in 30 minutes.  We believe that, while technology
  1101. rapidly marches forward, this link speed will not be achieved for
  1102. at least several years, leaving sufficient time to evaluate the
  1103. introduction of 96 bit counters.
  1104.  
  1105. When 64-bit counters are in use, the 32-bit counters MUST still be
  1106. available.  They will report the low 32-bits of the associated
  1107. 64-bit count (e.g., ifInOctets will report the least significant
  1108. 32 bits of ifHCInOctets).  This enhances inter-operability with
  1109. existing implementations at a very minimal cost to agents.
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117. Expires May 1997                                         [Page 19]
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123. Draft                  Interfaces Group MIB          November 1996
  1124.  
  1125.  
  1126. The new "high capacity" groups are:
  1127.  
  1128. (1)  the ifHCFixedLengthGroup for character-oriented/fixed-length
  1129.      interfaces, and the ifHCPacketGroup for packet-based
  1130.      interfaces; both of these groups include 64 bit counters for
  1131.      octets, and
  1132.  
  1133. (2)  the ifVHCPacketGroup for packet-based interfaces; this group
  1134.      includes 64 bit counters for octets and packets.
  1135.  
  1136. 3.1.7.  Interface Speed
  1137.  
  1138. Network speeds are increasing.  The range of ifSpeed is limited to
  1139. reporting a maximum speed of (2**31)-1 bits/second, or
  1140. approximately 2.2Gbs.  SONET defines an OC-48 interface, which is
  1141. defined at operating at 48 times 51 Mbs, which is a speed in
  1142. excess of 2.4Gbs.  Thus, ifSpeed is insufficient for the future,
  1143. and this memo defines an additional object: ifHighSpeed.
  1144.  
  1145. The ifHighSpeed object reports the speed of the interface in
  1146. 1,000,000 (1 million) bits/second units.  Thus, the true speed of
  1147. the interface will be the value reported by this object, plus or
  1148. minus 500,000 bits/second.
  1149.  
  1150. Other alternatives considered (but rejected) were:
  1151.  
  1152. (1)  Making the interface speed a 64-bit gauge.  This was rejected
  1153.      since the current SMI does not allow such a syntax.
  1154.  
  1155.      Furthermore, even if 64-bit gauges were available, their use
  1156.      would require additional complexity in agents due to an
  1157.      increased requirement for 64-bit operations.
  1158.  
  1159. (2)  We also considered making "high-32 bit" and "low-32-bit"
  1160.      objects which, when combined, would be a 64-bit value.  This
  1161.      simply seemed overly complex for what we are trying to do.
  1162.  
  1163.      Furthermore, a full 64-bits of precision does not seem
  1164.      necessary.  The value of ifHighSpeed will be the only report
  1165.      of interface speed for interfaces that are faster than
  1166.      4,294,967,295 bits per second.  At this speed, the
  1167.      granularity of ifHighSpeed will be 1,000,000 bits per second,
  1168.      thus the error will be 1/4294, or about 0.02%.  This seems
  1169.      reasonable.
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176. Expires May 1997                                         [Page 20]
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182. Draft                  Interfaces Group MIB          November 1996
  1183.  
  1184.  
  1185. (3)  Adding a "scale" object, which would define the units which
  1186.      ifSpeed's value is.
  1187.  
  1188.      This would require two additional objects; one for the
  1189.      scaling object, and one to replace the current ifSpeed.  This
  1190.      later object is required since the semantics of ifSpeed would
  1191.      be significantly altered, and manager stations which do not
  1192.      understand the new semantics would be confused.
  1193.  
  1194. 3.1.8.  Multicast/Broadcast Counters
  1195.  
  1196. In MIB-II, the ifTable counters for multicast and broadcast
  1197. packets are combined as counters of non-unicast packets.  In
  1198. contrast, the ifExtensions MIB [7] defined one set of counters for
  1199. multicast, and a separate set for broadcast packets.  With the
  1200. separate counters, the original combined counters become
  1201. redundant.  To avoid this redundancy, the non-unicast counters are
  1202. deprecated.
  1203.  
  1204. For the output broadcast and multicast counters defined in RFC
  1205. 1229, their definitions varied slightly from the packet counters
  1206. in the ifTable, in that they did not count errors/discarded
  1207. packets.  Thus, this memo defines new objects with better aligned
  1208. definitions.  Counters with 64 bits of range are also needed, as
  1209. explained above.
  1210.  
  1211. 3.1.9.  Trap Enable
  1212.  
  1213. In the multi-layer interface model, each sub-layer for which there
  1214. is an entry in the ifTable can generate linkUp/Down Traps.  Since
  1215. interface state changes would tend to propagate through the
  1216. interface (from top to bottom, or bottom to top), it is likely
  1217. that several traps would be generated for each linkUp/Down
  1218. occurrence.
  1219.  
  1220. It is desirable to provide a mechanism for manager stations to
  1221. control the generation of these traps.  To this end, the
  1222. ifLinkUpDownTrapEnable object has been added.  This object allows
  1223. managers to limit generation of traps to just the sub-layers of
  1224. interest.
  1225.  
  1226. The default setting should limit the number of traps generated to
  1227. one per interface per linkUp/Down event.  Furthermore, it seems
  1228. that the state changes of most interest to network managers occur
  1229. at the lowest level of an interface stack.  Therefore we specify
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235. Expires May 1997                                         [Page 21]
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241. Draft                  Interfaces Group MIB          November 1996
  1242.  
  1243.  
  1244. that by default, only the lowest sub-layer of the interface
  1245. generate traps.
  1246.  
  1247. 3.1.10.  Addition of New ifType values
  1248.  
  1249. Over time, there is the need to add new ifType enumerated values
  1250. for new interface types.  If the syntax of ifType were defined in
  1251. the MIB in section 6, then a new version of this MIB would have to
  1252. be re-issued in order to define new values.  In the past, re-
  1253. issuing of a MIB has occurred only after several years.
  1254.  
  1255. Therefore, the syntax of ifType is changed to be a textual
  1256. convention, such that the enumerated integer values are now
  1257. defined in the textual convention, IANAifType, defined in a
  1258. different document.  This allows additional values to be
  1259. documented without having to re-issue a new version of this
  1260. document.  The Internet Assigned Number Authority (IANA) is
  1261. responsible for the assignment of all Internet numbers, including
  1262. various SNMP-related numbers, and specifically, new ifType values.
  1263.  
  1264. 3.1.11.  InterfaceIndex Textual Convention
  1265.  
  1266. A new textual convention, InterfaceIndex, has been defined.  This
  1267. textual convention "contains" all of the semantics of the ifIndex
  1268. object.  This allows other mib modules to easily import the
  1269. semantics of ifIndex.
  1270.  
  1271.  
  1272. 3.1.12.  New states for IfOperStatus
  1273.  
  1274. Three new states have been added to ifOperStatus: 'dormant',
  1275. 'notPresent', and 'lowerLayerDown'.
  1276.  
  1277. The dormant state indicates that the relevant interface is not
  1278. actually in a condition to pass packets (i.e., it is not 'up') but
  1279. is in a "pending" state, waiting for some external event.  For
  1280. "on-demand" interfaces, this new state identifies the situation
  1281. where the interface is waiting for events to place it in the up
  1282. state.  Examples of such events might be:
  1283.  
  1284. (1)  having packets to transmit before establishing a connection
  1285.      to a remote system;
  1286.  
  1287. (2)  having a remote system establish a connection to the
  1288.      interface (e.g. dialing up to a slip-server).
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294. Expires May 1997                                         [Page 22]
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300. Draft                  Interfaces Group MIB          November 1996
  1301.  
  1302.  
  1303. The notPresent state is a refinement on the down state which
  1304. indicates that the relevant interface is down specifically because
  1305. some component (typically, a hardware component) is not present in
  1306. the managed system.  Examples of use of the notPresent state are:
  1307.  
  1308. (1)  to allow an interface's conceptual row including its counter
  1309.      values to be retained across a "hot swap" of a card/module,
  1310.      and/or
  1311.  
  1312. (2)  to allow an interface's conceptual row to be created, and
  1313.      thereby enable interfaces to be pre-configured prior to
  1314.      installation of the hardware needed to make the interface
  1315.      operational.
  1316.  
  1317. Agents are not required to support interfaces in the notPresent
  1318. state.  However, from a conceptual viewpoint, when a row in the
  1319. ifTable is created, it first enters the notPresent state and then
  1320. subsequently transitions into the down state; similarly, when a
  1321. row in the ifTable is deleted, it first enters the notPresent
  1322. state and then subsequently the object instances are deleted.  For
  1323. an agent with no support for notPresent, both of these transitions
  1324. (from the notPresent state to the down state, and from the
  1325. notPresent state to the instances being removed) are immediate,
  1326. i.e., the transition does not last long enough to be recorded by
  1327. ifOperStatus.  Even for those agents which do support interfaces
  1328. in the notPresent state, the length of time and conditions under
  1329. which an interface stays in the notPresent state is
  1330. implementation-specific.
  1331.  
  1332. The lowerLayerDown state is also a refinement on the down state.
  1333. This new state indicates that this interface runs "on top of" one
  1334. or more other interfaces (see ifStackTable) and that this
  1335. interface is down specifically because one or more of these
  1336. lower-layer interfaces are down.
  1337.  
  1338. 3.1.13.  IfAdminStatus and IfOperStatus
  1339.  
  1340. The down state of ifOperStatus now has two meanings, depending on
  1341. the value of ifAdminStatus.
  1342.  
  1343. (1)  if ifAdminStatus is not down and ifOperStatus is down then a
  1344.      fault condition is presumed to exist on the interface.
  1345.  
  1346. (2)  if ifAdminStatus is down, then ifOperStatus will normally
  1347.      also be down (or notPresent) i.e., there is not (necessarily)
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353. Expires May 1997                                         [Page 23]
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359. Draft                  Interfaces Group MIB          November 1996
  1360.  
  1361.  
  1362.      a fault condition on the interface.
  1363.  
  1364. Note that when ifAdminStatus transitions to down, ifOperStatus
  1365. will normally also transition to down.  In this situation, it is
  1366. possible that ifOperStatus's transition will not occur
  1367. immediately, but rather after a small time lag to complete certain
  1368. operations before going "down"; for example, it might need to
  1369. finish transmitting a packet.  If a manager station finds that
  1370. ifAdminStatus is down and ifOperStatus is not down for a
  1371. particular interface, the manager station should wait a short
  1372. while and check again.  If the condition still exists, only then
  1373. should it raise an error indication.  Naturally, it should also
  1374. ensure that ifLastChange has not changed during this interval.
  1375.  
  1376. Whenever an interface table entry is created (usually as a result
  1377. of system initialization), the relevant instance of ifAdminStatus
  1378. is set to down, and presumably ifOperStatus will be down or
  1379. notPresent.
  1380.  
  1381. An interface may be enabled in two ways: either as a result of
  1382. explicit management action (e.g. setting ifAdminStatus to up) or
  1383. as a result of the managed system's initialization process.  When
  1384. ifAdminStatus changes to the up state, the related ifOperStatus
  1385. should do one of the following:
  1386.  
  1387. (1)  Change to the up state if and only if the interface is able
  1388.      to send and receive packets.
  1389.  
  1390. (2)  Change to the lowerLayerDown state if and only if the
  1391.      interface is prevented from entering the up state because of
  1392.      the state of one or more of the interfaces beneath it in the
  1393.      interface stack.
  1394.  
  1395. (3)  Change to the dormant state if and only if the interface is
  1396.      found to be operable, but the interface is waiting for other,
  1397.      external, events to occur before it can transmit or receive
  1398.      packets.  Presumably when the expected events occur, the
  1399.      interface will then change to the up state.
  1400.  
  1401. (4)  Remain in the down state if an error or other fault condition
  1402.      is detected on the interface.
  1403.  
  1404. (5)  Change to the unknown state if, for some reason, the state of
  1405.      the interface can not be ascertained.
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412. Expires May 1997                                         [Page 24]
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418. Draft                  Interfaces Group MIB          November 1996
  1419.  
  1420.  
  1421. (6)  Change to the testing state if some test(s) must be performed
  1422.      on the interface. Presumably after completion of the test,
  1423.      the interface's state will change to up, dormant, or down, as
  1424.      appropriate.
  1425.  
  1426. (7)  Remain in the notPresent state if interface components are
  1427.      missing.
  1428.  
  1429. 3.1.14.  IfOperStatus in an Interface Stack
  1430.  
  1431. When an interface is a part of an interface-stack, but is not the
  1432. lowest interface in the stack, then:
  1433.  
  1434. (1)  ifOperStatus has the value 'up' if it is able to pass packets
  1435.      due to one or more interfaces below it in the stack being
  1436.      'up', irrespective of whether other interfaces below it are
  1437.      'down', 'dormant', 'notPresent', 'lowerLayerDown', 'unknown'
  1438.      or 'testing'.
  1439.  
  1440. (2)  ifOperStatus may have the value 'up' or 'dormant' if one or
  1441.      more interfaces below it in the stack are 'dormant', and all
  1442.      others below it are either 'down', 'dormant', 'notPresent',
  1443.      'lowerLayerDown', 'unknown' or 'testing'.
  1444.  
  1445. (3)  ifOperStatus has the value 'lowerLayerDown' while all
  1446.      interfaces below it in the stack are either 'down',
  1447.      'notPresent', 'lowerLayerDown', or 'testing'.
  1448.  
  1449. 3.1.15.  Traps
  1450.  
  1451. The exact definition of when linkUp and linkDown traps are
  1452. generated has been changed to reflect the changes to ifAdminStatus
  1453. and ifOperStatus.
  1454.  
  1455. Operational experience indicates that management stations are most
  1456. concerned with an interface being in the down state and the fact
  1457. that this state may indicate a failure.  Thus, it is most useful
  1458. to instrument transitions into/out of either the up state or the
  1459. down state.
  1460.  
  1461. Instrumenting transitions into or out of the up state was rejected
  1462. since it would have the drawback that a demand interface might
  1463. have many transitions between up and dormant, leading to many
  1464. linkUp traps and no linkDown traps.  Furthermore, if a node's only
  1465. interface is the demand interface, then a transition to dormant
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471. Expires May 1997                                         [Page 25]
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477. Draft                  Interfaces Group MIB          November 1996
  1478.  
  1479.  
  1480. would entail generation of a linkDown trap, necessitating bringing
  1481. the link to the up state (and a linkUp trap)!!
  1482.  
  1483. On the other hand, instrumenting transitions into or out of the
  1484. down state (to/from all other states except notPresent) has the
  1485. advantages:
  1486.  
  1487. (1)  A transition into the down state (from a state other than
  1488.      notPresent) will occur when an error is detected on an
  1489.      interface.  Error conditions are presumably of great interest
  1490.      to network managers.
  1491.  
  1492. (2)  Departing the down state (to a state other than the
  1493.      notPresent state) generally indicates that the interface is
  1494.      going to either up or dormant, both of which are considered
  1495.      "healthy" states.
  1496.  
  1497. Furthermore, it is believed that generating traps on transitions
  1498. into or out of the down state (except to/from the notPresent
  1499. state) is generally consistent with current usage and
  1500. interpretation of these traps by manager stations.
  1501.  
  1502. Transitions to/from the notPresent state are concerned with the
  1503. insertion and removal of hardware, and are outside the scope of
  1504. these traps.
  1505.  
  1506. Therefore, this memo defines that LinkUp and linkDown traps are
  1507. generated on just after ifOperStatus leaves, or just before it
  1508. enters, the down state, respectively; except that LinkUp and
  1509. linkDown traps never generated on transitions to/from the
  1510. notPresent state.
  1511.  
  1512. Note that this definition allows a node with only one interface to
  1513. transmit a linkDown trap before that interface goes down.  (Of
  1514. course, when the interface is going down because of a failure
  1515. condition, the linkDown trap probably cannot be successfully
  1516. transmitted anyway.)
  1517.  
  1518. Some interfaces perform a link "training" function when trying to
  1519. bring the interface up.  In the event that such an interface were
  1520. defective, then the training function would fail and the interface
  1521. would remain down, and the training function might be repeated at
  1522. appropriate intervals.  If the interface, while performing this
  1523. training function, were considered to the in the testing state,
  1524. then linkUp and linkDown traps would be generated for each start
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530. Expires May 1997                                         [Page 26]
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536. Draft                  Interfaces Group MIB          November 1996
  1537.  
  1538.  
  1539. and end of the training function.  This is not the intent of the
  1540. linkUp and linkDown traps, and therefore, while performing such a
  1541. training function, the interface's state should be represented as
  1542. down.
  1543.  
  1544. An exception to the above generation of linkUp/linkDown traps on
  1545. changes in ifOperStatus, occurs when an interface is "flapping",
  1546. i.e., when it is rapidly oscillating between the up and down
  1547. states.  If traps were generated for each such oscillation, the
  1548. network and the network management system would be flooded with
  1549. unnecessary traps.  In such a situation, the agent should rate-
  1550. limit its generation of traps.
  1551.  
  1552. 3.1.16.  ifSpecific
  1553.  
  1554. The original definition of the OBJECT IDENTIFIER value of
  1555. ifSpecific was not sufficiently clear.  As a result, different
  1556. implementors used it differently, and confusion resulted.  Some
  1557. implementations set the value of ifSpecific to the OBJECT
  1558. IDENTIFIER that defines the media-specific MIB, i.e., the "foo"
  1559. of:
  1560.           foo OBJECT IDENTIFIER ::= { transmission xxx }
  1561.  
  1562. while others set it to be OBJECT IDENTIFIER of the specific table
  1563. or entry in the appropriate media-specific MIB (i.e., fooTable or
  1564. fooEntry), while still others set it be the OBJECT IDENTIFIER of
  1565. the index object of the table's row, including instance
  1566. identifier, (i.e., fooIfIndex.ifIndex).  A definition based on the
  1567. latter would not be sufficient unless it also allowed for media-
  1568. specific MIBs which include several tables, where each table has
  1569. its own (different) indexing.
  1570.  
  1571. The only definition that can both be made explicit and can cover
  1572. all the useful situations is to have ifSpecific be the most
  1573. general value for the media-specific MIB module (the first example
  1574. given above).  This effectively makes it redundant because it
  1575. contains no more information than is provided by ifType.  Thus,
  1576. ifSpecific has been deprecated.
  1577.  
  1578. 3.1.17.  Creation/Deletion of Interfaces
  1579.  
  1580. While some interfaces, for example, most physical interfaces,
  1581. cannot be created via network management, other interfaces such as
  1582. logical interfaces sometimes can be.  The ifTable contains only
  1583. generic information about an interface.  Almost all 'create-able'
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589. Expires May 1997                                         [Page 27]
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595. Draft                  Interfaces Group MIB          November 1996
  1596.  
  1597.  
  1598. interfaces have other, media-specific, information through which
  1599. configuration parameters may be supplied prior to creating such an
  1600. interface.  Thus, the ifTable does not itself support the creation
  1601. or deletion of an interface (specifically, it has no RowStatus [2]
  1602. column).  Rather, if a particular interface type supports the
  1603. dynamic creation and/or deletion of an interface of that type,
  1604. then that media-specific MIB should include an appropriate
  1605. RowStatus object (see the ATM LAN-Emulation Client MIB [8] for an
  1606. example of a MIB which does this).  Typically, when such a
  1607. RowStatus object is created/deleted, then the conceptual row in
  1608. the ifTable appears/disappears as a by-product, and an ifIndex
  1609. value (chosen by the agent) is stored in an appropriate object in
  1610. the media-specific MIB.
  1611.  
  1612. 3.1.18.  All Values Must be Known
  1613.  
  1614. There are a number of situations where an agent does not know the
  1615. value of one or more objects for a particular interface.  In all
  1616. such circumstances, an agent MUST NOT instantiate an object with
  1617. an incorrect value; rather, it MUST respond with the appropriate
  1618. error/exception condition (e.g., noSuchInstance for SNMPv2).
  1619.  
  1620. One example is where an agent is unable to count the occurrences
  1621. defined by one (or more) of the ifTable counters.  In this
  1622. circumstance, the agent MUST NOT instantiate the particular
  1623. counter with a value of, say, zero.  To do so would be to provide
  1624. mis-information to a network management application reading the
  1625. zero value, and thereby assuming that there have been no
  1626. occurrences of the event (e.g., no input errors because ifInErrors
  1627. is always zero).
  1628.  
  1629. Sometimes the lack of knowledge of an object's value is temporary.
  1630. For example, when the MTU of an interface is a configured value
  1631. and a device dynamically learns the configured value through
  1632. (after) exchanging messages over the interface (e.g., ATM LAN-
  1633. Emulation [8]).  In such a case, the value is not known until
  1634. after the ifTable entry has already been created.  In such a case,
  1635. the ifTable entry should be created without an instance of the
  1636. object whose value is unknown; later, when the value becomes
  1637. known, the missing object can then be instantiated (e.g., the
  1638. instance of ifMtu is only instantiated once the interface's MTU
  1639. becomes known).
  1640.  
  1641. As a result of this "known values" rule, management applications
  1642. MUST be able to cope with the responses to retrieving the object
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648. Expires May 1997                                         [Page 28]
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654. Draft                  Interfaces Group MIB          November 1996
  1655.  
  1656.  
  1657. instances within a conceptual row of the ifTable revealing that
  1658. some of the row's columnar objects are missing/not available.
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707. Expires May 1997                                         [Page 29]
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713. Draft                  Interfaces Group MIB          November 1996
  1714.  
  1715.  
  1716. 4.  Media-Specific MIB Applicability
  1717.  
  1718. The exact use and semantics of many objects in this MIB are open
  1719. to some interpretation.  This is a result of the generic nature of
  1720. this MIB.  It is not always possible to come up with specific,
  1721. unambiguous, text that covers all cases and yet preserves the
  1722. generic nature of the MIB.
  1723.  
  1724. Therefore, it is incumbent upon a media-specific MIB designer to,
  1725. wherever necessary, clarify the use of the objects in this MIB
  1726. with respect to the media-specific MIB.
  1727.  
  1728. Specific areas of clarification include
  1729.  
  1730. Layering Model
  1731.      The media-specific MIB designer MUST completely and
  1732.      unambiguously specify the layering model used.  Each
  1733.      individual sub-layer must be identified, as must the
  1734.      ifStackTable's portrayal of the relationship(s) between the
  1735.      sub-layers.
  1736.  
  1737. Virtual Circuits
  1738.      The media-specific MIB designer MUST specify whether virtual
  1739.      circuits are assigned entries in the ifTable or not.  If they
  1740.      are, compelling rationale must be presented.
  1741.  
  1742. ifRcvAddressTable
  1743.      The media-specific MIB designer MUST specify the
  1744.      applicability of the ifRcvAddressTable.
  1745.  
  1746. ifType
  1747.      For each of the ifType values to which the media-specific MIB
  1748.      applies, it must specify the mapping of ifType values to
  1749.      media-specific MIB module(s) and instances of MIB objects
  1750.      within those modules.
  1751.  
  1752. However, wherever this interface MIB is specific in the semantics,
  1753. DESCRIPTION, or applicability of objects, the media-specific MIB
  1754. designer MUST NOT change said semantics, DESCRIPTION, or
  1755. applicability.
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766. Expires May 1997                                         [Page 30]
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772. Draft                  Interfaces Group MIB          November 1996
  1773.  
  1774.  
  1775. 5.  Overview
  1776.  
  1777. This MIB consists of 4 tables:
  1778.  
  1779. ifTable
  1780.      This table is the ifTable from MIB-II.
  1781.  
  1782. ifXTable
  1783.      This table contains objects that have been added to the
  1784.      Interface MIB as a result of the Interface Evolution effort,
  1785.      or replacements for objects of the original (MIB-II) ifTable
  1786.      that were deprecated because the semantics of said objects
  1787.      have significantly changed.  This table also contains objects
  1788.      that were previously in the ifExtnsTable.
  1789.  
  1790. ifStackTable
  1791.      This table contains objects that define the relationships
  1792.      among the sub-layers of an interface.
  1793.  
  1794. ifRcvAddressTable
  1795.      This table contains objects that are used to define the
  1796.      media-level addresses which this interface will receive.
  1797.      This table is a generic table.  The designers of media-
  1798.      specific MIBs must define exactly how this table applies to
  1799.      their specific MIB.
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825. Expires May 1997                                         [Page 31]
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831. Draft                  Interfaces Group MIB          November 1996
  1832.  
  1833.  
  1834. 6.  Interfaces Group Definitions
  1835.  
  1836. IF-MIB DEFINITIONS ::= BEGIN
  1837.  
  1838. IMPORTS
  1839.     MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32, Counter64,
  1840.     Integer32, TimeTicks, mib-2,
  1841.     NOTIFICATION-TYPE                        FROM SNMPv2-SMI
  1842.     TEXTUAL-CONVENTION, DisplayString,
  1843.     PhysAddress, TruthValue, RowStatus,
  1844.     TimeStamp, AutonomousType, TestAndIncr   FROM SNMPv2-TC
  1845.     MODULE-COMPLIANCE, OBJECT-GROUP          FROM SNMPv2-CONF
  1846.     snmpTraps                                FROM SNMPv2-MIB
  1847.     IANAifType                               FROM IANAifType-MIB;
  1848.  
  1849.  
  1850. ifMIB MODULE-IDENTITY
  1851.     LAST-UPDATED "9611031355Z"
  1852.     ORGANIZATION "IETF Interfaces MIB Working Group"
  1853.     CONTACT-INFO
  1854.             "   Keith McCloghrie
  1855.                 Cisco Systems, Inc.
  1856.                 170 West Tasman Drive
  1857.                 San Jose, CA  95134-1706
  1858.                 US
  1859.  
  1860.                 408-526-5260
  1861.                 kzm@cisco.com"
  1862.     DESCRIPTION
  1863.             "The MIB module to describe generic objects for
  1864.             network interface sub-layers.  This MIB is an updated
  1865.             version of MIB-II's ifTable, and incorporates the
  1866.             extensions defined in RFC 1229."
  1867.     REVISION      "9602282155Z"
  1868.     DESCRIPTION
  1869.             "Revisions made by the Interfaces MIB WG."
  1870.     REVISION      "9311082155Z"
  1871.     DESCRIPTION
  1872.             "Initial revision, published as part of RFC 1573."
  1873.     ::= { mib-2 31 }
  1874.  
  1875.  
  1876. ifMIBObjects OBJECT IDENTIFIER ::= { ifMIB 1 }
  1877.  
  1878. interfaces   OBJECT IDENTIFIER ::= { mib-2 2 }
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884. Expires May 1997                                         [Page 32]
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890. Draft                  Interfaces Group MIB          November 1996
  1891.  
  1892.  
  1893. -- OwnerString has the same semantics as used in RFC 1271
  1894.  
  1895. OwnerString ::= TEXTUAL-CONVENTION
  1896.     DISPLAY-HINT "255a"
  1897.     STATUS       current
  1898.     DESCRIPTION
  1899.             "This data type is used to model an administratively
  1900.             assigned name of the owner of a resource.  This
  1901.             information is taken from the NVT ASCII character set.
  1902.             It is suggested that this name contain one or more of
  1903.             the following: ASCII form of the manager station's
  1904.             transport address, management station name (e.g.,
  1905.             domain name), network management personnel's name,
  1906.             location, or phone number.  In some cases the agent
  1907.             itself will be the owner of an entry.  In these cases,
  1908.             this string shall be set to a string starting with
  1909.             'agent'."
  1910.     SYNTAX       OCTET STRING (SIZE(0..255))
  1911.  
  1912. -- InterfaceIndex contains the semantics of ifIndex and
  1913. -- should be used for any objects defined on other mib
  1914. -- modules that need these semantics.
  1915.  
  1916. InterfaceIndex ::= TEXTUAL-CONVENTION
  1917.     DISPLAY-HINT "d"
  1918.     STATUS       current
  1919.     DESCRIPTION
  1920.             "A unique value, greater than zero, for each interface
  1921.             or interface sub-layer in the managed system.  It is
  1922.             recommended that values are assigned contiguously
  1923.             starting from 1.  The value for each interface sub-
  1924.             layer must remain constant at least from one re-
  1925.             initialization of the entity's network management
  1926.             system to the next re-initialization."
  1927.     SYNTAX       Integer32 (1..2147483647)
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943. Expires May 1997                                         [Page 33]
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949. Draft                  Interfaces Group MIB          November 1996
  1950.  
  1951.  
  1952. InterfaceIndexOrZero ::= TEXTUAL-CONVENTION
  1953.     DISPLAY-HINT "d"
  1954.     STATUS       current
  1955.     DESCRIPTION
  1956.             "This textual convention is an extension of the
  1957.             InterfaceIndex convention.  The latter defines a
  1958.             greater than zero value used to identify an interface
  1959.             or interface sub-layer in the managed system.  This
  1960.             extension permits the additional value of zero.  the
  1961.             value zero is object-specific and must therefore be
  1962.             defined as part of the description of any object which
  1963.             uses this syntax.  Examples of the usage of zero might
  1964.             include situations where interface was unknown, or
  1965.             when none or all interfaces need to be referenced."
  1966.     SYNTAX       Integer32 (0..2147483647)
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002. Expires May 1997                                         [Page 34]
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008. Draft                  Interfaces Group MIB          November 1996
  2009.  
  2010.  
  2011. ifNumber  OBJECT-TYPE
  2012.     SYNTAX      Integer32
  2013.     MAX-ACCESS  read-only
  2014.     STATUS      current
  2015.     DESCRIPTION
  2016.             "The number of network interfaces (regardless of their
  2017.             current state) present on this system."
  2018.     ::= { interfaces 1 }
  2019.  
  2020. ifTableLastChange  OBJECT-TYPE
  2021.     SYNTAX      TimeTicks
  2022.     MAX-ACCESS  read-only
  2023.     STATUS      current
  2024.     DESCRIPTION
  2025.             "The value of sysUpTime at the time of the last
  2026.             creation or deletion of an entry in the ifTable.  If
  2027.             the number of entries has been unchanged since the
  2028.             last re-initialization of the local network management
  2029.             subsystem, then this object contains a zero value."
  2030.     ::= { ifMIBObjects 5 }
  2031.  
  2032.  
  2033. -- the Interfaces table
  2034.  
  2035. -- The Interfaces table contains information on the entity's
  2036. -- interfaces.  Each sub-layer below the internetwork-layer
  2037. -- of a network interface is considered to be an interface.
  2038.  
  2039. ifTable OBJECT-TYPE
  2040.     SYNTAX      SEQUENCE OF IfEntry
  2041.     MAX-ACCESS  not-accessible
  2042.     STATUS      current
  2043.     DESCRIPTION
  2044.             "A list of interface entries.  The number of entries
  2045.             is given by the value of ifNumber."
  2046.     ::= { interfaces 2 }
  2047.  
  2048. ifEntry OBJECT-TYPE
  2049.     SYNTAX      IfEntry
  2050.     MAX-ACCESS  not-accessible
  2051.     STATUS      current
  2052.     DESCRIPTION
  2053.             "An entry containing management information applicable
  2054.             to a particular interface."
  2055.     INDEX   { ifIndex }
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061. Expires May 1997                                         [Page 35]
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067. Draft                  Interfaces Group MIB          November 1996
  2068.  
  2069.  
  2070.     ::= { ifTable 1 }
  2071.  
  2072. IfEntry ::=
  2073.     SEQUENCE {
  2074.         ifIndex                 InterfaceIndex,
  2075.         ifDescr                 DisplayString,
  2076.         ifType                  IANAifType,
  2077.         ifMtu                   Integer32,
  2078.         ifSpeed                 Gauge32,
  2079.         ifPhysAddress           PhysAddress,
  2080.         ifAdminStatus           INTEGER,
  2081.         ifOperStatus            INTEGER,
  2082.         ifLastChange            TimeTicks,
  2083.         ifInOctets              Counter32,
  2084.         ifInUcastPkts           Counter32,
  2085.         ifInNUcastPkts          Counter32,  -- deprecated
  2086.         ifInDiscards            Counter32,
  2087.         ifInErrors              Counter32,
  2088.         ifInUnknownProtos       Counter32,
  2089.         ifOutOctets             Counter32,
  2090.         ifOutUcastPkts          Counter32,
  2091.         ifOutNUcastPkts         Counter32,  -- deprecated
  2092.         ifOutDiscards           Counter32,
  2093.         ifOutErrors             Counter32,
  2094.         ifOutQLen               Gauge32,    -- deprecated
  2095.         ifSpecific              OBJECT IDENTIFIER -- deprecated
  2096.     }
  2097.  
  2098.  
  2099. ifIndex OBJECT-TYPE
  2100.     SYNTAX      InterfaceIndex
  2101.     MAX-ACCESS  read-only
  2102.     STATUS      current
  2103.     DESCRIPTION
  2104.             "A unique value, greater than zero, for each
  2105.             interface.  It is recommended that values are assigned
  2106.             contiguously starting from 1.  The value for each
  2107.             interface sub-layer must remain constant at least from
  2108.             one re-initialization of the entity's network
  2109.             management system to the next re-initialization."
  2110.     ::= { ifEntry 1 }
  2111.  
  2112. ifDescr OBJECT-TYPE
  2113.     SYNTAX      DisplayString (SIZE (0..255))
  2114.     MAX-ACCESS  read-only
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120. Expires May 1997                                         [Page 36]
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126. Draft                  Interfaces Group MIB          November 1996
  2127.  
  2128.  
  2129.     STATUS      current
  2130.     DESCRIPTION
  2131.             "A textual string containing information about the
  2132.             interface.  This string should include the name of the
  2133.             manufacturer, the product name and the version of the
  2134.             interface hardware/software."
  2135.     ::= { ifEntry 2 }
  2136.  
  2137. ifType OBJECT-TYPE
  2138.     SYNTAX      IANAifType
  2139.     MAX-ACCESS  read-only
  2140.     STATUS      current
  2141.     DESCRIPTION
  2142.             "The type of interface.  Additional values for ifType
  2143.             are assigned by the Internet Assigned Numbers
  2144.             Authority (IANA), through updating the syntax of the
  2145.             IANAifType textual convention."
  2146.     ::= { ifEntry 3 }
  2147.  
  2148. ifMtu OBJECT-TYPE
  2149.     SYNTAX      Integer32
  2150.     MAX-ACCESS  read-only
  2151.     STATUS      current
  2152.     DESCRIPTION
  2153.             "The size of the largest packet which can be
  2154.             sent/received on the interface, specified in octets.
  2155.             For interfaces that are used for transmitting network
  2156.             datagrams, this is the size of the largest network
  2157.             datagram that can be sent on the interface."
  2158.     ::= { ifEntry 4 }
  2159.  
  2160. ifSpeed OBJECT-TYPE
  2161.     SYNTAX      Gauge32
  2162.     MAX-ACCESS  read-only
  2163.     STATUS      current
  2164.     DESCRIPTION
  2165.             "An estimate of the interface's current bandwidth in
  2166.             bits per second.  For interfaces which do not vary in
  2167.             bandwidth or for those where no accurate estimation
  2168.             can be made, this object should contain the nominal
  2169.             bandwidth.  If the bandwidth of the interface is
  2170.             greater than the maximum value reportable by this
  2171.             object then this object should report its maximum
  2172.             value (4,294,967,295) and ifHighSpeed must be used to
  2173.             report the interace's speed.  For a sub-layer which
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179. Expires May 1997                                         [Page 37]
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185. Draft                  Interfaces Group MIB          November 1996
  2186.  
  2187.  
  2188.             has no concept of bandwidth, this object should be
  2189.             zero."
  2190.     ::= { ifEntry 5 }
  2191.  
  2192. ifPhysAddress OBJECT-TYPE
  2193.     SYNTAX      PhysAddress
  2194.     MAX-ACCESS  read-only
  2195.     STATUS      current
  2196.     DESCRIPTION
  2197.             "The interface's address at its protocol sub-layer.
  2198.             For example, for an 802.x interface, this object
  2199.             normally contains a MAC address.  The interface's
  2200.             media-specific MIB must define the bit and byte
  2201.             ordering and the format of the value of this object.
  2202.             For interfaces which do not have such an address
  2203.             (e.g., a serial line), this object should contain an
  2204.             octet string of zero length."
  2205.     ::= { ifEntry 6 }
  2206.  
  2207. ifAdminStatus OBJECT-TYPE
  2208.     SYNTAX  INTEGER {
  2209.                 up(1),       -- ready to pass packets
  2210.                 down(2),
  2211.                 testing(3)   -- in some test mode
  2212.             }
  2213.     MAX-ACCESS  read-write
  2214.     STATUS      current
  2215.     DESCRIPTION
  2216.             "The desired state of the interface.  The testing(3)
  2217.             state indicates that no operational packets can be
  2218.             passed.  When a managed system initializes, all
  2219.             interfaces start with ifAdminStatus in the down(2)
  2220.             state.  As a result of either explicit management
  2221.             action or per configuration information retained by
  2222.             the managed system, ifAdminStatus is then changed to
  2223.             either the up(1) or testing(3) states (or remains in
  2224.             the down(2) state)."
  2225.     ::= { ifEntry 7 }
  2226.  
  2227. ifOperStatus OBJECT-TYPE
  2228.     SYNTAX  INTEGER {
  2229.                 up(1),        -- ready to pass packets
  2230.                 down(2),
  2231.                 testing(3),   -- in some test mode
  2232.                 unknown(4),   -- status can not be determined
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238. Expires May 1997                                         [Page 38]
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244. Draft                  Interfaces Group MIB          November 1996
  2245.  
  2246.  
  2247.                               -- for some reason.
  2248.                 dormant(5),
  2249.                 notPresent(6),    -- some component is missing
  2250.                 lowerLayerDown(7) -- down due to state of
  2251.                                   -- lower-layer interface(s)
  2252.             }
  2253.     MAX-ACCESS  read-only
  2254.     STATUS      current
  2255.     DESCRIPTION
  2256.             "The current operational state of the interface.  The
  2257.             testing(3) state indicates that no operational packets
  2258.             can be passed.  If ifAdminStatus is down(2) then
  2259.             ifOperStatus should be down(2).  If ifAdminStatus is
  2260.             changed to up(1) then ifOperStatus should change to
  2261.             up(1) if the interface is ready to transmit and
  2262.             receive network traffic; it should change to
  2263.             dormant(5) if the interface is waiting for external
  2264.             actions (such as a serial line waiting for an incoming
  2265.             connection); it should remain in the down(2) state if
  2266.             and only if there is a fault that prevents it from
  2267.             going to the up(1) state; it should remain in the
  2268.             notPresent(6) state if the interface has missing
  2269.             (typically, hardware) components."
  2270.     ::= { ifEntry 8 }
  2271.  
  2272. ifLastChange OBJECT-TYPE
  2273.     SYNTAX      TimeTicks
  2274.     MAX-ACCESS  read-only
  2275.     STATUS      current
  2276.     DESCRIPTION
  2277.             "The value of sysUpTime at the time the interface
  2278.             entered its current operational state.  If the current
  2279.             state was entered prior to the last re-initialization
  2280.             of the local network management subsystem, then this
  2281.             object contains a zero value."
  2282.     ::= { ifEntry 9 }
  2283.  
  2284. ifInOctets OBJECT-TYPE
  2285.     SYNTAX      Counter32
  2286.     MAX-ACCESS  read-only
  2287.     STATUS      current
  2288.     DESCRIPTION
  2289.             "The total number of octets received on the interface,
  2290.             including framing characters.
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297. Expires May 1997                                         [Page 39]
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303. Draft                  Interfaces Group MIB          November 1996
  2304.  
  2305.  
  2306.             Discontinuities in the value of this counter can occur
  2307.             at re-initialization of the management system, and at
  2308.             other times as indicated by the value of
  2309.             ifCounterDiscontinuityTime."
  2310.     ::= { ifEntry 10 }
  2311.  
  2312. ifInUcastPkts OBJECT-TYPE
  2313.     SYNTAX      Counter32
  2314.     MAX-ACCESS  read-only
  2315.     STATUS      current
  2316.     DESCRIPTION
  2317.             "The number of packets, delivered by this sub-layer to
  2318.             a higher (sub-)layer, which were not addressed to a
  2319.             multicast or broadcast address at this sub-layer.
  2320.  
  2321.             Discontinuities in the value of this counter can occur
  2322.             at re-initialization of the management system, and at
  2323.             other times as indicated by the value of
  2324.             ifCounterDiscontinuityTime."
  2325.     ::= { ifEntry 11 }
  2326.  
  2327. ifInNUcastPkts OBJECT-TYPE
  2328.     SYNTAX  Counter32
  2329.     MAX-ACCESS  read-only
  2330.     STATUS      deprecated
  2331.     DESCRIPTION
  2332.             "The number of packets, delivered by this sub-layer to
  2333.             a higher (sub-)layer, which were addressed to a
  2334.             multicast or broadcast address at this sub-layer.
  2335.  
  2336.             Discontinuities in the value of this counter can occur
  2337.             at re-initialization of the management system, and at
  2338.             other times as indicated by the value of
  2339.             ifCounterDiscontinuityTime.
  2340.  
  2341.             This object is deprecated in favour of
  2342.             ifInMulticastPkts and ifInBroadcastPkts."
  2343.     ::= { ifEntry 12 }
  2344.  
  2345. ifInDiscards OBJECT-TYPE
  2346.     SYNTAX      Counter32
  2347.     MAX-ACCESS  read-only
  2348.     STATUS      current
  2349.     DESCRIPTION
  2350.             "The number of inbound packets which were chosen to be
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356. Expires May 1997                                         [Page 40]
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362. Draft                  Interfaces Group MIB          November 1996
  2363.  
  2364.  
  2365.             discarded even though no errors had been detected to
  2366.             prevent their being deliverable to a higher-layer
  2367.             protocol.  One possible reason for discarding such a
  2368.             packet could be to free up buffer space.
  2369.  
  2370.             Discontinuities in the value of this counter can occur
  2371.             at re-initialization of the management system, and at
  2372.             other times as indicated by the value of
  2373.             ifCounterDiscontinuityTime."
  2374.     ::= { ifEntry 13 }
  2375.  
  2376. ifInErrors OBJECT-TYPE
  2377.     SYNTAX      Counter32
  2378.     MAX-ACCESS  read-only
  2379.     STATUS      current
  2380.     DESCRIPTION
  2381.             "For packet-oriented interfaces, the number of inbound
  2382.             packets that contained errors preventing them from
  2383.             being deliverable to a higher-layer protocol.  For
  2384.             character-oriented or fixed-length interfaces, the
  2385.             number of inbound transmission units that contained
  2386.             errors preventing them from being deliverable to a
  2387.             higher-layer protocol.
  2388.  
  2389.             Discontinuities in the value of this counter can occur
  2390.             at re-initialization of the management system, and at
  2391.             other times as indicated by the value of
  2392.             ifCounterDiscontinuityTime."
  2393.     ::= { ifEntry 14 }
  2394.  
  2395. ifInUnknownProtos OBJECT-TYPE
  2396.     SYNTAX      Counter32
  2397.     MAX-ACCESS  read-only
  2398.     STATUS      current
  2399.     DESCRIPTION
  2400.             "For packet-oriented interfaces, the number of packets
  2401.             received via the interface which were discarded
  2402.             because of an unknown or unsupported protocol.  For
  2403.             character-oriented or fixed-length interfaces that
  2404.             support protocol multiplexing the number of
  2405.             transmission units received via the interface which
  2406.             were discarded because of an unknown or unsupported
  2407.             protocol.  For any interface that does not support
  2408.             protocol multiplexing, this counter will always be 0.
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415. Expires May 1997                                         [Page 41]
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421. Draft                  Interfaces Group MIB          November 1996
  2422.  
  2423.  
  2424.             Discontinuities in the value of this counter can occur
  2425.             at re-initialization of the management system, and at
  2426.             other times as indicated by the value of
  2427.             ifCounterDiscontinuityTime."
  2428.     ::= { ifEntry 15 }
  2429.  
  2430. ifOutOctets OBJECT-TYPE
  2431.     SYNTAX      Counter32
  2432.     MAX-ACCESS  read-only
  2433.     STATUS      current
  2434.     DESCRIPTION
  2435.             "The total number of octets transmitted out of the
  2436.             interface, including framing characters.
  2437.  
  2438.             Discontinuities in the value of this counter can occur
  2439.             at re-initialization of the management system, and at
  2440.             other times as indicated by the value of
  2441.             ifCounterDiscontinuityTime."
  2442.     ::= { ifEntry 16 }
  2443.  
  2444. ifOutUcastPkts OBJECT-TYPE
  2445.     SYNTAX      Counter32
  2446.     MAX-ACCESS  read-only
  2447.     STATUS      current
  2448.     DESCRIPTION
  2449.             "The total number of packets that higher-level
  2450.             protocols requested be transmitted, and which were not
  2451.             addressed to a multicast or broadcast address at this
  2452.             sub-layer, including those that were discarded or not
  2453.             sent.
  2454.  
  2455.             Discontinuities in the value of this counter can occur
  2456.             at re-initialization of the management system, and at
  2457.             other times as indicated by the value of
  2458.             ifCounterDiscontinuityTime."
  2459.     ::= { ifEntry 17 }
  2460.  
  2461. ifOutNUcastPkts OBJECT-TYPE
  2462.     SYNTAX      Counter32
  2463.     MAX-ACCESS  read-only
  2464.     STATUS      deprecated
  2465.     DESCRIPTION
  2466.             "The total number of packets that higher-level
  2467.             protocols requested be transmitted, and which were
  2468.             addressed to a multicast or broadcast address at this
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474. Expires May 1997                                         [Page 42]
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480. Draft                  Interfaces Group MIB          November 1996
  2481.  
  2482.  
  2483.             sub-layer, including those that were discarded or not
  2484.             sent.
  2485.  
  2486.             Discontinuities in the value of this counter can occur
  2487.             at re-initialization of the management system, and at
  2488.             other times as indicated by the value of
  2489.             ifCounterDiscontinuityTime.
  2490.  
  2491.             This object is deprecated in favour of
  2492.             ifOutMulticastPkts and ifOutBroadcastPkts."
  2493.     ::= { ifEntry 18 }
  2494.  
  2495. ifOutDiscards OBJECT-TYPE
  2496.     SYNTAX      Counter32
  2497.     MAX-ACCESS  read-only
  2498.     STATUS      current
  2499.     DESCRIPTION
  2500.             "The number of outbound packets which were chosen to
  2501.             be discarded even though no errors had been detected
  2502.             to prevent their being transmitted.  One possible
  2503.             reason for discarding such a packet could be to free
  2504.             up buffer space.
  2505.  
  2506.             Discontinuities in the value of this counter can occur
  2507.             at re-initialization of the management system, and at
  2508.             other times as indicated by the value of
  2509.             ifCounterDiscontinuityTime."
  2510.     ::= { ifEntry 19 }
  2511.  
  2512. ifOutErrors OBJECT-TYPE
  2513.     SYNTAX      Counter32
  2514.     MAX-ACCESS  read-only
  2515.     STATUS      current
  2516.     DESCRIPTION
  2517.             "For packet-oriented interfaces, the number of
  2518.             outbound packets that could not be transmitted because
  2519.             of errors.  For character-oriented or fixed-length
  2520.             interfaces, the number of outbound transmission units
  2521.             that could not be transmitted because of errors.
  2522.  
  2523.             Discontinuities in the value of this counter can occur
  2524.             at re-initialization of the management system, and at
  2525.             other times as indicated by the value of
  2526.             ifCounterDiscontinuityTime."
  2527.     ::= { ifEntry 20 }
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533. Expires May 1997                                         [Page 43]
  2534.  
  2535.  
  2536.  
  2537.  
  2538.  
  2539. Draft                  Interfaces Group MIB          November 1996
  2540.  
  2541.  
  2542. ifOutQLen OBJECT-TYPE
  2543.     SYNTAX      Gauge32
  2544.     MAX-ACCESS  read-only
  2545.     STATUS      deprecated
  2546.     DESCRIPTION
  2547.             "The length of the output packet queue (in packets)."
  2548.     ::= { ifEntry 21 }
  2549.  
  2550. ifSpecific OBJECT-TYPE
  2551.     SYNTAX      OBJECT IDENTIFIER
  2552.     MAX-ACCESS  read-only
  2553.     STATUS      deprecated
  2554.     DESCRIPTION
  2555.             "A reference to MIB definitions specific to the
  2556.             particular media being used to realize the interface.
  2557.             It is recommended that this value point to an instance
  2558.             of a MIB object in the media-specific MIB, i.e., that
  2559.             this object have the semantics associated with the
  2560.             InstancePointer textual convention defined in RFC
  2561.             1903.  In fact, it is recommended that the media-
  2562.             specific MIB specify what value ifSpecific should/can
  2563.             take for values of ifType.  If no MIB definitions
  2564.             specific to the particular media are available, the
  2565.             value should be set to the OBJECT IDENTIFIER { 0 0 }."
  2566.     ::= { ifEntry 22 }
  2567.  
  2568.  
  2569.  
  2570. --
  2571. --   Extension to the interface table
  2572. --
  2573. -- This table replaces the ifExtnsTable table.
  2574. --
  2575.  
  2576. ifXTable        OBJECT-TYPE
  2577.     SYNTAX      SEQUENCE OF IfXEntry
  2578.     MAX-ACCESS  not-accessible
  2579.     STATUS      current
  2580.     DESCRIPTION
  2581.             "A list of interface entries.  The number of entries
  2582.             is given by the value of ifNumber.  This table
  2583.             contains additional objects for the interface table."
  2584.     ::= { ifMIBObjects 1 }
  2585.  
  2586. ifXEntry        OBJECT-TYPE
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592. Expires May 1997                                         [Page 44]
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598. Draft                  Interfaces Group MIB          November 1996
  2599.  
  2600.  
  2601.     SYNTAX      IfXEntry
  2602.     MAX-ACCESS  not-accessible
  2603.     STATUS      current
  2604.     DESCRIPTION
  2605.             "An entry containing additional management information
  2606.             applicable to a particular interface."
  2607.     AUGMENTS    { ifEntry }
  2608.     ::= { ifXTable 1 }
  2609.  
  2610. IfXEntry ::=
  2611.     SEQUENCE {
  2612.         ifName                  DisplayString,
  2613.         ifInMulticastPkts       Counter32,
  2614.         ifInBroadcastPkts       Counter32,
  2615.         ifOutMulticastPkts      Counter32,
  2616.         ifOutBroadcastPkts      Counter32,
  2617.         ifHCInOctets            Counter64,
  2618.         ifHCInUcastPkts         Counter64,
  2619.         ifHCInMulticastPkts     Counter64,
  2620.         ifHCInBroadcastPkts     Counter64,
  2621.         ifHCOutOctets           Counter64,
  2622.         ifHCOutUcastPkts        Counter64,
  2623.         ifHCOutMulticastPkts    Counter64,
  2624.         ifHCOutBroadcastPkts    Counter64,
  2625.         ifLinkUpDownTrapEnable  INTEGER,
  2626.         ifHighSpeed             Gauge32,
  2627.         ifPromiscuousMode       TruthValue,
  2628.         ifConnectorPresent      TruthValue,
  2629.         ifAlias                 DisplayString,
  2630.         ifCounterDiscontinuityTime TimeStamp
  2631.     }
  2632.  
  2633.  
  2634. ifName OBJECT-TYPE
  2635.     SYNTAX      DisplayString
  2636.     MAX-ACCESS  read-only
  2637.     STATUS      current
  2638.     DESCRIPTION
  2639.             "The textual name of the interface.  The value of this
  2640.             object should be the name of the interface as assigned
  2641.             by the local device and should be suitable for use in
  2642.             commands entered at the device's `console'.  This
  2643.             might be a text name, such as `le0' or a simple port
  2644.             number, such as `1', depending on the interface naming
  2645.             syntax of the device.  If several entries in the
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651. Expires May 1997                                         [Page 45]
  2652.  
  2653.  
  2654.  
  2655.  
  2656.  
  2657. Draft                  Interfaces Group MIB          November 1996
  2658.  
  2659.  
  2660.             ifTable together represent a single interface as named
  2661.             by the device, then each will have the same value of
  2662.             ifName.  Note that for an agent which responds to SNMP
  2663.             queries concerning an interface on some other
  2664.             (proxied) device, then the value of ifName for such an
  2665.             interface is the proxied device's local name for it.
  2666.  
  2667.             If there is no local name, or this object is otherwise
  2668.             not applicable, then this object contains a zero-
  2669.             length string."
  2670.     ::= { ifXEntry 1 }
  2671.  
  2672. ifInMulticastPkts OBJECT-TYPE
  2673.     SYNTAX      Counter32
  2674.     MAX-ACCESS  read-only
  2675.     STATUS      current
  2676.     DESCRIPTION
  2677.             "The number of packets, delivered by this sub-layer to
  2678.             a higher (sub-)layer, which were addressed to a
  2679.             multicast address at this sub-layer.  For a MAC layer
  2680.             protocol, this includes both Group and Functional
  2681.             addresses.
  2682.  
  2683.             Discontinuities in the value of this counter can occur
  2684.             at re-initialization of the management system, and at
  2685.             other times as indicated by the value of
  2686.             ifCounterDiscontinuityTime."
  2687.     ::= { ifXEntry 2 }
  2688.  
  2689. ifInBroadcastPkts OBJECT-TYPE
  2690.     SYNTAX      Counter32
  2691.     MAX-ACCESS  read-only
  2692.     STATUS      current
  2693.     DESCRIPTION
  2694.             "The number of packets, delivered by this sub-layer to
  2695.             a higher (sub-)layer, which were addressed to a
  2696.             broadcast address at this sub-layer.
  2697.  
  2698.             Discontinuities in the value of this counter can occur
  2699.             at re-initialization of the management system, and at
  2700.             other times as indicated by the value of
  2701.             ifCounterDiscontinuityTime."
  2702.     ::= { ifXEntry 3 }
  2703.  
  2704. ifOutMulticastPkts OBJECT-TYPE
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710. Expires May 1997                                         [Page 46]
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716. Draft                  Interfaces Group MIB          November 1996
  2717.  
  2718.  
  2719.     SYNTAX      Counter32
  2720.     MAX-ACCESS  read-only
  2721.     STATUS      current
  2722.     DESCRIPTION
  2723.             "The total number of packets that higher-level
  2724.             protocols requested be transmitted, and which were
  2725.             addressed to a multicast address at this sub-layer,
  2726.             including those that were discarded or not sent.  For
  2727.             a MAC layer protocol, this includes both Group and
  2728.             Functional addresses.
  2729.  
  2730.             Discontinuities in the value of this counter can occur
  2731.             at re-initialization of the management system, and at
  2732.             other times as indicated by the value of
  2733.             ifCounterDiscontinuityTime."
  2734.     ::= { ifXEntry 4 }
  2735.  
  2736. ifOutBroadcastPkts OBJECT-TYPE
  2737.     SYNTAX      Counter32
  2738.     MAX-ACCESS  read-only
  2739.     STATUS      current
  2740.     DESCRIPTION
  2741.             "The total number of packets that higher-level
  2742.             protocols requested be transmitted, and which were
  2743.             addressed to a broadcast address at this sub-layer,
  2744.             including those that were discarded or not sent.
  2745.  
  2746.             Discontinuities in the value of this counter can occur
  2747.             at re-initialization of the management system, and at
  2748.             other times as indicated by the value of
  2749.             ifCounterDiscontinuityTime."
  2750.     ::= { ifXEntry 5 }
  2751.  
  2752. --
  2753. -- High Capacity Counter objects.  These objects are all
  2754. -- 64 bit versions of the "basic" ifTable counters.  These
  2755. -- objects all have the same basic semantics as their 32-bit
  2756. -- counterparts, however, their syntax has been extended
  2757. -- to 64 bits.
  2758. --
  2759.  
  2760. ifHCInOctets OBJECT-TYPE
  2761.     SYNTAX      Counter64
  2762.     MAX-ACCESS  read-only
  2763.     STATUS      current
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769. Expires May 1997                                         [Page 47]
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775. Draft                  Interfaces Group MIB          November 1996
  2776.  
  2777.  
  2778.     DESCRIPTION
  2779.             "The total number of octets received on the interface,
  2780.             including framing characters.  This object is a 64-bit
  2781.             version of ifInOctets.
  2782.  
  2783.             Discontinuities in the value of this counter can occur
  2784.             at re-initialization of the management system, and at
  2785.             other times as indicated by the value of
  2786.             ifCounterDiscontinuityTime."
  2787.     ::= { ifXEntry 6 }
  2788.  
  2789. ifHCInUcastPkts OBJECT-TYPE
  2790.     SYNTAX      Counter64
  2791.     MAX-ACCESS  read-only
  2792.     STATUS      current
  2793.     DESCRIPTION
  2794.             "The number of packets, delivered by this sub-layer to
  2795.             a higher (sub-)layer, which were not addressed to a
  2796.             multicast or broadcast address at this sub-layer.
  2797.             This object is a 64-bit version of ifInUcastPkts.
  2798.  
  2799.             Discontinuities in the value of this counter can occur
  2800.             at re-initialization of the management system, and at
  2801.             other times as indicated by the value of
  2802.             ifCounterDiscontinuityTime."
  2803.     ::= { ifXEntry 7 }
  2804.  
  2805. ifHCInMulticastPkts OBJECT-TYPE
  2806.     SYNTAX      Counter64
  2807.     MAX-ACCESS  read-only
  2808.     STATUS      current
  2809.     DESCRIPTION
  2810.             "The number of packets, delivered by this sub-layer to
  2811.             a higher (sub-)layer, which were addressed to a
  2812.             multicast address at this sub-layer.  For a MAC layer
  2813.             protocol, this includes both Group and Functional
  2814.             addresses.  This object is a 64-bit version of
  2815.             ifInMulticastPkts.
  2816.  
  2817.             Discontinuities in the value of this counter can occur
  2818.             at re-initialization of the management system, and at
  2819.             other times as indicated by the value of
  2820.             ifCounterDiscontinuityTime."
  2821.     ::= { ifXEntry 8 }
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828. Expires May 1997                                         [Page 48]
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834. Draft                  Interfaces Group MIB          November 1996
  2835.  
  2836.  
  2837. ifHCInBroadcastPkts OBJECT-TYPE
  2838.     SYNTAX      Counter64
  2839.     MAX-ACCESS  read-only
  2840.     STATUS      current
  2841.     DESCRIPTION
  2842.             "The number of packets, delivered by this sub-layer to
  2843.             a higher (sub-)layer, which were addressed to a
  2844.             broadcast address at this sub-layer.  This object is a
  2845.             64-bit version of ifInBroadcastPkts.
  2846.  
  2847.             Discontinuities in the value of this counter can occur
  2848.             at re-initialization of the management system, and at
  2849.             other times as indicated by the value of
  2850.             ifCounterDiscontinuityTime."
  2851.     ::= { ifXEntry 9 }
  2852.  
  2853. ifHCOutOctets OBJECT-TYPE
  2854.     SYNTAX      Counter64
  2855.     MAX-ACCESS  read-only
  2856.     STATUS      current
  2857.     DESCRIPTION
  2858.             "The total number of octets transmitted out of the
  2859.             interface, including framing characters.  This object
  2860.             is a 64-bit version of ifOutOctets.
  2861.  
  2862.             Discontinuities in the value of this counter can occur
  2863.             at re-initialization of the management system, and at
  2864.             other times as indicated by the value of
  2865.             ifCounterDiscontinuityTime."
  2866.     ::= { ifXEntry 10 }
  2867.  
  2868. ifHCOutUcastPkts OBJECT-TYPE
  2869.     SYNTAX      Counter64
  2870.     MAX-ACCESS  read-only
  2871.     STATUS      current
  2872.     DESCRIPTION
  2873.             "The total number of packets that higher-level
  2874.             protocols requested be transmitted, and which were not
  2875.             addressed to a multicast or broadcast address at this
  2876.             sub-layer, including those that were discarded or not
  2877.             sent.  This object is a 64-bit version of
  2878.             ifOutUcastPkts.
  2879.  
  2880.             Discontinuities in the value of this counter can occur
  2881.             at re-initialization of the management system, and at
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887. Expires May 1997                                         [Page 49]
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893. Draft                  Interfaces Group MIB          November 1996
  2894.  
  2895.  
  2896.             other times as indicated by the value of
  2897.             ifCounterDiscontinuityTime."
  2898.     ::= { ifXEntry 11 }
  2899.  
  2900. ifHCOutMulticastPkts OBJECT-TYPE
  2901.     SYNTAX      Counter64
  2902.     MAX-ACCESS  read-only
  2903.     STATUS      current
  2904.     DESCRIPTION
  2905.             "The total number of packets that higher-level
  2906.             protocols requested be transmitted, and which were
  2907.             addressed to a multicast address at this sub-layer,
  2908.             including those that were discarded or not sent.  For
  2909.             a MAC layer protocol, this includes both Group and
  2910.             Functional addresses.  This object is a 64-bit version
  2911.             of ifOutMulticastPkts.
  2912.  
  2913.             Discontinuities in the value of this counter can occur
  2914.             at re-initialization of the management system, and at
  2915.             other times as indicated by the value of
  2916.             ifCounterDiscontinuityTime."
  2917.     ::= { ifXEntry 12 }
  2918.  
  2919. ifHCOutBroadcastPkts OBJECT-TYPE
  2920.     SYNTAX      Counter64
  2921.     MAX-ACCESS  read-only
  2922.     STATUS      current
  2923.     DESCRIPTION
  2924.             "The total number of packets that higher-level
  2925.             protocols requested be transmitted, and which were
  2926.             addressed to a broadcast address at this sub-layer,
  2927.             including those that were discarded or not sent.  This
  2928.             object is a 64-bit version of ifOutBroadcastPkts.
  2929.  
  2930.             Discontinuities in the value of this counter can occur
  2931.             at re-initialization of the management system, and at
  2932.             other times as indicated by the value of
  2933.             ifCounterDiscontinuityTime."
  2934.     ::= { ifXEntry 13 }
  2935.  
  2936. ifLinkUpDownTrapEnable  OBJECT-TYPE
  2937.     SYNTAX      INTEGER { enabled(1), disabled(2) }
  2938.     MAX-ACCESS  read-write
  2939.     STATUS      current
  2940.     DESCRIPTION
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946. Expires May 1997                                         [Page 50]
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952. Draft                  Interfaces Group MIB          November 1996
  2953.  
  2954.  
  2955.             "Indicates whether linkUp/linkDown traps should be
  2956.             generated for this interface.
  2957.  
  2958.             By default, this object should have the value
  2959.             enabled(1) for interfaces which do not operate on
  2960.             'top' of any other interface (as defined in the
  2961.             ifStackTable), and disabled(2) otherwise."
  2962.     ::= { ifXEntry 14 }
  2963.  
  2964. ifHighSpeed OBJECT-TYPE
  2965.     SYNTAX      Gauge32
  2966.     MAX-ACCESS  read-only
  2967.     STATUS      current
  2968.     DESCRIPTION
  2969.             "An estimate of the interface's current bandwidth in
  2970.             units of 1,000,000 bits per second.  If this object
  2971.             reports a value of `n' then the speed of the interface
  2972.             is somewhere in the range of `n-500,000' to
  2973.             `n+499,999'.  For interfaces which do not vary in
  2974.             bandwidth or for those where no accurate estimation
  2975.             can be made, this object should contain the nominal
  2976.             bandwidth.  For a sub-layer which has no concept of
  2977.             bandwidth, this object should be zero."
  2978.     ::= { ifXEntry 15 }
  2979.  
  2980. ifPromiscuousMode  OBJECT-TYPE
  2981.     SYNTAX      TruthValue
  2982.     MAX-ACCESS  read-write
  2983.     STATUS      current
  2984.     DESCRIPTION
  2985.             "This object has a value of false(2) if this interface
  2986.             only accepts packets/frames that are addressed to this
  2987.             station.  This object has a value of true(1) when the
  2988.             station accepts all packets/frames transmitted on the
  2989.             media.  The value true(1) is only legal on certain
  2990.             types of media.  If legal, setting this object to a
  2991.             value of true(1) may require the interface to be reset
  2992.             before becoming effective.
  2993.  
  2994.             The value of ifPromiscuousMode does not affect the
  2995.             reception of broadcast and multicast packets/frames by
  2996.             the interface."
  2997.     ::= { ifXEntry 16 }
  2998.  
  2999. ifConnectorPresent   OBJECT-TYPE
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005. Expires May 1997                                         [Page 51]
  3006.  
  3007.  
  3008.  
  3009.  
  3010.  
  3011. Draft                  Interfaces Group MIB          November 1996
  3012.  
  3013.  
  3014.     SYNTAX      TruthValue
  3015.     MAX-ACCESS  read-only
  3016.     STATUS      current
  3017.     DESCRIPTION
  3018.             "This object has the value 'true(1)' if the interface
  3019.             sublayer has a physical connector and the value
  3020.             'false(2)' otherwise."
  3021.     ::= { ifXEntry 17 }
  3022.  
  3023. ifAlias   OBJECT-TYPE
  3024.     SYNTAX      DisplayString (SIZE(0..64))
  3025.     MAX-ACCESS  read-write
  3026.     STATUS      current
  3027.     DESCRIPTION
  3028.             "This object is an 'alias' name for the interface as
  3029.             specified by a network manager, and provides a non-
  3030.             volatile 'handle' for the interface.
  3031.  
  3032.             On the first instantiation of an interface, the value
  3033.             of ifAlias associated with that interface is the
  3034.             zero-length string.  As and when a value is written
  3035.             into an instance of ifAlias through a network
  3036.             management set operation, then the agent must retain
  3037.             the supplied value in the ifAlias instance associated
  3038.             with the same interface for as long as that interface
  3039.             remains instantiated, including across all re-
  3040.             initializations/reboots of the network management
  3041.             system, including those which result in a change of
  3042.             the interface's ifIndex value.
  3043.  
  3044.             An example of the value which a network manager might
  3045.             store in this object for a WAN interface is the
  3046.             (Telco's) circuit number/identifier of the interface.
  3047.  
  3048.             Some agents may support write-access only for
  3049.             interfaces having particular values of ifType.  An
  3050.             agent which supports write access to this object is
  3051.             required to keep the value in non-volatile storage,
  3052.             but it may limit the length of new values depending on
  3053.             how much storage is already occupied by the current
  3054.             values for other interfaces."
  3055.     ::= { ifXEntry 18 }
  3056.  
  3057. ifCounterDiscontinuityTime OBJECT-TYPE
  3058.     SYNTAX      TimeStamp
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064. Expires May 1997                                         [Page 52]
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070. Draft                  Interfaces Group MIB          November 1996
  3071.  
  3072.  
  3073.     MAX-ACCESS  read-only
  3074.     STATUS      current
  3075.     DESCRIPTION
  3076.             "The value of sysUpTime on the most recent occasion at
  3077.             which any one or more of this interface's counters
  3078.             suffered a discontinuity.  The relevant counters are
  3079.             the specific instances associated with this interface
  3080.             of any Counter32 or Counter64 object contained in the
  3081.             ifTable or ifXTable.  If no such discontinuities have
  3082.             occurred since the last re-initialization of the local
  3083.             management subsystem, then this object contains a zero
  3084.             value."
  3085.     ::= { ifXEntry 19 }
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112.  
  3113.  
  3114.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123. Expires May 1997                                         [Page 53]
  3124.  
  3125.  
  3126.  
  3127.  
  3128.  
  3129. Draft                  Interfaces Group MIB          November 1996
  3130.  
  3131.  
  3132. --           The Interface Stack Group
  3133. --
  3134. -- Implementation of this group is mandatory for all systems
  3135. --
  3136.  
  3137. ifStackTable  OBJECT-TYPE
  3138.      SYNTAX        SEQUENCE OF IfStackEntry
  3139.      MAX-ACCESS    not-accessible
  3140.      STATUS        current
  3141.      DESCRIPTION
  3142.             "The table containing information on the relationships
  3143.             between the multiple sub-layers of network interfaces.
  3144.             In particular, it contains information on which sub-
  3145.             layers run 'on top of' which other sub-layers, where
  3146.             each sub-layer corresponds to a conceptual row in the
  3147.             ifTable.  For example, when the sub-layer with ifIndex
  3148.             value x runs over the sub-layer with ifIndex value y,
  3149.             then this table contains:
  3150.  
  3151.               ifStackStatus.x.y=active
  3152.  
  3153.             For each ifIndex value, I, which identifies an active
  3154.             interface, there are always at least two instantiated
  3155.             rows in this table associated with I.  For one of
  3156.             these rows, I is the value of ifStackHigherLayer; for
  3157.             the other, I is the value of ifStackLowerLayer.  (If I
  3158.             is not involved in multiplexing, then these are the
  3159.             only two rows associated with I.)
  3160.  
  3161.             For example, two rows exist even for an interface
  3162.             which has no others stacked on top or below it:
  3163.  
  3164.               ifStackStatus.0.x=active
  3165.               ifStackStatus.x.0=active "
  3166.      ::= { ifMIBObjects 2 }
  3167.  
  3168.  
  3169. ifStackEntry  OBJECT-TYPE
  3170.      SYNTAX        IfStackEntry
  3171.      MAX-ACCESS    not-accessible
  3172.      STATUS        current
  3173.      DESCRIPTION
  3174.             "Information on a particular relationship between two
  3175.             sub-layers, specifying that one sub-layer runs on
  3176.             'top' of the other sub-layer.  Each sub-layer
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182. Expires May 1997                                         [Page 54]
  3183.  
  3184.  
  3185.  
  3186.  
  3187.  
  3188. Draft                  Interfaces Group MIB          November 1996
  3189.  
  3190.  
  3191.             corresponds to a conceptual row in the ifTable."
  3192.      INDEX { ifStackHigherLayer, ifStackLowerLayer }
  3193.      ::= { ifStackTable 1 }
  3194.  
  3195.  
  3196. IfStackEntry ::=
  3197.     SEQUENCE {
  3198.         ifStackHigherLayer  Integer32,
  3199.         ifStackLowerLayer   Integer32,
  3200.         ifStackStatus       RowStatus
  3201.      }
  3202.  
  3203.  
  3204. ifStackHigherLayer  OBJECT-TYPE
  3205.      SYNTAX        Integer32
  3206.      MAX-ACCESS    not-accessible
  3207.      STATUS        current
  3208.      DESCRIPTION
  3209.             "The value of ifIndex corresponding to the higher
  3210.             sub-layer of the relationship, i.e., the sub-layer
  3211.             which runs on 'top' of the sub-layer identified by the
  3212.             corresponding instance of ifStackLowerLayer.  If there
  3213.             is no higher sub-layer (below the internetwork layer),
  3214.             then this object has the value 0."
  3215.      ::= { ifStackEntry 1 }
  3216.  
  3217.  
  3218. ifStackLowerLayer  OBJECT-TYPE
  3219.      SYNTAX        Integer32
  3220.      MAX-ACCESS    not-accessible
  3221.      STATUS        current
  3222.      DESCRIPTION
  3223.             "The value of ifIndex corresponding to the lower sub-
  3224.             layer of the relationship, i.e., the sub-layer which
  3225.             runs 'below' the sub-layer identified by the
  3226.             corresponding instance of ifStackHigherLayer.  If
  3227.             there is no lower sub-layer, then this object has the
  3228.             value 0."
  3229.      ::= { ifStackEntry 2 }
  3230.  
  3231.  
  3232. ifStackStatus  OBJECT-TYPE
  3233.     SYNTAX         RowStatus
  3234.     MAX-ACCESS     read-create
  3235.     STATUS         current
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241. Expires May 1997                                         [Page 55]
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247. Draft                  Interfaces Group MIB          November 1996
  3248.  
  3249.  
  3250.     DESCRIPTION
  3251.             "The status of the relationship between two sub-
  3252.             layers.
  3253.  
  3254.             Changing the value of this object from 'active' to
  3255.             'notInService' or 'destroy' will likely have
  3256.             consequences up and down the interface stack.  Thus,
  3257.             write access to this object is likely to be
  3258.             inappropriate for some types of interfaces, and many
  3259.             implementations will choose not to support write-
  3260.             access for any type of interface."
  3261.     ::= { ifStackEntry 3 }
  3262.  
  3263. ifStackLastChange OBJECT-TYPE
  3264.     SYNTAX         TimeTicks
  3265.     MAX-ACCESS     read-only
  3266.     STATUS         current
  3267.     DESCRIPTION
  3268.             "The value of sysUpTime at the time of the last change
  3269.             of the (whole) interface stack.  A change of the
  3270.             interface stack is defined to be any creation,
  3271.             deletion, or change in value of any instance of
  3272.             ifStackStatus.  If the interface stack has been
  3273.             unchanged since the last re-initialization of the
  3274.             local network management subsystem, then this object
  3275.             contains a zero value."
  3276.     ::= { ifMIBObjects 6 }
  3277.  
  3278.  
  3279. --   Generic Receive Address Table
  3280. --
  3281. -- This group of objects is mandatory for all types of
  3282. -- interfaces which can receive packets/frames addressed to
  3283. -- more than one address.
  3284. --
  3285. -- This table replaces the ifExtnsRcvAddr table.  The main
  3286. -- difference is that this table makes use of the RowStatus
  3287. -- textual convention, while ifExtnsRcvAddr did not.
  3288.  
  3289. ifRcvAddressTable  OBJECT-TYPE
  3290.     SYNTAX      SEQUENCE OF IfRcvAddressEntry
  3291.     MAX-ACCESS  not-accessible
  3292.     STATUS      current
  3293.     DESCRIPTION
  3294.             "This table contains an entry for each address
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300. Expires May 1997                                         [Page 56]
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306. Draft                  Interfaces Group MIB          November 1996
  3307.  
  3308.  
  3309.             (broadcast, multicast, or uni-cast) for which the
  3310.             system will receive packets/frames on a particular
  3311.             interface, except as follows:
  3312.  
  3313.             - for an interface operating in promiscuous mode,
  3314.             entries are only required for those addresses for
  3315.             which the system would receive frames were it not
  3316.             operating in promiscuous mode.
  3317.  
  3318.             - for 802.5 functional addresses, only one entry is
  3319.             required, for the address which has the functional
  3320.             address bit ANDed with the bit mask of all functional
  3321.             addresses for which the interface will accept frames.
  3322.  
  3323.             A system is normally able to use any unicast address
  3324.             which corresponds to an entry in this table as a
  3325.             source address."
  3326.     ::= { ifMIBObjects 4 }
  3327.  
  3328. ifRcvAddressEntry  OBJECT-TYPE
  3329.     SYNTAX      IfRcvAddressEntry
  3330.     MAX-ACCESS  not-accessible
  3331.     STATUS      current
  3332.     DESCRIPTION
  3333.             "A list of objects identifying an address for which
  3334.             the system will accept packets/frames on the
  3335.             particular interface identified by the index value
  3336.             ifIndex."
  3337.     INDEX  { ifIndex, ifRcvAddressAddress }
  3338.     ::= { ifRcvAddressTable 1 }
  3339.  
  3340. IfRcvAddressEntry ::=
  3341.     SEQUENCE {
  3342.         ifRcvAddressAddress   PhysAddress,
  3343.         ifRcvAddressStatus    RowStatus,
  3344.         ifRcvAddressType      INTEGER
  3345.     }
  3346.  
  3347. ifRcvAddressAddress OBJECT-TYPE
  3348.     SYNTAX      PhysAddress
  3349.     MAX-ACCESS  not-accessible
  3350.     STATUS      current
  3351.     DESCRIPTION
  3352.             "An address for which the system will accept
  3353.             packets/frames on this entry's interface."
  3354.  
  3355.  
  3356.  
  3357.  
  3358.  
  3359. Expires May 1997                                         [Page 57]
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365. Draft                  Interfaces Group MIB          November 1996
  3366.  
  3367.  
  3368.     ::= { ifRcvAddressEntry 1 }
  3369.  
  3370. ifRcvAddressStatus OBJECT-TYPE
  3371.     SYNTAX      RowStatus
  3372.     MAX-ACCESS  read-create
  3373.     STATUS      current
  3374.     DESCRIPTION
  3375.             "This object is used to create and delete rows in the
  3376.             ifRcvAddressTable."
  3377.  
  3378.     ::= { ifRcvAddressEntry 2 }
  3379.  
  3380. ifRcvAddressType OBJECT-TYPE
  3381.     SYNTAX      INTEGER {
  3382.                     other(1),
  3383.                     volatile(2),
  3384.                     nonVolatile(3)
  3385.                 }
  3386.  
  3387.     MAX-ACCESS  read-create
  3388.     STATUS      current
  3389.     DESCRIPTION
  3390.             "This object has the value nonVolatile(3) for those
  3391.             entries in the table which are valid and will not be
  3392.             deleted by the next restart of the managed system.
  3393.             Entries having the value volatile(2) are valid and
  3394.             exist, but have not been saved, so that will not exist
  3395.             after the next restart of the managed system.  Entries
  3396.             having the value other(1) are valid and exist but are
  3397.             not classified as to whether they will continue to
  3398.             exist after the next restart."
  3399.  
  3400.     DEFVAL  { volatile }
  3401.     ::= { ifRcvAddressEntry 3 }
  3402.  
  3403.  
  3404.  
  3405.  
  3406.  
  3407.  
  3408.  
  3409.  
  3410.  
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418. Expires May 1997                                         [Page 58]
  3419.  
  3420.  
  3421.  
  3422.  
  3423.  
  3424. Draft                  Interfaces Group MIB          November 1996
  3425.  
  3426.  
  3427. -- definition of interface-related traps.
  3428.  
  3429. linkDown NOTIFICATION-TYPE
  3430.         OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
  3431.         STATUS  current
  3432.         DESCRIPTION
  3433.             "A linkDown trap signifies that the SNMPv2 entity,
  3434.             acting in an agent role, has detected that the
  3435.             ifOperStatus object for one of its communication links
  3436.             is about to enter the down state from some other state
  3437.             (but not from the notPresent state).  This other state
  3438.             is indicated by the included value of ifOperStatus."
  3439.     ::= { snmpTraps 3 }
  3440.  
  3441. linkUp NOTIFICATION-TYPE
  3442.         OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
  3443.         STATUS  current
  3444.         DESCRIPTION
  3445.             "A linkDown trap signifies that the SNMPv2 entity,
  3446.             acting in an agent role, has detected that the
  3447.             ifOperStatus object for one of its communication links
  3448.             left the down state and transitioned into some other
  3449.             state (but not into the notPresent state).  This other
  3450.             state is indicated by the included value of
  3451.             ifOperStatus."
  3452.     ::= { snmpTraps 4 }
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477. Expires May 1997                                         [Page 59]
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483. Draft                  Interfaces Group MIB          November 1996
  3484.  
  3485.  
  3486. -- conformance information
  3487.  
  3488. ifConformance OBJECT IDENTIFIER ::= { ifMIB 2 }
  3489.  
  3490. ifGroups      OBJECT IDENTIFIER ::= { ifConformance 1 }
  3491. ifCompliances OBJECT IDENTIFIER ::= { ifConformance 2 }
  3492.  
  3493.  
  3494. -- compliance statements
  3495.  
  3496. ifCompliance2 MODULE-COMPLIANCE
  3497.     STATUS  current
  3498.     DESCRIPTION
  3499.             "The compliance statement for SNMPv2 entities which
  3500.             have network interfaces."
  3501.  
  3502.     MODULE  -- this module
  3503.         MANDATORY-GROUPS { ifGeneralInformationGroup, ifStackGroup2,
  3504.                            ifCounterDiscontinuityGroup }
  3505.  
  3506.         GROUP       ifFixedLengthGroup
  3507.         DESCRIPTION
  3508.             "This group is mandatory for all network interfaces
  3509.             which are character-oriented or transmit data in
  3510.             fixed-length transmission units."
  3511.  
  3512.         GROUP       ifHCFixedLengthGroup
  3513.         DESCRIPTION
  3514.             "This group is mandatory only for those network
  3515.             interfaces which are character-oriented or transmit
  3516.             data in fixed-length transmission units, and for which
  3517.             the value of the corresponding instance of ifSpeed is
  3518.             greater than 20,000,000 bits/second."
  3519.  
  3520.         GROUP       ifPacketGroup
  3521.         DESCRIPTION
  3522.             "This group is mandatory for all network interfaces
  3523.             which are packet-oriented."
  3524.  
  3525.         GROUP       ifHCPacketGroup
  3526.         DESCRIPTION
  3527.             "This group is mandatory only for those network
  3528.             interfaces which are packet-oriented and for which the
  3529.             value of the corresponding instance of ifSpeed is
  3530.             greater than 650,000,000 bits/second."
  3531.  
  3532.  
  3533.  
  3534.  
  3535.  
  3536. Expires May 1997                                         [Page 60]
  3537.  
  3538.  
  3539.  
  3540.  
  3541.  
  3542. Draft                  Interfaces Group MIB          November 1996
  3543.  
  3544.  
  3545.         GROUP       ifRcvAddressGroup
  3546.         DESCRIPTION
  3547.             "The applicability of this group MUST be defined by
  3548.             the media-specific MIBs.  Media-specific MIBs must
  3549.             define the exact meaning, use, and semantics of the
  3550.             addresses in this group."
  3551.  
  3552.         OBJECT      ifLinkUpDownTrapEnable
  3553.         MIN-ACCESS  read-only
  3554.         DESCRIPTION
  3555.             "Write access is not required."
  3556.  
  3557.         OBJECT      ifPromiscuousMode
  3558.         MIN-ACCESS  read-only
  3559.         DESCRIPTION
  3560.             "Write access is not required."
  3561.  
  3562.         OBJECT      ifStackStatus
  3563.         SYNTAX      INTEGER { active(1) } -- subset of RowStatus
  3564.         MIN-ACCESS  read-only
  3565.         DESCRIPTION
  3566.             "Write access is not required, and only one of the six
  3567.             enumerated values for the RowStatus textual convention
  3568.             need be supported, specifically: active(1)."
  3569.  
  3570.         OBJECT       ifAdminStatus
  3571.         SYNTAX       INTEGER { up(1), down(2) }
  3572.         MIN-ACCESS   read-only
  3573.         DESCRIPTION
  3574.             "Write access is not required, nor is support for the
  3575.             value testing(3)."
  3576.  
  3577.         OBJECT       ifAlias
  3578.         MIN-ACCESS   read-only
  3579.         DESCRIPTION
  3580.             "Write access is not required."
  3581.  
  3582.     ::= { ifCompliances 2 }
  3583.  
  3584.  
  3585.  
  3586.  
  3587.  
  3588.  
  3589.  
  3590.  
  3591.  
  3592.  
  3593.  
  3594.  
  3595. Expires May 1997                                         [Page 61]
  3596.  
  3597.  
  3598.  
  3599.  
  3600.  
  3601. Draft                  Interfaces Group MIB          November 1996
  3602.  
  3603.  
  3604. -- units of conformance
  3605.  
  3606. ifGeneralInformationGroup    OBJECT-GROUP
  3607.     OBJECTS { ifIndex, ifDescr, ifType, ifSpeed, ifPhysAddress,
  3608.               ifAdminStatus, ifOperStatus, ifLastChange,
  3609.               ifLinkUpDownTrapEnable, ifConnectorPresent,
  3610.               ifHighSpeed, ifName, ifNumber, ifAlias,
  3611.               ifTableLastChange }
  3612.     STATUS  current
  3613.     DESCRIPTION
  3614.             "A collection of objects providing information
  3615.             applicable to all network interfaces."
  3616.     ::= { ifGroups 10 }
  3617.  
  3618. -- the following five groups are mutually exclusive; at most
  3619. -- one of these groups is implemented for any interface
  3620.  
  3621. ifFixedLengthGroup    OBJECT-GROUP
  3622.     OBJECTS { ifInOctets, ifOutOctets, ifInUnknownProtos,
  3623.               ifInErrors, ifOutErrors }
  3624.     STATUS  current
  3625.     DESCRIPTION
  3626.             "A collection of objects providing information
  3627.             specific to non-high speed (non-high speed interfaces
  3628.             transmit and receive at speeds less than or equal to
  3629.             20,000,000 bits/second) character-oriented or fixed-
  3630.             length-transmission network interfaces."
  3631.     ::= { ifGroups 2 }
  3632.  
  3633. ifHCFixedLengthGroup    OBJECT-GROUP
  3634.     OBJECTS { ifHCInOctets, ifHCOutOctets,
  3635.               ifInOctets, ifOutOctets, ifInUnknownProtos,
  3636.               ifInErrors, ifOutErrors }
  3637.     STATUS  current
  3638.     DESCRIPTION
  3639.             "A collection of objects providing information
  3640.             specific to high speed (greater than 20,000,000
  3641.             bits/second) character-oriented or fixed-length-
  3642.             transmission network interfaces."
  3643.     ::= { ifGroups 3 }
  3644.  
  3645. ifPacketGroup    OBJECT-GROUP
  3646.     OBJECTS { ifInOctets, ifOutOctets, ifInUnknownProtos,
  3647.               ifInErrors, ifOutErrors,
  3648.               ifMtu, ifInUcastPkts, ifInMulticastPkts,
  3649.  
  3650.  
  3651.  
  3652.  
  3653.  
  3654. Expires May 1997                                         [Page 62]
  3655.  
  3656.  
  3657.  
  3658.  
  3659.  
  3660. Draft                  Interfaces Group MIB          November 1996
  3661.  
  3662.  
  3663.               ifInBroadcastPkts, ifInDiscards,
  3664.               ifOutUcastPkts, ifOutMulticastPkts,
  3665.               ifOutBroadcastPkts, ifOutDiscards,
  3666.               ifPromiscuousMode }
  3667.     STATUS  current
  3668.     DESCRIPTION
  3669.             "A collection of objects providing information
  3670.             specific to non-high speed (non-high speed interfaces
  3671.             transmit and receive at speeds less than or equal to
  3672.             20,000,000 bits/second) packet-oriented network
  3673.             interfaces."
  3674.     ::= { ifGroups 4 }
  3675.  
  3676. ifHCPacketGroup    OBJECT-GROUP
  3677.     OBJECTS { ifHCInOctets, ifHCOutOctets,
  3678.               ifInOctets, ifOutOctets, ifInUnknownProtos,
  3679.               ifInErrors, ifOutErrors,
  3680.               ifMtu, ifInUcastPkts, ifInMulticastPkts,
  3681.               ifInBroadcastPkts, ifInDiscards,
  3682.               ifOutUcastPkts, ifOutMulticastPkts,
  3683.               ifOutBroadcastPkts, ifOutDiscards,
  3684.               ifPromiscuousMode }
  3685.     STATUS  current
  3686.     DESCRIPTION
  3687.             "A collection of objects providing information
  3688.             specific to high speed (greater than 20,000,000
  3689.             bits/second but less than or equal to 650,000,000
  3690.             bits/second) packet-oriented network interfaces."
  3691.     ::= { ifGroups 5 }
  3692.  
  3693. ifVHCPacketGroup    OBJECT-GROUP
  3694.     OBJECTS { ifHCInUcastPkts, ifHCInMulticastPkts,
  3695.               ifHCInBroadcastPkts, ifHCOutUcastPkts,
  3696.               ifHCOutMulticastPkts, ifHCOutBroadcastPkts,
  3697.               ifHCInOctets, ifHCOutOctets,
  3698.               ifInOctets, ifOutOctets, ifInUnknownProtos,
  3699.               ifInErrors, ifOutErrors,
  3700.               ifMtu, ifInUcastPkts, ifInMulticastPkts,
  3701.               ifInBroadcastPkts, ifInDiscards,
  3702.               ifOutUcastPkts, ifOutMulticastPkts,
  3703.               ifOutBroadcastPkts, ifOutDiscards,
  3704.               ifPromiscuousMode }
  3705.     STATUS  current
  3706.     DESCRIPTION
  3707.             "A collection of objects providing information
  3708.  
  3709.  
  3710.  
  3711.  
  3712.  
  3713. Expires May 1997                                         [Page 63]
  3714.  
  3715.  
  3716.  
  3717.  
  3718.  
  3719. Draft                  Interfaces Group MIB          November 1996
  3720.  
  3721.  
  3722.             specific to higher speed (greater than 650,000,000
  3723.             bits/second) packet-oriented network interfaces."
  3724.     ::= { ifGroups 6 }
  3725.  
  3726. ifRcvAddressGroup    OBJECT-GROUP
  3727.     OBJECTS { ifRcvAddressStatus, ifRcvAddressType }
  3728.     STATUS  current
  3729.     DESCRIPTION
  3730.             "A collection of objects providing information on the
  3731.             multiple addresses which an interface receives."
  3732.     ::= { ifGroups 7 }
  3733.  
  3734. ifStackGroup2    OBJECT-GROUP
  3735.     OBJECTS { ifStackStatus, ifStackLastChange }
  3736.     STATUS  current
  3737.     DESCRIPTION
  3738.             "A collection of objects providing information on the
  3739.             layering of MIB-II interfaces."
  3740.     ::= { ifGroups 11 }
  3741.  
  3742. ifCounterDiscontinuityGroup  OBJECT-GROUP
  3743.     OBJECTS { ifCounterDiscontinuityTime }
  3744.     STATUS  current
  3745.     DESCRIPTION
  3746.             "A collection of objects providing information
  3747.             specific to interface counter discontinuities."
  3748.     ::= { ifGroups 13 }
  3749.  
  3750.  
  3751.  
  3752.  
  3753.  
  3754.  
  3755.  
  3756.  
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770.  
  3771.  
  3772. Expires May 1997                                         [Page 64]
  3773.  
  3774.  
  3775.  
  3776.  
  3777.  
  3778. Draft                  Interfaces Group MIB          November 1996
  3779.  
  3780.  
  3781. -- Deprecated Definitions - Objects
  3782.  
  3783.  
  3784. --
  3785. --    The Interface Test Table
  3786. --
  3787. -- This group of objects is optional.  However, a media-specific
  3788. -- MIB may make implementation of this group mandatory.
  3789. --
  3790. -- This table replaces the ifExtnsTestTable
  3791. --
  3792.  
  3793. ifTestTable   OBJECT-TYPE
  3794.     SYNTAX      SEQUENCE OF IfTestEntry
  3795.     MAX-ACCESS  not-accessible
  3796.     STATUS      deprecated
  3797.     DESCRIPTION
  3798.             "This table contains one entry per interface.  It
  3799.             defines objects which allow a network manager to
  3800.             instruct an agent to test an interface for various
  3801.             faults.  Tests for an interface are defined in the
  3802.             media-specific MIB for that interface.  After invoking
  3803.             a test, the object ifTestResult can be read to
  3804.             determine the outcome.  If an agent can not perform
  3805.             the test, ifTestResult is set to so indicate.  The
  3806.             object ifTestCode can be used to provide further
  3807.             test-specific or interface-specific (or even
  3808.             enterprise-specific) information concerning the
  3809.             outcome of the test.  Only one test can be in progress
  3810.             on each interface at any one time.  If one test is in
  3811.             progress when another test is invoked, the second test
  3812.             is rejected.  Some agents may reject a test when a
  3813.             prior test is active on another interface.
  3814.  
  3815.             Before starting a test, a manager-station must first
  3816.             obtain 'ownership' of the entry in the ifTestTable for
  3817.             the interface to be tested.  This is accomplished with
  3818.             the ifTestId and ifTestStatus objects as follows:
  3819.  
  3820.          try_again:
  3821.              get (ifTestId, ifTestStatus)
  3822.              while (ifTestStatus != notInUse)
  3823.                  /*
  3824.                   * Loop while a test is running or some other
  3825.                   * manager is configuring a test.
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831. Expires May 1997                                         [Page 65]
  3832.  
  3833.  
  3834.  
  3835.  
  3836.  
  3837. Draft                  Interfaces Group MIB          November 1996
  3838.  
  3839.  
  3840.                   */
  3841.                  short delay
  3842.                  get (ifTestId, ifTestStatus)
  3843.              }
  3844.  
  3845.              /*
  3846.               * Is not being used right now -- let's compete
  3847.               * to see who gets it.
  3848.               */
  3849.              lock_value = ifTestId
  3850.  
  3851.              if ( set(ifTestId = lock_value, ifTestStatus = inUse,
  3852.                       ifTestOwner = 'my-IP-address') == FAILURE)
  3853.                  /*
  3854.                   * Another manager got the ifTestEntry -- go
  3855.                   * try again
  3856.                   */
  3857.                  goto try_again;
  3858.  
  3859.              /*
  3860.               * I have the lock
  3861.               */
  3862.              set up any test parameters.
  3863.  
  3864.              /*
  3865.               * This starts the test
  3866.               */
  3867.              set(ifTestType = test_to_run);
  3868.  
  3869.              wait for test completion by polling ifTestResult
  3870.  
  3871.              when test completes, agent sets ifTestResult
  3872.                   agent also sets ifTestStatus = 'notInUse'
  3873.  
  3874.              retrieve any additional test results, and ifTestId
  3875.  
  3876.              if (ifTestId == lock_value+1) results are valid
  3877.  
  3878.            A manager station first retrieves the value of the
  3879.            appropriate ifTestId and ifTestStatus objects,
  3880.            periodically repeating the retrieval if necessary,
  3881.            until the value of ifTestStatus is 'notInUse'.  The
  3882.            manager station then tries to set the same ifTestId
  3883.            object to the value it just retrieved, the same
  3884.            ifTestStatus object to 'inUse', and the corresponding
  3885.  
  3886.  
  3887.  
  3888.  
  3889.  
  3890. Expires May 1997                                         [Page 66]
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896. Draft                  Interfaces Group MIB          November 1996
  3897.  
  3898.  
  3899.            ifTestOwner object to a value indicating itself.  If
  3900.            the set operation succeeds then the manager has
  3901.            obtained ownership of the ifTestEntry, and the value of
  3902.            the ifTestId object is incremented by the agent (per
  3903.            the semantics of TestAndIncr).  Failure of the set
  3904.            operation indicates that some other manager has
  3905.            obtained ownership of the ifTestEntry.
  3906.  
  3907.            Once ownership is obtained, any test parameters can be
  3908.            setup, and then the test is initiated by setting
  3909.            ifTestType.  On completion of the test, the agent sets
  3910.            ifTestStatus to 'notInUse'.  Once this occurs, the
  3911.            manager can retrieve the results.  In the (rare) event
  3912.            that the invocation of tests by two network managers
  3913.            were to overlap, then there would be a possibility that
  3914.            the first test's results might be overwritten by the
  3915.            second test's results prior to the first results being
  3916.            read.  This unlikely circumstance can be detected by a
  3917.            network manager retrieving ifTestId at the same time as
  3918.            retrieving the test results, and ensuring that the
  3919.            results are for the desired request.
  3920.  
  3921.            If ifTestType is not set within an abnormally long
  3922.            period of time after ownership is obtained, the agent
  3923.            should time-out the manager, and reset the value of the
  3924.            ifTestStatus object back to 'notInUse'.  It is
  3925.            suggested that this time-out period be 5 minutes.
  3926.  
  3927.            In general, a management station must not retransmit a
  3928.            request to invoke a test for which it does not receive
  3929.            a response; instead, it properly inspects an agent's
  3930.            MIB to determine if the invocation was successful.
  3931.            Only if the invocation was unsuccessful, is the
  3932.            invocation request retransmitted.
  3933.  
  3934.            Some tests may require the interface to be taken off-
  3935.            line in order to execute them, or may even require the
  3936.            agent to reboot after completion of the test.  In these
  3937.            circumstances, communication with the management
  3938.            station invoking the test may be lost until after
  3939.            completion of the test.  An agent is not required to
  3940.            support such tests.  However, if such tests are
  3941.            supported, then the agent should make every effort to
  3942.            transmit a response to the request which invoked the
  3943.            test prior to losing communication.  When the agent is
  3944.  
  3945.  
  3946.  
  3947.  
  3948.  
  3949. Expires May 1997                                         [Page 67]
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955. Draft                  Interfaces Group MIB          November 1996
  3956.  
  3957.  
  3958.            restored to normal service, the results of the test are
  3959.            properly made available in the appropriate objects.
  3960.            Note that this requires that the ifIndex value assigned
  3961.            to an interface must be unchanged even if the test
  3962.            causes a reboot.  An agent must reject any test for
  3963.            which it cannot, perhaps due to resource constraints,
  3964.            make available at least the minimum amount of
  3965.            information after that test completes."
  3966.     ::= { ifMIBObjects 3 }
  3967.  
  3968. ifTestEntry OBJECT-TYPE
  3969.     SYNTAX       IfTestEntry
  3970.     MAX-ACCESS   not-accessible
  3971.     STATUS       deprecated
  3972.     DESCRIPTION
  3973.             "An entry containing objects for invoking tests on an
  3974.             interface."
  3975.     AUGMENTS  { ifEntry }
  3976.     ::= { ifTestTable 1 }
  3977.  
  3978. IfTestEntry ::=
  3979.     SEQUENCE {
  3980.         ifTestId           TestAndIncr,
  3981.         ifTestStatus       INTEGER,
  3982.         ifTestType         AutonomousType,
  3983.         ifTestResult       INTEGER,
  3984.         ifTestCode         OBJECT IDENTIFIER,
  3985.         ifTestOwner        OwnerString
  3986.     }
  3987.  
  3988. ifTestId         OBJECT-TYPE
  3989.     SYNTAX       TestAndIncr
  3990.     MAX-ACCESS   read-write
  3991.     STATUS       deprecated
  3992.     DESCRIPTION
  3993.             "This object identifies the current invocation of the
  3994.             interface's test."
  3995.     ::= { ifTestEntry 1 }
  3996.  
  3997. ifTestStatus     OBJECT-TYPE
  3998.     SYNTAX       INTEGER { notInUse(1), inUse(2) }
  3999.     MAX-ACCESS   read-write
  4000.     STATUS       deprecated
  4001.     DESCRIPTION
  4002.             "This object indicates whether or not some manager
  4003.  
  4004.  
  4005.  
  4006.  
  4007.  
  4008. Expires May 1997                                         [Page 68]
  4009.  
  4010.  
  4011.  
  4012.  
  4013.  
  4014. Draft                  Interfaces Group MIB          November 1996
  4015.  
  4016.  
  4017.             currently has the necessary 'ownership' required to
  4018.             invoke a test on this interface.  A write to this
  4019.             object is only successful when it changes its value
  4020.             from 'notInUse(1)' to 'inUse(2)'.  After completion of
  4021.             a test, the agent resets the value back to
  4022.             'notInUse(1)'."
  4023.     ::= { ifTestEntry 2 }
  4024.  
  4025. ifTestType       OBJECT-TYPE
  4026.     SYNTAX       AutonomousType
  4027.     MAX-ACCESS   read-write
  4028.     STATUS       deprecated
  4029.     DESCRIPTION
  4030.             "A control variable used to start and stop operator-
  4031.             initiated interface tests.  Most OBJECT IDENTIFIER
  4032.             values assigned to tests are defined elsewhere, in
  4033.             association with specific types of interface.
  4034.             However, this document assigns a value for a full-
  4035.             duplex loopback test, and defines the special meanings
  4036.             of the subject identifier:
  4037.  
  4038.                 noTest  OBJECT IDENTIFIER ::= { 0 0 }
  4039.  
  4040.             When the value noTest is written to this object, no
  4041.             action is taken unless a test is in progress, in which
  4042.             case the test is aborted.  Writing any other value to
  4043.             this object is only valid when no test is currently in
  4044.             progress, in which case the indicated test is
  4045.             initiated.
  4046.  
  4047.             When read, this object always returns the most recent
  4048.             value that ifTestType was set to.  If it has not been
  4049.             set since the last initialization of the network
  4050.             management subsystem on the agent, a value of noTest
  4051.             is returned."
  4052.     ::= { ifTestEntry 3 }
  4053.  
  4054. ifTestResult  OBJECT-TYPE
  4055.     SYNTAX       INTEGER {
  4056.                      none(1),          -- no test yet requested
  4057.                      success(2),
  4058.                      inProgress(3),
  4059.                      notSupported(4),
  4060.                      unAbleToRun(5),   -- due to state of system
  4061.                      aborted(6),
  4062.  
  4063.  
  4064.  
  4065.  
  4066.  
  4067. Expires May 1997                                         [Page 69]
  4068.  
  4069.  
  4070.  
  4071.  
  4072.  
  4073. Draft                  Interfaces Group MIB          November 1996
  4074.  
  4075.  
  4076.                      failed(7)
  4077.                  }
  4078.     MAX-ACCESS   read-only
  4079.     STATUS       deprecated
  4080.     DESCRIPTION
  4081.             "This object contains the result of the most recently
  4082.             requested test, or the value none(1) if no tests have
  4083.             been requested since the last reset.  Note that this
  4084.             facility provides no provision for saving the results
  4085.             of one test when starting another, as could be
  4086.             required if used by multiple managers concurrently."
  4087.     ::= { ifTestEntry 4 }
  4088.  
  4089. ifTestCode  OBJECT-TYPE
  4090.     SYNTAX       OBJECT IDENTIFIER
  4091.     MAX-ACCESS   read-only
  4092.     STATUS       deprecated
  4093.     DESCRIPTION
  4094.             "This object contains a code which contains more
  4095.             specific information on the test result, for example
  4096.             an error-code after a failed test.  Error codes and
  4097.             other values this object may take are specific to the
  4098.             type of interface and/or test.  The value may have the
  4099.             semantics of either the AutonomousType or
  4100.             InstancePointer textual conventions as defined in RFC
  4101.             1903.  The identifier:
  4102.  
  4103.                 testCodeUnknown  OBJECT IDENTIFIER ::= { 0 0 }
  4104.  
  4105.             is defined for use if no additional result code is
  4106.             available."
  4107.     ::= { ifTestEntry 5 }
  4108.  
  4109. ifTestOwner      OBJECT-TYPE
  4110.     SYNTAX       OwnerString
  4111.     MAX-ACCESS   read-write
  4112.     STATUS       deprecated
  4113.     DESCRIPTION
  4114.             "The entity which currently has the 'ownership'
  4115.             required to invoke a test on this interface."
  4116.     ::= { ifTestEntry 6 }
  4117.  
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  
  4126. Expires May 1997                                         [Page 70]
  4127.  
  4128.  
  4129.  
  4130.  
  4131.  
  4132. Draft                  Interfaces Group MIB          November 1996
  4133.  
  4134.  
  4135. -- Deprecated Definitions - Groups
  4136.  
  4137.  
  4138. ifGeneralGroup    OBJECT-GROUP
  4139.     OBJECTS { ifDescr, ifType, ifSpeed, ifPhysAddress,
  4140.               ifAdminStatus, ifOperStatus, ifLastChange,
  4141.               ifLinkUpDownTrapEnable, ifConnectorPresent,
  4142.               ifHighSpeed, ifName }
  4143.     STATUS  deprecated
  4144.     DESCRIPTION
  4145.             "A collection of objects deprecated in favour of
  4146.             ifGeneralInformationGroup."
  4147.     ::= { ifGroups 1 }
  4148.  
  4149.  
  4150. ifTestGroup    OBJECT-GROUP
  4151.     OBJECTS { ifTestId, ifTestStatus, ifTestType,
  4152.               ifTestResult, ifTestCode, ifTestOwner }
  4153.     STATUS  deprecated
  4154.     DESCRIPTION
  4155.             "A collection of objects providing the ability to
  4156.             invoke tests on an interface."
  4157.     ::= { ifGroups 8 }
  4158.  
  4159.  
  4160. ifStackGroup    OBJECT-GROUP
  4161.     OBJECTS { ifStackStatus }
  4162.     STATUS  deprecated
  4163.     DESCRIPTION
  4164.             "The previous collection of objects providing
  4165.             information on the layering of MIB-II interfaces."
  4166.     ::= { ifGroups 9 }
  4167.  
  4168.  
  4169. ifOldObjectsGroup    OBJECT-GROUP
  4170.     OBJECTS { ifInNUcastPkts, ifOutNUcastPkts,
  4171.               ifOutQLen, ifSpecific }
  4172.     STATUS  deprecated
  4173.     DESCRIPTION
  4174.             "The collection of objects deprecated from the
  4175.             original MIB-II interfaces group."
  4176.     ::= { ifGroups 12 }
  4177.  
  4178.  
  4179. -- Deprecated Definitions - Compliance
  4180.  
  4181.  
  4182.  
  4183.  
  4184.  
  4185. Expires May 1997                                         [Page 71]
  4186.  
  4187.  
  4188.  
  4189.  
  4190.  
  4191. Draft                  Interfaces Group MIB          November 1996
  4192.  
  4193.  
  4194. ifCompliance MODULE-COMPLIANCE
  4195.     STATUS  deprecated
  4196.     DESCRIPTION
  4197.             "The previous compliance statement for SNMPv2 entities
  4198.             which have network interfaces."
  4199.  
  4200.     MODULE  -- this module
  4201.         MANDATORY-GROUPS { ifGeneralGroup, ifStackGroup }
  4202.  
  4203.         GROUP       ifFixedLengthGroup
  4204.         DESCRIPTION
  4205.             "This group is mandatory for all network interfaces
  4206.             which are character-oriented or transmit data in
  4207.             fixed-length transmission units."
  4208.  
  4209.         GROUP       ifHCFixedLengthGroup
  4210.         DESCRIPTION
  4211.             "This group is mandatory only for those network
  4212.             interfaces which are character-oriented or transmit
  4213.             data in fixed-length transmission units, and for which
  4214.             the value of the corresponding instance of ifSpeed is
  4215.             greater than 20,000,000 bits/second."
  4216.  
  4217.         GROUP       ifPacketGroup
  4218.         DESCRIPTION
  4219.             "This group is mandatory for all network interfaces
  4220.             which are packet-oriented."
  4221.  
  4222.         GROUP       ifHCPacketGroup
  4223.         DESCRIPTION
  4224.             "This group is mandatory only for those network
  4225.             interfaces which are packet-oriented and for which the
  4226.             value of the corresponding instance of ifSpeed is
  4227.             greater than 650,000,000 bits/second."
  4228.  
  4229.         GROUP       ifTestGroup
  4230.         DESCRIPTION
  4231.             "This group is optional.  Media-specific MIBs which
  4232.             require interface tests are strongly encouraged to use
  4233.             this group for invoking tests and reporting results.
  4234.             A medium specific MIB which has mandatory tests may
  4235.             make implementation of this group mandatory."
  4236.  
  4237.         GROUP       ifRcvAddressGroup
  4238.         DESCRIPTION
  4239.  
  4240.  
  4241.  
  4242.  
  4243.  
  4244. Expires May 1997                                         [Page 72]
  4245.  
  4246.  
  4247.  
  4248.  
  4249.  
  4250. Draft                  Interfaces Group MIB          November 1996
  4251.  
  4252.  
  4253.             "The applicability of this group MUST be defined by
  4254.             the media-specific MIBs.  Media-specific MIBs must
  4255.             define the exact meaning, use, and semantics of the
  4256.             addresses in this group."
  4257.  
  4258.         OBJECT      ifLinkUpDownTrapEnable
  4259.         MIN-ACCESS  read-only
  4260.         DESCRIPTION
  4261.             "Write access is not required."
  4262.  
  4263.         OBJECT      ifPromiscuousMode
  4264.         MIN-ACCESS  read-only
  4265.         DESCRIPTION
  4266.             "Write access is not required."
  4267.  
  4268.         OBJECT      ifStackStatus
  4269.         SYNTAX      INTEGER { active(1) } -- subset of RowStatus
  4270.         MIN-ACCESS  read-only
  4271.         DESCRIPTION
  4272.             "Write access is not required, and only one of the six
  4273.             enumerated values for the RowStatus textual convention
  4274.             need be supported, specifically: active(1)."
  4275.  
  4276.         OBJECT       ifAdminStatus
  4277.         SYNTAX       INTEGER { up(1), down(2) }
  4278.         MIN-ACCESS   read-only
  4279.         DESCRIPTION
  4280.             "Write access is not required, nor is support for the
  4281.             value testing(3)."
  4282.     ::= { ifCompliances 1 }
  4283.  
  4284. END
  4285.  
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.  
  4295.  
  4296.  
  4297.  
  4298.  
  4299.  
  4300.  
  4301.  
  4302.  
  4303. Expires May 1997                                         [Page 73]
  4304.  
  4305.  
  4306.  
  4307.  
  4308.  
  4309. Draft                  Interfaces Group MIB          November 1996
  4310.  
  4311.  
  4312. 7.  Acknowledgements
  4313.  
  4314. This memo has been produced by the IETF's Interfaces MIB working-
  4315. group.
  4316.  
  4317. The original proposal evolved from conversations and discussions
  4318. with many people, including at least the following: Fred Baker,
  4319. Ted Brunner, Chuck Davin, Jeremy Greene, Marshall Rose, Kaj
  4320. Tesink, and Dean Throop.
  4321.  
  4322.  
  4323.  
  4324.  
  4325.  
  4326.  
  4327.  
  4328.  
  4329.  
  4330.  
  4331.  
  4332.  
  4333.  
  4334.  
  4335.  
  4336.  
  4337.  
  4338.  
  4339.  
  4340.  
  4341.  
  4342.  
  4343.  
  4344.  
  4345.  
  4346.  
  4347.  
  4348.  
  4349.  
  4350.  
  4351.  
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.  
  4361.  
  4362. Expires May 1997                                         [Page 74]
  4363.  
  4364.  
  4365.  
  4366.  
  4367.  
  4368. Draft                  Interfaces Group MIB          November 1996
  4369.  
  4370.  
  4371. 8.  References
  4372.  
  4373. [1]  SNMPv2 Working Group, Case, J., McCloghrie, K., Rose, M., and
  4374.      S. Waldbusser, "Structure of Management Information for
  4375.      version 2 of the Simple Network Management Protocol
  4376.      (SNMPv2)", RFC 1902, January 1996.
  4377.  
  4378. [2]  SNMPv2 Working Group, Case, J., McCloghrie, K., Rose, M., and
  4379.      S. Waldbusser, "Textual Conventions for version 2 of the
  4380.      Simple Network Management Protocol (SNMPv2)", RFC 1903,
  4381.      January 1996.
  4382.  
  4383. [3]  SNMPv2 Working Group, Case, J., McCloghrie, K., Rose, M., and
  4384.      S. Waldbusser, "Protocol Operations for version 2 of the
  4385.      Simple Network Management Protocol (SNMPv2)", RFC 1905,
  4386.      January 1996.
  4387.  
  4388. [4]  McCloghrie, K., and M. Rose, "Management Information Base for
  4389.      Network Management of TCP/IP-based internets - MIB-II", RFC
  4390.      1213, Hughes LAN Systems, Performance Systems International,
  4391.      March 1991.
  4392.  
  4393. [5]  Case, J., Fedor, M., Schoffstall, M., and J. Davin, "Simple
  4394.      Network Management Protocol", RFC 1157, SNMP Research,
  4395.      Performance Systems International, Performance Systems
  4396.      International, MIT Laboratory for Computer Science, May 1990.
  4397.  
  4398. [6]  J. Postel, "Internet Protocol", RFC 791, Information Sciences
  4399.      Institute, USC, September 1981.
  4400.  
  4401. [7]  K. McCloghrie, "Extensions to the Generic-Interface MIB", RFC
  4402.      1229, Hughes LAN Systems, May 1991.
  4403.  
  4404. [8]  ATM Forum Technical Committee, "LAN Emulation Client
  4405.      Management: Version 1.0 Specification", af-lane-0044.000, ATM
  4406.      Forum, September 1995.
  4407.  
  4408. [9]  B. Stewart "Definitions of Managed Objects for Character
  4409.      Stream Devices using SMIv2", RFC 1658, Xyplex Inc., July
  4410.      1994.
  4411.  
  4412.  
  4413.  
  4414.  
  4415.  
  4416.  
  4417.  
  4418.  
  4419.  
  4420.  
  4421. Expires May 1997                                         [Page 75]
  4422.  
  4423.  
  4424.  
  4425.  
  4426.  
  4427. Draft                  Interfaces Group MIB          November 1996
  4428.  
  4429.  
  4430. 9.  Security Considerations
  4431.  
  4432. Security issues are not discussed in this memo.
  4433.  
  4434.  
  4435. 10.  Authors' Address
  4436.  
  4437.      Keith McCloghrie
  4438.      Cisco Systems, Inc.
  4439.      170 West Tasman Drive
  4440.      San Jose, CA  95134-1706
  4441.  
  4442.      Phone: 408-526-5260
  4443.      Email: kzm@cisco.com"
  4444.  
  4445.  
  4446.      Frank Kastenholz
  4447.      FTP Software
  4448.      2 High Street
  4449.      North Andover, Mass. USA 01845
  4450.  
  4451.      Phone: (508)685-4000
  4452.      Email: kasten@ftp.com
  4453.  
  4454.  
  4455.  
  4456.  
  4457.  
  4458.  
  4459.  
  4460.  
  4461.  
  4462.  
  4463.  
  4464.  
  4465.  
  4466.  
  4467.  
  4468.  
  4469.  
  4470.  
  4471.  
  4472.  
  4473.  
  4474.  
  4475.  
  4476.  
  4477.  
  4478.  
  4479.  
  4480. Expires May 1997                                         [Page 76]
  4481.  
  4482.  
  4483.  
  4484.  
  4485.  
  4486. Draft                  Interfaces Group MIB          November 1996
  4487.  
  4488.  
  4489. Table of Contents
  4490.  
  4491.  
  4492. 1 Introduction ..............................................    2
  4493. 1.1 Change Log ..............................................    2
  4494. 2 The SNMP Network Management Framework .....................    5
  4495. 2.1 Object Definitions ......................................    5
  4496. 3 Experience with the Interfaces Group ......................    6
  4497. 3.1 Clarifications/Revisions ................................    6
  4498. 3.1.1 Interface Sub-Layers ..................................    6
  4499. 3.1.2 Guidance on Defining Sub-layers .......................    9
  4500. 3.1.3 Virtual Circuits ......................................   11
  4501. 3.1.4 Bit, Character, and Fixed-Length Interfaces ...........   11
  4502. 3.1.5 Interface Numbering ...................................   13
  4503. 3.1.6 Counter Size ..........................................   18
  4504. 3.1.7 Interface Speed .......................................   20
  4505. 3.1.8 Multicast/Broadcast Counters ..........................   21
  4506. 3.1.9 Trap Enable ...........................................   21
  4507. 3.1.10 Addition of New ifType values ........................   22
  4508. 3.1.11 InterfaceIndex Textual Convention ....................   22
  4509. 3.1.12 New states for IfOperStatus ..........................   22
  4510. 3.1.13 IfAdminStatus and IfOperStatus .......................   23
  4511. 3.1.14 IfOperStatus in an Interface Stack ...................   25
  4512. 3.1.15 Traps ................................................   25
  4513. 3.1.16 ifSpecific ...........................................   27
  4514. 3.1.17 Creation/Deletion of Interfaces ......................   27
  4515. 3.1.18 All Values Must be Known .............................   28
  4516. 4 Media-Specific MIB Applicability ..........................   30
  4517. 5 Overview ..................................................   31
  4518. 6 Interfaces Group Definitions ..............................   32
  4519. 7 Acknowledgements ..........................................   74
  4520. 8 References ................................................   75
  4521. 9 Security Considerations ...................................   76
  4522. 10 Authors' Address .........................................   76
  4523.  
  4524.  
  4525.  
  4526.  
  4527.  
  4528.  
  4529.  
  4530.  
  4531.  
  4532.  
  4533.  
  4534.  
  4535.  
  4536.  
  4537.  
  4538.  
  4539. Expires May 1997                                         [Page 77]
  4540.