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

📄 dot12-if-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
DOT12-IF-MIB DEFINITIONS ::= BEGIN    IMPORTS        transmission, Counter32, Counter64, OBJECT-TYPE,        MODULE-IDENTITY            FROM SNMPv2-SMI        MODULE-COMPLIANCE, OBJECT-GROUP            FROM SNMPv2-CONF        ifIndex            FROM IF-MIB;    dot12MIB MODULE-IDENTITY         LAST-UPDATED "9602220452Z"  -- February 22, 1996         ORGANIZATION "IETF 100VG-AnyLAN MIB Working Group"         CONTACT-INFO                 "       John Flick                 Postal: Hewlett Packard Company                         8000 Foothills Blvd. M/S 5556                         Roseville, CA 95747-5556                 Tel:    +1 916 785 4018                 Fax:    +1 916 785 3583                 E-mail: johnf@hprnd.rose.hp.com"         DESCRIPTION                 "This MIB module describes objects for                 managing IEEE 802.12 interfaces."         ::= { transmission 45 }    dot12MIBObjects     OBJECT IDENTIFIER ::= { dot12MIB 1 }    dot12ConfigTable OBJECT-TYPE        SYNTAX     SEQUENCE OF Dot12ConfigEntry        MAX-ACCESS not-accessible        STATUS     current        DESCRIPTION                "Configuration information for a collection of                802.12 interfaces attached to a particular                system."        ::= { dot12MIBObjects 1 }    dot12ConfigEntry OBJECT-TYPE        SYNTAX     Dot12ConfigEntry        MAX-ACCESS not-accessible        STATUS     current        DESCRIPTION                "Configuration for a particular interface to an                802.12 medium."        INDEX      { ifIndex }        ::= { dot12ConfigTable 1 }    Dot12ConfigEntry ::=        SEQUENCE {            dot12CurrentFramingType         INTEGER,            dot12DesiredFramingType         INTEGER,            dot12FramingCapability          INTEGER,            dot12DesiredPromiscStatus       INTEGER,            dot12TrainingVersion            INTEGER,            dot12LastTrainingConfig         OCTET STRING,            dot12Commands                   INTEGER,            dot12Status                     INTEGER,            dot12ControlMode                INTEGER        }    dot12CurrentFramingType OBJECT-TYPE        SYNTAX     INTEGER {                       frameType88023(1),                       frameType88025(2),                       frameTypeUnknown(3)                   }        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "When dot12DesiredFramingType is one of                'frameType88023' or 'frameType88025', this is the                type of framing asserted by the interface.                When dot12DesiredFramingType is 'frameTypeEither',                dot12CurrentFramingType shall be one of                'frameType88023' or 'frameType88025' when the                dot12Status is 'opened'.   When the dot12Status is                anything other than 'opened',                dot12CurrentFramingType shall take the value of                'frameTypeUnknown'."        ::= { dot12ConfigEntry 1 }    dot12DesiredFramingType OBJECT-TYPE        SYNTAX     INTEGER {                       frameType88023(1),                       frameType88025(2),                       frameTypeEither(3)                   }        MAX-ACCESS read-write        STATUS     current        DESCRIPTION                "The type of framing which will be requested by                the interface during the next interface MAC                initialization or open action.                In master mode, this is the framing mode which                will be granted by the interface.  Note that                for a master mode interface, this object must be                equal to 'frameType88023' or 'frameType88025',                since a master mode interface cannot grant                'frameTypeEither'."        REFERENCE                "IEEE Standard 802.12-1995, 13.2.5.2.1,                aDesiredFramingType."        ::= { dot12ConfigEntry 2 }    dot12FramingCapability OBJECT-TYPE        SYNTAX     INTEGER {                       frameType88023(1),                       frameType88025(2),                       frameTypeEither(3)                   }        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "The type of framing this interface is capable of                supporting."        REFERENCE                "IEEE Standard 802.12-1995, 13.2.5.2.1,                aFramingCapability."        ::= { dot12ConfigEntry 3 }    dot12DesiredPromiscStatus OBJECT-TYPE        SYNTAX     INTEGER {                       singleAddressMode(1),                       promiscuousMode(2)                   }        MAX-ACCESS read-write        STATUS     current        DESCRIPTION                "This object is used to select the promiscuous                mode that this interface will request in the next                training packet issued on this interface.                Whether the repeater grants the requested mode                must be verified by examining the state of the PP                bits in the corresponding instance of                dot12LastTrainingConfig.                In master mode, this object controls whether or                not promiscuous mode will be granted by the                interface when requested by the lower level                device.                Note that this object indicates the desired mode                for the next time the interface trains.  The                currently active mode will be reflected in                dot12LastTrainingConfig and in ifPromiscuousMode."        REFERENCE                "IEEE Standard 802.12-1995, 13.2.5.2.1,                aDesiredPromiscuousStatus."        ::= { dot12ConfigEntry 4 }    dot12TrainingVersion OBJECT-TYPE        SYNTAX     INTEGER (0..7)        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "The value that will be used in the version bits                (vvv bits) in training frames on this interface.                This is the highest version number supported by                this MAC."        REFERENCE                "IEEE Standard 802.12-1995, 13.2.5.2.1,                aMACVersion."        ::= { dot12ConfigEntry 5 }    dot12LastTrainingConfig OBJECT-TYPE        SYNTAX     OCTET STRING (SIZE(2))        MAX-ACCESS read-only        STATUS     current        DESCRIPTION                "This 16 bit field contains the configuration                bits from the most recent error-free training                frame received during training on this interface.                Training request frames are received when in                master mode, while training response frames are                received in slave mode.  On master mode interfaces,                this object contains the contents of the                requested configuration field of the most recent                training request frame.  On slave mode interfaces,                this object contains the contents of the allowed                configuration field of the most recent training                response frame.  The format of the current version                of this field is described in section 3.8.  Please                refer to the most recent version of the IEEE                802.12 standard for the most up-to-date definition                of the format of this object."        REFERENCE                "IEEE Standard 802.12-1995, 13.2.5.2.1,                aLastTrainingConfig."        ::= { dot12ConfigEntry 6 }    dot12Commands OBJECT-TYPE        SYNTAX     INTEGER {                       noOp(1),                       open(2),                       reset(3),                       close(4)                   }        MAX-ACCESS read-write        STATUS     current        DESCRIPTION                "If the current value of dot12Status is 'closed',                setting the value of this object to 'open' will                change the corresponding instance of MIB-II's                ifAdminStatus to 'up', cause this interface to                enter the 'opening' state, and will cause training                to be initiated on this interface.  The progress                and success of the open is given by the values of                the dot12Status object.  Setting this object to                'open' when dot12Status has a value other than                'closed' has no effect.                Setting the corresponding instance of ifAdminStatus                to 'up' when the current value of dot12Status is                'closed' will have the same effect as setting this                object to 'open'.  Setting ifAdminStatus to 'up'                when dot12Status has a value other than 'closed'                has no effect.                Setting the value of this object to 'close' will                move this interface into the 'closed' state and                cause all transmit and receive actions to stop.                This object will then have to be set to 'open' in                order to reinitiate training.                Setting the corresponding instance of ifAdminStatus                to 'down' will have the same effect as setting this                object to 'close'.                Setting the value of this object to 'reset' when                the current value of dot12Status has a value other                than 'closed' will reset the interface.  On a                reset, all MIB counters should retain their values.                This will cause the MAC to initiate an                acInitializeMAC action as specified in IEEE 802.12.                This will cause training to be reinitiated on this                interface.  Setting this object to 'reset' when                dot12Status has a value of 'closed' has no effect.                Setting this object to 'reset' has no effect on the                corresponding instance of ifAdminStatus.                Setting the value of this object to 'noOp' has no                effect.                When read, this object will always have a value                of 'noOp'."        REFERENCE                "IEEE Standard 802.12-1995, 13.2.5.2.2,                acOpen, acClose, acInitializeMAC.                Also, RFC1231 IEEE802.5 Token Ring MIB,                dot5Commands."

⌨️ 快捷键说明

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