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

📄 l2tp-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
L2TP-MIB DEFINITIONS ::= BEGINIMPORTS        Integer32, Unsigned32, Counter32, Gauge32,        Counter64, transmission, MODULE-IDENTITY,        OBJECT-TYPE, NOTIFICATION-TYPE            FROM SNMPv2-SMI        TEXTUAL-CONVENTION, RowStatus, TruthValue,        StorageType            FROM SNMPv2-TC        SnmpAdminString            FROM SNMP-FRAMEWORK-MIB        OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP            FROM SNMPv2-CONF        InterfaceIndex            FROM IF-MIB;l2tp    MODULE-IDENTITY        LAST-UPDATED    "200208230000Z" -- 23 August 2002        ORGANIZATION    "IETF L2TP Working Group"        CONTACT-INFO          "Evan Caves           Postal: Occam Networks                   77 Robin Hill Road                   Santa Barbara, CA, 93117           Tel:    +1 805692 2900           Email:  evan@occamnetworks.com           Pat R. Calhoun           Postal: Black Storm Networks                   110 Nortech Parkway                   San Jose, CA, 95143           Tel:    +1 408 941-0500           Email:  pcalhoun@bstormnetworks.com           Ross Wheeler           Postal: DoubleWide Software, Inc.                   2953 Bunker Hill Lane                   Suite 101                   Santa Clara, CA 95054           Tel:    +1 6509260599           Email:  ross@doublewidesoft.com           Layer Two Tunneling Protocol Extensions WG           Working Group Area:    Internet           Working Group Name:    l2tpext           General Discussion:    l2tp@l2tp.net"        DESCRIPTION           "The MIB module that describes managed objects of            general use by the Layer Two Transport Protocol."        -- revision log        REVISION        "200208230000Z" -- 23 August 2002        DESCRIPTION           "First revision, published as RFC 3371."        ::= { transmission 95 }----      Textual Conventions--L2tpMilliSeconds ::=  TEXTUAL-CONVENTION        DISPLAY-HINT    "d-3"        STATUS          current        DESCRIPTION           "A period of time measured in units of .001 of seconds            when used in conjunction with the DISPLAY-HINT will            show seconds and fractions of second with a resolution            of .001 of a second."        SYNTAX          Integer32 (0..2147483646)----      Definitions of significant branches--l2tpNotifications   OBJECT IDENTIFIER  ::= { l2tp 0 }l2tpObjects         OBJECT IDENTIFIER  ::= { l2tp 1 }l2tpTransports      OBJECT IDENTIFIER  ::= { l2tp 3 }l2tpConformance     OBJECT IDENTIFIER  ::= { l2tp 4 }----      Definitions of significant branches under l2tpObjects--l2tpScalar          OBJECT IDENTIFIER  ::= { l2tpObjects 1 }l2tpConfig          OBJECT IDENTIFIER  ::= { l2tpScalar 1 }l2tpStats           OBJECT IDENTIFIER  ::= { l2tpScalar 2 }----      Definitions of significant branches under l2tpTransports----      Note that future transports of L2TP (e.g.: Frame relay)--      should create their own branch under l2tpTransports.l2tpTransportIpUdp  OBJECT IDENTIFIER  ::= { l2tpTransports 1 }l2tpIpUdpObjects    OBJECT IDENTIFIER  ::= { l2tpTransportIpUdp 1 }l2tpIpUdpTraps      OBJECT IDENTIFIER  ::= { l2tpTransportIpUdp 2 }----      The L2TP Scalar Configuration Group----      This group of objects is used to manage configuration--      of the L2TP protocol environment.l2tpAdminState          OBJECT-TYPE        SYNTAX          INTEGER {                            enabled(1),                            disabled(2)                        }        MAX-ACCESS      read-write        STATUS          current        DESCRIPTION           "This object defines the administrative state of            the L2TP protocol. Setting this object to            'disabled' causes all tunnels to be immediately            disconnected and no further tunnels to be either            initiated or accepted. The value of this object            must be maintained in non-volatile memory."        ::= { l2tpConfig 1 }l2tpDrainTunnels        OBJECT-TYPE        SYNTAX          TruthValue        MAX-ACCESS      read-write        STATUS          current        DESCRIPTION           "Setting this object to 'true' will prevent any new            tunnels and/or sessions to be either initiated or            accepted but does NOT disconnect any active            tunnels/sessions. Setting this object to true(1)            causes all domains and their respective tunnels            to transition to the draining state. Note that            when this occurs the 'xxxDraining' status objects            of the domains and their tunnels should reflect            that they are 'draining'. Setting this object has            no affect on the domains or their tunnels            'xxxDrainTunnels' configuration objects. To cancel            a drain this object should be set to false(2).            The object l2tpDrainingTunnels reflects            the current L2TP draining state. The value of            this object must be maintained in non-volatile            memory."        ::= { l2tpConfig 2 }----      The L2TP Scalar Status and Statistics Group----      This group of objects describe the current state and--      statistics of L2TP.l2tpProtocolVersions    OBJECT-TYPE        SYNTAX          OCTET STRING (SIZE(2..256))        MAX-ACCESS      read-only        STATUS          current        DESCRIPTION            "Vector of supported L2TP protocol version and             revision numbers. Supported versions are identified             via a two octet pairing where the first octet indicates             the version and the second octet contains the revision."        ::= { l2tpStats 1 }l2tpVendorName          OBJECT-TYPE        SYNTAX          SnmpAdminString        MAX-ACCESS      read-only        STATUS          current        DESCRIPTION           "This object identifies the Vendor name of the L2TP            protocol stack."        ::= { l2tpStats 2 }l2tpFirmwareRev         OBJECT-TYPE        SYNTAX          Integer32        MAX-ACCESS      read-only        STATUS          current        DESCRIPTION           "This object defines the firmware revision for the            L2TP protocol stack."        ::= { l2tpStats 3 }l2tpDrainingTunnels     OBJECT-TYPE        SYNTAX          TruthValue        MAX-ACCESS      read-only        STATUS          current        DESCRIPTION           "This object indicates if the local L2TP is draining            off sessions from all tunnels."        ::= { l2tpStats 4 }----      The L2TP Domain Configuration Table--l2tpDomainConfigTable   OBJECT-TYPE        SYNTAX          SEQUENCE OF L2tpDomainConfigEntry        MAX-ACCESS      not-accessible        STATUS          current        DESCRIPTION           "The L2TP Domain configuration table. This table            contains objects that can be used to configure            the operational characteristics of a tunnel            domain. There is a 1-1 correspondence between            conceptual rows of this table and conceptual            rows of the l2tpDomainStatsTable."        ::= { l2tpObjects 2 }l2tpDomainConfigEntry   OBJECT-TYPE        SYNTAX          L2tpDomainConfigEntry        MAX-ACCESS      not-accessible        STATUS          current        DESCRIPTION           "An L2TP Domain configuration entry. An entry in this            table may correspond to a single endpoint or a group            of tunnel endpoints."        INDEX { l2tpDomainConfigId }        ::= { l2tpDomainConfigTable 1 }L2tpDomainConfigEntry ::=        SEQUENCE {            l2tpDomainConfigId                SnmpAdminString,            l2tpDomainConfigAdminState                INTEGER,            l2tpDomainConfigDrainTunnels                TruthValue,            l2tpDomainConfigAuth                INTEGER,            l2tpDomainConfigSecret                SnmpAdminString,            l2tpDomainConfigTunnelSecurity                INTEGER,            l2tpDomainConfigTunnelHelloInt                Integer32,            l2tpDomainConfigTunnelIdleTO                Integer32,            l2tpDomainConfigControlRWS                Integer32,            l2tpDomainConfigControlMaxRetx                Integer32,            l2tpDomainConfigControlMaxRetxTO                Integer32,            l2tpDomainConfigPayloadSeq                INTEGER,            l2tpDomainConfigReassemblyTO                L2tpMilliSeconds,            l2tpDomainConfigProxyPPPAuth                TruthValue,            l2tpDomainConfigStorageType                StorageType,            l2tpDomainConfigStatus                RowStatus        }l2tpDomainConfigId OBJECT-TYPE        SYNTAX          SnmpAdminString (SIZE (1..80))        MAX-ACCESS      not-accessible        STATUS          current        DESCRIPTION           "The identifier, usually in the form of a Domain            Name (full or partial), describing a single tunnel            endpoint or a domain of tunnel endpoints. This is            typically used as a 'handle' to identify the            tunnel configuration requirements for both incoming            and outgoing tunnel connection attempts. Both the            LAC and  LNS could use information provided in the            Host Name AVP attribute however the tunnel initiator            could use other means not specified to identify            the domain's tunnel configuration requirements.            For example; three rows in this table have            l2tpDomainConfigId values of 'lac1.isp.com',            'isp.com' and 'com'. A tunnel endpoint then identifies            itself as 'lac1.isp.com' which would match the            'lac1.isp.com' entry in this table. A second tunnel            endpoint then identifies itself as 'lac2.isp.com'.            This endpoint is then associated with the 'isp.com'            entry of this table."        ::= { l2tpDomainConfigEntry 1 }l2tpDomainConfigAdminState OBJECT-TYPE        SYNTAX          INTEGER {                            enabled(1),                            disabled(2)                        }        MAX-ACCESS      read-create        STATUS          current        DESCRIPTION           "This object defines the administrative state of this            tunnel domain. Setting this object to disabled(2)            causes all tunnels to be immediately disconnected            and no further tunnels to be either initiated or            accepted. Note that all columnar objects corresponding            to this conceptual row cannot be modified when            the administrative state is enabled EXCEPT those            objects which specifically state otherwise."        DEFVAL { enabled }        ::= { l2tpDomainConfigEntry 2 }l2tpDomainConfigDrainTunnels OBJECT-TYPE        SYNTAX          TruthValue        MAX-ACCESS      read-create        STATUS          current        DESCRIPTION           "Setting this object to 'true' will prevent any new            tunnels and/or sessions from being either initiated            or accepted but does NOT disconnect any active            tunnels/sessions for this tunnel domain. Setting            this object to true(1) causes all tunnels within            this domain to transition to the draining state.            Note that when this occurs the            l2tpTunnelStatsDrainingTunnel status objects of            all of this domain's tunnels should reflect that            they are 'draining'. Setting this object has no            effect on this domain's associated tunnels            l2tpTunnelConfigDrainTunnel configuration objects.            To cancel a drain this object should be set to            false(2).  Setting this object to false(2) when            the L2TP object l2tpDrainTunnels is true(1) has            no affect, all domains and their tunnels will            continue to drain."        DEFVAL { false }        ::= { l2tpDomainConfigEntry 3 }l2tpDomainConfigAuth OBJECT-TYPE        SYNTAX          INTEGER {                            none(1),                            simple(2),                            challenge(3)                        }        MAX-ACCESS      read-create        STATUS          current        DESCRIPTION           "This object describes how tunnel peers belonging            to this domain are to be authenticated. The value            simple(2) indicates that peers are authenticated            simply by their host name as described in the Host            Name AVP.  The value challenge(3) indicates that            all peers are challenged to prove their identification.            This mechanism is described in the L2TP protocol."        REFERENCE "RFC 2661 Section 5.1"        DEFVAL { none }        ::= { l2tpDomainConfigEntry 4 }l2tpDomainConfigSecret  OBJECT-TYPE        SYNTAX          SnmpAdminString (SIZE (0..255))        MAX-ACCESS      read-create        STATUS          current        DESCRIPTION           "This object is used to configure the shared secret

⌨️ 快捷键说明

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