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

📄 opt-if-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
OPT-IF-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE, Gauge32, Integer32,      Unsigned32, transmission          FROM SNMPv2-SMI    TEXTUAL-CONVENTION, RowPointer, RowStatus, TruthValue          FROM SNMPv2-TC    SnmpAdminString          FROM SNMP-FRAMEWORK-MIB    MODULE-COMPLIANCE, OBJECT-GROUP          FROM SNMPv2-CONF    ifIndex          FROM IF-MIB;--  This is the MIB module for the OTN Interface objects.optIfMibModule MODULE-IDENTITY    LAST-UPDATED "200308130000Z"    ORGANIZATION "IETF AToM MIB Working Group"    CONTACT-INFO       "WG charter:          http://www.ietf.org/html.charters/atommib-charter.html        Mailing Lists:           General Discussion: atommib@research.telcordia.com           To Subscribe: atommib-request@research.telcordia.com        Editor: Hing-Kam Lam        Postal: Lucent Technologies, Room 4C-616                101 Crawfords Corner Road                Holmdel, NJ 07733           Tel: +1 732 949 8338         Email: hklam@lucent.com"    DESCRIPTION       "The MIB module to describe pre-OTN and OTN interfaces.        Copyright (C) The Internet Society (2003).  This version        of this MIB module is part of RFC 3591;  see the RFC        itself for full legal notices."    REVISION  "200308130000Z"    DESCRIPTION       "Initial version, published as RFC 3591."    ::={ transmission 133 }-- textual conventionsOptIfAcTI ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "The trace identifier (TI) accepted at the receiver."  SYNTAX  OCTET STRING (SIZE(64))OptIfBitRateK ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "Indicates the index 'k' that is used to     represent a supported bit rate and the different     versions of OPUk, ODUk and OTUk.     Allowed values of k are defined in ITU-T G.709.     Currently allowed values in G.709 are:        k=1 represents an approximate bit rate of 2.5 Gbit/s,        k=2 represents an approximate bit rate of 10 Gbit/s,        k=3 represents an approximate bit rate of 40 Gbit/s."  SYNTAX  Integer32OptIfDEGM ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "Indicates the threshold level for declaring a Degraded Signal     defect (dDEG).  A dDEG shall be declared if OptIfDEGM     consecutive bad PM Seconds are detected."  SYNTAX  Unsigned32 (2..10)OptIfDEGThr ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "Indicates the threshold level for declaring a performance     monitoring (PM) Second to be bad.  A PM Second is declared bad if     the percentage of detected errored blocks in that second is     greater than or equal to OptIfDEGThr."  SYNTAX  Unsigned32 (1..100)OptIfDirectionality ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "Indicates the directionality of an entity."  SYNTAX  INTEGER {    sink(1),    source(2),    bidirectional(3)    }OptIfSinkOrSource ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "Indicates the directionality of an entity     that is allowed only to be a source or sink."  SYNTAX  INTEGER {    sink(1),    source(2)    }OptIfExDAPI ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "The Destination Access Point Identifier (DAPI)     expected by the receiver."  SYNTAX  OCTET STRING (SIZE(16))OptIfExSAPI ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "The Source Access Point Identifier (SAPI)     expected by the receiver."  SYNTAX  OCTET STRING (SIZE(16))OptIfIntervalNumber ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "Uniquely identifies a 15-minute interval.  The interval     identified by 1 is the most recently completed interval, and     the interval identified by n is the interval immediately     preceding the one identified by n-1."  SYNTAX  Unsigned32 (1..96)OptIfTIMDetMode ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "Indicates the mode of the Trace Identifier Mismatch (TIM)     Detection function."  SYNTAX  INTEGER {    off(1),    dapi(2),    sapi(3),    both(4)    }OptIfTxTI ::= TEXTUAL-CONVENTION  STATUS  current  DESCRIPTION    "The trace identifier (TI) transmitted."  SYNTAX  OCTET STRING (SIZE(64))-- object groupsoptIfObjects OBJECT IDENTIFIER ::= { optIfMibModule 1 }optIfConfs OBJECT IDENTIFIER ::= { optIfMibModule 2 }optIfOTMn OBJECT IDENTIFIER ::= { optIfObjects 1 }optIfPerfMon OBJECT IDENTIFIER ::= { optIfObjects 2 }optIfOTSn OBJECT IDENTIFIER ::= { optIfObjects 3 }optIfOMSn OBJECT IDENTIFIER ::= { optIfObjects 4 }optIfOChGroup OBJECT IDENTIFIER ::= { optIfObjects 5 }optIfOCh OBJECT IDENTIFIER ::= { optIfObjects 6 }optIfOTUk OBJECT IDENTIFIER ::= { optIfObjects 7 }optIfODUk OBJECT IDENTIFIER ::= { optIfObjects 8 }optIfODUkT OBJECT IDENTIFIER ::= { optIfObjects 9 }optIfGroups OBJECT IDENTIFIER ::= { optIfConfs 1 }optIfCompl OBJECT IDENTIFIER ::= { optIfConfs 2 }-- the optIfOTMn group-- This group defines the OTM structure information of an-- optical interface.-- OTMn TableoptIfOTMnTable OBJECT-TYPE  SYNTAX  SEQUENCE OF OptIfOTMnEntry  MAX-ACCESS  not-accessible  STATUS  current  DESCRIPTION    "A table of OTMn structure information."  ::= { optIfOTMn 1 }optIfOTMnEntry OBJECT-TYPE  SYNTAX  OptIfOTMnEntry  MAX-ACCESS  not-accessible  STATUS  current  DESCRIPTION    "A conceptual row that contains the OTMn structure     information of an optical interface."  INDEX  { ifIndex }  ::= { optIfOTMnTable 1 }OptIfOTMnEntry ::=  SEQUENCE {    optIfOTMnOrder         Unsigned32,    optIfOTMnReduced       TruthValue,    optIfOTMnBitRates      BITS,    optIfOTMnInterfaceType SnmpAdminString,    optIfOTMnTcmMax        Unsigned32,    optIfOTMnOpticalReach  INTEGER    }optIfOTMnOrder OBJECT-TYPE  SYNTAX  Unsigned32 (1..900)  MAX-ACCESS  read-only  STATUS  current  DESCRIPTION    "This object indicates the order of the OTM, which     represents the maximum number of wavelengths that can be     supported at the bit rate(s) supported on the interface."  ::= { optIfOTMnEntry 1 }optIfOTMnReduced OBJECT-TYPE  SYNTAX  TruthValue  MAX-ACCESS  read-only  STATUS  current  DESCRIPTION    "This object indicates whether a reduced or full     functionality is supported at the interface.  A value of     true means reduced.  A value of false means full."  ::= { optIfOTMnEntry 2 }optIfOTMnBitRates OBJECT-TYPE  SYNTAX  BITS { bitRateK1(0), bitRateK2(1), bitRateK3(2) }  MAX-ACCESS  read-only  STATUS  current  DESCRIPTION    "This attribute is a bit map representing the bit     rate or set of bit rates supported on the interface.     The meaning of each bit position is as follows:       bitRateK1(0) is set if the 2.5 Gbit/s rate is supported       bitRateK2(1) is set if the 10 Gbit/s rate is supported       bitRateK3(2) is set if the 40 Gbit/s rate is supported     Note that each bit position corresponds to one possible     value of the type OptIfBitRateK.     The default value of this attribute is system specific."  ::= { optIfOTMnEntry 3 }optIfOTMnInterfaceType OBJECT-TYPE  SYNTAX  SnmpAdminString  MAX-ACCESS  read-only  STATUS  current  DESCRIPTION    "This object identifies the type of interface.  The value of     this attribute will affect the behavior of the OTM with     respect to presence/absence of OTM Overhead Signal (OOS)     processing and TCM activation.  For an IrDI interface,     there is no OOS processing and TCM activation is limited     to n levels as specified by a TCM level threshold.     This object contains two fields that are separated by     whitespace.  The possible values are:          field 1: one of the 4-character ASCII strings                    'IrDI' or 'IaDI'          field 2: free-form text consisting of printable                   UTF-8 encoded characters     Note that field 2 is optional.  If it is not present then there     is no requirement for trailing whitespace after field 1.     The default values are as follows:          field 1:  'IaDI'          field 2: an empty string."  ::= { optIfOTMnEntry 4 }optIfOTMnTcmMax OBJECT-TYPE  SYNTAX  Unsigned32 (0..6)  MAX-ACCESS  read-write  STATUS  current  DESCRIPTION    "This object identifies the maximum number of TCM     levels allowed for any Optical Channel contained     in this OTM.  A new TCM activation will be rejected     if the requested level is greater than the threshold.     If InterfaceType object specifies a type of 'IaDI'     for this OTM, then this attribute is irrelevant.     Possible values:  unsigned integers in the range                       from 0 to 6 inclusive.     Default value:    3."  ::= { optIfOTMnEntry 5 }optIfOTMnOpticalReach OBJECT-TYPE  SYNTAX  INTEGER { intraOffice(1), shortHaul(2), longHaul(3),                    veryLongHaul(4), ultraLongHaul(5) }  MAX-ACCESS  read-only  STATUS  current  DESCRIPTION    "This object indicates the length the optical signal     may travel before requiring termination or regeneration.     The meaning of the enumeration are:       intraOffice(1)  - intra-office (as defined in ITU-T G.957)       shortHaul(2)    - short haul (as defined in ITU-T G.957)       longHaul(3)     - long haul (as defined in ITU-T G.957)       veryLongHaul(4) - very long haul (as defined in ITU-T G.691)       ultraLongHaul(5)- ultra long haul (as defined in ITU-T G.691)"  ::= { optIfOTMnEntry 6 }-- the optIfPerfMon group-- This group defines performance monitoring objects for all-- layers.-- PM interval tableoptIfPerfMonIntervalTable OBJECT-TYPE  SYNTAX  SEQUENCE OF OptIfPerfMonIntervalEntry  MAX-ACCESS  not-accessible  STATUS  current  DESCRIPTION    "A table of 15-minute performance monitoring interval     information."  ::= { optIfPerfMon 1 }optIfPerfMonIntervalEntry OBJECT-TYPE  SYNTAX  OptIfPerfMonIntervalEntry  MAX-ACCESS  not-accessible  STATUS  current  DESCRIPTION    "A conceptual row that contains 15-minute performance     monitoring interval information of an interface."  INDEX  { ifIndex }  ::= { optIfPerfMonIntervalTable 1 }OptIfPerfMonIntervalEntry ::=  SEQUENCE {    optIfPerfMonCurrentTimeElapsed   Gauge32,    optIfPerfMonCurDayTimeElapsed    Gauge32,    optIfPerfMonIntervalNumIntervals         Unsigned32,    optIfPerfMonIntervalNumInvalidIntervals  Unsigned32    }optIfPerfMonCurrentTimeElapsed OBJECT-TYPE  SYNTAX  Gauge32 (0..900)  UNITS  "seconds"  MAX-ACCESS  read-only  STATUS  current  DESCRIPTION    "Number of seconds elapsed in the current 15-minute     performance monitoring interval.     If, for some reason, such as an adjustment in the NE's     time-of-day clock, the number of seconds elapsed exceeds     the maximum value, then the maximum value will be returned."  ::= { optIfPerfMonIntervalEntry 1 }optIfPerfMonCurDayTimeElapsed OBJECT-TYPE  SYNTAX  Gauge32 (0..86400)  UNITS  "seconds"  MAX-ACCESS  read-only  STATUS  current  DESCRIPTION    "Number of seconds elapsed in the current 24-hour interval     performance monitoring period.     If, for some reason, such as an adjustment in the NE's     time-of-day clock, the number of seconds elapsed exceeds     the maximum value, then the maximum value will be returned."  ::= { optIfPerfMonIntervalEntry 2 }optIfPerfMonIntervalNumIntervals OBJECT-TYPE  SYNTAX  Unsigned32 (0..96)  MAX-ACCESS  read-only  STATUS  current  DESCRIPTION    "The number of 15-minute intervals for which performance     monitoring data is available.  The number is the same for all     the associated sub layers of the interface.     An optical interface must be capable of supporting at least     n intervals, where n is defined as follows:         The minimum value of n is 4.         The default of n is 32.         The maximum value of n is 96.     The value of this object will be n unless performance     monitoring was (re-)started for the interface within the last     (n*15) minutes, in which case the value will be the number of     complete 15-minute intervals since measurement was     (re-)started."  ::= { optIfPerfMonIntervalEntry 3 }optIfPerfMonIntervalNumInvalidIntervals OBJECT-TYPE  SYNTAX  Unsigned32 (0..96)  MAX-ACCESS  read-only  STATUS  current  DESCRIPTION    "The number of intervals in the range from 0 to     optIfPerfMonIntervalNumIntervals for which no performance     monitoring data is available and/or the data is invalid."  ::= { optIfPerfMonIntervalEntry 4 }-- the optIfOTSn group-- This group handles the configuration and performance-- monitoring objects for OTS layers.-- OTSn config tableoptIfOTSnConfigTable OBJECT-TYPE  SYNTAX  SEQUENCE OF OptIfOTSnConfigEntry  MAX-ACCESS  not-accessible  STATUS  current  DESCRIPTION    "A table of OTSn configuration information."  ::= { optIfOTSn 1 }optIfOTSnConfigEntry OBJECT-TYPE  SYNTAX  OptIfOTSnConfigEntry  MAX-ACCESS  not-accessible  STATUS  current  DESCRIPTION    "A conceptual row that contains OTSn configuration     information of an interface."  INDEX  { ifIndex }  ::= { optIfOTSnConfigTable 1 }OptIfOTSnConfigEntry ::=  SEQUENCE {    optIfOTSnDirectionality              OptIfDirectionality,    optIfOTSnAprStatus                   SnmpAdminString,    optIfOTSnAprControl                  SnmpAdminString,    optIfOTSnTraceIdentifierTransmitted  OptIfTxTI,    optIfOTSnDAPIExpected                OptIfExDAPI,    optIfOTSnSAPIExpected                OptIfExSAPI,

⌨️ 快捷键说明

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