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

📄 mpls-lsr-std-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
MPLS-LSR-STD-MIB DEFINITIONS ::= BEGINIMPORTS   MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,   Integer32, Counter32, Unsigned32, Counter64, Gauge32,   zeroDotZero      FROM SNMPv2-SMI                                    -- [RFC2578]   MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP      FROM SNMPv2-CONF                                   -- [RFC2580]   TruthValue, RowStatus, StorageType, RowPointer,   TimeStamp, TEXTUAL-CONVENTION      FROM SNMPv2-TC                                     -- [RFC2579]   InterfaceIndexOrZero, ifGeneralInformationGroup,   ifCounterDiscontinuityGroup      FROM IF-MIB                                        -- [RFC2863]   mplsStdMIB, MplsLSPID, MplsLabel, MplsBitRate,   MplsOwner      FROM MPLS-TC-STD-MIB                               -- [RFC3811]   AddressFamilyNumbers      FROM IANA-ADDRESS-FAMILY-NUMBERS-MIB               -- [IANAFamily]   InetAddress, InetAddressType      FROM INET-ADDRESS-MIB                              -- [RFC3291]   ;mplsLsrStdMIB MODULE-IDENTITY   LAST-UPDATED "200406030000Z"  -- June 3, 2004   ORGANIZATION "Multiprotocol Label Switching (MPLS) Working Group"   CONTACT-INFO       "        Cheenu Srinivasan                Bloomberg L.P.        Email:  cheenu@bloomberg.net                Arun Viswanathan                Force10 Networks, Inc.        Email:  arunv@force10networks.com                Thomas D. Nadeau                Cisco Systems, Inc.        Email:  tnadeau@cisco.com        Comments about this document should be emailed        directly to the MPLS working group mailing list at        mpls@uu.net."   DESCRIPTION       "This MIB module contains managed object definitions for        the Multiprotocol Label Switching (MPLS) Router as        defined in: Rosen, E., Viswanathan, A., and R.        Callon, Multiprotocol Label Switching Architecture,        RFC 3031, January 2001.        Copyright (C) The Internet Society (2004). The        initial version of this MIB module was published        in RFC 3812. For full legal notices see the RFC        itself or see:        http://www.ietf.org/copyrights/ianamib.html"   -- Revision history.   REVISION       "200406030000Z"  -- June 3, 2004   DESCRIPTION       "Initial revision, published as part of RFC 3813."   ::= { mplsStdMIB 2 }-- TEXTUAL-CONVENTIONsMplsIndexType ::= TEXTUAL-CONVENTION   STATUS              current   DESCRIPTION       "This is an octet string that can be used as a table        index in cases where a large addressable space is        required such as on an LSR where many applications        may be provisioning labels.        Note that the string containing the single octet with        the value 0x00 is a reserved value used to represent        special cases. When this TEXTUAL-CONVENTION is used        as the SYNTAX of an object, the DESCRIPTION clause        MUST specify if this special value is valid and if so        what the special meaning is.        In systems that provide write access to the MPLS-LSR-STD        MIB, mplsIndexType SHOULD be used as a simple multi-digit        integer encoded as an octet string.        No further overloading of the meaning of an index SHOULD        be made.        In systems that do not offer write access to the MPLS-LSR-STD        MIB, the mplsIndexType may contain implicit formatting that is        specific to the implementation to convey additional        information such as interface index, physical card or        device, or application id. The interpretation of this        additional formatting is implementation dependent and        not covered in this document. Such formatting MUST        NOT impact the basic functionality of read-only access        to the MPLS-LSR-STD MIB by management applications that are        not aware of the formatting rules."   SYNTAX              OCTET STRING (SIZE(1..24))MplsIndexNextType ::= TEXTUAL-CONVENTION   STATUS              current   DESCRIPTION       "When a MIB module is used for configuration, an object with        this SYNTAX always contains a legal value (a non-zero-length        string) for an index that is not currently used in the relevant        table. The Command Generator (Network Management Application)        reads this variable and uses the (non-zero-length string)        value read when creating a new row with an SNMP SET.        When the SET is performed, the Command Responder (agent) must        determine whether the value is indeed still unused; Two Network        Management Applications may attempt to create a row        (configuration entry) simultaneously and use the same value. If        it is currently unused, the SET succeeds and the Command        Responder (agent) changes the value of this object, according        to an implementation-specific algorithm.  If the value is in        use, however, the SET fails.  The Network Management        Application must then re-read this variable to obtain a new        usable value.        Note that the string containing the single octet with        the value 0x00 is a reserved value used to represent        the special case where no additional indexes can be        provisioned, or in systems that do not offer        write access, objects defined using this TEXTUAL-CONVENTION        MUST return the string containing the single        octet with the value 0x00."   SYNTAX              OCTET STRING (SIZE(1..24))-- Top level components of this MIB module.-- NotificationsmplsLsrNotifications OBJECT IDENTIFIER ::= { mplsLsrStdMIB 0 }-- Tables, ScalarsmplsLsrObjects       OBJECT IDENTIFIER ::= { mplsLsrStdMIB 1 }-- ConformancemplsLsrConformance   OBJECT IDENTIFIER ::= { mplsLsrStdMIB 2 }-- MPLS Interface Table.mplsInterfaceTable  OBJECT-TYPE   SYNTAX        SEQUENCE OF MplsInterfaceEntry   MAX-ACCESS    not-accessible   STATUS        current   DESCRIPTION       "This table specifies per-interface MPLS capability        and associated information."   ::= { mplsLsrObjects 1 }mplsInterfaceEntry OBJECT-TYPE   SYNTAX        MplsInterfaceEntry   MAX-ACCESS    not-accessible   STATUS        current   DESCRIPTION       "A conceptual row in this table is created        automatically by an LSR for every interface capable        of supporting MPLS and which is configured to do so.        A conceptual row in this table will exist if and only if        a corresponding entry in ifTable exists with ifType =        mpls(166). If this associated entry in ifTable is        operationally disabled (thus removing MPLS        capabilities on that interface), the corresponding        entry in this table MUST be deleted shortly thereafter.        An conceptual row with index 0 is created if the LSR        supports per-platform labels. This conceptual row        represents the per-platform label space and contains        parameters that apply to all interfaces that participate        in the per-platform label space. Other conceptual rows        in this table represent MPLS interfaces that may        participate in either the per-platform or per-        interface label spaces, or both.  Implementations        that either only support per-platform labels,        or have only them configured, may choose to return        just the mplsInterfaceEntry of 0 and not return        the other rows. This will greatly reduce the number        of objects returned. Further information about label        space participation of an interface is provided in        the DESCRIPTION clause of        mplsInterfaceLabelParticipationType."   INDEX { mplsInterfaceIndex }   ::= { mplsInterfaceTable 1 }MplsInterfaceEntry ::= SEQUENCE {  mplsInterfaceIndex                  InterfaceIndexOrZero,  mplsInterfaceLabelMinIn             MplsLabel,  mplsInterfaceLabelMaxIn             MplsLabel,  mplsInterfaceLabelMinOut            MplsLabel,  mplsInterfaceLabelMaxOut            MplsLabel,  mplsInterfaceTotalBandwidth         MplsBitRate,  mplsInterfaceAvailableBandwidth     MplsBitRate,  mplsInterfaceLabelParticipationType BITS}mplsInterfaceIndex OBJECT-TYPE   SYNTAX        InterfaceIndexOrZero   MAX-ACCESS    not-accessible   STATUS        current   DESCRIPTION       "This is a unique index for an entry in the        MplsInterfaceTable.  A non-zero index for an        entry indicates the ifIndex for the corresponding        interface entry of the MPLS-layer in the ifTable.        The entry with index 0 represents the per-platform        label space and contains parameters that apply to all        interfaces that participate in the per-platform label        space. Other entries defined in this table represent        additional MPLS interfaces that may participate in either        the per-platform or per-interface label spaces, or both."   REFERENCE       "RFC 2863 - The Interfaces Group MIB, McCloghrie, K.,        and F. Kastenholtz, June 2000"   ::= { mplsInterfaceEntry 1 }mplsInterfaceLabelMinIn OBJECT-TYPE   SYNTAX        MplsLabel   MAX-ACCESS    read-only   STATUS        current   DESCRIPTION       "This is the minimum value of an MPLS label that this        LSR is willing to receive on this interface."   ::= { mplsInterfaceEntry 2 }mplsInterfaceLabelMaxIn OBJECT-TYPE   SYNTAX        MplsLabel   MAX-ACCESS    read-only   STATUS        current   DESCRIPTION       "This is the maximum value of an MPLS label that this        LSR is willing to receive on this interface."   ::= { mplsInterfaceEntry 3 }mplsInterfaceLabelMinOut OBJECT-TYPE   SYNTAX        MplsLabel   MAX-ACCESS    read-only   STATUS        current   DESCRIPTION       "This is the minimum value of an MPLS label that this        LSR is willing to send on this interface."   ::= { mplsInterfaceEntry 4 }mplsInterfaceLabelMaxOut OBJECT-TYPE   SYNTAX        MplsLabel   MAX-ACCESS    read-only   STATUS        current   DESCRIPTION       "This is the maximum value of an MPLS label that this        LSR is willing to send on this interface."   ::= { mplsInterfaceEntry 5 }mplsInterfaceTotalBandwidth OBJECT-TYPE   SYNTAX        MplsBitRate   UNITS         "kilobits per second"   MAX-ACCESS    read-only   STATUS        current   DESCRIPTION       "This value indicates the total amount of usable        bandwidth on this interface and is specified in        kilobits per second (Kbps).  This variable is not        applicable when applied to the interface with index        0. When this value cannot be measured, this value        should contain the nominal bandwidth."::= { mplsInterfaceEntry 6 }mplsInterfaceAvailableBandwidth OBJECT-TYPE   SYNTAX        MplsBitRate   MAX-ACCESS    read-only   STATUS        current   DESCRIPTION       "This value indicates the total amount of available        bandwidth available on this interface and is        specified in kilobits per second (Kbps).  This value        is calculated as the difference between the amount        of bandwidth currently in use and that specified in        mplsInterfaceTotalBandwidth.  This variable is not        applicable when applied to the interface with index        0. When this value cannot be measured, this value        should contain the nominal bandwidth."::= { mplsInterfaceEntry 7 }mplsInterfaceLabelParticipationType OBJECT-TYPE   SYNTAX  BITS {                  perPlatform (0),                  perInterface (1)              }   MAX-ACCESS    read-only   STATUS        current   DESCRIPTION       "If the value of the mplsInterfaceIndex for this        entry is zero, then this entry corresponds to the        per-platform label space for all interfaces configured        to use that label space. In this case the perPlatform(0)        bit MUST be set; the perInterface(1) bit is meaningless        and MUST be ignored.        The remainder of this description applies to entries        with a non-zero value of mplsInterfaceIndex.        If the perInterface(1) bit is set then the value of        mplsInterfaceLabelMinIn, mplsInterfaceLabelMaxIn,        mplsInterfaceLabelMinOut, and        mplsInterfaceLabelMaxOut for this entry reflect the        label ranges for this interface.        If only the perPlatform(0) bit is set, then the value of        mplsInterfaceLabelMinIn, mplsInterfaceLabelMaxIn,        mplsInterfaceLabelMinOut, and        mplsInterfaceLabelMaxOut for this entry MUST be        identical to the instance of these objects with        index 0.  These objects may only vary from the entry        with index 0 if both the perPlatform(0) and perInterface(1)        bits are set.        In all cases, at a minimum one of the perPlatform(0) or        perInterface(1) bits MUST be set to indicate that        at least one label space is in use by this interface. In        all cases, agents MUST ensure that label ranges are        specified consistently and MUST return an        inconsistentValue error when they do not."   REFERENCE       "Rosen, E., Viswanathan, A., and R. Callon,        Multiprotocol Label Switching Architecture, RFC        3031, January 2001."::= { mplsInterfaceEntry 8 }-- End of mplsInterfaceTable-- MPLS Interface Performance Table.mplsInterfacePerfTable  OBJECT-TYPE   SYNTAX        SEQUENCE OF MplsInterfacePerfEntry   MAX-ACCESS    not-accessible   STATUS        current   DESCRIPTION       "This table provides MPLS performance information on        a per-interface basis."   ::= { mplsLsrObjects 2 }mplsInterfacePerfEntry OBJECT-TYPE   SYNTAX        MplsInterfacePerfEntry   MAX-ACCESS    not-accessible   STATUS        current   DESCRIPTION       "An entry in this table is created by the LSR for        every interface capable of supporting MPLS.  Its is        an extension to the mplsInterfaceEntry table.        Note that the discontinuity behavior of entries in        this table MUST be based on the corresponding        ifEntry's ifDiscontinuityTime."

⌨️ 快捷键说明

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