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

📄 rohc-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
ROHC-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE,    Unsigned32, Counter32, mib-2        FROM SNMPv2-SMI                                -- [RFC2578]    TEXTUAL-CONVENTION, TruthValue,    TimeInterval, DateAndTime        FROM SNMPv2-TC                                 -- [RFC2579]    MODULE-COMPLIANCE, OBJECT-GROUP        FROM SNMPv2-CONF                               -- [RFC2580]    SnmpAdminString        FROM SNMP-FRAMEWORK-MIB                        -- [RFC3411]    ifIndex        FROM IF-MIB;                                   -- [RFC2863]rohcMIB MODULE-IDENTITY    LAST-UPDATED "200406030000Z"  -- June 3, 2004    ORGANIZATION "IETF Robust Header Compression Working Group"    CONTACT-INFO       "WG charter:          http://www.ietf.org/html.charters/rohc-charter.html        Mailing Lists:          General Discussion: rohc@ietf.org          To Subscribe: rohc-request@ietf.org          In Body: subscribe your_email_address        Editor:          Juergen Quittek          NEC Europe Ltd.          Network Laboratories          Kurfuersten-Anlage 36          69221 Heidelberg          Germany          Tel: +49 6221 90511-15          EMail: quittek@netlab.nec.de"    DESCRIPTION        "This MIB module defines a set of basic objects for         monitoring and configuring robust header compression.         The module covers information about running instances         of ROHC (compressors or decompressors) at IP interfaces.         Information about compressor contexts and decompressor         contexts has different structure for different profiles.         Therefore it is not provided by this MIB module, but by         individual modules for different profiles.         Copyright (C) The Internet Society (2004). The         initial version of this MIB module was published         in RFC 3816. For full legal notices see the RFC         itself or see:         http://www.ietf.org/copyrights/ianamib.html"    REVISION    "200406030000Z"  -- June 3, 2004    DESCRIPTION "Initial version, published as RFC 3816."    ::= { mib-2 112 }RohcChannelIdentifier ::= TEXTUAL-CONVENTION    DISPLAY-HINT "d"    STATUS       current    DESCRIPTION        "A number identifying a channel.         The value of 0 must not be used as identifier         of an existing channel."    SYNTAX       Unsigned32 (1..4294967295)RohcChannelIdentifierOrZero ::= TEXTUAL-CONVENTION    DISPLAY-HINT "d"    STATUS       current    DESCRIPTION        "A number identifying a channel.         The value of 0 is indicates that         no channel is identified."    SYNTAX       Unsigned32 (0..4294967295)RohcCompressionRatio ::= TEXTUAL-CONVENTION    DISPLAY-HINT "d"    STATUS       current    DESCRIPTION        "A number indicating a compression ratio over         a set of bytes.  The value is defined as         1000 * bytes(compressed) / bytes(original)         rounded to the next integer value.         Note that compressed sets of bytes can be larger         than the corresponding uncompressed ones.         Therefore, the number can be greater than 1000."    SYNTAX       Unsigned32---- The groups defined within this MIB module:--rohcObjects       OBJECT IDENTIFIER ::= { rohcMIB 1 }rohcConformance   OBJECT IDENTIFIER ::= { rohcMIB 2 }---- The ROHC Instance group lists properties of ROHC-- instances in the rohcInstanceTable, about the channels used-- by the instances in the rohcChanneltable and about the profiles-- available at the instances in the rohcProfileTable.--rohcInstanceObjects       OBJECT IDENTIFIER ::= { rohcObjects 1 }---- Channel Table---- Listing all channels used for ROHC data channel-- and/or as feedback channel.--rohcChannelTable OBJECT-TYPE    SYNTAX      SEQUENCE OF RohcChannelEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "This table lists and describes all ROHC channels         per interface."    ::= { rohcInstanceObjects 1 }rohcChannelEntry OBJECT-TYPE    SYNTAX      RohcChannelEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An entry describing a particular script.  Every script that         is stored in non-volatile memory is required to appear in         this script table.         Note, that the rohcChannelID identifies the channel         uniquely.  The ifIndex is part of the index of this table         just in order to allow addressing channels per interface."    INDEX { ifIndex, rohcChannelID }    ::= { rohcChannelTable 1 }RohcChannelEntry ::= SEQUENCE {    rohcChannelID               RohcChannelIdentifier,    rohcChannelType             INTEGER,    rohcChannelFeedbackFor      RohcChannelIdentifierOrZero,    rohcChannelDescr            SnmpAdminString,    rohcChannelStatus           INTEGER}rohcChannelID OBJECT-TYPE    SYNTAX      RohcChannelIdentifier    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The locally arbitrary, but unique identifier associated         with this channel.  The value is REQUIRED to be unique         per ROHC MIB implementation independent of the associated         interface.         The value is REQUIRED to remain constant at least from one         re-initialization of the entity's network management system         to the next re-initialization.  It is RECOMMENDED that the         value persist across such re-initializations."    REFERENCE        "RFC 3095, Section 5.1.1"    ::= { rohcChannelEntry 2 }rohcChannelType OBJECT-TYPE    SYNTAX      INTEGER {                    notInUse(1),                    rohc(2),                    dedicatedFeedback(3)                }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "Type of usage of the channel.  A channel might be currently         not in use for ROHC or feedback, it might be in use as         a ROHC channel carrying packets and optional piggy-backed         feedback, or it might be used as a dedicated feedback         channel exclusively carrying feedback."    ::= { rohcChannelEntry 3 }rohcChannelFeedbackFor OBJECT-TYPE    SYNTAX      RohcChannelIdentifierOrZero    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The index of another channel of this interface for which         the channel serves as feedback channel.         If no feedback information is transferred on this channel,         then the value of this ID is 0.  If the channel type is set         to notInUse(1), then the value of this object must be 0.         If the channel type is rohc(2) and the value of this object         is a valid channel ID, then feedback information is         piggy-backed on the ROHC channel.  If the channel type is         dedicatedFeedback(3), then feedback is transferred on this         channel and the value of this object MUST be different from         0 and MUST identify an existing ROHC channel."    REFERENCE        "RFC 3095, Section 5.1.1"    ::= { rohcChannelEntry 4 }rohcChannelDescr OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "A textual description of the channel."    ::= { rohcChannelEntry 5 }rohcChannelStatus OBJECT-TYPE    SYNTAX      INTEGER {                    enabled(1),                    disabled(2)                }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "Status of the channel."    ::= { rohcChannelEntry 6 }---- Instances of ROHC---- This table lists properties of running instances of ROHC-- compressors and decompressors at the managed node.--rohcInstanceTable OBJECT-TYPE    SYNTAX      SEQUENCE OF RohcInstanceEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "This table lists properties of running instances         of robust header compressors and decompressors         at IP interfaces.  It is indexed by interface number,         the type of instance (compressor or decompressor),         and the ID of the channel used by the instance as         ROHC channel.         Note that the rohcChannelID uniquely identifies an         instance.  The ifIndex and rohcInstanceType are part         of the index, because it simplifies accessing instances         per interface and for addressing either compressors or         decompressors only."    ::= { rohcInstanceObjects 2 }rohcInstanceEntry OBJECT-TYPE    SYNTAX      RohcInstanceEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An entry describing a particular instance         of a robust header compressor or decompressor."    INDEX { ifIndex, rohcInstanceType, rohcChannelID }    ::= { rohcInstanceTable 1 }RohcInstanceEntry ::= SEQUENCE {    rohcInstanceType               INTEGER,    rohcInstanceFBChannelID        RohcChannelIdentifierOrZero,    rohcInstanceVendor             OBJECT IDENTIFIER,    rohcInstanceVersion            SnmpAdminString,    rohcInstanceDescr              SnmpAdminString,    rohcInstanceClockRes           Unsigned32,    rohcInstanceMaxCID             Unsigned32,    rohcInstanceLargeCIDs          TruthValue,    rohcInstanceMRRU               Unsigned32,    rohcInstanceContextStorageTime TimeInterval,    rohcInstanceStatus             INTEGER,    rohcInstanceContextsTotal      Counter32,    rohcInstanceContextsCurrent    Unsigned32,    rohcInstancePackets            Counter32,    rohcInstanceIRs                Counter32,    rohcInstanceIRDYNs             Counter32,    rohcInstanceFeedbacks          Counter32,    rohcInstanceCompressionRatio   RohcCompressionRatio}rohcInstanceType OBJECT-TYPE    SYNTAX      INTEGER {                    compressor(1),                    decompressor(2)                }    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Type of the instance of ROHC. It is either a         compressor instance or a decompressor instance."    ::= { rohcInstanceEntry 2 }rohcInstanceFBChannelID OBJECT-TYPE    SYNTAX      RohcChannelIdentifierOrZero    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "Identifier of the channel used for feedback.         If no feedback channel is used, the value of         this object is 0 ."    REFERENCE        "RFC 3095, Section 5.1.1"    ::= { rohcInstanceEntry 4 }rohcInstanceVendor OBJECT-TYPE    SYNTAX      OBJECT IDENTIFIER    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "An object identifier that identifies the vendor who         provides the implementation of robust header description.         This object identifier SHALL point to the object identifier         directly below the enterprise object identifier         {1 3 6 1 4 1} allocated for the vendor.  The value must be         the object identifier {0 0} if the vendor is not known."    ::= { rohcInstanceEntry 5 }rohcInstanceVersion OBJECT-TYPE    SYNTAX      SnmpAdminString (SIZE (0..32))    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The version number of the implementation of robust header         compression.  The zero-length string shall be used if the         implementation does not have a version number.         It is suggested that the version number consist of one or         more decimal numbers separated by dots, where the first         number is called the major version number."    ::= { rohcInstanceEntry 6 }rohcInstanceDescr OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "A textual description of the implementation."    ::= { rohcInstanceEntry 7 }rohcInstanceClockRes OBJECT-TYPE    SYNTAX      Unsigned32    UNITS       "milliseconds"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "This object indicates the system clock resolution in         units of milliseconds.  A zero (0) value means that there         is no clock available."    ::= { rohcInstanceEntry 8 }rohcInstanceMaxCID OBJECT-TYPE    SYNTAX      Unsigned32 (1..16383)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The highest context ID number to be used by the         compressor.  Note that this parameter is not coupled to,         but in effect further constrained by,         rohcChannelLargeCIDs."    REFERENCE        "RFC 3095, Section 5.1.1"    ::= { rohcInstanceEntry 9 }rohcInstanceLargeCIDs OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "When retrieved, this boolean object returns false if         the short CID representation (0 bytes or 1 prefix byte,         covering CID 0 to 15) is used; it returns true, if the         embedded CID representation (1 or 2 embedded CID bytes         covering CID 0 to 16383) is used."    REFERENCE        "RFC 3095, Section 5.1.1"    ::= { rohcInstanceEntry 10 }

⌨️ 快捷键说明

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