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

📄 rfc1285-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
RFC1285-MIB DEFINITIONS ::= BEGINIMPORTS        Counter            FROM RFC1155-SMI        transmission            FROM RFC1213-MIB        OBJECT-TYPE            FROM RFC-1212;--  This MIB module uses the extended OBJECT-TYPE macro as--  defined in [7].-- this is the FDDI MIB modulefddi    OBJECT IDENTIFIER ::= { transmission 15 }-- textual conventionsFddiTime ::= INTEGER (0..2147483647)-- This data type specifies octet units of 80 nanoseconds as-- an integer value.  It is used for Path Latency  and-- Synchronous Bandwidth values.  The encoding is normal-- integer representation (not twos complement).FddiResourceId ::= INTEGER (0..65535)-- This data type is used to refer to an instance of a  MAC,-- PORT, PATH, or ATTACHMENT Resource ID.  Indexing begins-- at 1.  Zero is used to indicate the absence of a resource.FddiSMTStationIdType ::= OCTET STRING (SIZE (8))-- The unique identifier for the FDDI station.  This is a-- string of 8 octets, represented as--                                X' yy yy xx xx xx xx xx xx'-- with the low order 6 octet (xx) from a unique IEEE-- assigned address.  The high order two bits of the IEEE-- address, the group address bit and the administration bit-- (Universal/Local) bit should both be zero.  The first two-- octets, the yy octets, are implementor-defined.---- The representation of the address portion of the station id-- is in the IEEE (ANSI/IEEE P802.1A) canonical notation for-- 48 bit addresses.  The canonical form is a 6-octet string-- where the first octet contains the first 8 bits of the-- address, with the I/G(Individual/Group) address bit as the-- least significant bit and the  U/L (Universal/Local) bit-- as the next more significant bit, and so on.  Note that-- addresses in the ANSI FDDI standard SMT frames are-- represented in FDDI MAC order.FddiMACLongAddressType ::= OCTET STRING (SIZE (6))-- The representation of long MAC addresses as management-- values is in the IEEE (ANSI/IEEE P802.1A) canonical-- notation for 48 bit addresses.  The canonical form is a-- 6-octet string where the first octet contains the first 8-- bits of the address, with the I/G (Individual/Group)-- address bit as the least significant bit and the  U/L-- (Universal/Local) bit as the next more significant bit,-- and so on.  Note that the addresses in the SMT frames are-- represented in FDDI MAC order.-- groups in the FDDI MIB modulesnmpFddiSMT        OBJECT IDENTIFIER ::= { fddi 1 }snmpFddiMAC        OBJECT IDENTIFIER ::= { fddi 2 }snmpFddiPATH       OBJECT IDENTIFIER ::= { fddi 3 }snmpFddiPORT       OBJECT IDENTIFIER ::= { fddi 4 }snmpFddiATTACHMENT OBJECT IDENTIFIER ::= { fddi 5 }snmpFddiChipSets    OBJECT IDENTIFIER ::= { fddi 6 }-- the SMT group-- Implementation of the SMT group is mandatory for all-- systems which implement manageable FDDI subsystems.snmpFddiSMTNumber OBJECT-TYPE    SYNTAX  INTEGER (0..65535)    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The number of SMT implementations (regardless of            their current state) on this network management            application entity.  The value for this variable            must remain constant at least from one re-            initialization of the entity's network management            system to the next re-initialization."    ::= { snmpFddiSMT  1 }-- the SMT tablesnmpFddiSMTTable OBJECT-TYPE    SYNTAX  SEQUENCE OF SnmpFddiSMTEntry    ACCESS  not-accessible    STATUS  mandatory    DESCRIPTION            "A list of SMT entries.  The number of entries is            given by  the value of snmpFddiSMTNumber."    ::= { snmpFddiSMT  2 }snmpFddiSMTEntry OBJECT-TYPE    SYNTAX  SnmpFddiSMTEntry    ACCESS  not-accessible    STATUS  mandatory    DESCRIPTION            "An SMT entry containing information common to a            given SMT."    INDEX   { snmpFddiSMTIndex }    ::= { snmpFddiSMTTable 1 }SnmpFddiSMTEntry ::=    SEQUENCE {        snmpFddiSMTIndex            INTEGER,        snmpFddiSMTStationId            FddiSMTStationIdType,        snmpFddiSMTOpVersionId            INTEGER,        snmpFddiSMTHiVersionId            INTEGER,        snmpFddiSMTLoVersionId            INTEGER,        snmpFddiSMTMACCt            INTEGER,        snmpFddiSMTNonMasterCt            INTEGER,        snmpFddiSMTMasterCt            INTEGER,        snmpFddiSMTPathsAvailable            INTEGER,        snmpFddiSMTConfigCapabilities            INTEGER,        snmpFddiSMTConfigPolicy            INTEGER,        snmpFddiSMTConnectionPolicy            INTEGER,        snmpFddiSMTTNotify            INTEGER,        snmpFddiSMTStatusReporting            INTEGER,        snmpFddiSMTECMState            INTEGER,        snmpFddiSMTCFState            INTEGER,        snmpFddiSMTHoldState            INTEGER,        snmpFddiSMTRemoteDisconnectFlag            INTEGER,        snmpFddiSMTStationAction            INTEGER    }snmpFddiSMTIndex OBJECT-TYPE    SYNTAX  INTEGER (1..65535)    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "A unique value for each SMT.  Its value ranges            between 1 and the value of snmpFddiSMTNumber.  The            value for each SMT must remain constant at least            from one re-initialization of the entity's network            management system to the next re-initialization."    ::= { snmpFddiSMTEntry 1 }snmpFddiSMTStationId OBJECT-TYPE    SYNTAX  FddiSMTStationIdType -- OCTET STRING (SIZE (8))    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "Uniquely identifies an FDDI station."    REFERENCE            "ANSI { fddiSMT 11 }"    ::= { snmpFddiSMTEntry 2 }snmpFddiSMTOpVersionId OBJECT-TYPE    SYNTAX  INTEGER (1..65535)    ACCESS  read-write    STATUS  mandatory    DESCRIPTION            "The version that this station is using for its            operation (refer to ANSI 7.1.2.2)."    REFERENCE            "ANSI { fddiSMT 13 }"    ::= { snmpFddiSMTEntry 3 }snmpFddiSMTHiVersionId OBJECT-TYPE    SYNTAX  INTEGER (1..65535)    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The highest version of SMT that this station            supports (refer to ANSI 7.1.2.2)."    REFERENCE            "ANSI { fddiSMT 14 }"    ::= { snmpFddiSMTEntry 4 }snmpFddiSMTLoVersionId OBJECT-TYPE    SYNTAX  INTEGER (1..65535)    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The lowest version of SMT that this station            supports (refer to ANSI 7.1.2.2)."    REFERENCE            "ANSI { fddiSMT 15 }"    ::= { snmpFddiSMTEntry 5 }snmpFddiSMTMACCt OBJECT-TYPE    SYNTAX  INTEGER (0..255)    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The number of MACs in the station or            concentrator."    REFERENCE            "ANSI { fddiSMT 21 }"    ::= { snmpFddiSMTEntry 6 }snmpFddiSMTNonMasterCt OBJECT-TYPE    SYNTAX  INTEGER (0..2)    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The number of Non Master PORTs (A, B, or S PORTs)            in the station or concentrator."    REFERENCE            "ANSI { fddiSMT 22 }"    ::= { snmpFddiSMTEntry 7 }snmpFddiSMTMasterCt OBJECT-TYPE    SYNTAX  INTEGER (0..255)    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "The number of Master PORTs in a node.  If the            node is not a concentrator, the value is zero."    REFERENCE            "ANSI { fddiSMT 23 }"    ::= { snmpFddiSMTEntry 8 }snmpFddiSMTPathsAvailable OBJECT-TYPE    SYNTAX  INTEGER (0..7)    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "A value that indicates the PATH types available            in the station.            The value is a sum.  This value initially takes            the value zero, then for each type of PATH that            this node has available, 2 raised to a power is            added to the sum.  The powers are according to the            following table:                     Path   Power                  Primary   0                Secondary   1                    Local   2            For example, a station having Primary and Local            PATHs available would have a value of 5 (2**0 +            2**2)."    REFERENCE            "ANSI { fddiSMT 24 }"    ::= { snmpFddiSMTEntry 9 }snmpFddiSMTConfigCapabilities OBJECT-TYPE    SYNTAX  INTEGER (0..3)    ACCESS  read-only    STATUS  mandatory    DESCRIPTION            "A value that indicates capabilities that are            present in the node.  If 'holdAvailable' is            present, this indicates support of the optional            Hold Function (refer to ANSI SMT 9.4.3.2).  If            'CF-Wrap-AB' is present, this indicates that the            WRAP_AB state is forced.            The value is a sum.  This value initially takes            the value zero, then for each of the configuration            policies currently enforced on the node, 2 raised            to a power is added to the sum.  The powers are            according to the following table:                       Policy   Power                holdAvailable   0                   CF-Wrap-AB   1 "    REFERENCE            "ANSI { fddiSMT 25 }"    ::= { snmpFddiSMTEntry 10 }snmpFddiSMTConfigPolicy OBJECT-TYPE    SYNTAX  INTEGER (0..3)    ACCESS  read-write    STATUS  mandatory    DESCRIPTION            "A value that indicates the configuration policies            currently enforced in the node (refer to ANSI SMT            9.4.3.2).  The 'configurationHold' policy refers            to the Hold flag, and should not be present only            if the Hold function is supported.  The 'CF-Wrap-            AB' policy refers to the CF_Wrap_AB flag.            The value is a sum.  This value initially takes            the value zero, then for each of the configuration            policies currently enforced on the node, 2 raised            to a power is added to the sum.  The powers are            according to the following table:                           Policy   Power                configurationHold   0                       CF-Wrap-AB   1 "    REFERENCE            "ANSI { fddiSMT 26 }"    ::= { snmpFddiSMTEntry 11 }snmpFddiSMTConnectionPolicy OBJECT-TYPE    SYNTAX  INTEGER (0..65535)    ACCESS  read-write    STATUS  mandatory    DESCRIPTION            "A value that indicates the connection policies            enforced at the station.  A station sets the            corresponding policy for each of the connection            types that it rejects.  The letter designations, X            and Y, in the 'rejectX-Y' names have the following            significance:  X represents the PC-Type of the            local PORT and Y represents a PC-Neighbor in the            evaluation of Connection-Policy (PC-Type, PC-            Neighbor) that is done to determine the setting of            T-Val(3) in the PC-Signaling sequence (refer to            ANSI Section 9.6.3).            The value is a sum.  This value initially takes            the value zero, then for each of the connection            policies currently enforced on the node, 2 raised            to a power is added to the sum.  The powers are            according to the following table:                   Policy   Power                rejectA-A   0                rejectA-B   1                rejectA-S   2                rejectA-M   3                rejectB-A   4                rejectB-B   5                rejectB-S   6                rejectB-M   7                rejectS-A   8                rejectS-B   9                rejectS-S   10                rejectS-M   11                rejectM-A   12                rejectM-B   13                rejectM-S   14                rejectM-M   15            Implementors should note that the polarity of            these bits is different in different places in an            SMT system.  Implementors should take appropriate            care."    REFERENCE            "ANSI { fddiSMT 27 }"    ::= { snmpFddiSMTEntry 12 }snmpFddiSMTTNotify OBJECT-TYPE    SYNTAX  INTEGER (2..30)

⌨️ 快捷键说明

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