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

📄 ipv6-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 4 页
字号:
 ipv6RouteWeight OBJECT-TYPE     SYNTAX     Unsigned32     MAX-ACCESS read-only     STATUS     current     DESCRIPTION        "The system internal weight value for this route.        The semantics of this value are determined by        the implementation specific rules. Generally,        within routes with the same ipv6RoutePolicy value,        the lower the weight value the more preferred is        the route."     ::= { ipv6RouteEntry 12 } ipv6RouteInfo OBJECT-TYPE     SYNTAX     RowPointer     MAX-ACCESS read-only     STATUS     current     DESCRIPTION        "A reference to MIB definitions specific to the        particular routing protocol which is responsible        for this route, as determined by the  value        specified  in the route's ipv6RouteProto value.        If this information is not present,  its  value        should be set to the OBJECT ID { 0 0 },        which is a syntactically valid object  identifier,        and any implementation conforming to ASN.1        and the Basic Encoding Rules must  be  able  to        generate and recognize this value."     ::= { ipv6RouteEntry 13 } ipv6RouteValid OBJECT-TYPE     SYNTAX     TruthValue     MAX-ACCESS read-write     STATUS     current     DESCRIPTION        "Setting this object to the value 'false(2)' has        the effect of invalidating the corresponding entry        in the ipv6RouteTable object.  That is, it        effectively disassociates the destination        identified with said entry from the route        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 tabular information from agents that        corresponds to entries not currently in use.        Proper interpretation of such entries requires        examination of the relevant ipv6RouteValid        object."     DEFVAL  { true }     ::= { ipv6RouteEntry 14 } -- IPv6 Address Translation table ipv6NetToMediaTable OBJECT-TYPE     SYNTAX      SEQUENCE OF Ipv6NetToMediaEntry     MAX-ACCESS  not-accessible     STATUS      current     DESCRIPTION       "The IPv6 Address Translation table used for       mapping from IPv6 addresses to physical addresses.       The IPv6 address translation table contain the       Ipv6Address to `physical' address equivalencies.       Some interfaces do not use translation tables       for determining address equivalencies; if all       interfaces are of this type, then the Address       Translation table is empty, i.e., has zero       entries."     ::= { ipv6MIBObjects 12 } ipv6NetToMediaEntry OBJECT-TYPE     SYNTAX     Ipv6NetToMediaEntry     MAX-ACCESS not-accessible     STATUS     current     DESCRIPTION       "Each entry contains one IPv6 address to `physical'       address equivalence."     INDEX   { ipv6IfIndex,               ipv6NetToMediaNetAddress }     ::= { ipv6NetToMediaTable 1 } Ipv6NetToMediaEntry ::= SEQUENCE {         ipv6NetToMediaNetAddress             Ipv6Address,         ipv6NetToMediaPhysAddress             PhysAddress,         ipv6NetToMediaType             INTEGER,         ipv6IfNetToMediaState             INTEGER,         ipv6IfNetToMediaLastUpdated             TimeStamp,         ipv6NetToMediaValid             TruthValue     } ipv6NetToMediaNetAddress OBJECT-TYPE     SYNTAX     Ipv6Address     MAX-ACCESS not-accessible     STATUS     current     DESCRIPTION        "The IPv6 Address corresponding to        the media-dependent `physical' address."     ::= { ipv6NetToMediaEntry 1 } ipv6NetToMediaPhysAddress OBJECT-TYPE     SYNTAX     PhysAddress     MAX-ACCESS read-only     STATUS     current     DESCRIPTION       "The media-dependent `physical' address."     ::= { ipv6NetToMediaEntry 2 } ipv6NetToMediaType OBJECT-TYPE     SYNTAX     INTEGER {                 other(1),    -- none of the following                 dynamic(2),  -- dynamically resolved                 static(3),   -- statically configured                 local(4)     -- local interface                }     MAX-ACCESS read-only     STATUS     current     DESCRIPTION             "The type of the mapping. The 'dynamic(2)' type             indicates that the IPv6 address to physical             addresses mapping has been dynamically             resolved using the IPv6 Neighbor Discovery             protocol. The static(3)' types indicates that             the mapping has been statically configured.             The local(4) indicates that the mapping is             provided for an entity's own interface address."     ::= { ipv6NetToMediaEntry 3 }ipv6IfNetToMediaState OBJECT-TYPE    SYNTAX      INTEGER {             reachable(1), -- confirmed reachability             stale(2),     -- unconfirmed reachability             delay(3),     -- waiting for reachability                           -- confirmation before entering                           -- the probe state             probe(4),     -- actively probing             invalid(5),   -- an invalidated mapping             unknown(6)    -- state can not be determined                           -- for some reason.            }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The Neighbor Unreachability Detection [8] state        for the interface when the address mapping in        this entry is used."    ::= { ipv6NetToMediaEntry 4 }ipv6IfNetToMediaLastUpdated OBJECT-TYPE    SYNTAX      TimeStamp    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The value of sysUpTime at the time this entry        was last updated.  If this entry was updated prior        to the last re-initialization of the local network        management subsystem, then this object contains        a zero value."    ::= { ipv6NetToMediaEntry 5 } ipv6NetToMediaValid OBJECT-TYPE     SYNTAX     TruthValue     MAX-ACCESS read-write     STATUS     current     DESCRIPTION      "Setting this object to the value 'false(2)' has      the effect of invalidating the corresponding entry      in the ipv6NetToMediaTable.  That is, it effectively      disassociates the interface identified with said      entry from 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 tabular information      from agents that corresponds to entries not      currently in use.  Proper interpretation of such      entries requires examination of the relevant      ipv6NetToMediaValid object."     DEFVAL  { true }     ::= { ipv6NetToMediaEntry 6 }-- definition of IPv6-related notifications.-- Note that we need ipv6NotificationPrefix with the 0-- sub-identifier to make this MIB to translate to-- an SNMPv1 format in a reversible way. For example-- it is needed for proxies that convert SNMPv1 traps-- to SNMPv2 notifications without MIB knowledge.ipv6Notifications      OBJECT IDENTIFIER     ::= { ipv6MIB 2 }ipv6NotificationPrefix OBJECT IDENTIFIER     ::= { ipv6Notifications 0 }ipv6IfStateChange NOTIFICATION-TYPE     OBJECTS {              ipv6IfDescr,              ipv6IfOperStatus -- the new state of the If.             }     STATUS             current     DESCRIPTION        "An ipv6IfStateChange notification signifies        that there has been a change in the state of        an ipv6 interface.  This notification should        be generated when the interface's operational        status transitions to or from the up(1) state."     ::= { ipv6NotificationPrefix 1 }-- conformance informationipv6Conformance OBJECT IDENTIFIER ::= { ipv6MIB 3 }ipv6Compliances OBJECT IDENTIFIER ::= { ipv6Conformance 1 }ipv6Groups      OBJECT IDENTIFIER ::= { ipv6Conformance 2 }-- compliance statementsipv6Compliance MODULE-COMPLIANCE    STATUS  current    DESCRIPTION      "The compliance statement for SNMPv2 entities which      implement ipv6 MIB."    MODULE  -- this module        MANDATORY-GROUPS { ipv6GeneralGroup,                           ipv6NotificationGroup }          OBJECT    ipv6Forwarding            MIN-ACCESS  read-only            DESCRIPTION               "An agent is not required to provide write                access to this object"          OBJECT    ipv6DefaultHopLimit            MIN-ACCESS  read-only            DESCRIPTION               "An agent is not required to provide write                access to this object"          OBJECT    ipv6IfDescr            MIN-ACCESS  read-only            DESCRIPTION               "An agent is not required to provide write                access to this object"          OBJECT    ipv6IfIdentifier            MIN-ACCESS  read-only            DESCRIPTION               "An agent is not required to provide write                access to this object"          OBJECT    ipv6IfIdentifierLength            MIN-ACCESS  read-only            DESCRIPTION               "An agent is not required to provide write                access to this object"          OBJECT    ipv6IfAdminStatus            MIN-ACCESS  read-only            DESCRIPTION               "An agent is not required to provide write                access to this object"          OBJECT    ipv6RouteValid            MIN-ACCESS  read-only            DESCRIPTION               "An agent is not required to provide write                access to this object"          OBJECT    ipv6NetToMediaValid            MIN-ACCESS  read-only            DESCRIPTION               "An agent is not required to provide write                access to this object"    ::= { ipv6Compliances 1 }ipv6GeneralGroup OBJECT-GROUP    OBJECTS { ipv6Forwarding,              ipv6DefaultHopLimit,              ipv6Interfaces,              ipv6IfTableLastChange,              ipv6IfDescr,              ipv6IfLowerLayer,              ipv6IfEffectiveMtu,              ipv6IfReasmMaxSize,              ipv6IfIdentifier,              ipv6IfIdentifierLength,              ipv6IfPhysicalAddress,              ipv6IfAdminStatus,              ipv6IfOperStatus,              ipv6IfLastChange,              ipv6IfStatsInReceives,              ipv6IfStatsInHdrErrors,              ipv6IfStatsInTooBigErrors,              ipv6IfStatsInNoRoutes,              ipv6IfStatsInAddrErrors,              ipv6IfStatsInUnknownProtos,              ipv6IfStatsInTruncatedPkts,              ipv6IfStatsInDiscards,              ipv6IfStatsInDelivers,              ipv6IfStatsOutForwDatagrams,              ipv6IfStatsOutRequests,              ipv6IfStatsOutDiscards,              ipv6IfStatsOutFragOKs,              ipv6IfStatsOutFragFails,              ipv6IfStatsOutFragCreates,              ipv6IfStatsReasmReqds,              ipv6IfStatsReasmOKs,              ipv6IfStatsReasmFails,              ipv6IfStatsInMcastPkts,              ipv6IfStatsOutMcastPkts,              ipv6AddrPrefixOnLinkFlag,              ipv6AddrPrefixAutonomousFlag,              ipv6AddrPrefixAdvPreferredLifetime,              ipv6AddrPrefixAdvValidLifetime,              ipv6AddrPfxLength,              ipv6AddrType,              ipv6AddrAnycastFlag,              ipv6AddrStatus,              ipv6RouteNumber,              ipv6DiscardedRoutes,              ipv6RouteIfIndex,              ipv6RouteNextHop,              ipv6RouteType,              ipv6RouteProtocol,              ipv6RoutePolicy,              ipv6RouteAge,              ipv6RouteNextHopRDI,              ipv6RouteMetric,              ipv6RouteWeight,              ipv6RouteInfo,              ipv6RouteValid,              ipv6NetToMediaPhysAddress,              ipv6NetToMediaType,              ipv6IfNetToMediaState,              ipv6IfNetToMediaLastUpdated,              ipv6NetToMediaValid }    STATUS    current    DESCRIPTION         "The IPv6 group of objects providing for basic          management of IPv6 entities."    ::= { ipv6Groups 1 }ipv6NotificationGroup NOTIFICATION-GROUP    NOTIFICATIONS { ipv6IfStateChange }    STATUS    current    DESCRIPTION         "The notification that an IPv6 entity is required          to implement."    ::= { ipv6Groups 2 } END

⌨️ 快捷键说明

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