home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / rfc / 3 / rfc2233.txt < prev    next >
Encoding:
Text File  |  2003-06-11  |  144.6 KB  |  3,697 lines

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