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

📄 rfc1253-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
ospfIfMetricEntry OBJECT-TYPE    SYNTAX   OspfIfMetricEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "A particular TOS metric for a non-virtual interface       identified by the interface index."    REFERENCE       "OSPF Version 2, Appendix C.3  Router interface       parameters"    INDEX { ospfIfMetricIpAddress,            ospfIfMetricAddressLessIf,            ospfIfMetricTOS }    ::= { ospfIfMetricTable 1 }OspfIfMetricEntry ::=    SEQUENCE {        ospfIfMetricIpAddress            IpAddress,        ospfIfMetricAddressLessIf            INTEGER,        ospfIfMetricTOS            TOSType,        ospfIfMetricMetric            Metric,        ospfIfMetricStatus            Validation    }ospfIfMetricIpAddress OBJECT-TYPE    SYNTAX   IpAddress    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The IP address of this OSPF interface.  On row       creation, this can be derived from the instance."    ::= { ospfIfMetricEntry 1 }ospfIfMetricAddressLessIf OBJECT-TYPE    SYNTAX   INTEGER    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "For the purpose of easing the instancing of addressed       and addressless interfaces; This variable takes the       value 0 on interfaces with IP Addresses, and the value       of ifIndex for interfaces having no IP Address.  On row       creation, this can be derived from the instance."    ::= { ospfIfMetricEntry 2 }ospfIfMetricTOS OBJECT-TYPE    SYNTAX   TOSType    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The type of service metric being referenced.  On row       creation, this can be derived from the instance."    ::= { ospfIfMetricEntry 3 }ospfIfMetricMetric OBJECT-TYPE    SYNTAX   Metric    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The metric of using this type of service on this       interface.  The default value of the TOS 0 Metric is       10^8 / ifSpeed.       The value FFFF is distinguished to mean 'no route via       this TOS'."    ::= { ospfIfMetricEntry 4 }ospfIfMetricStatus OBJECT-TYPE    SYNTAX   Validation    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "This variable displays the validity or invalidity of       the entry.  Setting it to 'invalid' has the effect of       rendering it inoperative.  The internal effect (row       removal) is implementation dependent."    DEFVAL   { valid }    ::= { ospfIfMetricEntry 5 }--  OSPF Virtual Interface Table--      The Virtual Interface Table describes the virtual--      links that the OSPF Process is configured to--      carry on.ospfVirtIfTable OBJECT-TYPE    SYNTAX   SEQUENCE OF OspfVirtIfEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "Information about this router's virtual interfaces."    REFERENCE       "OSPF Version 2, Appendix C.4  Virtual link parameters"    ::= { ospf 9 }ospfVirtIfEntry OBJECT-TYPE    SYNTAX   OspfVirtIfEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "Information about a single Virtual Interface."    INDEX { ospfVirtIfAreaID, ospfVirtIfNeighbor }    ::= { ospfVirtIfTable 1 }OspfVirtIfEntry ::=    SEQUENCE {        ospfVirtIfAreaID            AreaID,        ospfVirtIfNeighbor            RouterID,        ospfVirtIfTransitDelay            UpToMaxAge,        ospfVirtIfRetransInterval            UpToMaxAge,        ospfVirtIfHelloInterval            HelloRange,        ospfVirtIfRtrDeadInterval            PositiveInteger,        ospfVirtIfState            INTEGER,        ospfVirtIfEvents            Counter,        ospfVirtIfAuthKey            OCTET STRING,        ospfVirtIfStatus            Validation    }ospfVirtIfAreaID OBJECT-TYPE    SYNTAX   AreaID    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The Transit Area that the Virtual Link traverses.  By       definition, this is not 0.0.0.0"    ::= { ospfVirtIfEntry 1 }ospfVirtIfNeighbor OBJECT-TYPE    SYNTAX   RouterID    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The Router ID of the Virtual Neighbor."    ::= { ospfVirtIfEntry 2 }ospfVirtIfTransitDelay OBJECT-TYPE    SYNTAX   UpToMaxAge    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The estimated number of seconds it takes to transmit a       link- state update packet over this interface."    DEFVAL { 1 }    ::= { ospfVirtIfEntry 3 }ospfVirtIfRetransInterval OBJECT-TYPE    SYNTAX   UpToMaxAge    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The number of seconds between link-state advertisement       retransmissions, for adjacencies belonging to this       interface.  This value is also used when retransmitting       database description and link-state request packets.       This value should be well over the expected round-trip       time."    DEFVAL { 5 }    ::= { ospfVirtIfEntry 4 }ospfVirtIfHelloInterval OBJECT-TYPE    SYNTAX   HelloRange    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The length of time, in seconds, between the Hello       packets that the router sends on the interface.  This       value must be the same for the virtual neighbor."    DEFVAL { 10 }    ::= { ospfVirtIfEntry 5 }ospfVirtIfRtrDeadInterval OBJECT-TYPE    SYNTAX   PositiveInteger    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The number of seconds that a router's Hello packets       have not been seen before it's neighbors declare the       router down.  This should be some multiple of the Hello       interval.  This value must be the same for the virtual       neighbor."    DEFVAL { 60 }    ::= { ospfVirtIfEntry 6 }ospfVirtIfState OBJECT-TYPE    SYNTAX   INTEGER {                down (1),            -- these use the same encoding                pointToPoint (4)     -- as the ospfIfTable             }    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "OSPF virtual interface states."    DEFVAL   { down }    ::= { ospfVirtIfEntry 7 }ospfVirtIfEvents OBJECT-TYPE    SYNTAX   Counter    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The number of state changes or error events on this       Virtual Link"    DEFVAL   { 0 }    ::= { ospfVirtIfEntry 8 }ospfVirtIfAuthKey OBJECT-TYPE    SYNTAX   OCTET STRING    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "If Authentication Type is simplePassword, the device       will left adjust and zero fill to 8 octets.       When read, ospfVifAuthKey always returns a string of       length zero."    REFERENCE       "OSPF Version 2, Section 9 The Interface Data       Structure"    DEFVAL   { '0000000000000000'H }    -- 0.0.0.0.0.0.0.0    ::= { ospfVirtIfEntry 9 }ospfVirtIfStatus OBJECT-TYPE    SYNTAX   Validation    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "This variable displays the validity or invalidity of       the entry.  Setting it to 'invalid' has the effect of       rendering it inoperative.  The internal effect (row       removal) is implementation dependent."    DEFVAL   { valid }    ::= { ospfVirtIfEntry 10 }--  OSPF Neighbor Table--      The OSPF Neighbor Table describes all neighbors in--      the locality of the subject router.ospfNbrTable OBJECT-TYPE    SYNTAX   SEQUENCE OF OspfNbrEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "A table of non-virtual neighbor information."    REFERENCE       "OSPF Version 2, Section 10 The Neighbor Data       Structure"    ::= { ospf 10 }ospfNbrEntry OBJECT-TYPE    SYNTAX   OspfNbrEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "The information regarding a single neighbor."    REFERENCE       "OSPF Version 2, Section 10 The Neighbor Data       Structure"    INDEX { ospfNbrIpAddr, ospfNbrAddressLessIndex }    ::= { ospfNbrTable 1 }OspfNbrEntry ::=    SEQUENCE {        ospfNbrIpAddr            IpAddress,        ospfNbrAddressLessIndex            InterfaceIndex,        ospfNbrRtrId            RouterID,        ospfNbrOptions            INTEGER,        ospfNbrPriority            DesignatedRouterPriority,        ospfNbrState            INTEGER,        ospfNbrEvents            Counter,        ospfNbrLSRetransQLen            Gauge,        ospfNBMANbrStatus            Validation    }ospfNbrIpAddr OBJECT-TYPE    SYNTAX   IpAddress    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The IP address of this neighbor."    ::= { ospfNbrEntry 1 }ospfNbrAddressLessIndex OBJECT-TYPE    SYNTAX   InterfaceIndex    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       " On an interface having an IP Address, zero.  On       addressless interfaces, the corresponding value of       ifIndex in the Internet Standard MIB.  On row creation,       this can be derived from the instance."    ::= { ospfNbrEntry 2 }ospfNbrRtrId OBJECT-TYPE    SYNTAX   RouterID    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "A 32-bit integer (represented as a type IpAddress)       uniquely identifying the neighboring router in the       Autonomous System."    DEFVAL   { '00000000'H }    -- 0.0.0.0    ::= { ospfNbrEntry 3 }ospfNbrOptions OBJECT-TYPE    SYNTAX   INTEGER    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "A Bit Mask corresponding to the neighbor's options       field.       Bit 0, if set, indicates that the area accepts and       operates on external information; if zero, it is a stub       area.       Bit 1, if set, indicates that the system will operate       on Type of Service metrics other than TOS 0.  If zero,       the neighbor will ignore all metrics except the TOS 0       metric."    REFERENCE       "OSPF Version 2, Section 12.1.2 Options"    DEFVAL { 0 }    ::= { ospfNbrEntry 4 }ospfNbrPriority OBJECT-TYPE    SYNTAX   DesignatedRouterPriority    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The priority of this neighbor in the designated router       election algorithm.  The value 0 signifies that the       neighbor is not eligible to become the designated       router on this particular network."    DEFVAL { 1 }    ::= { ospfNbrEntry 5 }ospfNbrState OBJECT-TYPE    SYNTAX   INTEGER {                down (1),                attempt (2),                init (3),                twoWay (4),                exchangeStart (5),                exchange (6),                loading (7),                full (8)             }    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The State of the relationship with this Neighbor."    REFERENCE       "OSPF Version 2, Section 10.1 Neighbor States"    DEFVAL   { down }    ::= { ospfNbrEntry 6 }ospfNbrEvents OBJECT-TYPE    SYNTAX   Counter    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The number of times this neighbor relationship has       changed state, or an error has occurred."    DEFVAL   { 0 }    ::= { ospfNbrEntry 7 }ospfNbrLSRetransQLen OBJECT-TYPE    SYNTAX   Gauge    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The current length of the retransmission queue."    DEFVAL   { 0 }    ::= { ospfNbrEntry 8 }ospfNBMANbrStatus OBJECT-TYPE    SYNTAX   Validation    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "This variable displays the validity or invalidity of       the entry.  Setting it to 'invalid' has the effect of       rendering it inoperative.  The internal effect (row       removal) is implementation dependent."    DEFVAL { valid }    ::= { ospfNbrEntry 9 }--  OSPF Virtual Neighbor Table--      This table describes all virtual neighbors.--      Since Virtual Links are configured in the--      virtual interface table, this table is read-only.ospfVirtNbrTable OBJECT-TYPE    SYNTAX   SEQUENCE OF OspfVirtNbrEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "A table of virtual neighbor information."    REFERENCE       "OSPF Version 2, Section 15  Virtual Links"    ::= { ospf 11 }ospfVirtNbrEntry OBJECT-TYPE    SYNTAX   OspfVirtNbrEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "Virtual neighbor information."    INDEX { ospfVirtNbrArea, ospfVirtNbrRtrId }    ::= { ospfVirtNbrTable 1 }OspfVirtNbrEntry ::=    SEQUENCE {        ospfVirtNbrArea            AreaID,        ospfVirtNbrRtrId            RouterID,        ospfVirtNbrIpAddr            IpAddress,        ospfVirtNbrOptions            INTEGER,        ospfVirtNbrState            INTEGER,        ospfVirtNbrEvents            Counter,        ospfVirtNbrLSRetransQLen            Gauge    }ospfVirtNbrArea OBJECT-TYPE    SYNTAX   AreaID    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The Transit Area Identifier."    ::= { ospfVirtNbrEntry 1 }ospfVirtNbrRtrId OBJECT-TYPE    SYNTAX   RouterID    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "A 32-bit integer uniquely identifying the neighboring       router in the Autonomous System."    ::= { ospfVirtNbrEntry 2 }ospfVirtNbrIpAddr OBJECT-TYPE    SYNTAX   IpAddress    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The IP address this Virtual Neighbor is using."    ::= { ospfVirtNbrEntry 3 }ospfVirtNbrOptions OBJECT-TYPE    SYNTAX   INTEGER    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "A bit map corresponding to the neighbor's options       field.  Thus, Bit 1, if set, indicates that the       neighbor supports Type of Service Routing; if zero, no       metrics other than TOS 0 are in use by the neighbor."    ::= { ospfVirtNbrEntry 4 }ospfVirtNbrState OBJECT-TYPE    SYNTAX   INTEGER {                down (1),                attempt (2),                init (3),                twoWay (4),                exchangeStart (5),                exchange (6),                loading (7),                full (8)             }    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The state of the Virtual Neighbor Relationship."    ::= { ospfVirtNbrEntry 5 }ospfVirtNbrEvents OBJECT-TYPE    SYNTAX   Counter    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The number of times this virtual link has changed its       state, or an error has occurred."    ::= { ospfVirtNbrEntry 6 }ospfVirtNbrLSRetransQLen OBJECT-TYPE    SYNTAX   Gauge    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The current length of the retransmission queue."    ::= { ospfVirtNbrEntry 7 }END

⌨️ 快捷键说明

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