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

📄 mpls-ftn-std-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
MPLS-FTN-STD-MIB DEFINITIONS ::= BEGINIMPORTS   MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, Counter64, Integer32       FROM SNMPv2-SMI                                   -- [RFC2578]   RowStatus, StorageType, RowPointer,   TEXTUAL-CONVENTION, TimeStamp       FROM SNMPv2-TC                                    -- [RFC2579]   MODULE-COMPLIANCE, OBJECT-GROUP       FROM SNMPv2-CONF                                  -- [RFC2580]   InterfaceIndexOrZero,   ifGeneralInformationGroup, ifCounterDiscontinuityGroup       FROM IF-MIB                                       -- [RFC2863]   SnmpAdminString       FROM SNMP-FRAMEWORK-MIB                           -- [RFC3411]   Dscp       FROM DIFFSERV-DSCP-TC                             -- [RFC3289]   InetAddressType, InetAddress, InetPortNumber       FROM INET-ADDRESS-MIB                             -- [RFC3291]   mplsStdMIB       FROM MPLS-TC-STD-MIB                              -- [RFC3811]   ;mplsFTNStdMIB MODULE-IDENTITY   LAST-UPDATED "200406030000Z"  -- June 6, 2004   ORGANIZATION "Multiprotocol Label Switching (MPLS) Working Group"   CONTACT-INFO       "                Thomas D. Nadeau        Postal: Cisco Systems, Inc.                250 Apollo Drive                Chelmsford, MA 01824        Tel:    +1-978-244-3051        Email:  tnadeau@cisco.com                Cheenu Srinivasan        Postal: Bloomberg L.P.                499 Park Avenue                New York, NY 10022        Tel:    +1-212-893-3682        Email:  cheenu@bloomberg.net                Arun Viswanathan        Postal: Force10 Networks, Inc.                1440 McCarthy Blvd                Milpitas, CA 95035        Tel:    +1-408-571-3516        Email:  arunv@force10networks.com        IETF 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 3814. For full legal notices see the RFC        itself or see:        http://www.ietf.org/copyrights/ianamib.html        This MIB module contains managed object definitions for        specifying FEC to NHLFE (FTN) mappings and corresponding        performance for MPLS."   -- Revision history.   REVISION       "200406030000Z"  -- June 3, 2004   DESCRIPTION       "Initial version issued as part of RFC 3814."    ::= { mplsStdMIB 8 }-- TEXTUAL-CONVENTIONs used in this MIB.MplsFTNEntryIndex ::= TEXTUAL-CONVENTION   STATUS              current   DESCRIPTION       "Index for an entry in mplsFTNTable."   SYNTAX              Unsigned32 (1..4294967295)MplsFTNEntryIndexOrZero ::= TEXTUAL-CONVENTION   STATUS              current   DESCRIPTION       "Index for an entry in mplsFTNTable or the special value        zero. The value zero is object-specific and must        therefore be defined as part of the description of any        object which uses this syntax.  Examples of the usage        of zero might include situations when none or all        entries in mplsFTNTable need to be referenced."   SYNTAX              Unsigned32 (0..4294967295)-- Top-Level Components of this MIB.mplsFTNNotifications OBJECT IDENTIFIER ::= { mplsFTNStdMIB 0 }mplsFTNObjects       OBJECT IDENTIFIER ::= { mplsFTNStdMIB 1 }mplsFTNConformance   OBJECT IDENTIFIER ::= { mplsFTNStdMIB 2 }-- Next free index in mplsFTNTable.mplsFTNIndexNext OBJECT-TYPE   SYNTAX              MplsFTNEntryIndexOrZero   MAX-ACCESS          read-only   STATUS              current   DESCRIPTION       "This object contains the next available valid value to        be used for mplsFTNIndex when creating entries in the        mplsFTNTable.        When creating a new conceptual row (configuration        entry) in mplsFTNTable with an SNMP SET operation the        command generator (Network Management Application) must        first issue a management protocol retrieval operation        to obtain the current value of this object.        If the command responder (agent) does not wish to allow        creation of more entries in mplsFTNTable, possibly        because of resource exhaustion, this object MUST return        a value of 0.        If a non-zero value is returned the Network Management        Application must determine whether the value is indeed        still unused since two Network Management Applications        may attempt to create a row simultaneously and use the        same value.        If it is currently unused and the SET succeeds, the        agent MUST change the value of this object to a        currently unused non-zero value (according to an        implementation specific algorithm) or zero (if no        further row creation will be permitted).        If the value is in use, however, the SET fails and the        Network Management Application must then reread this        object to obtain a new usable value."   ::= { mplsFTNObjects 1 }-- Last time an object in mplsFTNTable changed.mplsFTNTableLastChanged OBJECT-TYPE   SYNTAX              TimeStamp   MAX-ACCESS          read-only   STATUS              current   DESCRIPTION       "Indicates the last time an entry was added, deleted or        modified in mplsFTNTable.  Management stations should        consult this object to determine if mplsFTNTable        requires their attention.  This object is particularly        useful for applications performing a retrieval on        mplsFTNTable to ensure that the table is not modified        during the retrieval operation."   ::=  { mplsFTNObjects 2 }-- Table of FTN entries.mplsFTNTable  OBJECT-TYPE   SYNTAX          SEQUENCE OF MplsFTNEntry   MAX-ACCESS      not-accessible   STATUS          current   DESCRIPTION       "This table contains the currently defined FTN entries.        This table allows FEC to NHLFE mappings to be        specified.  Each entry in this table defines a rule to        be applied to incoming packets (on interfaces that the        FTN entry is activated on using mplsFTNMapTable) and an        action to be taken on matching packets        (mplsFTNActionPointer).        This table supports 6-tuple matching rules based on one        or more of source address range, destination address        range, source port range, destination port range, IPv4        Protocol field or IPv6 next-header field and the        DiffServ Code Point (DSCP) to be specified.        The action pointer points either to instance of        mplsXCEntry in MPLS-LSR-STD-MIB when the NHLFE is a non-        TE LSP, or to an instance of mplsTunnelEntry in the        MPLS-TE-STD-MIB when the NHLFE is an originating TE        tunnel."   REFERENCE       "J. Postel, Internet Protocol, RFC 791, STD 5, September        1981        Deering, S., and R. Hinden, Internet Protocol, Version        6 (IPv6) Specification, RFC 2460, December 1998        Nichols, K, Blake, S., Baker, F. and D. Black,        Definition of the Differentiated Services Field (DS        Field) in the IPv4 and IPv6 Headers, RFC 2474, December        1998        Srinivasan, C., A. Viswanathan, and T. Nadeau, MPLS        Label Switch Router Management Information Base,        RFC 3813        Srinivasan, C., A. Viswanathan, and T. Nadeau, MPLS        Traffic Engineering Management Information Base,        RFC 3812"   ::=  { mplsFTNObjects 3 }mplsFTNEntry  OBJECT-TYPE   SYNTAX          MplsFTNEntry   MAX-ACCESS      not-accessible   STATUS          current   DESCRIPTION       "Each entry represents one FTN entry which defines a        rule to compare incoming packets with and an action to        be taken on matching packets."   INDEX { mplsFTNIndex }   ::=  { mplsFTNTable 1 }MplsFTNEntry  ::=  SEQUENCE {      mplsFTNIndex               MplsFTNEntryIndex,      mplsFTNRowStatus           RowStatus,      mplsFTNDescr               SnmpAdminString,      mplsFTNMask                BITS,      mplsFTNAddrType            InetAddressType,      mplsFTNSourceAddrMin       InetAddress,      mplsFTNSourceAddrMax       InetAddress,      mplsFTNDestAddrMin         InetAddress,      mplsFTNDestAddrMax         InetAddress,      mplsFTNSourcePortMin       InetPortNumber,      mplsFTNSourcePortMax       InetPortNumber,      mplsFTNDestPortMin         InetPortNumber,      mplsFTNDestPortMax         InetPortNumber,      mplsFTNProtocol            Integer32,      mplsFTNDscp                Dscp,      mplsFTNActionType          INTEGER,      mplsFTNActionPointer       RowPointer,      mplsFTNStorageType         StorageType   }mplsFTNIndex   OBJECT-TYPE   SYNTAX              MplsFTNEntryIndex   MAX-ACCESS          not-accessible   STATUS              current   DESCRIPTION       "This is the unique index for a conceptual row in        mplsFTNTable.        To create a new conceptual row in mplsFTNTable a        Network Management Application SHOULD retrieve the        current value of mplsFTNIndexNext to determine the next        valid available value of mplsFTNIndex."   ::= { mplsFTNEntry 1 }mplsFTNRowStatus OBJECT-TYPE   SYNTAX              RowStatus   MAX-ACCESS          read-create   STATUS              current   DESCRIPTION       "Used for controlling the creation and deletion of this        row. All writeable objects in this row may be modified        at any time. If a Network Management Application        attempts to delete a conceptual row by setting this        object to 'destroy' and there are one or more entries        in mplsFTNMapTable pointing to the row (i.e., when        mplsFTNIndex of the conceptual row being deleted is        equal to mplsFTNMapCurrIndex for one or more entries in        mplsFTNMapTable), the agent MUST also destroy the        corresponding entries in mplsFTNMapTable."   ::= { mplsFTNEntry 2 }mplsFTNDescr   OBJECT-TYPE   SYNTAX              SnmpAdminString   MAX-ACCESS          read-create   STATUS              current   DESCRIPTION       "The description of this FTN entry. Since the index for        this table has no particular significance or meaning,        this object should contain some meaningful text that an        operator could use to further distinguish entries in        this table."   ::= { mplsFTNEntry 3 }mplsFTNMask OBJECT-TYPE   SYNTAX             BITS {                       sourceAddr(0),                       destAddr(1),                       sourcePort(2),                       destPort(3),                       protocol(4),                       dscp(5)                      }   MAX-ACCESS          read-create   STATUS              current   DESCRIPTION       "This bit map indicates which of the fields described        next, namely source address range, destination address        range, source port range, destination port range, IPv4        Protocol field or IPv6 next-header field and        Differentiated Services Code Point (DSCP) is active for        this FTN entry. If a particular bit is set to zero then        the corresponding field in the packet MUST be ignored        for comparison purposes."   ::= { mplsFTNEntry 4 }mplsFTNAddrType OBJECT-TYPE   SYNTAX             InetAddressType   MAX-ACCESS         read-create   STATUS             current   DESCRIPTION       "This object determines the type of address contained in        the source and destination address objects        (mplsFTNSourceAddrMin, mplsFTNSourceAddrMax,        mplsFTNDestAddrMin and mplsFTNDestAddrMax) of a        conceptual row.        This object MUST NOT be set to unknown(0) when        mplsFTNMask has bit positions sourceAddr(0) or        destAddr(1) set to one.        When both these bit positions of mplsFTNMask are set to        zero the value of mplsFTNAddrType SHOULD be set to        unknown(0) and the corresponding source and destination        address objects SHOULD be set to zero-length strings."   ::= { mplsFTNEntry 5 }mplsFTNSourceAddrMin OBJECT-TYPE   SYNTAX             InetAddress   MAX-ACCESS         read-create   STATUS             current   DESCRIPTION       "The lower end of the source address range. The type of        this object is determined by the corresponding        mplsFTNAddrType object."   ::= { mplsFTNEntry 6 }mplsFTNSourceAddrMax OBJECT-TYPE   SYNTAX             InetAddress   MAX-ACCESS         read-create   STATUS             current   DESCRIPTION       "The upper end of the source address range. The type of        this object is determined by the corresponding        mplsFTNAddrType object."   ::= { mplsFTNEntry 7 }mplsFTNDestAddrMin OBJECT-TYPE   SYNTAX             InetAddress   MAX-ACCESS         read-create   STATUS             current   DESCRIPTION       "The lower end of the destination address range. The        type of this object is determined by the corresponding        mplsFTNAddrType object."   ::= { mplsFTNEntry 8 }

⌨️ 快捷键说明

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