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

📄 docs-cable-device-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
            docsDevFilterIpTos               OCTET STRING,            docsDevFilterIpTosMask           OCTET STRING,            docsDevFilterIpContinue          TruthValue,            docsDevFilterIpPolicyId          Integer32        }docsDevFilterIpIndex OBJECT-TYPE        SYNTAX      Integer32 (1..2147483647)        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION            "Index used to order the application of filters.             The filter with the lowest index is always applied             first."        ::= { docsDevFilterIpEntry 1 }docsDevFilterIpStatus OBJECT-TYPE        SYNTAX      RowStatus        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "Controls and reflects the status of rows in this             table. Specifying only this object (with the appropriate             index) on a CM is sufficient to create a filter row which             matches all inbound packets on the ethernet interface,             and results in the packets being             discarded. docsDevFilterIpIfIndex (at least) must be             specified on a CMTS to create a row.  Creation of the             rows may be done via either create-and-wait or             create-and-go, but the filter is not applied until this             object is set to (or changes to) active. There is no             restriction in changing any object in a row while this             object is set to active."        ::= { docsDevFilterIpEntry 2 }docsDevFilterIpControl OBJECT-TYPE        SYNTAX INTEGER {            discard(1),            accept(2),            policy(3)        }        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "If set to discard(1), all packets matching this filter             will be discarded and scanning of the remainder of the             filter list will be aborted. If set to accept(2), all             packets matching this filter will be accepted for further             processing (e.g., bridging). If docsDevFilterIpContinue             is set to true, see if there are other matches, otherwise             done. If set to policy (3), execute the policy entries             matched by docsDevIpFilterPolicyId in             docsDevIpFilterPolicyTable.             If is docsDevFilterIpContinue is set to true, continue             scanning the table for other matches, otherwise done."        DEFVAL { discard }        ::= { docsDevFilterIpEntry 3 }docsDevFilterIpIfIndex 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. Default value in Cable             Modems is the index of the customer-side (e.g. ethernet)             interface. In Cable Modem Termination Systems, this             object MUST be specified to create a row in this table."        ::= { docsDevFilterIpEntry 4 }docsDevFilterIpDirection OBJECT-TYPE        SYNTAX INTEGER {            inbound(1),            outbound(2),            both(3)        }        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "Determines whether the filter is applied to inbound(1)             traffic, outbound(2) traffic, or traffic in both(3)             directions."        DEFVAL { inbound }        ::= { docsDevFilterIpEntry 5 }docsDevFilterIpBroadcast OBJECT-TYPE        SYNTAX      TruthValue        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "If set to true(1), the filter only applies to multicast             and broadcast traffic. If set to false(2), the filter             applies to all traffic."        DEFVAL { false }        ::= { docsDevFilterIpEntry 6 }docsDevFilterIpSaddr OBJECT-TYPE        SYNTAX      IpAddress        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "The source IP address, or portion thereof, that is to be             matched for this filter.  The source address is first             masked (and'ed) against docsDevFilterIpSmask before being             compared  to this value.  A value of 0 for this object             and 0 for the mask matches all IP addresses."        DEFVAL { '00000000'h }        ::= { docsDevFilterIpEntry 7 }docsDevFilterIpSmask OBJECT-TYPE        SYNTAX      IpAddress        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "A bit mask that is to be applied to the source address             prior to matching. This mask is not necessarily the same             as a subnet mask, but 1's bits must be leftmost and             contiguous."        DEFVAL { '00000000'h }        ::= { docsDevFilterIpEntry 8 }docsDevFilterIpDaddr OBJECT-TYPE        SYNTAX      IpAddress        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "The destination IP address, or portion thereof, that is             to be matched for this filter. The destination address is             first masked (and'ed) against docsDevFilterIpDmask before             being compared  to this value.  A value of 0 for this             object and 0 for the mask matches all IP addresses."        DEFVAL { '00000000'h }        ::= { docsDevFilterIpEntry 9 }docsDevFilterIpDmask OBJECT-TYPE        SYNTAX      IpAddress        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "A bit mask that is to be applied to the destination             address prior to matching. This mask is not necessarily             the same as a subnet mask, but 1's bits must be leftmost             and contiguous."        DEFVAL { '00000000'h }        ::= { docsDevFilterIpEntry 10 }docsDevFilterIpProtocol OBJECT-TYPE        SYNTAX Integer32 (0..256)        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "The IP protocol value that is to be matched. For example:             icmp is 1, tcp is 6, udp is 17. A value of 256 matches             ANY protocol."        DEFVAL { 256 }        ::= { docsDevFilterIpEntry 11 }docsDevFilterIpSourcePortLow OBJECT-TYPE        SYNTAX      Integer32 (0..65535)        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "If docsDevFilterIpProtocol is udp or tcp, this is the             inclusive lower bound of the transport-layer source port             range that is to be matched, otherwise it is ignored             during matching."        DEFVAL { 0 }        ::= { docsDevFilterIpEntry 12 }docsDevFilterIpSourcePortHigh OBJECT-TYPE        SYNTAX      Integer32 (0..65535)        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "If docsDevFilterIpProtocol is udp or tcp, this is the             inclusive upper bound of the transport-layer source port             range that is to be matched, otherwise it is ignored             during matching."        DEFVAL { 65535 }        ::= { docsDevFilterIpEntry 13 }docsDevFilterIpDestPortLow OBJECT-TYPE        SYNTAX      Integer32 (0..65535)        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "If docsDevFilterIpProtocol is udp or tcp, this is the             inclusive lower bound of the transport-layer destination             port range that is to be matched, otherwise it is ignored             during matching."        DEFVAL { 0 }        ::= { docsDevFilterIpEntry 14 }docsDevFilterIpDestPortHigh OBJECT-TYPE        SYNTAX      Integer32 (0..65535)        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "If docsDevFilterIpProtocol is udp or tcp, this is the             inclusive upper bound of the transport-layer destination             port range that is to be matched, otherwise it is ignored             during matching."        DEFVAL { 65535 }        ::= { docsDevFilterIpEntry 15 }docsDevFilterIpMatches OBJECT-TYPE        SYNTAX      Counter32        MAX-ACCESS  read-only        STATUS      current        DESCRIPTION            "Counts the number of times this filter was matched.             This object is initialized to 0 at boot, or at row             creation, and is reset only upon reboot."        ::= { docsDevFilterIpEntry 16 }docsDevFilterIpTos  OBJECT-TYPE        SYNTAX      OCTET STRING ( SIZE (1))        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "This is the value to be matched to the packet's             TOS (Type of Service) value (after the TOS value             is AND'd with docsDevFilterIpTosMask).  A value for this             object of 0 and a mask of 0 matches all TOS values."        DEFVAL { '00'h }        ::= { docsDevFilterIpEntry 17 }docsDevFilterIpTosMask OBJECT-TYPE        SYNTAX      OCTET STRING ( SIZE (1) )        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "The mask to be applied to the packet's TOS value before             matching."        DEFVAL { '00'h }        ::= { docsDevFilterIpEntry 18 }docsDevFilterIpContinue OBJECT-TYPE        SYNTAX      TruthValue        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "If this value is set to true, and docsDevFilterIpControl             is anything but discard (1), continue scanning and             applying policies."        DEFVAL { false }        ::= { docsDevFilterIpEntry 19 }docsDevFilterIpPolicyId OBJECT-TYPE        SYNTAX      Integer32 (0..2147483647)        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION            "This object points to an entry in docsDevFilterPolicyTable.             If docsDevFilterIpControl is set to policy (3), execute             all matching policies in docsDevFilterPolicyTable.             If no matching policy exists, treat as if             docsDevFilterIpControl were set to accept (1).             If this object is set to the value of 0, there is no             matching policy, and docsDevFilterPolicyTable MUST NOT be             consulted."        DEFVAL { 0 }        ::= { docsDevFilterIpEntry 20 }----docsDevFilterPolicyTable OBJECT-TYPE        SYNTAX      SEQUENCE OF DocsDevFilterPolicyEntry        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION            "A Table which maps between a policy group ID and a set of             policies to be applied.  All rows with the same             docsDevFilterPolicyId are part of the same policy group             and are applied in the order in which they are in this             table.             docsDevFilterPolicyTable exists to allow multiple policy             actions to be applied to any given classified packet. The             policy actions are applied in index order For example:             Index   ID    Type    Action              1      1      TOS     1              9      5      TOS     1              12     1      IPSEC   3             This says that a packet which matches a filter with             policy id 1, first has TOS policy 1 applied (which might             set the TOS bits to enable a higher priority), and next             has the IPSEC policy 3 applied (which may result in the             packet being dumped into a secure VPN to a remote             encryptor).             Policy ID 0 is reserved for default actions and is             applied only to packets which match no filters in             docsDevIpFilterTable."        ::= { docsDevFilter 5 }docsDevFilterPolicyEntry OBJECT-TYPE        SYNTAX      DocsDevFilterPolicyEntry        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION            "An entry in the docsDevFilterPolicyTable. Entries are             created by Network Management. To create an entry,             docsDevFilterPolicyId and docsDevFilterPolicyAction             must be specified."        INDEX { docsDevFilterPolicyIndex }        ::= { docsDevFilterPolicyTable 1 }DocsDevFilterPolicyEntry ::= SEQUENCE {            docsDevFilterPolicyIndex   Integer32,            docsDevFilterPolicyId      Integer32,--            docsDevFilterPolicyType    INTEGER,--            docsDevFilterPolicyAction  Integer32,            docsDevFilterPolicyStatus  RowStatus,            docsDevFilterPolicyPtr     RowPointer        }docsDevFilterPolicyIndex OBJECT-TYPE        SYNTAX      Integer32 (1..2147483647)        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION "Index value for the table."        ::= { docsDevFilterPolicyEntry 1 }docsDevFilterPolicyId OBJECT-TYPE        SYNTAX      Integer32 (0..2147483647)        MAX-ACCESS  read-create        STATUS      current        DESCRIPTION             "Policy ID for this entry. A policy ID can apply to              multiple rows of this table, all relevant policies are              executed. Policy 0 (if populated) is applied to all

⌨️ 快捷键说明

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