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

📄 rfc1381-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
RFC1381-MIB DEFINITIONS ::= BEGINIMPORTS        Counter                FROM RFC1155-SMI        transmission                FROM RFC1213-MIB        OBJECT-TYPE                FROM RFC-1212;                --  LAPB MIBlapb    OBJECT IDENTIFIER ::= { transmission 16 }PositiveInteger ::= INTEGER (0..2147483647)IfIndexType     ::= INTEGER (1..2147483647)-- IfIndexType specifies an index object for a table-- with entries that match entries in the MIB-II ifTable.-- The value of the index for the table will match the-- ifIndex entry for same interface in the ifTable.-- The values of this object range from 1 to ifNumber-- inclusive.-- ###########################################################--                      LAPB Admn Table-- ###########################################################-- Support of the lapbAdmnTable is mandatory for all-- agents of systems that implement LAPB.lapbAdmnTable   OBJECT-TYPE        SYNTAX  SEQUENCE OF LapbAdmnEntry        ACCESS  not-accessible        STATUS  mandatory        DESCRIPTION                "This table contains objects that can be                changed to manage a LAPB interface.                Changing one of these parameters may take                effect in the operating LAPB immediately or                may wait until the interface is restarted                depending on the details of the                implementation.                Most of the objects in this read-write table                have corresponding read-only objects in the                lapbOperTable that return the current                operating value.                The operating values may be different from                these configured values if changed by XID                negotiation or if a configured parameter was                changed after the interface was started."        ::= { lapb 1 }lapbAdmnEntry   OBJECT-TYPE        SYNTAX  LapbAdmnEntry        ACCESS  not-accessible        STATUS  mandatory        DESCRIPTION                "Configured parameter values for a specific                LAPB."        INDEX { lapbAdmnIndex }        ::= { lapbAdmnTable 1 }LapbAdmnEntry ::= SEQUENCE {        lapbAdmnIndex                IfIndexType,        lapbAdmnStationType                INTEGER,        lapbAdmnControlField                INTEGER,        lapbAdmnTransmitN1FrameSize                PositiveInteger,        lapbAdmnReceiveN1FrameSize                PositiveInteger,        lapbAdmnTransmitKWindowSize                INTEGER,        lapbAdmnReceiveKWindowSize                INTEGER,        lapbAdmnN2RxmitCount        INTEGER,        lapbAdmnT1AckTimer                PositiveInteger,        lapbAdmnT2AckDelayTimer                PositiveInteger,        lapbAdmnT3DisconnectTimer                PositiveInteger,        lapbAdmnT4IdleTimer                PositiveInteger,        lapbAdmnActionInitiate                INTEGER,        lapbAdmnActionRecvDM                INTEGER        }lapbAdmnIndex   OBJECT-TYPE        SYNTAX  IfIndexType        ACCESS  read-only        STATUS  mandatory        DESCRIPTION                "The ifIndex value for the LAPB interface."        ::= { lapbAdmnEntry 1 }lapbAdmnStationType     OBJECT-TYPE        SYNTAX  INTEGER {                dte (1),                dce (2),                dxe (3)                }        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "Identifies the desired station type of this                interface."        REFERENCE "ISO 7776 section 3.1"        DEFVAL { dte }        ::= { lapbAdmnEntry 2 }lapbAdmnControlField OBJECT-TYPE        SYNTAX  INTEGER {                modulo8 (1),                modulo128 (2)                }        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "The desired size of the sequence numbers                used to number frames."        REFERENCE "ISO 8885 Table 3, Name: HDLC Option - 10"        DEFVAL { modulo8 }        ::= { lapbAdmnEntry 3 }lapbAdmnTransmitN1FrameSize OBJECT-TYPE        SYNTAX  PositiveInteger        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "The default maximum N1 frame size desired                in number of bits for a frame transmitted by                this DTE.  This excludes flags and 0 bits                inserted for transparency."        REFERENCE "ISO 8885 Table 3,                Name: Information Field length"        DEFVAL { 36000 } -- 4500 * 8; 802.5 Frame size        ::= { lapbAdmnEntry 4 }lapbAdmnReceiveN1FrameSize OBJECT-TYPE        SYNTAX  PositiveInteger        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "The default maximum N1 frame size desired                in number of bits for a frame the DCE/remote                DTE transmits to this DTE.  This excludes                flags and 0 bits inserted for transparency."        DEFVAL { 36000  } -- 4500 * 8; 802.5 Frame size        ::= { lapbAdmnEntry 5 }lapbAdmnTransmitKWindowSize OBJECT-TYPE        SYNTAX  INTEGER (1..127)        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "The default transmit window size for this                Interface.  This is the maximum number of                unacknowledged sequenced PDUs that may be                outstanding from this DTE at any one time."        REFERENCE "ISO 8885 Table 3, Name: Window size"        DEFVAL { 7 }        ::= { lapbAdmnEntry 6 }lapbAdmnReceiveKWindowSize OBJECT-TYPE        SYNTAX  INTEGER (1..127)        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "The default receive window size for this                Interface.  This is the maximum number of                unacknowledged sequenced PDUs that may be                outstanding from the DCE/remote DTE at any                one time."        REFERENCE "ISO 8885 Table 3, Name: Window size"        DEFVAL { 7 }        ::= { lapbAdmnEntry 7 }lapbAdmnN2RxmitCount    OBJECT-TYPE        SYNTAX  INTEGER (0..65535)        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "The default N2 retry counter for this                interface.  This specifies the number of                times a PDU will be resent after the T1                timer expires without an acknowledgement for                the PDU."        REFERENCE "ISO 8885 Table 3,                Name: Retransmission Attempts"        DEFVAL { 20 }        ::= { lapbAdmnEntry 8 }lapbAdmnT1AckTimer      OBJECT-TYPE        SYNTAX  PositiveInteger        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "The default T1 timer for this interface.                This specifies the maximum time in                Milliseconds to wait for acknowledgment of a                PDU."        REFERENCE "ISO 8885 Table 3, Name:                Acknowledgement timer"        DEFVAL { 3000 }        ::= { lapbAdmnEntry 9 }lapbAdmnT2AckDelayTimer         OBJECT-TYPE        SYNTAX  PositiveInteger        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "The default T2 timer for this interface.                This specifies the maximum time in                Milliseconds to wait before sending an                acknowledgment for a sequenced PDU.  A value                of zero means there will be no delay in                acknowledgement generation."        REFERENCE "ISO 8885 Table 3,                Name: Reply delay timer"        DEFVAL { 0 }        ::= { lapbAdmnEntry 10 }lapbAdmnT3DisconnectTimer OBJECT-TYPE        SYNTAX  PositiveInteger        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "The T3 timer for this interface.  This                specifies the time in Milliseconds to wait                before considering the link disconnected.  A                value of zero indicates the link will be                considered disconnected upon completion of                the frame exchange to disconnect the link."        REFERENCE "ISO 7776 section 5.7.1.3"        DEFVAL { 60000 }        ::= { lapbAdmnEntry 11 }lapbAdmnT4IdleTimer OBJECT-TYPE        SYNTAX  PositiveInteger        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "The T4 timer for this interface.  This                specifies the maximum time in Milliseconds                to allow without frames being exchanged on                the data link.  A value of 2147483647                indicates no idle timer is being kept."        REFERENCE "ISO 7776 section 5.7.1.4"        DEFVAL { 2147483647 }        ::= { lapbAdmnEntry 12 }lapbAdmnActionInitiate OBJECT-TYPE        SYNTAX  INTEGER {        sendSABM (1),                sendDISC (2),                sendDM (3),                none (4),                other (5)                }        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "This identifies the action LAPB will take                to initiate link set-up."        DEFVAL { sendSABM }        ::= { lapbAdmnEntry 13 }lapbAdmnActionRecvDM OBJECT-TYPE        SYNTAX  INTEGER {                sendSABM (1),                sendDISC (2),                other (3)                }        ACCESS  read-write        STATUS  mandatory        DESCRIPTION                "This identifies the action LAPB will take                when it receives a DM response."        DEFVAL { sendSABM }        ::= { lapbAdmnEntry 14 }-- ###########################################################--                      LAPB operating parameters.-- ###########################################################-- Support of the lapbOperTable is mandatory for all-- agents of systems that implement LAPB.lapbOperTable   OBJECT-TYPE        SYNTAX  SEQUENCE OF LapbOperEntry        ACCESS  not-accessible        STATUS  mandatory        DESCRIPTION                "This table contains configuration                information about interface parameters                currently set in the interface.  Many of                these objects have corresponding objects in        the lapbAdmnTable."        ::= { lapb 2 }lapbOperEntry   OBJECT-TYPE        SYNTAX  LapbOperEntry        ACCESS  not-accessible        STATUS  mandatory        DESCRIPTION                "Currently set parameter values for a                specific LAPB."        INDEX { lapbOperIndex }        ::= { lapbOperTable 1 }LapbOperEntry ::= SEQUENCE {        lapbOperIndex                IfIndexType,        lapbOperStationType                INTEGER,        lapbOperControlField                INTEGER,        lapbOperTransmitN1FrameSize                PositiveInteger,        lapbOperReceiveN1FrameSize                PositiveInteger,        lapbOperTransmitKWindowSize                INTEGER,        lapbOperReceiveKWindowSize                INTEGER,        lapbOperN2RxmitCount

⌨️ 快捷键说明

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