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

📄 mpls-ldp-std-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
MPLS-LDP-STD-MIB DEFINITIONS ::= BEGINIMPORTS    OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE,    Integer32, Counter32, Unsigned32        FROM SNMPv2-SMI                                -- [RFC2578]    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP        FROM SNMPv2-CONF                              --  [RFC2580]    RowStatus, TimeInterval, TruthValue,    TimeStamp, StorageType        FROM SNMPv2-TC                                --  [RFC2579]    InetAddressPrefixLength,    InetAddressType,    InetAddress,    InetPortNumber        FROM INET-ADDRESS-MIB                         --  [RFC3291]    IndexInteger,    IndexIntegerNextFree        FROM DIFFSERV-MIB                             --  [RFC3289]    mplsStdMIB,    MplsLabelDistributionMethod,    MplsLdpIdentifier,    MplsLdpLabelType,    MplsLspType,    MplsLsrIdentifier,    MplsRetentionMode        FROM MPLS-TC-STD-MIB                          --  [RFC3811]    MplsIndexType        FROM MPLS-LSR-STD-MIB;                        --  [RFC3813]mplsLdpStdMIB MODULE-IDENTITY    LAST-UPDATED "200406030000Z"  -- June 3, 2004    ORGANIZATION "Multiprotocol Label Switching (mpls)                  Working Group"    CONTACT-INFO        "Joan Cucchiara (jcucchiara@mindspring.com)         Marconi Communications, Inc.         Hans Sjostrand (hans@ipunplugged.com)         ipUnplugged         James V. Luciani (james_luciani@mindspring.com)         Marconi Communications, Inc.         Working Group Chairs:         George Swallow,   email: swallow@cisco.com         Loa Andersson,    email: loa@pi.se         MPLS Working Group, email: mpls@uu.net"    DESCRIPTION        "Copyright (C) The Internet Society (2004). The        initial version of this MIB module was published        in RFC 3815. For full legal notices see the RFC        itself or see:        http://www.ietf.org/copyrights/ianamib.html        This MIB contains managed object definitions for the        'Multiprotocol Label Switching, Label Distribution        Protocol, LDP' document."    REVISION "200406030000Z"  -- June 3, 2004    DESCRIPTION       "Initial version published as part of RFC 3815."    ::= { mplsStdMIB 4 }--****************************************************************mplsLdpNotifications OBJECT IDENTIFIER ::= { mplsLdpStdMIB 0 }mplsLdpObjects       OBJECT IDENTIFIER ::= { mplsLdpStdMIB 1 }mplsLdpConformance   OBJECT IDENTIFIER ::= { mplsLdpStdMIB 2 }--****************************************************************-- MPLS LDP Objects--****************************************************************mplsLdpLsrObjects    OBJECT IDENTIFIER ::= { mplsLdpObjects 1 }mplsLdpEntityObjects OBJECT IDENTIFIER ::= { mplsLdpObjects 2 }---- The MPLS Label Distribution Protocol's-- Label Switching Router Objects--mplsLdpLsrId OBJECT-TYPE    SYNTAX      MplsLsrIdentifier    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The Label Switching Router's Identifier."    ::= { mplsLdpLsrObjects 1 }mplsLdpLsrLoopDetectionCapable OBJECT-TYPE    SYNTAX      INTEGER {                           none(1),                           other(2),                           hopCount(3),                           pathVector(4),                           hopCountAndPathVector(5)                        }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "A indication of whether this        Label Switching Router supports        loop detection.        none(1) -- Loop Detection is not supported                   on this LSR.        other(2) -- Loop Detection is supported but                    by a method other than those                    listed below.        hopCount(3) -- Loop Detection is supported by                       Hop Count only.        pathVector(4) -- Loop Detection is supported by                         Path Vector only.        hopCountAndPathVector(5) -- Loop Detection is                             supported by both Hop Count                             And Path Vector.        Since Loop Detection is determined during        Session Initialization, an individual session        may not be running with loop detection.  This        object simply gives an indication of whether or not the        LSR has the ability to support Loop Detection and        which types."    ::= { mplsLdpLsrObjects 2 }---- The MPLS Label Distribution Protocol Entity Objects--mplsLdpEntityLastChange OBJECT-TYPE    SYNTAX  TimeStamp    MAX-ACCESS read-only    STATUS current    DESCRIPTION        "The value of sysUpTime at the time of the most        recent addition or deletion of an entry        to/from the mplsLdpEntityTable/mplsLdpEntityStatsTable, or        the most recent change in value of any objects in the        mplsLdpEntityTable.        If no such changes have occurred since the last        re-initialization of the local management subsystem,        then this object contains a zero value."    ::= { mplsLdpEntityObjects 1 }mplsLdpEntityIndexNext  OBJECT-TYPE    SYNTAX      IndexIntegerNextFree    MAX-ACCESS     read-only    STATUS         current    DESCRIPTION        "This object contains an appropriate value to        be used for mplsLdpEntityIndex when creating        entries in the mplsLdpEntityTable. The value        0 indicates that no unassigned entries are        available."   ::= { mplsLdpEntityObjects 2 }mplsLdpEntityTable OBJECT-TYPE    SYNTAX      SEQUENCE OF MplsLdpEntityEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "This table contains information about the        MPLS Label Distribution Protocol Entities which        exist on this Label Switching Router (LSR)        or Label Edge Router (LER)."     ::= { mplsLdpEntityObjects 3 } mplsLdpEntityEntry OBJECT-TYPE     SYNTAX      MplsLdpEntityEntry     MAX-ACCESS  not-accessible     STATUS      current     DESCRIPTION         "An entry in this table represents an LDP entity.         An entry can be created by a network administrator         or by an SNMP agent as instructed by LDP."     INDEX       {  mplsLdpEntityLdpId, mplsLdpEntityIndex  }     ::= { mplsLdpEntityTable 1 } MplsLdpEntityEntry ::= SEQUENCE {     mplsLdpEntityLdpId                MplsLdpIdentifier,     mplsLdpEntityIndex                IndexInteger,     mplsLdpEntityProtocolVersion      Unsigned32,     mplsLdpEntityAdminStatus          INTEGER,     mplsLdpEntityOperStatus           INTEGER,     mplsLdpEntityTcpPort              InetPortNumber,     mplsLdpEntityUdpDscPort           InetPortNumber,     mplsLdpEntityMaxPduLength         Unsigned32,     mplsLdpEntityKeepAliveHoldTimer   Unsigned32,     mplsLdpEntityHelloHoldTimer       Unsigned32,     mplsLdpEntityInitSessionThreshold Integer32,     mplsLdpEntityLabelDistMethod      MplsLabelDistributionMethod,     mplsLdpEntityLabelRetentionMode   MplsRetentionMode,     mplsLdpEntityPathVectorLimit      Integer32,     mplsLdpEntityHopCountLimit        Integer32,     mplsLdpEntityTransportAddrKind    INTEGER,     mplsLdpEntityTargetPeer           TruthValue,     mplsLdpEntityTargetPeerAddrType   InetAddressType,     mplsLdpEntityTargetPeerAddr       InetAddress,     mplsLdpEntityLabelType            MplsLdpLabelType,     mplsLdpEntityDiscontinuityTime    TimeStamp,     mplsLdpEntityStorageType          StorageType,     mplsLdpEntityRowStatus            RowStatus } mplsLdpEntityLdpId OBJECT-TYPE     SYNTAX      MplsLdpIdentifier     MAX-ACCESS  not-accessible     STATUS      current     DESCRIPTION         "The LDP identifier."    REFERENCE        "RFC3036, LDP Specification, Section on LDP Identifiers."    ::= { mplsLdpEntityEntry 1 }mplsLdpEntityIndex OBJECT-TYPE    SYNTAX      IndexInteger    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "This index is used as a secondary index to uniquely        identify this row.  Before creating a row in this table,        the 'mplsLdpEntityIndexNext' object should be retrieved.        That value should be used for the value of this index        when creating a row in this table.  NOTE:  if a value        of zero (0) is retrieved, that indicates that no rows        can be created in this table at this time.        A secondary index (this object) is meaningful to some        but not all, LDP implementations.  For example        an LDP implementation which uses PPP would        use this index to differentiate PPP sub-links.        Another way to use this index is to give this the        value of ifIndex.  However, this is dependant        on the implementation."    ::= { mplsLdpEntityEntry 2 }mplsLdpEntityProtocolVersion OBJECT-TYPE    SYNTAX      Unsigned32(1..65535)    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION       "The version number of the LDP protocol which will be       used in the session initialization message.       Section 3.5.3 in the LDP Specification specifies       that the version of the LDP protocol is negotiated during       session establishment. The value of this object       represents the value that is sent in the initialization       message."    REFERENCE       "RFC3036, LDP Specification, Section 3.5.3 Initialization       Message."    DEFVAL { 1 }    ::= { mplsLdpEntityEntry 3 }mplsLdpEntityAdminStatus OBJECT-TYPE    SYNTAX      INTEGER {                  enable(1),                  disable(2)                }    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The administrative status of this LDP Entity.        If this object is changed from 'enable' to 'disable'        and this entity has already attempted to establish        contact with a Peer, then all contact with that        Peer is lost and all information from that Peer        needs to be removed from the MIB. (This implies        that the network management subsystem should clean        up any related entry in the mplsLdpPeerTable.  This        further implies that a 'tear-down' for that session        is issued and the session and all information related        to that session cease to exist).        At this point the operator is able to change values        which are related to this entity.        When the admin status is set back to 'enable', then        this Entity will attempt to establish a new session        with the Peer."    DEFVAL  { enable }    ::= { mplsLdpEntityEntry 4 }mplsLdpEntityOperStatus OBJECT-TYPE    SYNTAX      INTEGER {                  unknown(1),                  enabled(2),                  disabled(3)                }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The operational status of this LDP Entity.        The value of unknown(1) indicates that the        operational status cannot be determined at        this time.  The value of unknown should be        a transient condition before changing        to enabled(2) or disabled(3)."    ::= { mplsLdpEntityEntry 5 }mplsLdpEntityTcpPort OBJECT-TYPE    SYNTAX      InetPortNumber    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The TCP Port for        LDP.  The default value is the well-known        value of this port."    REFERENCE        "RFC3036, LDP Specification, Section 3.10, Well-known         Numbers, and Section 3.10.1.  UDP and TCP Ports."    DEFVAL { 646 }    ::= { mplsLdpEntityEntry 6 }mplsLdpEntityUdpDscPort OBJECT-TYPE    SYNTAX      InetPortNumber    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The UDP Discovery Port for        LDP.  The default value is the        well-known value for this port."    REFERENCE        "RFC3036, LDP Specification, Section 2.4.1,        Basic Discovery Mechanism, Section 2.4.2,        Extended Discovery Mechanism, Section        3.10, Well-known Numbers, and Section 3.10.1.        UDP and TCP Ports."    DEFVAL { 646 }    ::= { mplsLdpEntityEntry 7 }mplsLdpEntityMaxPduLength OBJECT-TYPE    SYNTAX      Unsigned32 (256..65535)    UNITS       "octets"    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION       "The maximum PDU Length that is sent in       the Common Session Parameters of an Initialization       Message. According to the LDP Specification [RFC3036]       a value of 255 or less specifies the       default maximum length of 4096 octets, this is why       the value of this object starts at 256.  The operator       should explicitly choose the default value (i.e., 4096),       or some other value.       The receiving LSR MUST calculate the maximum PDU       length for the session by using the smaller of its and       its peer's proposals for Max PDU Length."    REFERENCE       "RFC3036, LDP Specification, Section 3.5.3.       Initialization Message."    DEFVAL { 4096 }    ::= { mplsLdpEntityEntry 8 }mplsLdpEntityKeepAliveHoldTimer OBJECT-TYPE

⌨️ 快捷键说明

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