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

📄 rs-232-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 2 页
字号:
rs232SyncPortInterruptedFrames OBJECT-TYPE    SYNTAX Counter32    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "Total number of frames that failed to be received        or transmitted on the port due to loss of modem        signals since system re-initialization and while the        port state was 'up' or 'test'."    ::= { rs232SyncPortEntry 6 }rs232SyncPortAbortedFrames OBJECT-TYPE    SYNTAX Counter32    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "Number of frames aborted on the port due to        receiving an abort sequence since system        re-initialization and while the port state was 'up'        or 'test'."    ::= { rs232SyncPortEntry 7 }rs232SyncPortRole OBJECT-TYPE    SYNTAX INTEGER  { dte(1), dce(2) }    MAX-ACCESS read-write    STATUS current    DESCRIPTION        "The role the device is playing that is using this port.           dte    means the device is performing the role of                  data terminal equipment           dce    means the device is performing the role of                  data circuit-terminating equipment."    DEFVAL { dce }    ::= { rs232SyncPortEntry 8 }rs232SyncPortEncoding OBJECT-TYPE    SYNTAX INTEGER  { nrz(1), nrzi(2) }    MAX-ACCESS read-write    STATUS current    DESCRIPTION        "The bit stream encoding technique that is in effect         for this port.           nrz    for Non-Return to Zero encoding           nrzi   for Non-Return to Zero Inverted encoding."    DEFVAL { nrz }    ::= { rs232SyncPortEntry 9 }rs232SyncPortRTSControl OBJECT-TYPE    SYNTAX INTEGER  { controlled(1), constant(2) }    MAX-ACCESS read-write    STATUS current    DESCRIPTION        "The method used to control the Request To Send (RTS)         signal.           controlled  when the DTE is asserts RTS each time                       data needs to be transmitted and drops                       RTS at some point after data                       transmission begins.                       If rs232SyncPortRole is 'dte', the                       RTS is an output signal. The device                       will issue a RTS and wait for a CTS                       from the DCE before starting to                       transmit.                       If rs232SyncPortRole is 'dce', the                       RTS is an input signal. The device                       will issue a CTS only after having                       received RTS and waiting the                       rs232SyncPortRTSCTSDelay interval.           constant    when the DTE constantly asserts RTS."    DEFVAL { constant }    ::= { rs232SyncPortEntry 10 }rs232SyncPortRTSCTSDelay OBJECT-TYPE    SYNTAX Integer32    MAX-ACCESS read-write    STATUS current    DESCRIPTION        "The interval (in milliseconds) that the DCE must wait         after it sees RTS asserted before asserting CTS.  This         object exists in support of older synchronous devices         that cannot recognize CTS within a certain interval         after it asserts RTS."    DEFVAL { 0 }    ::= { rs232SyncPortEntry 11 }rs232SyncPortMode OBJECT-TYPE    SYNTAX INTEGER  { fdx(1), hdx(2), simplex-receive(3),                      simplex-send(4) }    MAX-ACCESS read-write    STATUS current    DESCRIPTION        "The mode of operation of the port with respect to the         direction and simultaneity of data transfer.           fdx              when frames on the data link can be                            transmitted and received at the same                            time           hdx              when frames can either be received                            from the data link or transmitted                            onto the data link but not at the                            same time.           simplex-receive  when frames can only be received on                            this data link.           simplex-send     when frames can only be sent on this                            data link."    DEFVAL { fdx }    ::= { rs232SyncPortEntry 12 }rs232SyncPortIdlePattern OBJECT-TYPE    SYNTAX INTEGER  { mark(1), space(2) }    MAX-ACCESS read-write    STATUS current    DESCRIPTION        "The bit pattern used to indicate an idle line."    DEFVAL { space }    ::= { rs232SyncPortEntry 13 }rs232SyncPortMinFlags OBJECT-TYPE    SYNTAX Integer32    MAX-ACCESS read-write    STATUS current    DESCRIPTION        "The minimum number of flag patterns this port needs in         order to recognize the end of one frame and the start         of the next.  Plausible values are 1 and 2."    DEFVAL { 2 }    ::= { rs232SyncPortEntry 14 }-- Input Signal Tablers232InSigTable OBJECT-TYPE    SYNTAX SEQUENCE OF Rs232InSigEntry    MAX-ACCESS not-accessible    STATUS current    DESCRIPTION        "A list of port input control signal entries        implemented and visible to the software on the port,        and useful to monitor."    ::= { rs232 5 }rs232InSigEntry OBJECT-TYPE    SYNTAX Rs232InSigEntry    MAX-ACCESS not-accessible    STATUS current    DESCRIPTION        "Input control signal status for a hardware port."    INDEX { rs232InSigPortIndex, rs232InSigName }    ::= { rs232InSigTable 1 }Rs232InSigEntry ::=    SEQUENCE {        rs232InSigPortIndex            InterfaceIndex,        rs232InSigName            INTEGER,        rs232InSigState            INTEGER,        rs232InSigChanges            Counter32    }rs232InSigPortIndex OBJECT-TYPE    SYNTAX InterfaceIndex    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "The value of rs232PortIndex for the port to which        this entry belongs."    ::= { rs232InSigEntry 1 }rs232InSigName OBJECT-TYPE    SYNTAX INTEGER { rts(1), cts(2), dsr(3), dtr(4), ri(5),                     dcd(6), sq(7), srs(8), srts(9),                     scts(10), sdcd(11) }    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "Identification of a hardware signal, as follows:            rts    Request to Send            cts    Clear to Send            dsr    Data Set Ready            dtr    Data Terminal Ready            ri     Ring Indicator            dcd    Received Line Signal Detector            sq     Signal Quality Detector            srs    Data Signaling Rate Selector            srts   Secondary Request to Send            scts   Secondary Clear to Send            sdcd   Secondary Received Line Signal Detector        "    REFERENCE        "EIA Standard RS-232-C, August 1969."    ::= { rs232InSigEntry 2 }rs232InSigState OBJECT-TYPE    SYNTAX INTEGER { none(1), on(2), off(3) }    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "The current signal state."    ::= { rs232InSigEntry 3 }rs232InSigChanges OBJECT-TYPE    SYNTAX Counter32    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "The number of times the signal has changed from        'on' to 'off' or from 'off' to 'on'."    ::= { rs232InSigEntry 4 }-- Output Signal Tablers232OutSigTable OBJECT-TYPE    SYNTAX SEQUENCE OF Rs232OutSigEntry    MAX-ACCESS not-accessible    STATUS current    DESCRIPTION        "A list of port output control signal entries        implemented and visible to the software on the port,        and useful to monitor."    ::= { rs232 6 }rs232OutSigEntry OBJECT-TYPE    SYNTAX Rs232OutSigEntry    MAX-ACCESS not-accessible    STATUS current    DESCRIPTION        "Output control signal status for a hardware port."    INDEX { rs232OutSigPortIndex, rs232OutSigName }    ::= { rs232OutSigTable 1 }Rs232OutSigEntry ::=    SEQUENCE {        rs232OutSigPortIndex            InterfaceIndex,        rs232OutSigName            INTEGER,        rs232OutSigState            INTEGER,        rs232OutSigChanges            Counter32    }rs232OutSigPortIndex OBJECT-TYPE    SYNTAX InterfaceIndex    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "The value of rs232PortIndex for the port to which        this entry belongs."    ::= { rs232OutSigEntry 1 }rs232OutSigName OBJECT-TYPE    SYNTAX INTEGER { rts(1), cts(2), dsr(3), dtr(4), ri(5),                     dcd(6), sq(7), srs(8), srts(9),                     scts(10), sdcd(11) }    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "Identification of a hardware signal, as follows:            rts    Request to Send            cts    Clear to Send            dsr    Data Set Ready            dtr    Data Terminal Ready            ri     Ring Indicator            dcd    Received Line Signal Detector            sq     Signal Quality Detector            srs    Data Signaling Rate Selector            srts   Secondary Request to Send            scts   Secondary Clear to Send            sdcd   Secondary Received Line Signal Detector        "    REFERENCE        "EIA Standard RS-232-C, August 1969."    ::= { rs232OutSigEntry 2 }rs232OutSigState OBJECT-TYPE    SYNTAX INTEGER { none(1), on(2), off(3) }    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "The current signal state."    ::= { rs232OutSigEntry 3 }rs232OutSigChanges OBJECT-TYPE    SYNTAX Counter32    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "The number of times the signal has changed from        'on' to 'off' or from 'off' to 'on'."    ::= { rs232OutSigEntry 4 }-- conformance informationrs232Conformance OBJECT IDENTIFIER ::= { rs232 7 }rs232Groups      OBJECT IDENTIFIER ::= { rs232Conformance 1 }rs232Compliances OBJECT IDENTIFIER ::= { rs232Conformance 2 }-- compliance statementsrs232Compliance MODULE-COMPLIANCE    STATUS  current    DESCRIPTION            "The compliance statement for SNMPv2 entities            which have RS-232-like hardware interfaces."    MODULE  -- this module        MANDATORY-GROUPS { rs232Group }        GROUP   rs232AsyncGroup        DESCRIPTION            "The Asynch group is mandatory only for those             SNMPv2 entities which have asynchronous             interfaces Rs-232-like."        GROUP   rs232SyncGroup        DESCRIPTION            "The Synch group is mandatory only for those             SNMPv2 entities which have synchronous             interfaces Rs-232-like."    ::= { rs232Compliances 1 }-- units of conformancers232Group    OBJECT-GROUP    OBJECTS { rs232Number, rs232PortIndex, rs232PortType,              rs232PortInSigNumber, rs232PortOutSigNumber,              rs232PortInSpeed, rs232PortOutSpeed,              rs232PortInFlowType, rs232PortOutFlowType,              rs232InSigPortIndex, rs232InSigName,              rs232InSigState, rs232InSigChanges,              rs232OutSigPortIndex, rs232OutSigName,              rs232OutSigState, rs232OutSigChanges }    STATUS  current    DESCRIPTION            "A collection of objects providing information             applicable to all RS-232-like interfaces."    ::= { rs232Groups 1 }rs232AsyncGroup OBJECT-GROUP    OBJECTS { rs232AsyncPortIndex, rs232AsyncPortBits,              rs232AsyncPortStopBits, rs232AsyncPortParity,              rs232AsyncPortAutobaud, rs232AsyncPortParityErrs,              rs232AsyncPortFramingErrs, rs232AsyncPortOverrunErrs }    STATUS  current    DESCRIPTION            "A collection of objects providing information             applicable to asynchronous RS-232-like interfaces."    ::= { rs232Groups 2 }rs232SyncGroup OBJECT-GROUP    OBJECTS { rs232SyncPortIndex, rs232SyncPortClockSource,              rs232SyncPortFrameCheckErrs,              rs232SyncPortTransmitUnderrunErrs,              rs232SyncPortReceiveOverrunErrs,              rs232SyncPortInterruptedFrames,              rs232SyncPortAbortedFrames }    STATUS  current    DESCRIPTION            "A collection of objects providing information             applicable to synchronous RS-232-like interfaces."    ::= { rs232Groups 3 }rs232SyncSDLCGroup OBJECT-GROUP    OBJECTS { rs232SyncPortRole,              rs232SyncPortEncoding,              rs232SyncPortRTSControl,              rs232SyncPortRTSCTSDelay,              rs232SyncPortMode,              rs232SyncPortIdlePattern,              rs232SyncPortMinFlags }    STATUS  current    DESCRIPTION            "A collection of objects providing information             applicable to synchronous RS-232-like interfaces             running SDLC."    ::= { rs232Groups 4 }END

⌨️ 快捷键说明

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