⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc1231-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
RFC1231-MIB DEFINITIONS ::= BEGIN--                 IEEE 802.5 Token Ring MIBIMPORTS-- FIX: added additional import (Counter)        experimental, Counter                FROM RFC1155-SMI        OBJECT-TYPE                FROM RFC-1212;--  This MIB Module uses the extended OBJECT-TYPE macro as--  defined in [9].dot5    OBJECT IDENTIFIER ::= { experimental 4 }-- All representations of MAC addresses in this MIB Module-- use, as a textual convention (i.e. this convention does-- not affect their encoding), the data type:MacAddress ::= OCTET STRING (SIZE (6))    -- a 6 octet                                          -- address in the                                          -- "canonical" order-- defined by IEEE 802.1a, i.e., as if it were transmitted-- least significant bit first, even though 802.5 (in-- contrast to other 802.x protocols) requires MAC addresses-- to be transmitted most significant bit first.---- 16-bit addresses, if needed, are represented by setting-- their upper 4 octets to all 0's, i.e., AAFF would be-- represented as 00000000AAFF.-- The Interface Table-- This table contains state and parameter information which-- is specific to 802.5 interfaces.  It is mandatory that-- systems having 802.5 interfaces implement this table in-- addition to the generic interfaces table [4,6] and its-- generic extensions [11].dot5Table  OBJECT-TYPE           SYNTAX  SEQUENCE OF Dot5Entry           ACCESS  not-accessible           STATUS  mandatory           DESCRIPTION                   "This table contains Token Ring interface                   parameters and state variables, one entry                   per 802.5 interface."           ::= { dot5 1 }dot5Entry  OBJECT-TYPE           SYNTAX  Dot5Entry           ACCESS  not-accessible           STATUS  mandatory           DESCRIPTION                   "A list of Token Ring status and parameter                    values for an 802.5 interface."           INDEX   { dot5IfIndex }           ::= { dot5Table 1 }Dot5Entry    ::= SEQUENCE {            dot5IfIndex                INTEGER,            dot5Commands                INTEGER,            dot5RingStatus                INTEGER,            dot5RingState                INTEGER,            dot5RingOpenStatus                INTEGER,            dot5RingSpeed                INTEGER,            dot5UpStream                MacAddress,            dot5ActMonParticipate                INTEGER,            dot5Functional                MacAddress        }dot5IfIndex  OBJECT-TYPE           SYNTAX  INTEGER           ACCESS  read-only           STATUS  mandatory           DESCRIPTION                   "The value of this object identifies the                    802.5 interface for which this entry                    contains management information.  The                    value of this object for a particular                    interface has the same value as the                    ifIndex object, defined in [4,6],                    for the same interface."           ::= { dot5Entry 1 }dot5Commands  OBJECT-TYPE           SYNTAX  INTEGER {                         no-op(1),                         open(2),                         reset(3),                         close(4)                   }           ACCESS  read-write           STATUS  mandatory           DESCRIPTION                   "When this object is set to the value of                    open(2), the station should go into the                    open state.  The progress and success of                    the open is given by the values of the                    objects dot5RingState and                    dot5RingOpenStatus.                        When this object is set to the value                    of reset(3), then the station should do                    a reset.  On a reset, all MIB counters                    should retain their values, if possible.                    Other side affects are dependent on the                    hardware chip set.                        When this object is set to the value                    of close(4), the station should go into                    the stopped state by removing itself                    from the ring.                        Setting this object to a value of                    no-op(1) has no effect.                        When read, this object always has a                    value of no-op(1)."           ::= { dot5Entry 2 }dot5RingStatus OBJECT-TYPE           SYNTAX  INTEGER           ACCESS  read-only           STATUS  mandatory           DESCRIPTION                   "The current interface status which can                   be used to diagnose fluctuating problems                   that can occur on token rings, after a                   station has successfully been added to                   the ring.                      Before an open is completed, this                   object has the value for the 'no status'                   condition.  The dot5RingState and                   dot5RingOpenStatus objects provide for                   debugging problems when the station                   can not even enter the ring.                       The object's value is a sum of                   values, one for each currently applicable                   condition.  The following values are                   defined for various conditions:                           0 = No Problems detected                          32 = Ring Recovery                          64 = Single Station                         256 = Remove Received                         512 = reserved                        1024 = Auto-Removal Error                        2048 = Lobe Wire Fault                        4096 = Transmit Beacon                        8192 = Soft Error                       16384 = Hard Error                       32768 = Signal Loss                      131072 = no status, open not completed."           ::= { dot5Entry 3 }dot5RingState  OBJECT-TYPE           SYNTAX  INTEGER {                         opened(1),                         closed(2),                         opening(3),                         closing(4),                         openFailure(5),                         ringFailure(6)                   }           ACCESS  read-only           STATUS  mandatory           DESCRIPTION                   "The current interface state with respect                   to entering or leaving the ring."           ::= { dot5Entry 4 }dot5RingOpenStatus  OBJECT-TYPE           SYNTAX  INTEGER {                         noOpen(1),     -- no open attempted                         badParam(2),                         lobeFailed(3),                         signalLoss(4),                         insertionTimeout(5),                         ringFailed(6),                         beaconing(7),                         duplicateMAC(8),                         requestFailed(9),                         removeReceived(10),                         open(11)      -- last open successful                   }           ACCESS  read-only           STATUS  mandatory           DESCRIPTION                   "This object indicates the success, or the                   reason for failure, of the station's most                   recent attempt to enter the ring."           ::= { dot5Entry 5 }dot5RingSpeed  OBJECT-TYPE           SYNTAX  INTEGER {                         unknown(1),                         oneMegabit(2),                         fourMegabit(3),                         sixteenMegabit(4)                   }           ACCESS  read-write           STATUS  mandatory           DESCRIPTION                   "The ring's bandwidth."           ::= { dot5Entry 6 }dot5UpStream  OBJECT-TYPE           SYNTAX  MacAddress           ACCESS  read-only           STATUS  mandatory           DESCRIPTION                   "The MAC-address of the up stream neighbor                    station in the ring."           ::= { dot5Entry 7 }dot5ActMonParticipate OBJECT-TYPE           SYNTAX  INTEGER {                         true(1),                         false(2)                   }           ACCESS  read-write           STATUS  mandatory           DESCRIPTION                   "If this object has a value of true(1) then                   this interface will participate in the                   active monitor selection process.  If the                   value is false(2) then it will not.                   Setting this object might not have an                   effect until the next time the interface                   is opened."           ::= { dot5Entry 8 }dot5Functional OBJECT-TYPE           SYNTAX  MacAddress           ACCESS  read-write           STATUS  mandatory           DESCRIPTION                   "The bit mask of all Token Ring functional                   addresses for which this interface will                   accept frames."           ::= { dot5Entry 9 }--   The Statistics Table-- This table contains statistics and error counter which are-- specific to 802.5 interfaces.  It is mandatory that systems-- having 802.5 interfaces implement this table.dot5StatsTable  OBJECT-TYPE           SYNTAX  SEQUENCE OF Dot5StatsEntry           ACCESS  not-accessible           STATUS  mandatory           DESCRIPTION                   "A table containing Token Ring statistics,                   one entry per 802.5 interface.                       All the statistics are defined using                   the syntax Counter as 32-bit wrap around                   counters.  Thus, if an interface's                   hardware maintains these statistics in                   16-bit counters, then the agent must read                   the hardware's counters frequently enough                   to prevent loss of significance, in order                   to maintain 32-bit counters in software."           ::= { dot5 2 }dot5StatsEntry  OBJECT-TYPE           SYNTAX  Dot5StatsEntry           ACCESS  not-accessible           STATUS  mandatory           DESCRIPTION                   "An entry contains the 802.5 statistics

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -