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

📄 nhrp-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
NHRP-MIB DEFINITIONS ::= BEGINIMPORTS    OBJECT-TYPE, MODULE-IDENTITY, mib-2, Integer32,    Counter32, Unsigned32        FROM SNMPv2-SMI    MODULE-COMPLIANCE, OBJECT-GROUP        FROM SNMPv2-CONF    TEXTUAL-CONVENTION, TruthValue, RowStatus, StorageType,    TimeStamp        FROM SNMPv2-TC    ifIndex        FROM IF-MIB    AddressFamilyNumbers        FROM IANA-ADDRESS-FAMILY-NUMBERS-MIB    ;nhrpMIB MODULE-IDENTITY    LAST-UPDATED "9908260000Z"  -- August 26, 1999    ORGANIZATION "Internetworking Over NBMA (ion) Working Group"    CONTACT-INFO        "Maria Greene (maria@xedia.com)         Contractor         Joan Cucchiara (joan@ironbridgenetworks.com)         IronBridge Networks         James V. Luciani (luciani@baynetworks.com)         Bay Networks"    DESCRIPTION        "This MIB contains managed object definitions for the Next        Hop Resolution Procol, NHRP, as defined in RFC 2332 [17]."    -- revision history    REVISION     "9908260000Z"  -- August 26, 1999    DESCRIPTION  "Initial version, published as RFC 2677."    ::= { mib-2 71 }--**************************************************************** -- NHRP Textual Conventions --**************************************************************** NhrpGenAddr ::= TEXTUAL-CONVENTION     STATUS      current     DESCRIPTION         "The value of an internetwork layer or NBMA address."     SYNTAX      OCTET STRING (SIZE (0..64)) nhrpObjects OBJECT IDENTIFIER ::= { nhrpMIB 1 } --**************************************************************** -- NHRP General (Client and Server) Objects --**************************************************************** nhrpGeneralObjects OBJECT IDENTIFIER ::= { nhrpObjects 1 } -- --  The following scalar is to be used to --  provided indices for the --  nhrpClientTable, and/or the nhrpServerTable. -- nhrpNextIndex   OBJECT-TYPE     SYNTAX      Unsigned32     MAX-ACCESS  read-only     STATUS      current     DESCRIPTION         "This scalar is used for creating rows in the         nhrpClientTable and the nhrpServerTable.         The value of this variable is a currently unused value         for nhrpClientIndex and nhrpServerIndex.         The value returned when reading this variable must be         unique for the NHC's and NHS's indices associated with         this row. Subsequent attempts to read this variable         must return different values.         NOTE:  this object exists in the General Group because         it is to be used in establishing rows in the         nhrpClientTable and the nhrpServerTable.  In other words,         the value retrieved from this object could become the         value of nhrpClientIndex and nhprServerIndex.         In the situation of an agent re-initialization the value         of this object must be saved in non-volatile storage.         This variable will return the special value 0 if no new         rows can be created."     ::= { nhrpGeneralObjects 1 }     --     -- The NHRP Cache Table     --     nhrpCacheTable OBJECT-TYPE         SYNTAX      SEQUENCE OF NhrpCacheEntry         MAX-ACCESS  not-accessible         STATUS      current    DESCRIPTION        "This table contains mappings between internetwork layer        addresses and NBMA subnetwork layer addresses."    ::= { nhrpGeneralObjects 2 }nhrpCacheEntry OBJECT-TYPE    SYNTAX      NhrpCacheEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A cached mapping between an internetwork layer address        and an NBMA address. Entries can be created by the        network administrator using the nhrpCacheRowStatus        column, or they may be added dynamically based on        protocol operation (including NHRP, SCSP, and others,        such as ATMARP).        When created based by NHRP protocol operations        this entry is largely based on contents contained in        the Client Information Entry (CIE).        Zero or more Client Information Entries (CIEs) may be        included in the NHRP Packet. For a complete description        of the CIE, refer to Section 5.2.0.1 of        RFC 2332 [17]."    INDEX       {                    nhrpCacheInternetworkAddrType,                    nhrpCacheInternetworkAddr,                    ifIndex,                    nhrpCacheIndex                }    ::= { nhrpCacheTable 1 }NhrpCacheEntry ::= SEQUENCE {    nhrpCacheInternetworkAddrType    AddressFamilyNumbers,    nhrpCacheInternetworkAddr        NhrpGenAddr,    nhrpCacheIndex                   Unsigned32,    nhrpCachePrefixLength            Integer32,    nhrpCacheNextHopInternetworkAddr NhrpGenAddr,    nhrpCacheNbmaAddrType            AddressFamilyNumbers,    nhrpCacheNbmaAddr                NhrpGenAddr,    nhrpCacheNbmaSubaddr             NhrpGenAddr,    nhrpCacheType                    INTEGER,    nhrpCacheState                   INTEGER,    nhrpCacheHoldingTimeValid        TruthValue,    nhrpCacheHoldingTime             Unsigned32,    nhrpCacheNegotiatedMtu           Integer32,    nhrpCachePreference              Integer32,    nhrpCacheStorageType             StorageType,    nhrpCacheRowStatus               RowStatus}nhrpCacheInternetworkAddrType OBJECT-TYPE    SYNTAX      AddressFamilyNumbers    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The internetwork layer address type of this Next Hop        Resolution Cache entry. The value of this object indicates        how to interpret the values of nhrpCacheInternetworkAddr        and nhrpCacheNextHopInternetworkAddr."    ::= { nhrpCacheEntry 1 }nhrpCacheInternetworkAddr OBJECT-TYPE    SYNTAX      NhrpGenAddr    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The value of the internetwork address of the        destination."    ::= { nhrpCacheEntry 2 }nhrpCacheIndex OBJECT-TYPE    SYNTAX      Unsigned32 (1..4294967295)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An identifier for this entry that has local        significance within the scope of the General        Group.  This identifier is used here to        uniquely identify this row, and also used        in the 'nhrpPurgeTable' for the value of        the 'nhrpPurgeCacheIdentifier'."    ::= { nhrpCacheEntry 3 }nhrpCachePrefixLength OBJECT-TYPE    SYNTAX      Integer32 (0..255)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of bits that define the internetwork layer        prefix associated with the nhrpCacheInternetworkAddr."    ::= { nhrpCacheEntry 4 }nhrpCacheNextHopInternetworkAddr OBJECT-TYPE    SYNTAX      NhrpGenAddr    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The value of the internetwork address of the next hop."    ::= { nhrpCacheEntry 5 }nhrpCacheNbmaAddrType OBJECT-TYPE    SYNTAX      AddressFamilyNumbers    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The NBMA address type. The value of this        object indicates how to interpret        the values of nhrpCacheNbmaAddr and        nhrpCacheNbmaSubaddr."    ::= { nhrpCacheEntry 6 }nhrpCacheNbmaAddr OBJECT-TYPE    SYNTAX      NhrpGenAddr    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The value of the NBMA subnetwork address of the next        hop."    ::= { nhrpCacheEntry 7 }nhrpCacheNbmaSubaddr OBJECT-TYPE    SYNTAX      NhrpGenAddr    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The value of the NBMA subaddress of the next hop. If        there is no subaddress concept for the NBMA address        family, this value will be a zero-length OCTET STRING."    ::= { nhrpCacheEntry 8 }nhrpCacheType OBJECT-TYPE    SYNTAX      INTEGER {                    other(1),                    register(2),                    resolveAuthoritative(3),                    resoveNonauthoritative(4),                    transit(5),                    administrativelyAdded(6),                    atmarp(7),                    scsp(8)                }    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "An indication of how this cache entry        was created. The values are:        'other(1)'                   The entry was added by some                                     other means.        'register(2)'                In a server, added based on a                                     client registration.        'resolveAuthoritative(3)'    In a client, added based on                                     receiving an Authoritative                                     NHRP Resolution Reply.        'resolveNonauthoritative(4)' In a client, added based on                                     receiving a Nonauthoritative                                     NHRP Resolution Reply.        'transit(5)'                 In a transit server, added by                                     examining a forwarded NHRP                                     packet.        'administrativelyAdded(6)'   In a client or server,                                     manually added by the                                     administrator. The                                     StorageType of this entry is                                     reflected in                                     'nhrpCacheStorageType'.        'atmarp(7)'                  The entry was added due to an                                     ATMARP.        'scsp(8)'                    The entry was added due to                                     SCSP.        When the entry is under creation using the        nhrpCacheRowStatus column, the only value that can be        specified by the administrator is 'administrativelyAdded'.        Attempting to set any other value will cause an        'inconsistentValue' error.        The value cannot be modified once the entry is active."    ::= { nhrpCacheEntry 9 }nhrpCacheState OBJECT-TYPE    SYNTAX      INTEGER {                    incomplete(1),                    ackReply(2),                    nakReply(3)                }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "An indication of the state of this entry. The values are:            'incomplete(1)' The client has sent a NHRP Resolution                            Request but has not yet received the                            NHRP Resolution Reply.            'ackReply(2)'   For a client or server, this is a                            cached valid mapping.            'nakReply(3)'   For a client or server, this is a                            cached NAK mapping."    ::= { nhrpCacheEntry 10 }nhrpCacheHoldingTimeValid OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "True(1) is returned if the value of        'nhrpCacheType' is not        'administrativelyAdded'.  Since the        value of 'nhrpCacheType' was not        configured by a user, the value of        'nhrpCacheHoldingTime' is        considered valid.  In other words, the value of        'nhrpCacheHoldingTime' represents        the Holding Time for the cache Entry.        If 'nhrpCacheType has been configured by a        user, (i.e. the value of 'nhrpCacheType' is        'administrativelyAdded') then false(2) will be returned.        This indicates that the value of        'nhrpCacheHoldingTime' is undefined because this row        could possibly be backed up in nonvolatile storage."    ::= { nhrpCacheEntry 11 }nhrpCacheHoldingTime OBJECT-TYPE    SYNTAX      Unsigned32(0..65535)    UNITS       "seconds"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "If the value of 'nhrpCacheHoldingTimeValid is        true(1) then this object represents the number        of seconds that the cache entry will remain in this        table.  When this value reaches 0 (zero) the row should        be deleted.        If the value of 'nhrpCacheHoldingTimeValid is        false(2) then this object is undefined."    ::= { nhrpCacheEntry 12 }nhrpCacheNegotiatedMtu OBJECT-TYPE    SYNTAX      Integer32 (0..65535)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The maximum transmission unit (MTU) that was negotiated        or registered for this entity. In other words, this is the        actual MTU being used."    ::= { nhrpCacheEntry 13 }nhrpCachePreference OBJECT-TYPE    SYNTAX      Integer32 (0..255)    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "An object which reflects the Preference value of the        Client Information Entry (CIE).        Zero or more Client Information Entries (CIEs) may be        included in the NHRP Packet.  One of the fields in the        CIE is the Preference.  For a complete description of

⌨️ 快捷键说明

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