RFC1643.MIB
上传用户:aonuowh
上传日期:2021-05-23
资源大小:35390k
文件大小:20k
源码类别:

SNMP编程

开发平台:

C/C++

  1. -- Changes to RFC1643 - EtherLike MIB
  2. --   Removed unused IMPORT of Gauge.
  3. -- dperkins@scruznet.com
  4.    EtherLike-MIB DEFINITIONS ::= BEGIN
  5.       IMPORTS
  6.           Counter                FROM RFC1155-SMI
  7.           ifIndex, transmission  FROM RFC1213-MIB
  8.           OBJECT-TYPE            FROM RFC-1212;
  9.        -- This MIB module uses the extended OBJECT-TYPE macro as
  10.        -- defined in RFC-1212.
  11.       dot3    OBJECT IDENTIFIER ::= { transmission 7 }
  12.       -- the Ethernet-like Statistics group
  13.        dot3StatsTable  OBJECT-TYPE
  14.             SYNTAX     SEQUENCE OF Dot3StatsEntry
  15.             ACCESS     not-accessible
  16.             STATUS     mandatory
  17.             DESCRIPTION
  18.              "Statistics for a collection of ethernet-like
  19.              interfaces attached to a particular system."
  20.             ::= { dot3 2 }
  21.        dot3StatsEntry   OBJECT-TYPE
  22.             SYNTAX      Dot3StatsEntry
  23.             ACCESS      not-accessible
  24.             STATUS      mandatory
  25.             DESCRIPTION
  26.               "Statistics for a particular interface to an
  27.               ethernet-like medium."
  28.             INDEX     { dot3StatsIndex }
  29.             ::= { dot3StatsTable 1 }
  30.        Dot3StatsEntry ::= SEQUENCE {
  31.             dot3StatsIndex                      INTEGER,
  32.             dot3StatsAlignmentErrors            Counter,
  33.             dot3StatsFCSErrors                  Counter,
  34.             dot3StatsSingleCollisionFrames      Counter,
  35.             dot3StatsMultipleCollisionFrames    Counter,
  36.             dot3StatsSQETestErrors              Counter,
  37.             dot3StatsDeferredTransmissions      Counter,
  38.             dot3StatsLateCollisions             Counter,
  39.             dot3StatsExcessiveCollisions        Counter,
  40.             dot3StatsInternalMacTransmitErrors  Counter,
  41.             dot3StatsCarrierSenseErrors         Counter,
  42.             dot3StatsFrameTooLongs              Counter,
  43.             dot3StatsInternalMacReceiveErrors   Counter,
  44.             dot3StatsEtherChipSet               OBJECT IDENTIFIER
  45.        }
  46.        dot3StatsIndex   OBJECT-TYPE
  47.             SYNTAX      INTEGER
  48.             ACCESS      read-only
  49.             STATUS      mandatory
  50.             DESCRIPTION
  51.               "An index value that uniquely identifies an
  52.               interface to an ethernet-like medium.  The
  53.               interface identified by a particular value of
  54.               this index is the same interface as identified
  55.               by the same value of ifIndex."
  56.             ::= { dot3StatsEntry 1 }
  57.        dot3StatsAlignmentErrors   OBJECT-TYPE
  58.             SYNTAX     Counter
  59.             ACCESS     read-only
  60.             STATUS     mandatory
  61.             DESCRIPTION
  62.              "A count of frames received on a particular
  63.              interface that are not an integral number of
  64.              octets in length and do not pass the FCS check.
  65.              The count represented by an instance of this
  66.              object is incremented when the alignmentError
  67.              status is returned by the MAC service to the
  68.              LLC (or other MAC user). Received frames for
  69.              which multiple error conditions obtain are,
  70.              according to the conventions of IEEE 802.3
  71.              Layer Management, counted exclusively according
  72.              to the error status presented to the LLC."
  73.             REFERENCE
  74.             "IEEE 802.3 Layer Management"
  75.             ::= { dot3StatsEntry 2 }
  76.        dot3StatsFCSErrors   OBJECT-TYPE
  77.             SYNTAX      Counter
  78.             ACCESS      read-only
  79.             STATUS      mandatory
  80.             DESCRIPTION
  81.             "A count of frames received on a particular
  82.             interface that are an integral number of octets
  83.             in length but do not pass the FCS check.
  84.             The count represented by an instance of this
  85.             object is incremented when the frameCheckError
  86.             status is returned by the MAC service to the
  87.             LLC (or other MAC user). Received frames for
  88.             which multiple error conditions obtain are,
  89.             according to the conventions of IEEE 802.3
  90.             Layer Management, counted exclusively according
  91.             to the error status presented to the LLC."
  92.             REFERENCE
  93.             "IEEE 802.3 Layer Management"
  94.             ::= { dot3StatsEntry 3 }
  95.        dot3StatsSingleCollisionFrames   OBJECT-TYPE
  96.             SYNTAX      Counter
  97.             ACCESS      read-only
  98.             STATUS      mandatory
  99.             DESCRIPTION
  100.             "A count of successfully transmitted frames on
  101.             a particular interface for which transmission
  102.             is inhibited by exactly one collision.
  103.             A frame that is counted by an instance of this
  104.             object is also counted by the corresponding
  105.             instance of either the ifOutUcastPkts,
  106.             ifOutMulticastPkts, or ifOutBroadcastPkts,
  107.             and is not counted by the corresponding
  108.             instance of the dot3StatsMultipleCollisionFrames
  109.             object."
  110.             REFERENCE
  111.             "IEEE 802.3 Layer Management"
  112.             ::= { dot3StatsEntry 4 }
  113.        dot3StatsMultipleCollisionFrames   OBJECT-TYPE
  114.             SYNTAX      Counter
  115.             ACCESS      read-only
  116.             STATUS      mandatory
  117.             DESCRIPTION
  118.             "A count of successfully transmitted frames on
  119.             a particular interface for which transmission
  120.              is inhibited by more than one collision.
  121.             A frame that is counted by an instance of this
  122.             object is also counted by the corresponding
  123.             instance of either the ifOutUcastPkts,
  124.             ifOutMulticastPkts, or ifOutBroadcastPkts,
  125.             and is not counted by the corresponding
  126.             instance of the dot3StatsSingleCollisionFrames
  127.             object."
  128.             REFERENCE
  129.             "IEEE 802.3 Layer Management"
  130.             ::= { dot3StatsEntry 5 }
  131.        dot3StatsSQETestErrors   OBJECT-TYPE
  132.             SYNTAX     Counter
  133.             ACCESS     read-only
  134.             STATUS     mandatory
  135.             DESCRIPTION
  136.             "A count of times that the SQE TEST ERROR
  137.             message is generated by the PLS sublayer for a
  138.             particular interface. The SQE TEST ERROR
  139.             message is defined in section 7.2.2.2.4 of
  140.             ANSI/IEEE 802.3-1985 and its generation is
  141.             described in section 7.2.4.6 of the same
  142.             document."
  143.             REFERENCE
  144.             "ANSI/IEEE Std 802.3-1985 Carrier Sense
  145.             Multiple Access with Collision Detection Access
  146.             Method and Physical Layer Specifications"
  147.             ::= { dot3StatsEntry 6 }
  148.        dot3StatsDeferredTransmissions   OBJECT-TYPE
  149.             SYNTAX      Counter
  150.             ACCESS      read-only
  151.             STATUS      mandatory
  152.             DESCRIPTION
  153.             "A count of frames for which the first
  154.             transmission attempt on a particular interface
  155.             is delayed because the medium is busy.
  156.             The count represented by an instance of this
  157.             object does not include frames involved in
  158.             collisions."
  159.             REFERENCE
  160.             "IEEE 802.3 Layer Management"
  161.             ::= { dot3StatsEntry 7 }
  162.        dot3StatsLateCollisions   OBJECT-TYPE
  163.             SYNTAX      Counter
  164.             ACCESS      read-only
  165.             STATUS      mandatory
  166.             DESCRIPTION
  167.             "The number of times that a collision is
  168.             detected on a particular interface later than
  169.             512 bit-times into the transmission of a
  170.             packet.
  171.             Five hundred and twelve bit-times corresponds
  172.             to 51.2 microseconds on a 10 Mbit/s system. A
  173.             (late) collision included in a count
  174.             represented by an instance of this object is
  175.             also considered as a (generic) collision for
  176.             purposes of other collision-related
  177.             statistics."
  178.             REFERENCE
  179.             "IEEE 802.3 Layer Management"
  180.             ::= { dot3StatsEntry 8 }
  181.        dot3StatsExcessiveCollisions   OBJECT-TYPE
  182.             SYNTAX    Counter
  183.             ACCESS    read-only
  184.             STATUS    mandatory
  185.             DESCRIPTION
  186.             "A count of frames for which transmission on a
  187.             particular interface fails due to excessive
  188.             collisions."
  189.             REFERENCE
  190.             "IEEE 802.3 Layer Management"
  191.             ::= { dot3StatsEntry 9 }
  192.        dot3StatsInternalMacTransmitErrors   OBJECT-TYPE
  193.             SYNTAX    Counter
  194.             ACCESS    read-only
  195.             STATUS    mandatory
  196.             DESCRIPTION
  197.             "A count of frames for which transmission on a
  198.             particular interface fails due to an internal
  199.             MAC sublayer transmit error. A frame is only
  200.             counted by an instance of this object if it is
  201.             not counted by the corresponding instance of
  202.             either the dot3StatsLateCollisions object, the
  203.             dot3StatsExcessiveCollisions object, or the
  204.             dot3StatsCarrierSenseErrors object.
  205.             The precise meaning of the count represented by
  206.             an instance of this object is implementation-
  207.             specific.  In particular, an instance of this
  208.             object may represent a count of transmission
  209.             errors on a particular interface that are not
  210.             otherwise counted."
  211.             REFERENCE
  212.             "IEEE 802.3 Layer Management"
  213.             ::= { dot3StatsEntry 10 }
  214.        dot3StatsCarrierSenseErrors   OBJECT-TYPE
  215.             SYNTAX    Counter
  216.             ACCESS    read-only
  217.             STATUS    mandatory
  218.             DESCRIPTION
  219.             "The number of times that the carrier sense
  220.             condition was lost or never asserted when
  221.             attempting to transmit a frame on a particular
  222.             interface.
  223.             The count represented by an instance of this
  224.             object is incremented at most once per
  225.             transmission attempt, even if the carrier sense
  226.             condition fluctuates during a transmission
  227.             attempt."
  228.             REFERENCE
  229.             "IEEE 802.3 Layer Management"
  230.             ::= { dot3StatsEntry 11 }
  231.        -- { dot3StatsEntry 12 } is not assigned
  232.        dot3StatsFrameTooLongs   OBJECT-TYPE
  233.             SYNTAX    Counter
  234.             ACCESS    read-only
  235.             STATUS    mandatory
  236.             DESCRIPTION
  237.             "A count of frames received on a particular
  238.             interface that exceed the maximum permitted
  239.             frame size.
  240.             The count represented by an instance of this
  241.             object is incremented when the frameTooLong
  242.             status is returned by the MAC service to the
  243.             LLC (or other MAC user). Received frames for
  244.             which multiple error conditions obtain are,
  245.             according to the conventions of IEEE 802.3
  246.             Layer Management, counted exclusively according
  247.             to the error status presented to the LLC."
  248.             REFERENCE
  249.             "IEEE 802.3 Layer Management"
  250.             ::= { dot3StatsEntry 13 }
  251.        -- { dot3StatsEntry 14 } is not assigned
  252.        -- { dot3StatsEntry 15 } is not assigned
  253.        dot3StatsInternalMacReceiveErrors   OBJECT-TYPE
  254.             SYNTAX    Counter
  255.             ACCESS    read-only
  256.             STATUS    mandatory
  257.             DESCRIPTION
  258.             "A count of frames for which reception on a
  259.             particular interface fails due to an internal
  260.             MAC sublayer receive error. A frame is only
  261.             counted by an instance of this object if it is
  262.             not counted by the corresponding instance of
  263.             either the dot3StatsFrameTooLongs object, the
  264.             dot3StatsAlignmentErrors object, or the
  265.             dot3StatsFCSErrors object.
  266.             The precise meaning of the count represented by
  267.             an instance of this object is implementation-
  268.             specific.  In particular, an instance of this
  269.             object may represent a count of receive errors
  270.             on a particular interface that are not
  271.             otherwise counted."
  272.             REFERENCE
  273.             "IEEE 802.3 Layer Management"
  274.             ::= { dot3StatsEntry 16 }
  275.        dot3StatsEtherChipSet   OBJECT-TYPE
  276.             SYNTAX        OBJECT IDENTIFIER
  277.             ACCESS        read-only
  278.             STATUS        mandatory
  279.             DESCRIPTION
  280.             "This object contains an OBJECT IDENTIFIER
  281.             which identifies the chipset used to
  282.             realize the interface. Ethernet-like
  283.             interfaces are typically built out of
  284.             several different chips. The MIB implementor
  285.             is presented with a decision of which chip
  286.             to identify via this object. The implementor
  287.             should identify the chip which is usually
  288.             called the Medium Access Control chip.
  289.             If no such chip is easily identifiable,
  290.             the implementor should identify the chip
  291.             which actually gathers the transmit
  292.             and receive statistics and error
  293.             indications. This would allow a
  294.             manager station to correlate the
  295.             statistics and the chip generating
  296.             them, giving it the ability to take
  297.             into account any known anomalies
  298.             in the chip."
  299.             ::= { dot3StatsEntry 17 }
  300.        -- the Ethernet-like Collision Statistics group
  301.        -- Implementation of this group is optional; it is appropriate
  302.        -- for all systems which have the necessary metering
  303.        dot3CollTable  OBJECT-TYPE
  304.             SYNTAX    SEQUENCE OF Dot3CollEntry
  305.             ACCESS    not-accessible
  306.             STATUS    mandatory
  307.             DESCRIPTION
  308.             "A collection of collision histograms for a
  309.             particular set of interfaces."
  310.             ::= { dot3 5 }
  311.        dot3CollEntry  OBJECT-TYPE
  312.             SYNTAX    Dot3CollEntry
  313.             ACCESS    not-accessible
  314.             STATUS    mandatory
  315.             DESCRIPTION
  316.             "A cell in the histogram of per-frame
  317.             collisions for a particular interface.  An
  318.             instance of this object represents the
  319.             frequency of individual MAC frames for which
  320.             the transmission (successful or otherwise) on a
  321.             particular interface is accompanied by a
  322.             particular number of media collisions."
  323.             INDEX     { ifIndex, dot3CollCount }
  324.             ::= { dot3CollTable 1 }
  325.        Dot3CollEntry ::= SEQUENCE {
  326.             dot3CollCount        INTEGER,
  327.             dot3CollFrequencies  Counter
  328.        }
  329.        -- { dot3CollEntry 1 } is no longer in use
  330.        dot3CollCount  OBJECT-TYPE
  331.             SYNTAX    INTEGER (1..16)
  332.             ACCESS    not-accessible
  333.             STATUS    mandatory
  334.             DESCRIPTION
  335.             "The number of per-frame media collisions for
  336.             which a particular collision histogram cell
  337.             represents the frequency on a particular
  338.             interface."
  339.             ::= { dot3CollEntry 2 }
  340.        dot3CollFrequencies   OBJECT-TYPE
  341.             SYNTAX    Counter
  342.             ACCESS    read-only
  343.             STATUS    mandatory
  344.             DESCRIPTION
  345.             "A count of individual MAC frames for which the
  346.             transmission (successful or otherwise) on a
  347.             particular interface occurs after the
  348.             frame has experienced exactly the number
  349.             of collisions in the associated
  350.             dot3CollCount object.
  351.             For example, a frame which is transmitted
  352.             on interface 77 after experiencing
  353.             exactly 4 collisions would be indicated
  354.             by incrementing only dot3CollFrequencies.77.4.
  355.             No other instance of dot3CollFrequencies would
  356.             be incremented in this example."
  357.             ::= { dot3CollEntry 3 }
  358.        --  802.3 Tests
  359.        dot3Tests   OBJECT IDENTIFIER ::= { dot3 6 }
  360.        dot3Errors  OBJECT IDENTIFIER ::= { dot3 7 }
  361.        --  TDR Test
  362.        -- The Time-Domain Reflectometry (TDR) test is specific
  363.        -- to ethernet-like interfaces with the exception of
  364.        -- 10BaseT and 10BaseF. The TDR value may be useful
  365.        -- in determining the approximate distance to a cable fault.
  366.        -- It is advisable to repeat this test to check for a
  367.        -- consistent resulting TDR value, to verify that there
  368.        -- is a fault.
  369.        dot3TestTdr OBJECT IDENTIFIER ::= { dot3Tests 1 }
  370.        -- A TDR test returns as its result the time interval,
  371.        -- measured in 10 MHz ticks or 100 nsec units, between
  372.        -- the start of TDR test transmission and the subsequent
  373.        -- detection of a collision or deassertion of carrier.  On
  374.        -- successful completion of a TDR test, the result is
  375.        -- stored as the value of the appropriate instance of the
  376.        -- MIB object dot3TestTdrValue, and the OBJECT IDENTIFIER
  377.        -- of that instanceis stored in the corresponding instance
  378.        -- of ifExtnsTestCode (thereby indicating where the
  379.        -- result has been stored).
  380.        -- Loopback Test
  381.        -- Another test is the full-duplex loopback test.
  382.        -- This test configures the MAC chip and executes
  383.        -- an internal loopback test of memory, data paths,
  384.        -- and the MAC chip logic.  This loopback test can
  385.        -- only be executed if the interface is offline.
  386.        -- Once the test has completed, the MAC chip should
  387.        -- be reinitialized for network operation, but it
  388.        -- should remain offline.
  389.        dot3TestLoopBack OBJECT IDENTIFIER ::= { dot3Tests 2 }
  390.        -- If an error occurs during a test, the object
  391.        -- ifTestResult (defined in RFC1573) will be set
  392.        -- to failed(7).  The following two OBJECT
  393.        -- IDENTIFIERs may be used to provided more
  394.        -- information as values for ifTestCode.
  395.                 -- couldn't initialize MAC chip for test
  396.        dot3ErrorInitError     OBJECT IDENTIFIER ::= { dot3Errors 1 }
  397.                 -- expected data not received (or not
  398.                 -- received correctly) in loopback test
  399.        dot3ErrorLoopbackError OBJECT IDENTIFIER ::= { dot3Errors 2 }
  400.        -- RFC1573 does away with the interface chipset object.
  401.        -- The following OBJECT IDENTIFIER definitions are
  402.        -- retained for purposes of backwards compatibility
  403.        -- with pre-RFC1573 systems.
  404.        --  802.3 Hardware Chipsets
  405.        -- The object ifExtnsChipSet is provided in RFC1229 to
  406.        -- identify the MAC hardware used to communcate on an
  407.        -- interface.  The following hardware chipsets are
  408.        -- provided for 802.3:
  409.        dot3ChipSets          OBJECT IDENTIFIER ::= { dot3 8 }
  410.        dot3ChipSetAMD        OBJECT IDENTIFIER ::= { dot3ChipSets 1 }
  411.        dot3ChipSetAMD7990    OBJECT IDENTIFIER ::= { dot3ChipSetAMD 1 }
  412.        dot3ChipSetAMD79900   OBJECT IDENTIFIER ::= { dot3ChipSetAMD 2 }
  413.        dot3ChipSetAMD79C940  OBJECT IDENTIFIER ::= { dot3ChipSetAMD 3 }
  414.        dot3ChipSetIntel      OBJECT IDENTIFIER ::= { dot3ChipSets 2 }
  415.        dot3ChipSetIntel82586 OBJECT IDENTIFIER ::= { dot3ChipSetIntel 1 }
  416.        dot3ChipSetIntel82596 OBJECT IDENTIFIER ::= { dot3ChipSetIntel 2 }
  417.        dot3ChipSetSeeq       OBJECT IDENTIFIER ::= { dot3ChipSets 3 }
  418.        dot3ChipSetSeeq8003   OBJECT IDENTIFIER ::= { dot3ChipSetSeeq 1 }
  419.        dot3ChipSetNational      OBJECT IDENTIFIER ::= { dot3ChipSets 4 }
  420.        dot3ChipSetNational8390  OBJECT IDENTIFIER ::=
  421.                                   { dot3ChipSetNational 1 }
  422.        dot3ChipSetNationalSonic OBJECT IDENTIFIER ::=
  423.                                   { dot3ChipSetNational 2 }
  424.        dot3ChipSetFujitsu       OBJECT IDENTIFIER ::= { dot3ChipSets 5 }
  425.        dot3ChipSetFujitsu86950  OBJECT IDENTIFIER ::=
  426.                                   { dot3ChipSetFujitsu 1 }
  427.        dot3ChipSetDigital       OBJECT IDENTIFIER ::= { dot3ChipSets 6 }
  428.        dot3ChipSetDigitalDC21040  OBJECT IDENTIFIER ::=
  429.                                   { dot3ChipSetDigital 1 }
  430.        -- For those chipsets not represented above, OBJECT IDENTIFIER
  431.        -- assignment is required in other documentation, e.g., assignment
  432.        -- within that part of the registration tree delegated to
  433.        -- individual enterprises (see RFC1155).
  434.    END