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

📄 docs-cable-device-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
        INDEX { docsDevEvIndex }        ::= { docsDevEventTable 1 }DocsDevEventEntry ::= SEQUENCE {            docsDevEvIndex           Integer32,            docsDevEvFirstTime       DateAndTime,            docsDevEvLastTime        DateAndTime,            docsDevEvCounts          Counter32,            docsDevEvLevel           INTEGER,            docsDevEvId              Unsigned32,            docsDevEvText            SnmpAdminString        }docsDevEvIndex OBJECT-TYPE        SYNTAX      Integer32 (1..2147483647)        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION            "Provides relative ordering of the objects in the event             log. This object will always increase except when             (a) the log is reset via docsDevEvControl,             (b) the device reboots and does not implement non-volatile             storage for this log, or (c) it reaches the value 2^31.             The next entry for all the above cases is 1."        ::= { docsDevEventEntry 1 }docsDevEvFirstTime OBJECT-TYPE        SYNTAX      DateAndTime        MAX-ACCESS  read-only        STATUS      current        DESCRIPTION            "The time that this entry was created."        ::= { docsDevEventEntry 2 }docsDevEvLastTime OBJECT-TYPE        SYNTAX      DateAndTime        MAX-ACCESS  read-only        STATUS      current        DESCRIPTION            "If multiple events are reported via the same entry, the             time that the last event for this entry occurred,             otherwise this should have the same value as             docsDevEvFirstTime. "        ::= { docsDevEventEntry 3 }-- This object was renamed from docsDevEvCount to meet naming-- requirements for Counter32docsDevEvCounts OBJECT-TYPE        SYNTAX      Counter32        MAX-ACCESS  read-only        STATUS      current        DESCRIPTION            "The number of consecutive event instances reported by             this entry.  This starts at 1 with the creation of this             row and increments by 1 for each subsequent duplicate             event."        ::= { docsDevEventEntry 4 }docsDevEvLevel OBJECT-TYPE        SYNTAX INTEGER {            emergency(1),            alert(2),            critical(3),            error(4),            warning(5),            notice(6),            information(7),            debug(8)        }        MAX-ACCESS  read-only        STATUS      current        DESCRIPTION            "The priority level of this event as defined by the             vendor.  These are ordered from most serious (emergency)             to least serious (debug)."        ::= { docsDevEventEntry 5 }---- Vendors will provide their own enumerations for the following.-- The interpretation of the enumeration is unambiguous for a-- particular value of the vendor's enterprise number in sysObjectID.--docsDevEvId OBJECT-TYPE        SYNTAX      Unsigned32        MAX-ACCESS  read-only        STATUS      current        DESCRIPTION            "For this product, uniquely identifies the type of event             that is reported by this entry."        ::= { docsDevEventEntry 6 }docsDevEvText OBJECT-TYPE        SYNTAX      SnmpAdminString        MAX-ACCESS  read-only        STATUS      current        DESCRIPTION            "Provides a human-readable description of the event,             including all relevant context (interface numbers,             etc.)."        ::= { docsDevEventEntry 7 }docsDevFilter OBJECT IDENTIFIER ::= { docsDevMIBObjects 6 }---- Link Level Control Filtering---- docsDevFilterLLCDefault renamed to docsDevFilterLLCUnmatchedActiondocsDevFilterLLCUnmatchedAction OBJECT-TYPE        SYNTAX INTEGER {            discard(1),            accept(2)        }        MAX-ACCESS  read-write        STATUS      current        DESCRIPTION            "LLC (Link Level Control) filters can be defined on an             inclusive or exclusive basis: CMs can be configured to             forward only packets matching a set of layer three             protocols, or to drop packets matching a set of layer             three protocols.  Typical use of these filters is to             filter out possibly harmful (given the context of a large             metropolitan LAN) protocols.             If set to discard(1), any L2 packet which does not match at             least one filter in the docsDevFilterLLCTable will be             discarded. If set to accept(2), any L2 packet which does not             match at least one filter in the docsDevFilterLLCTable             will be accepted for further processing (e.g., bridging).             At initial system startup, this object returns accept(2)."        ::= { docsDevFilter 1 }docsDevFilterLLCTable OBJECT-TYPE        SYNTAX      SEQUENCE OF DocsDevFilterLLCEntry        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION            "A list of filters to apply to (bridged) LLC             traffic. The filters in this table are applied to             incoming traffic on the appropriate interface(s)  prior             to any further processing (e.g. before handing the packet             off for level 3 processing, or for bridging).  The             specific action taken when no filter is matched is             controlled by docsDevFilterLLCUnmatchedAction."        ::= { docsDevFilter 2 }docsDevFilterLLCEntry OBJECT-TYPE        SYNTAX      DocsDevFilterLLCEntry        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION            "Describes a single filter to apply to (bridged) LLC traffic             received on a specified interface. "        INDEX { docsDevFilterLLCIndex }        ::= { docsDevFilterLLCTable 1 }DocsDevFilterLLCEntry ::= SEQUENCE {            docsDevFilterLLCIndex               Integer32,            docsDevFilterLLCStatus              RowStatus,            docsDevFilterLLCIfIndex             InterfaceIndexOrZero,            docsDevFilterLLCProtocolType        INTEGER,            docsDevFilterLLCProtocol            Integer32,            docsDevFilterLLCMatches             Counter32        }docsDevFilterLLCIndex OBJECT-TYPE        SYNTAX      Integer32 (1..2147483647)        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION            "Index used for the identification of filters (note that LLC             filter order is irrelevant)."        ::= { docsDevFilterLLCEntry 1 }docsDevFilterLLCStatus OBJECT-TYPE        SYNTAX      RowStatus        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "Controls and reflects the status of rows in this             table. There is no restriction on changing any of the             associated columns for this row while this object is set             to active."        ::= { docsDevFilterLLCEntry 2}docsDevFilterLLCIfIndex OBJECT-TYPE        SYNTAX      InterfaceIndexOrZero        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "The entry interface to which this filter applies.             The value corresponds to ifIndex for either a CATV MAC             or another network interface. If the value is zero, the             filter applies to all interfaces. In Cable Modems, the             default value is the customer side interface. In Cable             Modem Termination Systems, this object has to be             specified to create a row in this table."        ::= { docsDevFilterLLCEntry 3 }docsDevFilterLLCProtocolType OBJECT-TYPE        SYNTAX INTEGER {            ethertype(1),            dsap(2)        }        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "The format of the value in docsDevFilterLLCProtocol:             either a two-byte Ethernet Ethertype, or a one-byte             802.2 SAP value. EtherType(1) also applies to SNAP-             encapsulated frames."        DEFVAL { ethertype }        ::= { docsDevFilterLLCEntry 4 }docsDevFilterLLCProtocol OBJECT-TYPE        SYNTAX      Integer32 (0..65535)        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "The layer three protocol for which this filter applies.             The protocol value format depends on             docsDevFilterLLCProtocolType. Note that for SNAP frames,             etherType filtering is performed rather than DSAP=0xAA."        DEFVAL { 0 }        ::= { docsDevFilterLLCEntry 5 }docsDevFilterLLCMatches OBJECT-TYPE        SYNTAX      Counter32        MAX-ACCESS  read-only        STATUS      current        DESCRIPTION            "Counts the number of times this filter was matched."        ::= { docsDevFilterLLCEntry 6 }-- The default behavior for (bridged) packets that do not match IP-- filters is defined by-- docsDevFilterIpDefault.docsDevFilterIpDefault OBJECT-TYPE        SYNTAX INTEGER {            discard(1),            accept(2)        }        MAX-ACCESS  read-write        STATUS      current        DESCRIPTION            "If set to discard(1), all packets not matching an IP filter             will be discarded. If set to accept(2), all packets not             matching an IP filter will be accepted for further             processing (e.g., bridging).             At initial system startup, this object returns accept(2)."        ::= { docsDevFilter 3 }docsDevFilterIpTable OBJECT-TYPE        SYNTAX      SEQUENCE OF DocsDevFilterIpEntry        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION            "An ordered list of filters or classifiers to apply to             IP traffic. Filter application is ordered by the filter             index, rather than by a best match algorithm (Note that             this implies that the filter table may have gaps in the             index values). Packets which match no filters will have             policy 0 in the docsDevFilterPolicyTable applied to them if             it exists. Otherwise, Packets which match no filters             are discarded or forwarded according to the setting of             docsDevFilterIpDefault.             Any IP packet can theoretically match multiple rows of             this table.  When considering a packet, the table is             scanned in row index order (e.g. filter 10 is checked             before filter 20).  If the packet matches that filter             (which means that it matches ALL criteria for that row),             actions appropriate to docsDevFilterIpControl and             docsDevFilterPolicyId are taken.  If the packet was             discarded processing is complete.  If             docsDevFilterIpContinue is set to true, the filter             comparison continues with the next row in the table             looking for additional matches.             If the packet matches no filter in the table, the packet             is accepted or dropped for further processing based on             the setting of docsDevFilterIpDefault. If the packet is             accepted, the actions specified by policy group 0             (e.g. the rows in docsDevFilterPolicyTable which have a             value of 0 for docsDevFilterPolicyId) are taken if that             policy group exists.             Logically, this table is consulted twice during the             processing of any IP packet - once upon its acceptance             from the L2 entity, and once upon its transmission to the             L2 entity.  In actuality, for cable modems, IP filtering             is generally the only IP processing done for transit             traffic.  This means that inbound and outbound filtering             can generally be done at the same time with one pass             through the filter table."        ::= { docsDevFilter 4 }docsDevFilterIpEntry OBJECT-TYPE        SYNTAX      DocsDevFilterIpEntry        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION            "Describes a filter to apply to IP traffic received on a             specified interface.  All identity objects in this table             (e.g. source and destination address/mask, protocol,             source/dest port, TOS/mask, interface and direction) must             match their respective fields in the packet for any given             filter to match.             To create an entry in this table, docsDevFilterIpIfIndex             must be specified."        INDEX { docsDevFilterIpIndex }        ::= { docsDevFilterIpTable 1 }DocsDevFilterIpEntry ::= SEQUENCE {            docsDevFilterIpIndex             Integer32,            docsDevFilterIpStatus            RowStatus,            docsDevFilterIpControl           INTEGER,            docsDevFilterIpIfIndex           InterfaceIndexOrZero,            docsDevFilterIpDirection         INTEGER,            docsDevFilterIpBroadcast         TruthValue,            docsDevFilterIpSaddr             IpAddress,            docsDevFilterIpSmask             IpAddress,            docsDevFilterIpDaddr             IpAddress,            docsDevFilterIpDmask             IpAddress,            docsDevFilterIpProtocol          Integer32,            docsDevFilterIpSourcePortLow     Integer32,            docsDevFilterIpSourcePortHigh    Integer32,            docsDevFilterIpDestPortLow       Integer32,            docsDevFilterIpDestPortHigh      Integer32,            docsDevFilterIpMatches           Counter32,

⌨️ 快捷键说明

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