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

📄 appletalk-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
APPLETALK-MIB DEFINITIONS ::= BEGINIMPORTS    Counter, IpAddress, TimeTicks        FROM RFC1155-SMI    DisplayString, mib-2        FROM RFC1213-MIB    OBJECT-TYPE        FROM RFC-1212;--  This MIB module uses the extended OBJECT-TYPE macro as--  defined in RFC-1212.--  The following reference is used in this MIB:--  [Inside AppleTalk]--  This refers to Gursharan S. Sidhu, Richard F. Andrews, and--  Alan B. Oppenheimer, Inside AppleTalk, Second Edition,--  Addison Wesley, (1990).--  AppleTalk MIB    appletalk    OBJECT IDENTIFIER ::= { mib-2 13 }        ATNetworkNumber ::=         -- 2 octets of net number                                    -- in network byte order                OCTET STRING (SIZE (2))        DdpNodeAddress ::=          -- 2 octets of net number                                    -- in network byte order,                                    -- 1 octet of node number                OCTET STRING (SIZE (3))        DdpSocketAddress ::=        -- 2 octets of net number                                    -- in network byte order,                                    -- 1 octet of node number,                                    -- 1 octet of socket number                                    -- (0..255)                OCTET STRING (SIZE (4))        ATName ::=              -- 0 to 32 octets of AppleTalk                                    -- ASCII [Inside AppleTalk]                OCTET STRING (SIZE (0..32))    llap         OBJECT IDENTIFIER ::= { appletalk 1 }    aarp         OBJECT IDENTIFIER ::= { appletalk 2 }    atport       OBJECT IDENTIFIER ::= { appletalk 3 }    ddp          OBJECT IDENTIFIER ::= { appletalk 4 }    rtmp         OBJECT IDENTIFIER ::= { appletalk 5 }    kip          OBJECT IDENTIFIER ::= { appletalk 6 }    zipRouter    OBJECT IDENTIFIER ::= { appletalk 7 }    nbp          OBJECT IDENTIFIER ::= { appletalk 8 }    atecho       OBJECT IDENTIFIER ::= { appletalk 9 }    atp          OBJECT IDENTIFIER ::= { appletalk 10 }    pap          OBJECT IDENTIFIER ::= { appletalk 11 }    asp          OBJECT IDENTIFIER ::= { appletalk 12 }    adsp         OBJECT IDENTIFIER ::= { appletalk 13 }    atportptop   OBJECT IDENTIFIER ::= { appletalk 14 }    rtmpStub     OBJECT IDENTIFIER ::= { appletalk 16 }    zipEndNode   OBJECT IDENTIFIER ::= { appletalk 17 }    perPort  OBJECT IDENTIFIER ::= { appletalk 18 }-- The LLAP Group---- Implementation of this group is mandatory for all-- entities that implement LLAP---- Notes for the interfaces group---- When implementing the Interfaces Group of MIB-II, it is-- suggested that the following values be used for any-- LocalTalk interfaces:--  ifMtu: 600--  ifSpeed: 230000--  ifPhysAddress: the one octet node number for the--      particular interface---- Note also that LLAP control packets should not be-- included in the Interfaces Group packet or octet-- counters.llapTable OBJECT-TYPE    SYNTAX SEQUENCE OF LlapEntry    ACCESS not-accessible    STATUS mandatory    DESCRIPTION        "The list of LLAP entries."    ::= { llap 1 }llapEntry OBJECT-TYPE    SYNTAX LlapEntry    ACCESS not-accessible    STATUS mandatory    DESCRIPTION        "An LLAP entry containing objects for the LocalTalk        Link Access Protocol for a particular LocalTalk        interface.        As an example, an instance of the llapOutPkts object        might be named llapOutPks.1"    INDEX { llapIfIndex }    ::= { llapTable 1 }LlapEntry ::= SEQUENCE {    llapIfIndex             INTEGER,    llapInPkts              Counter,    llapOutPkts             Counter,    llapInNoHandlers        Counter,    llapInLengthErrors      Counter,    llapInErrors            Counter,    llapCollisions          Counter,    llapDefers              Counter,    llapNoDataErrors        Counter,    llapRandomCTSErrors     Counter,    llapFCSErrors           Counter}llapIfIndex OBJECT-TYPE    SYNTAX INTEGER    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The LLAP interface to which this entry pertains.        The interface identified by a particular value of        this index is the same interface as identified        by the same value of ifIndex."    ::= { llapEntry 1 }-- this object has been deprecated because it duplicates the-- sum of the MIB-II variables ifInUcastPkts and-- ifInNUcastPktsllapInPkts OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS deprecated    DESCRIPTION        "The total number of good data packets received on        this LocalTalk interface."    ::= { llapEntry 2 }-- this object has been deprecated because it duplicates the-- sum of the MIB-II variables ifOutUcastPkts and-- ifOutNUcastPktsllapOutPkts OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS deprecated    DESCRIPTION        "The total number of data packets transmitted on        this LocalTalk interface."    ::= { llapEntry 3 }-- this object has been deprecated because it duplicates the-- MIB-II variable ifInUnknownProtosllapInNoHandlers OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS deprecated    DESCRIPTION        "The total number of good packets received on this        LocalTalk interface for which there was no protocol        handler."    ::= { llapEntry 4 }llapInLengthErrors OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The total number of packets received on this LocalTalk        interface whose actual length did not match the length        in the header."    ::= { llapEntry 5 }-- this object has been deprecated because it duplicates the-- MIB-II variable ifInErrorsllapInErrors OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS deprecated    DESCRIPTION        "The total number of packets containing errors received        on this LocalTalk interface."    ::= { llapEntry 6 }llapCollisions OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The total number of collisions assumed on this        LocalTalk interface due to the lack of a lapCTS reply."    ::= { llapEntry 7 }llapDefers OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The total number of times this LocalTalk interface        deferred to other packets."    ::= { llapEntry 8 }llapNoDataErrors OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The total number of times this LocalTalk interface        received a lapRTS packet and expected a data packet,        but did not receive any data packet."    ::= { llapEntry 9 }llapRandomCTSErrors OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The total number of times this LocalTalk interface        received a lapCTS packet that was not solicited by a        lapRTS packet."    ::= { llapEntry 10 }llapFCSErrors OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The total number of times this LocalTalk interface        received a packet with an FCS (Frame Check Sequence)        error."    ::= { llapEntry 11 }-- The AARP Group---- Implementation of this group is mandatory for all entities-- that implement AARPaarpTable OBJECT-TYPE    SYNTAX SEQUENCE OF AarpEntry    ACCESS not-accessible    STATUS mandatory    DESCRIPTION        "The AppleTalk Address Translation Table contains an        equivalence of AppleTalk Network Addresses to the link        layer physical address."    ::= { aarp 1 }aarpEntry OBJECT-TYPE    SYNTAX AarpEntry    ACCESS not-accessible    STATUS mandatory    DESCRIPTION        "Each entry contains one AppleTalk Network Address to        physical address equivalence.        As an example, an instance of the aarpPhysAddress        object might be named aarpPhysAddress.1.0.80.234"    INDEX { aarpIfIndex, aarpNetAddress }    ::= { aarpTable 1 }AarpEntry ::= SEQUENCE {    aarpIfIndex     INTEGER,    aarpPhysAddress OCTET STRING,    aarpNetAddress  DdpNodeAddress,    aarpStatus      INTEGER}aarpIfIndex OBJECT-TYPE    SYNTAX INTEGER    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The interface on which this entry's equivalence is        effective.  The interface identified by a particular        value of this index is the same interface as        identified by the same value of ifIndex."    ::= { aarpEntry 1 }aarpPhysAddress OBJECT-TYPE    SYNTAX OCTET STRING    ACCESS read-write    STATUS mandatory    DESCRIPTION        "The media-dependent physical address."    ::= { aarpEntry 2 }aarpNetAddress OBJECT-TYPE    SYNTAX DdpNodeAddress    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The AppleTalk Network Address corresponding to the        media-dependent physical address."    ::= { aarpEntry 3 }aarpStatus OBJECT-TYPE    SYNTAX INTEGER {        valid(1),        invalid(2)    }    ACCESS read-write    STATUS mandatory    DESCRIPTION        "The status of this AARP entry.        Setting this object to the value invalid(2) has the        effect of invalidating the corresponding entry in the        aarpTable.  That is, it effectively disassociates        the mapping identified with said entry.  It is an        implementation-specific matter as to whether the agent        removes an invalidated entry from the table.        Accordingly, management stations must be prepared to        receive from agents tabular information corresponding        to entries not currently in use.  Proper        interpretation of such entries requires examination        of the relevant aarpStatus object."    ::= { aarpEntry 4 }aarpLookups OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The number of times the AARP cache for this entity        was searched."    ::= { aarp 2 }aarpHits OBJECT-TYPE    SYNTAX Counter    ACCESS read-only    STATUS mandatory    DESCRIPTION        "The number of times an entry was searched for and        found in the AARP cache for this entity."    ::= { aarp 3 }-- The ATPort Group---- Implementation of this group is mandatory for all entities-- that implement AppleTalk ports---- Note that to be compliant with this group, all variables-- that have read-write access must be implemented as-- read-write.atportTable OBJECT-TYPE    SYNTAX SEQUENCE OF AtportEntry    ACCESS not-accessible    STATUS mandatory    DESCRIPTION        "A list of AppleTalk ports for this entity."    ::= { atport 1 }atportEntry OBJECT-TYPE    SYNTAX AtportEntry    ACCESS not-accessible    STATUS mandatory    DESCRIPTION        "The description of one of the AppleTalk        ports on this entity.        As an example, an instance of the atportNetFrom object        might be named atportNetFrom.2"    INDEX { atportIndex }    ::= { atportTable 1 }AtportEntry ::= SEQUENCE {    atportIndex               INTEGER,    atportDescr               DisplayString,    atportType                INTEGER,    atportNetStart            ATNetworkNumber,    atportNetEnd              ATNetworkNumber,    atportNetAddress          DdpNodeAddress,    atportStatus              INTEGER,    atportNetConfig           INTEGER,    atportZoneConfig          INTEGER,    atportZoneDefault         ATName,    atportIfIndex             INTEGER,    atportNetFrom             DdpNodeAddress,    atportZoneFrom            DdpNodeAddress,    atportInPkts              Counter,    atportOutPkts             Counter,    atportHome                INTEGER,    atportCurrentZone         ATName,    atportConflictPhysAddr    OCTET STRING}atportIndex OBJECT-TYPE    SYNTAX INTEGER    ACCESS read-only    STATUS mandatory    DESCRIPTION        "A unique value for each AppleTalk port.        Its value is between 1 and the total number of        AppleTalk ports.  The value for each port must        remain constant at least from the re-initialization        of the entity's network management system to the        next re-initialization."    ::= { atportEntry 1 }atportDescr OBJECT-TYPE    SYNTAX DisplayString    ACCESS read-write    STATUS mandatory    DESCRIPTION        "A text string containing information about the        port.  This string is intended for presentation        to a human; it must not contain anything but printable        ASCII characters."    ::= { atportEntry 2 }-- Several objects throughout the MIB key off of atportType to-- determine the format of OCTET STRING addresses of peers.-- The address formats are as follows:--     localtalk, ethertalk1, ethertalk2, tokentalk, iptalk,--       fdditalk, smdstalk, arctalk, and virtual take the

⌨️ 快捷键说明

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