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

📄 rfc1253-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
--  Thus, a typical sequence number will be very negative.ospfLsdbSequence OBJECT-TYPE    SYNTAX   INTEGER    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The sequence number field is a signed 32-bit integer.       It is used to detect old and duplicate link state       advertisements.  The space of sequence numbers is       linearly ordered.  The larger the sequence number the       more recent the advertisement."    REFERENCE       "OSPF Version 2, Section 12.1.6 LS sequence number"    ::= { ospfLsdbEntry 5 }ospfLsdbAge OBJECT-TYPE    SYNTAX   INTEGER    -- Should be 0..MaxAge    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "This field is the age of the link state advertisement       in seconds."    REFERENCE       "OSPF Version 2, Section 12.1.1 LS age"    ::= { ospfLsdbEntry 6 }ospfLsdbChecksum OBJECT-TYPE    SYNTAX   INTEGER    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "This field is the checksum of the complete contents of       the advertisement, excepting the age field.  The age       field is excepted so that an advertisement's age can be       incremented without updating the checksum.  The       checksum used is the same that is used for ISO       connectionless datagrams; it is commonly referred to as       the Fletcher checksum."    REFERENCE       "OSPF Version 2, Section 12.1.7 LS checksum"    ::= { ospfLsdbEntry 7 }ospfLsdbAdvertisement OBJECT-TYPE    SYNTAX   OCTET STRING    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The entire Link State Advertisement, including its       header."    REFERENCE       "OSPF Version 2, Section 12 Link State Advertisements"    ::= { ospfLsdbEntry 8 }--  Address Range Table--      The Address Range Table acts as an adjunct to the Area--      Table; It describes those Address Range Summaries that--      are configured to be propagated from an Area to reduce--      the amount of information about it which is known beyond--      its borders.ospfAreaRangeTable OBJECT-TYPE    SYNTAX   SEQUENCE OF OspfAreaRangeEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "A range if IP addresses specified by an IP address/IP       network mask pair.  For example, class B address range       of X.X.X.X with a network mask of 255.255.0.0 includes       all IP addresses from X.X.0.0 to X.X.255.255"    REFERENCE       "OSPF Version 2, Appendix C.2  Area parameters"    ::= { ospf 5 }ospfAreaRangeEntry OBJECT-TYPE    SYNTAX   OspfAreaRangeEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "A range if IP addresses specified by an IP address/IP       network mask pair.  For example, class B address range       of X.X.X.X with a network mask of 255.255.0.0 includes       all IP addresses from X.X.0.0 to X.X.255.255"    REFERENCE       "OSPF Version 2, Appendix C.2  Area parameters"    INDEX { ospfAreaRangeAreaID, ospfAreaRangeNet }    ::= { ospfAreaRangeTable 1 }OspfAreaRangeEntry ::=    SEQUENCE {        ospfAreaRangeAreaID            AreaID,        ospfAreaRangeNet            IpAddress,        ospfAreaRangeMask            IpAddress,        ospfAreaRangeStatus            Validation    }ospfAreaRangeAreaID OBJECT-TYPE    SYNTAX   AreaID    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The Area the Address Range is to be found within."    REFERENCE       "OSPF Version 2, Appendix C.2 Area parameters"    ::= { ospfAreaRangeEntry 1 }ospfAreaRangeNet OBJECT-TYPE    SYNTAX   IpAddress    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The IP Address of the Net or Subnet indicated by the       range."    REFERENCE       "OSPF Version 2, Appendix C.2 Area parameters"    ::= { ospfAreaRangeEntry 2 }ospfAreaRangeMask OBJECT-TYPE    SYNTAX   IpAddress    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The Subnet Mask that pertains to the Net or Subnet."    REFERENCE       "OSPF Version 2, Appendix C.2 Area parameters"    ::= { ospfAreaRangeEntry 3 }ospfAreaRangeStatus 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 }    ::= { ospfAreaRangeEntry 4 }--  OSPF Host Table--      The Host/Metric Table indicates what hosts are directly--      attached to the Router, and what metrics and types of--      service should be advertised for them.ospfHostTable OBJECT-TYPE    SYNTAX   SEQUENCE OF OspfHostEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "The list of Hosts, and their metrics, that the router       will advertise as host routes."    REFERENCE       "OSPF Version 2, Appendix C.6  Host route parameters"    ::= { ospf 6 }ospfHostEntry OBJECT-TYPE    SYNTAX   OspfHostEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "A metric to be advertised, for a given type of service,       when a given host is reachable."    INDEX { ospfHostIpAddress, ospfHostTOS }    ::= { ospfHostTable 1 }OspfHostEntry ::=    SEQUENCE {        ospfHostIpAddress            IpAddress,        ospfHostTOS            TOSType,        ospfHostMetric            Metric,        ospfHostStatus            Validation    }ospfHostIpAddress OBJECT-TYPE    SYNTAX   IpAddress    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The IP Address of the Host."    REFERENCE       "OSPF Version 2, Appendix C.6 Host route parameters"    ::= { ospfHostEntry 1 }ospfHostTOS OBJECT-TYPE    SYNTAX   TOSType    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The Type of Service of the route being configured."    REFERENCE       "OSPF Version 2, Appendix C.6 Host route parameters"    ::= { ospfHostEntry 2 }ospfHostMetric OBJECT-TYPE    SYNTAX   Metric    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The Metric to be advertised."    REFERENCE       "OSPF Version 2, Appendix C.6 Host route parameters"    ::= { ospfHostEntry 3 }ospfHostStatus 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 }    ::= { ospfHostEntry 4 }--  OSPF Interface Table--      The OSPF Interface Table augments the ifTable with OSPF--      specific information.ospfIfTable OBJECT-TYPE    SYNTAX   SEQUENCE OF OspfIfEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "The OSPF Interface Table describes the interfaces from       the viewpoint of OSPF."    REFERENCE       "OSPF Version 2, Appendix C.3  Router interface       parameters"    ::= { ospf 7 }ospfIfEntry OBJECT-TYPE    SYNTAX   OspfIfEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "The OSPF Interface Entry describes one interface from       the viewpoint of OSPF."    INDEX { ospfIfIpAddress, ospfAddressLessIf }    ::= { ospfIfTable 1 }OspfIfEntry ::=    SEQUENCE {        ospfIfIpAddress            IpAddress,        ospfAddressLessIf            INTEGER,        ospfIfAreaId            AreaID,        ospfIfType            INTEGER,        ospfIfAdminStat            Status,        ospfIfRtrPriority            DesignatedRouterPriority,        ospfIfTransitDelay            UpToMaxAge,        ospfIfRetransInterval            UpToMaxAge,        ospfIfHelloInterval            HelloRange,        ospfIfRtrDeadInterval            PositiveInteger,        ospfIfPollInterval            PositiveInteger,        ospfIfState            INTEGER,        ospfIfDesignatedRouter            IpAddress,        ospfIfBackupDesignatedRouter            IpAddress,        ospfIfEvents            Counter,        ospfIfAuthKey            OCTET STRING    }ospfIfIpAddress OBJECT-TYPE    SYNTAX   IpAddress    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The IP address of this OSPF interface."    ::= { ospfIfEntry 1 }ospfAddressLessIf 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       corresponding value of ifIndex for interfaces having no       IP Address."    ::= { ospfIfEntry 2 }ospfIfAreaId OBJECT-TYPE    SYNTAX   AreaID    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "A 32-bit integer uniquely identifying the area to       which the interface connects.  Area ID 0.0.0.0 is used       for the OSPF backbone."    DEFVAL   { '00000000'H }    -- 0.0.0.0    ::= { ospfIfEntry 3 }ospfIfType OBJECT-TYPE    SYNTAX   INTEGER {                broadcast (1),                nbma (2),                pointToPoint (3)             }    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The OSPF interface type.       By way of a default, this field may be intuited from       the corresponding value of ifType.  Broadcast LANs,       such as Ethernet and IEEE 802.5, take the value       'broadcast', X.25, Frame Relay, and similar       technologies take the value 'nbma', and links that are       definitively point to point take the value       'pointToPoint'."    ::= { ospfIfEntry 4 }ospfIfAdminStat OBJECT-TYPE    SYNTAX   Status    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The OSPF interface's administrative status.  The value       'enabled' denotes that neighbor relationships may be       formed on the interface, and the interface will be       advertised as an internal route to some area.  The       value 'disabled' denotes that the interface is external       to OSPF."    DEFVAL { enabled }    ::= { ospfIfEntry 5 }ospfIfRtrPriority OBJECT-TYPE    SYNTAX   DesignatedRouterPriority    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The priority of this interface.  Used in multi-access       networks, this field is used in the designated router       election algorithm.  The value 0 signifies that the       router is not eligible to become the designated router       on this particular network.  In the event of a tie in       this value, routers will use their router id as a tie       breaker."    DEFVAL { 1 }    ::= { ospfIfEntry 6 }ospfIfTransitDelay 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 }    ::= { ospfIfEntry 7 }ospfIfRetransInterval 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."    DEFVAL { 5 }    ::= { ospfIfEntry 8 }ospfIfHelloInterval 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 all routers attached to a       common network."    DEFVAL { 10 }    ::= { ospfIfEntry 9 }ospfIfRtrDeadInterval 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 all routers       attached to a common network."    DEFVAL { 40 }    ::= { ospfIfEntry 10 }ospfIfPollInterval OBJECT-TYPE    SYNTAX   PositiveInteger    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The larger time interval, in seconds, between the       Hello packets sent to an inactive non-broadcast multi-       access neighbor."    DEFVAL { 120 }    ::= { ospfIfEntry 11 }ospfIfState OBJECT-TYPE    SYNTAX   INTEGER {                down (1),                loopback (2),                waiting (3),                pointToPoint (4),                designatedRouter (5),                backupDesignatedRouter (6),                otherDesignatedRouter (7)             }    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The OSPF Interface State."    DEFVAL { down }    ::= { ospfIfEntry 12 }ospfIfDesignatedRouter OBJECT-TYPE    SYNTAX   IpAddress    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The IP Address of the Designated Router."    DEFVAL   { '00000000'H }    -- 0.0.0.0    ::= { ospfIfEntry 13 }ospfIfBackupDesignatedRouter OBJECT-TYPE    SYNTAX   IpAddress    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The IP Address of the Backup Designated Router."    DEFVAL   { '00000000'H }    -- 0.0.0.0    ::= { ospfIfEntry 14 }ospfIfEvents OBJECT-TYPE    SYNTAX   Counter    ACCESS   read-only    STATUS   mandatory    DESCRIPTION       "The number of times this OSPF interface has changed       its state, or an error has occurred."    DEFVAL   { 0 }    ::= { ospfIfEntry 15 }ospfIfAuthKey OBJECT-TYPE    SYNTAX   OCTET STRING    ACCESS   read-write    STATUS   mandatory    DESCRIPTION       "The Authentication Key.  If the Area's Authorization       Type is simplePassword, and the key length is shorter       than 8 octets, the agent will left adjust and zero fill       to 8 octets.       When read, ospfIfAuthKey always returns an Octet 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    ::= { ospfIfEntry 16 }--  OSPF Interface Metric Table--      The Metric Table describes the metrics to be advertised--      for a specified interface at the various types of service.--      As such, this table is an adjunct of the OSPF Interface--      Table.-- Types of service, as defined by RFC 791, have the ability-- to request low delay, high bandwidth, or reliable linkage.-- For the purposes of this specification, the measure of-- bandwidth--      Metric = 10^8 / ifSpeed-- is the default value.  For multiple link interfaces, note-- that ifSpeed is the sum of the individual link speeds.-- This yields a number having the following typical values:--      Network Type/bit rate   Metric--      >= 100 MBPS                 1--      Ethernet/802.3             10--      E1                         48--      T1 (ESF)                   65--       64 KBPS                 1562--       56 KBPS                 1785--       19.2 KBPS               5208--        9.6 KBPS              10416-- Routes that are not specified use the default (TOS 0) metricospfIfMetricTable OBJECT-TYPE    SYNTAX   SEQUENCE OF OspfIfMetricEntry    ACCESS   not-accessible    STATUS   mandatory    DESCRIPTION       "The TOS metrics for a non-virtual interface identified       by the interface index."    REFERENCE       "OSPF Version 2, Appendix C.3  Router interface       parameters"    ::= { ospf 8 }

⌨️ 快捷键说明

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