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

📄 ipv6-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 4 页
字号:
       address of a packet."     ::= { ipv6AddrPrefixEntry 6 } -- the IPv6 Address table -- The IPv6 address table contains this node's IPv6 -- addressing information. ipv6AddrTable OBJECT-TYPE    SYNTAX      SEQUENCE OF Ipv6AddrEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "The table of addressing information relevant to      this node's interface addresses."    ::= { ipv6MIBObjects 8 } ipv6AddrEntry OBJECT-TYPE    SYNTAX      Ipv6AddrEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The addressing information for one of this        node's interface addresses."    INDEX   { ipv6IfIndex, ipv6AddrAddress }    ::= { ipv6AddrTable 1 } Ipv6AddrEntry ::=    SEQUENCE {         ipv6AddrAddress        Ipv6Address,         ipv6AddrPfxLength      INTEGER,         ipv6AddrType           INTEGER,         ipv6AddrAnycastFlag    TruthValue,         ipv6AddrStatus         INTEGER        } ipv6AddrAddress OBJECT-TYPE    SYNTAX      Ipv6Address    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION      "The IPv6 address to which this entry's addressing      information pertains."    ::= { ipv6AddrEntry 1 } ipv6AddrPfxLength OBJECT-TYPE    SYNTAX      INTEGER(0..128)    UNITS       "bits"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION      "The length of the prefix (in bits) associated with      the IPv6 address of this entry."    ::= { ipv6AddrEntry 2 } ipv6AddrType OBJECT-TYPE    SYNTAX      INTEGER {                        -- address has been formed                        -- using stateless         stateless(1),  -- autoconfiguration                        -- address has been acquired                        -- by stateful means                        -- (e.g. DHCPv6, manual         stateful(2),   -- configuration)                        -- type can not be determined         unknown(3)     -- for some reason.       }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION       "The type of address. Note that 'stateless(1)'       refers to an address that was statelessly       autoconfigured; 'stateful(2)' refers to a address       which was acquired by via a stateful protocol       (e.g. DHCPv6, manual configuration)."    ::= { ipv6AddrEntry 3 } ipv6AddrAnycastFlag OBJECT-TYPE     SYNTAX      TruthValue     MAX-ACCESS  read-only     STATUS      current     DESCRIPTION       "This object has the value 'true(1)', if this       address is an anycast address and the value       'false(2)' otherwise."     ::= { ipv6AddrEntry 4 } ipv6AddrStatus OBJECT-TYPE    SYNTAX      INTEGER {             preferred(1),             deprecated(2),             invalid(3),             inaccessible(4),             unknown(5)   -- status can not be determined                          -- for some reason.            }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION      "Address status.  The preferred(1) state indicates      that this is a valid address that can appear as      the destination or source address of a packet.      The deprecated(2) state indicates that this is      a valid but deprecated address that should no longer      be used as a source address in new communications,      but packets addressed to such an address are      processed as expected. The invalid(3) state indicates      that this is not valid address which should not      appear as the destination or source address of      a packet. The inaccessible(4) state indicates that      the address is not accessible because the interface      to which this address is assigned is not operational."    ::= { ipv6AddrEntry 5 } -- IPv6 Routing objects ipv6RouteNumber OBJECT-TYPE     SYNTAX      Gauge32     MAX-ACCESS  read-only     STATUS      current     DESCRIPTION       "The number of current ipv6RouteTable entries.       This is primarily to avoid having to read       the table in order to determine this number."     ::= { ipv6MIBObjects 9 } ipv6DiscardedRoutes OBJECT-TYPE     SYNTAX      Counter32     MAX-ACCESS  read-only     STATUS      current     DESCRIPTION       "The number of routing entries which were chosen        to be discarded even though they are valid.  One        possible reason for discarding such an entry could        be to free-up buffer space for other routing        entries."     ::= { ipv6MIBObjects 10 } -- IPv6 Routing table ipv6RouteTable OBJECT-TYPE     SYNTAX     SEQUENCE OF Ipv6RouteEntry     MAX-ACCESS not-accessible     STATUS     current     DESCRIPTION       "IPv6 Routing table. This table contains       an entry for each valid IPv6 unicast route       that can be used for packet forwarding       determination."     ::= { ipv6MIBObjects 11 } ipv6RouteEntry OBJECT-TYPE     SYNTAX     Ipv6RouteEntry     MAX-ACCESS not-accessible     STATUS     current     DESCRIPTION             "A routing entry."     INDEX   { ipv6RouteDest,               ipv6RoutePfxLength,               ipv6RouteIndex }     ::= { ipv6RouteTable 1 } Ipv6RouteEntry ::= SEQUENCE {         ipv6RouteDest           Ipv6Address,         ipv6RoutePfxLength      INTEGER,         ipv6RouteIndex          Unsigned32,         ipv6RouteIfIndex        Ipv6IfIndexOrZero,         ipv6RouteNextHop        Ipv6Address,         ipv6RouteType           INTEGER,         ipv6RouteProtocol       INTEGER,         ipv6RoutePolicy         Integer32,         ipv6RouteAge            Unsigned32,         ipv6RouteNextHopRDI     Unsigned32,         ipv6RouteMetric         Unsigned32,         ipv6RouteWeight         Unsigned32,         ipv6RouteInfo           RowPointer,         ipv6RouteValid          TruthValue     } ipv6RouteDest OBJECT-TYPE     SYNTAX     Ipv6Address     MAX-ACCESS not-accessible     STATUS     current     DESCRIPTION       "The destination IPv6 address of this route.       This object may not take a Multicast address       value."     ::= { ipv6RouteEntry 1 } ipv6RoutePfxLength OBJECT-TYPE     SYNTAX     INTEGER(0..128)     UNITS      "bits"     MAX-ACCESS not-accessible     STATUS     current     DESCRIPTION       "Indicates the prefix length of the destination       address."     ::= { ipv6RouteEntry 2 } ipv6RouteIndex OBJECT-TYPE     SYNTAX     Unsigned32     MAX-ACCESS not-accessible     STATUS     current     DESCRIPTION       "The value which uniquely identifies the route       among the routes to the same network layer       destination.  The way this value is chosen is       implementation specific but it must be unique for       ipv6RouteDest/ipv6RoutePfxLength pair and remain       constant for the life of the route."     ::= { ipv6RouteEntry 3 } ipv6RouteIfIndex OBJECT-TYPE     SYNTAX     Ipv6IfIndexOrZero     MAX-ACCESS read-only     STATUS     current     DESCRIPTION       "The index value which uniquely identifies the local       interface through which the next hop of this       route should be reached.  The interface identified       by a particular value of this index is the same       interface as identified by the same value of       ipv6IfIndex.  For routes of the discard type this       value can be zero."     ::= { ipv6RouteEntry 4 } ipv6RouteNextHop OBJECT-TYPE     SYNTAX     Ipv6Address     MAX-ACCESS read-only     STATUS     current     DESCRIPTION       "On remote routes, the address of the next       system en route;  otherwise, ::0       ('00000000000000000000000000000000'H in ASN.1       string representation)."     ::= { ipv6RouteEntry 5 } ipv6RouteType OBJECT-TYPE     SYNTAX     INTEGER {        other(1),     -- none of the following                      -- an route indicating that                      -- packets to destinations                      -- matching this route are        discard(2),   -- to be discarded                      -- route to directly        local(3),     -- connected (sub-)network                      -- route to a remote        remote(4)     -- destination     }     MAX-ACCESS read-only     STATUS     current     DESCRIPTION        "The type of route. Note that 'local(3)' refers        to a route for which the next hop is the final        destination; 'remote(4)' refers to a route for        which  the  next  hop is not the final        destination; 'discard(2)' refers to a route        indicating that packets to destinations matching        this route are to be discarded (sometimes called        black-hole route)."     ::= { ipv6RouteEntry 6 } ipv6RouteProtocol OBJECT-TYPE     SYNTAX     INTEGER {       other(1),   -- none of the following                   -- non-protocol information,                   -- e.g., manually configured       local(2),   -- entries       netmgmt(3), -- static route                   -- obtained via Neighbor                   -- Discovery protocol,       ndisc(4),   -- e.g., result of Redirect                   -- the following are all                   -- dynamic routing protocols       rip(5),     -- RIPng       ospf(6),    -- Open Shortest Path First       bgp(7),     -- Border Gateway Protocol       idrp(8),    -- InterDomain Routing Protocol       igrp(9)     -- InterGateway Routing Protocol     }     MAX-ACCESS read-only     STATUS     current     DESCRIPTION       "The routing mechanism via which this route was       learned."     ::= { ipv6RouteEntry 7 } ipv6RoutePolicy OBJECT-TYPE     SYNTAX     Integer32     MAX-ACCESS read-only     STATUS     current     DESCRIPTION      "The general set of conditions that would cause the      selection of one multipath route (set of next hops      for a given destination) is referred to as 'policy'.      Unless the mechanism indicated by ipv6RouteProtocol      specified otherwise, the policy specifier is the      8-bit Traffic Class field of the IPv6 packet header      that is zero extended at the left to a 32-bit value.      Protocols defining 'policy' otherwise must either      define a set of values which are valid for      this object or must implement an integer-      instanced  policy table for which this object's      value acts as an index."     ::= { ipv6RouteEntry 8 } ipv6RouteAge OBJECT-TYPE     SYNTAX     Unsigned32     UNITS      "seconds"     MAX-ACCESS read-only     STATUS     current     DESCRIPTION        "The number of seconds since this route was last        updated or otherwise determined to be correct.        Note that no semantics of `too old' can be implied        except through knowledge of the routing protocol        by which the route was learned."     ::= { ipv6RouteEntry 9 } ipv6RouteNextHopRDI OBJECT-TYPE     SYNTAX     Unsigned32     MAX-ACCESS read-only     STATUS     current     DESCRIPTION        "The Routing Domain ID of the Next Hop.        The  semantics of this object are determined by        the routing-protocol specified in  the  route's        ipv6RouteProtocol value.   When  this object is        unknown or not relevant its value should be set        to zero."     ::= { ipv6RouteEntry 10 } ipv6RouteMetric OBJECT-TYPE     SYNTAX     Unsigned32     MAX-ACCESS read-only     STATUS     current     DESCRIPTION        "The routing metric for this route. The        semantics of this metric are determined by the        routing protocol specified in the route's        ipv6RouteProtocol value.  When this is unknown        or not relevant to the protocol indicated by        ipv6RouteProtocol, the object value should be        set to its maximum value (4,294,967,295)."     ::= { ipv6RouteEntry 11 }

⌨️ 快捷键说明

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