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

📄 dlsw-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
    DESCRIPTION       ""    INDEX   { dlswTConnOperTDomain, dlswTConnOperRemoteTAddr }    ::= { dlswTConnTcpOperTable 1 }DlswTConnTcpOperEntry ::= SEQUENCE {    dlswTConnTcpOperKeepAliveInt             INTEGER,    dlswTConnTcpOperPrefTcpConnections       INTEGER,    dlswTConnTcpOperTcpConnections           INTEGER    }dlswTConnTcpOperKeepAliveInt  OBJECT-TYPE    SYNTAX     INTEGER (0..1800)    UNITS      "seconds"    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The time in seconds between TCP keepAlive messages when        no traffic is flowing.  Zero signifies no keepAlive protocol is        operating."    ::= { dlswTConnTcpOperEntry 1 }dlswTConnTcpOperPrefTcpConnections  OBJECT-TYPE    SYNTAX     INTEGER (1..16)    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "This is the number of TCP connections preferred by this DLSw        partner, as received in its capabilities exchange message."    ::= { dlswTConnTcpOperEntry 2 }dlswTConnTcpOperTcpConnections  OBJECT-TYPE    SYNTAX     INTEGER (1..16)    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "This is the actual current number of TCP connections within        this transport connection."    ::= { dlswTConnTcpOperEntry 3 }-- *******************************************************************-- DLSW INTERFACE GROUP-- *******************************************************************dlswIfTable  OBJECT-TYPE    SYNTAX     SEQUENCE OF DlswIfEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION       "The list of interfaces on which DLSw is active."    ::= { dlswInterface 1 }dlswIfEntry  OBJECT-TYPE    SYNTAX     DlswIfEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION       ""    INDEX   { ifIndex }    ::= { dlswIfTable 1 }DlswIfEntry ::= SEQUENCE {    dlswIfRowStatus      RowStatus,    dlswIfVirtualSegment INTEGER,    dlswIfSapList        OCTET STRING    }dlswIfRowStatus  OBJECT-TYPE    SYNTAX     RowStatus    MAX-ACCESS read-create    STATUS     current    DESCRIPTION       "This object is used by the manager to create        or delete the row entry in the dlswIfTable        following the RowStatus textual convention."    ::= { dlswIfEntry 1 }dlswIfVirtualSegment  OBJECT-TYPE    SYNTAX     INTEGER (0..4095 | 65535)    MAX-ACCESS read-create    STATUS     current    DESCRIPTION       "The segment number that uniquely identifies the virtual        segment to which this DLSw interface is connected.        Current source routing protocols limit this value to        the range 0 - 4095. (The value 0 is used by some        management applications for special test cases.)        A value of 65535 signifies that no virtual segment        is assigned to this interface.  For instance,        in a non-source routing environment, segment number        assignment is not required."    DEFVAL { 65535 }    ::= { dlswIfEntry 2 }dlswIfSapList  OBJECT-TYPE    SYNTAX     OCTET STRING  (SIZE(16))    MAX-ACCESS read-create    STATUS     current    DESCRIPTION       "The SAP list indicates which SAPs are allowed to be        data link switched through this interface.  This list        has the same format described for dlswTConnConfigSapList.        When changes to this object take effect is implementation-        specific.  Turning off a particular SAP can destroy        active circuits that are using that SAP.  An agent        implementation may reject such changes until there are no        active circuits if it so chooses.  In this case, it is up        to the manager to close the circuits first, using        dlswCircuitState.        The DEFVAL below indicates support for SAPs 0, 4, 8, and C."    DEFVAL  { 'AA000000000000000000000000000000'H }    ::= { dlswIfEntry 3 }-- *******************************************************************-- DIRECTORY-- Directory services caches the locations of MAC addresses-- and NetBIOS names.  For resources which are attached via-- local interfaces, the ifIndex may be cached, and for-- resources which are reachable via a DLSw partner, the-- transport address of the DLSw partner is cached.-- *******************************************************************-- -------------------------------------------------------------------- Directory Related Statistical Objects-- ------------------------------------------------------------------dlswDirStat     OBJECT IDENTIFIER ::= { dlswDirectory 1 }dlswDirMacEntries  OBJECT-TYPE    SYNTAX     Gauge32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The current total number of entries in the dlswDirMacTable."    ::= { dlswDirStat 1 }dlswDirMacCacheHits  OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The number of times a cache search for a particular MAC address        resulted in success."    ::= { dlswDirStat 2 }dlswDirMacCacheMisses  OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The number of times a cache search for a particular MAC address        resulted in failure."    ::= { dlswDirStat 3 }dlswDirMacCacheNextIndex  OBJECT-TYPE    SYNTAX     INTEGER (0..2147483647)    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The next value of dlswDirMacIndex to be assigned by        the agent.  A retrieval of this object atomically reserves        the returned value for use by the manager to create a row        in dlswDirMacTable.  This makes it possible for the agent        to control the index space of the MAC address cache, yet        allows the manager to administratively create new rows."    ::= { dlswDirStat 4 }dlswDirNBEntries  OBJECT-TYPE    SYNTAX     Gauge32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The current total number of entries in the dlswDirNBTable."    ::= { dlswDirStat 5 }dlswDirNBCacheHits  OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The number of times a cache search for a particular NetBIOS        name resulted in success."    ::= { dlswDirStat 6 }dlswDirNBCacheMisses  OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The number of times a cache search for a particular NetBIOS        name resulted in failure."    ::= { dlswDirStat 7 }dlswDirNBCacheNextIndex  OBJECT-TYPE    SYNTAX     INTEGER (0..2147483647)    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The next value of dlswDirNBIndex to be assigned by the        agent.  A retrieval of this object atomically reserves        the returned value for use by the manager to create        a row in dlswDirNBTable.  This makes it possible for the        agent to control the index space for the NetBIOS name        cache, yet allows the manager to administratively        create new rows."    ::= { dlswDirStat 8 }-- -------------------------------------------------------------------- Directory Cache-- ------------------------------------------------------------------dlswDirCache     OBJECT IDENTIFIER ::= { dlswDirectory 2 }-- ...................................................................-- Directory for MAC Addresses.-- All Possible combinations of values of these objects.----     EntryType   LocationType       Location        Status--  -------------- ------------ ------------------ ----------------  userConfigured    local     ifEntry or 0.0     reachable, or--                                                 notReachable, or--                                                 unknown--  userConfigured    remote    TConnConfigEntry   reachable, or--                                                 notReachable, or--                                                 unknown--  partnerCapExMsg   remote    TConnOperEntry     unknown--  dynamic           local     ifEntry or 0.0     reachable--  dynamic           remote    TConnOperEntry     reachable---- ...................................................................dlswDirMacTable  OBJECT-TYPE    SYNTAX     SEQUENCE OF DlswDirMacEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION       "This table contains locations of MAC addresses.        They could be either verified or not verified,        local or remote, and configured locally or learned        from either Capabilities Exchange messages or        directory searches."    ::= { dlswDirCache 1 }dlswDirMacEntry  OBJECT-TYPE    SYNTAX     DlswDirMacEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION       "Indexed by dlswDirMacIndex."    INDEX   { dlswDirMacIndex }    ::= { dlswDirMacTable 1 }DlswDirMacEntry ::= SEQUENCE {    dlswDirMacIndex          INTEGER,    dlswDirMacMac            MacAddressNC,    dlswDirMacMask           MacAddressNC,    dlswDirMacEntryType      INTEGER,    dlswDirMacLocationType   INTEGER,    dlswDirMacLocation       RowPointer,    dlswDirMacStatus         INTEGER,    dlswDirMacLFSize         LFSize,    dlswDirMacRowStatus      RowStatus    }dlswDirMacIndex  OBJECT-TYPE    SYNTAX     INTEGER (0..2147483647)    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION       "Uniquely identifies a conceptual row of this table."    ::= { dlswDirMacEntry 1 }dlswDirMacMac  OBJECT-TYPE    SYNTAX     MacAddressNC    MAX-ACCESS read-create    STATUS     current    DESCRIPTION       "The MAC address, together with the dlswDirMacMask,        specifies a set of MAC addresses that are defined or        discovered through an interface or partner DLSw nodes."    ::= { dlswDirMacEntry 2 }dlswDirMacMask  OBJECT-TYPE    SYNTAX     MacAddressNC    MAX-ACCESS read-create    STATUS     current    DESCRIPTION       "The MAC address mask, together with the dlswDirMacMac,        specifies a set of MAC addresses that are defined or        discovered through an interface or partner DLSw nodes."    DEFVAL { 'FFFFFFFFFFFF'H }    ::= { dlswDirMacEntry 3 }dlswDirMacEntryType  OBJECT-TYPE    SYNTAX     INTEGER  {        other                    (1),        userConfiguredPublic     (2),        userConfiguredPrivate    (3),        partnerCapExMsg          (4),        dynamic                  (5)    }    MAX-ACCESS read-create    STATUS     current    DESCRIPTION       "The cause of the creation of this conceptual row.        It could be one of the three methods: (1) user        configured, including via management protocol        set operations, configuration file, command line        or equivalent methods; (2) learned from the        partner DLSw Capabilities Exchange messages;        and (3) dynamic, e.g., learned from ICanReach        messages, or LAN explorer frames.  Since only        individual MAC addresses can be dynamically learned,        dynamic entries will all have a mask of all FFs.        The public versus private distinction for user-        configured resources applies only to local resources        (UC remote resources are private), and indicates        whether that resource should be advertised in        capabilities exchange messages sent by this node."    DEFVAL { userConfiguredPublic }    ::= { dlswDirMacEntry 4 }dlswDirMacLocationType  OBJECT-TYPE    SYNTAX     INTEGER  {        other                 (1),        local                 (2),        remote                (3)    }    MAX-ACCESS read-create    STATUS     current    DESCRIPTION       "The location of the resource (or a collection of        resources using a mask) of this conceptual row        is either (1) local - t

⌨️ 快捷键说明

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