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

📄 dlsw-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
DLSW-MIB DEFINITIONS ::= BEGINIMPORTS        DisplayString, RowStatus,        RowPointer, TruthValue,        TEXTUAL-CONVENTION                FROM SNMPv2-TC        Counter32, Gauge32, TimeTicks,        OBJECT-TYPE, MODULE-IDENTITY,        NOTIFICATION-TYPE, mib-2          FROM SNMPv2-SMI        MODULE-COMPLIANCE, OBJECT-GROUP,        NOTIFICATION-GROUP                FROM SNMPv2-CONF        ifIndex                           FROM IF-MIB        sdlcLSAddress                     FROM SNA-SDLC-MIB;dlsw MODULE-IDENTITY    LAST-UPDATED  "9606040900Z"    ORGANIZATION  "AIW DLSw MIB RIGLET and IETF DLSw MIB Working Group"    CONTACT-INFO                  "David D. Chen                   IBM Corporation                   800 Park, Highway 54                   Research Triangle Park, NC 27709-9990                   Tel:    1 919 254 6182                   E-mail: dchen@vnet.ibm.com"   DESCRIPTION        "This MIB module contains objects to manage Data Link         Switches."::= { mib-2 46 }dlswMIB         OBJECT IDENTIFIER ::= { dlsw 1 }dlswDomains     OBJECT IDENTIFIER ::= { dlsw 2 }-- *******************************************************************-- Textual convention definitions-- *******************************************************************NBName ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION       "Represents a single qualified NetBIOS name, which can include        `don't care' and `wildcard' characters to represent a number        of real NetBIOS names.  If an individual character position in        the qualified name contains a `?', the corresponding character        position in a real NetBIOS name is a `don't care'.  If the        qualified name ends in `*', the remainder of a real NetBIOS        name is a `don't care'. `*' is only considered a wildcard if it        appears at the end of a name."    SYNTAX  OCTET STRING (SIZE (0..16))MacAddressNC ::= TEXTUAL-CONVENTION    DISPLAY-HINT "1x:"    STATUS       current    DESCRIPTION       "Represents an 802 MAC address represented in        non-canonical format.  That is, the most significant        bit will be transmitted first.  If this information        is not available, the value is a zero length string."    SYNTAX       OCTET STRING (SIZE (0 | 6))TAddress ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION       "Denotes a transport service address.        For dlswTCPDomain, a TAddress is 4 octets long,        containing the IP-address in network-byte order."    SYNTAX  OCTET STRING (SIZE (0..255))EndStationLocation ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION       "Representing the location of an end station related        to the managed DLSw node."    SYNTAX  INTEGER  {                other          (1),                internal       (2),  -- local virtual MAC address                remote         (3),  -- via DLSw partner                local          (4)   -- locally attached            }DlcType ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION       "Representing the type of DLC of an end station, if        applicable."    SYNTAX  INTEGER  {                other          (1),  -- not assigned yet                na             (2),  -- not applicable                llc            (3),  -- 802.2 Logical Link Control                sdlc           (4),  -- SDLC                qllc           (5)   -- QLLC            }LFSize  ::= TEXTUAL-CONVENTION    STATUS  current    DESCRIPTION       "The largest size of the INFO field (including DLC header,        not including any MAC-level or framing octets).        64 valid values as defined by the IEEE 802.1D        Addendum are acceptable."    SYNTAX  INTEGER  {               lfs516(516), lfs635(635), lfs754(754), lfs873(873),               lfs993(993), lfs1112(1112), lfs1231(1231),               lfs1350(1350), lfs1470(1470), lfs1542(1542),               lfs1615(1615), lfs1688(1688), lfs1761(1761),               lfs1833(1833), lfs1906(1906), lfs1979(1979),               lfs2052(2052), lfs2345(2345), lfs2638(2638),               lfs2932(2932), lfs3225(3225), lfs3518(3518),               lfs3812(3812), lfs4105(4105), lfs4399(4399),               lfs4865(4865), lfs5331(5331), lfs5798(5798),               lfs6264(6264), lfs6730(6730), lfs7197(7197),               lfs7663(7663), lfs8130(8130), lfs8539(8539),               lfs8949(8949), lfs9358(9358), lfs9768(9768),               lfs10178(10178), lfs10587(10587), lfs10997(10997),               lfs11407(11407), lfs12199(12199), lfs12992(12992),               lfs13785(13785), lfs14578(14578), lfs15370(15370),               lfs16163(16163), lfs16956(16956), lfs17749(17749),               lfs20730(20730), lfs23711(23711), lfs26693(26693),               lfs29674(29674), lfs32655(32655), lfs38618(38618),               lfs41600(41600), lfs44591(44591), lfs47583(47583),               lfs50575(50575), lfs53567(53567), lfs56559(56559),               lfs59551(59551), lfs65535(65535)            }null OBJECT IDENTIFIER ::= { 0 0 }-- *******************************************************************-- DLSw Transport Domain definitions-- *******************************************************************-- DLSw over TCPdlswTCPDomain  OBJECT IDENTIFIER ::= { dlswDomains 1 }-- for an IP address of length 4:---- octets   contents        encoding--  1-4     IP-address      network-byte order--DlswTCPAddress ::= TEXTUAL-CONVENTION    DISPLAY-HINT "1d.1d.1d.1d"    STATUS       current    DESCRIPTION            "Represents the IP address of a DLSw which uses             TCP as a transport protocol."    SYNTAX       OCTET STRING (SIZE (4))-- *******************************************************************-- DLSw MIB Definition-- *******************************************************************-- The DLSw MIB module contains an object part and a conformance part.-- Object part is organized in the following groups:-- (1) dlswNode      -  information about this DLSw-- (2) dlswTConn     -  about adjacent DLSw partners-- (3) dlswInterface -  about which interfaces DLSw is active on-- (4) dlswDirectory -  about any directory of local/remote resources-- (5) dlswCircuit   -  about established circuits.-- (6) dlswSdlc      -  about SDLC data link switched devicesdlswNode        OBJECT IDENTIFIER ::= { dlswMIB 1 }dlswTConn       OBJECT IDENTIFIER ::= { dlswMIB 2 }dlswInterface   OBJECT IDENTIFIER ::= { dlswMIB 3 }dlswDirectory   OBJECT IDENTIFIER ::= { dlswMIB 4 }dlswCircuit     OBJECT IDENTIFIER ::= { dlswMIB 5 }dlswSdlc        OBJECT IDENTIFIER ::= { dlswMIB 6 }  -- SDLC-- *******************************************************************-- THE NODE GROUP-- *******************************************************************-- -------------------------------------------------------------------- DLSw Node Identity-- ------------------------------------------------------------------dlswNodeVersion  OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE (2))    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "This value identifies the particular version of the DLSw        standard supported by this DLSw.  The first octet is a        hexadecimal value representing the DLSw standard Version        number of this DLSw, and the second is a hexadecimal value        representing the DLSw standard Release number. This        information is reported in DLSw Capabilities Exchange."    REFERENCE       "DLSW: Switch-to-Switch Protocol RFC 1795"    ::= { dlswNode 1 }dlswNodeVendorID  OBJECT-TYPE    SYNTAX     OCTET STRING (SIZE (3))    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The value identifies the manufacturer's IEEE-assigned        organizationally Unique Identifier (OUI) of this DLSw.        This information is reported in DLSw Capabilities        Exchange."    REFERENCE       "DLSW: Switch-to-Switch Protocol RFC 1795"    ::= { dlswNode 2 }dlswNodeVersionString  OBJECT-TYPE    SYNTAX     DisplayString    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "This string gives product-specific information about        this DLSw (e.g., product name, code release and fix level).        This flows in Capabilities Exchange messages."    REFERENCE       "DLSW: Switch-to-Switch Protocol RFC 1795"    ::= { dlswNode 3 }-- -------------------------------------------------------------------- DLSw Code Capability-- ------------------------------------------------------------------dlswNodeStdPacingSupport  OBJECT-TYPE    SYNTAX     INTEGER  {       none              (1),  -- does not support DLSw                               -- Standard pacing scheme       adaptiveRcvWindow (2),  -- the receive window size                               -- varies       fixedRcvWindow    (3)   -- the receive window size                               -- remains constant    }    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "Circuit pacing, as defined in the DLSw Standard, allows each        of the two DLSw nodes on a circuit to control the amount        of data the other is permitted to send to them.  This object        reflects the level of support the DLSw node has for this        protocol.  (1) means the node has no support for the standard        circuit pacing flows;  it may use RFC 1434+ methods only, or        a proprietary flow control scheme.  (2) means the node supports        the standard scheme and can vary the window sizes it grants as        a data receiver.  (3) means the node supports the standard        scheme but never varies its receive window size."    ::= { dlswNode 4 }-- -------------------------------------------------------------------- DLSw Node Operational Objects-- ------------------------------------------------------------------dlswNodeStatus  OBJECT-TYPE    SYNTAX     INTEGER  {        active        (1),        inactive      (2)    }    MAX-ACCESS read-write    STATUS     current    DESCRIPTION       "The status of the DLSw part of the system.  Changing the        value from active to inactive causes DLSw to take        the following actions - (1) it disconnects all circuits        through all DLSw partners, (2) it disconnects all        transport connections to all DLSw partners, (3) it        disconnects all local DLC connections, and (4) it stops        processing all DLC connection set-up traffic.        Since these are destructive actions, the user should        query the circuit and transport connection tables in        advance to understand the effect this action will have.        Changing the value from inactive to active causes DLSw        to come up in its initial state, i.e., transport        connections established and ready to bring up circuits."    ::= { dlswNode 5 }dlswNodeUpTime  OBJECT-TYPE    SYNTAX     TimeTicks    UNITS      "hundredths of a second"    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The amount of time (in hundredths of a second) since        the DLSw portion of the system was last re-initialized.        That is, if dlswState is in the active state,        the time the dlswState entered the active state.        It will remain zero if dlswState is in the        inactive state."    ::= { dlswNode 6 }dlswNodeVirtualSegmentLFSize  OBJECT-TYPE    SYNTAX     LFSize    MAX-ACCESS read-write    STATUS     current    DESCRIPTION       "The largest frame size (including DLC header and info field        but not any MAC-level or framing octets) this DLSw can forward        on any path through itself.  This object can represent any box-        level frame size forwarding restriction (e.g., from the use        of fixed-size buffers).  Some DLSw implementations will have        no such restriction.        This value will affect the LF size of circuits during circuit        creation.  The LF size of an existing circuit can be found in        the RIF (Routing Information Field)."    DEFVAL  { lfs65535 }    ::= { dlswNode 7 }-- ...................................................................-- NETBIOS Resources-- ...................................................................dlswNodeResourceNBExclusivity  OBJECT-TYPE    SYNTAX     TruthValue    MAX-ACCESS read-write    STATUS     current    DESCRIPTION       "The value of true indicates that the NetBIOS Names        configured in dlswDirNBTable are the only ones accessible        via this DLSw.        If a node supports sending run-time capabilities exchange        messages, changes to this object should cause that action.        It is up to the implementation exactly when to start the        run-time capabilities exchange."    ::= { dlswNode 8 }-- ...................................................................-- MAC Address List-- ...................................................................dlswNodeResourceMacExclusivity  OBJECT-TYPE    SYNTAX     TruthValue    MAX-ACCESS read-write    STATUS     current    DESCRIPTION       "The value of true indicates that the MAC addresses        configured in the dlswDirMacTable are the only ones        accessible via this DLSw.        If a node supports sending run-time capabilities exchange        messages, changes to this object should cause that action.        It is up to the implementation exactly when to start the        run-time capabilities exchange."    ::= { dlswNode 9 }-- *******************************************************************

⌨️ 快捷键说明

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