media.mib
资源名称:SNMP范例源代码.zip [点击查看]
上传用户:shgx688
上传日期:2009-12-27
资源大小:855k
文件大小:8k
源码类别:
SNMP编程
开发平台:
MultiPlatform
- TXFX-MIB DEFINITIONS ::= BEGIN
- IMPORTS
- enterprises
- FROM RFC1155-SMI
- MODULE-IDENTITY, OBJECT-TYPE, Gauge32,NOTIFICATION-TYPE,
- Integer32
- FROM SNMPv2-SMI
- DisplayString
- FROM SNMPv2-TC
- MODULE-COMPLIANCE, OBJECT-GROUP
- FROM SNMPv2-CONF
- ifIndex
- FROM RFC1213-MIB;
- gdt OBJECT IDENTIFIER ::= { enterprises 26 } --5326
- txfxMIB MODULE-IDENTITY
- LAST-UPDATED "9401030000Z"
- ORGANIZATION "Great Dragon Telecom Corp.Ltd."
- CONTACT-INFO
- " Liu yi
- Postal: System Integration Dept.
- 169 Beiyuan Rd. Chaoyang District
- Beijing, 100101
- P.R.China
- Tel: +86 6498 2299 ext 6422
- Fax: None.
- E-mail: gdtyy@ri.gdt.com.cn"
- DESCRIPTION
- "The MIB module to describe
- TXFX Device objects."
- ::= { gdt 5 }
- -- This is the MIB module for the CWDM devices objects
- txfxDevice OBJECT IDENTIFIER ::= { txfxMIB 1 }
- txfxTraps OBJECT IDENTIFIER ::= { txfxMIB 2 }
- -- TXFX Device group
- txfxDevSoftwareVersion OBJECT-TYPE
- SYNTAX OCTET STRING -- SYNTAX INTEGER { version1(1),
- -- version2(2) }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "This variable identifies the software version of this device."
- ::= { txfxDevice 1 }
- txfxDeviceType OBJECT-TYPE
- SYNTAX OCTET STRING --SYNTAX INTEGER
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "This variable identifies the type of this device."
- ::= { txfxDevice 2 }
- txfxDeviceHardwareVersion OBJECT-TYPE
- SYNTAX INTEGER {
- version1(1),
- version2(2)
- }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "This variable identifies the hardware version of the device."
- ::= { txfxDevice 3 }
- txfxDeviceModuleNum OBJECT-TYPE
- SYNTAX Integer32
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "This variable identifies the hardware version of the device."
- ::= { txfxDevice 4 }
- txfxModuleTable OBJECT-TYPE
- SYNTAX SEQUENCE OF TxfxModuleEntry
- MAX-ACCESS not-accessible
- STATUS current
- DESCRIPTION
- "The CWDM Harddisk table."
- ::= { txfxDevice 5 }
- txfxModuleEntry OBJECT-TYPE
- SYNTAX TxfxModuleEntry
- MAX-ACCESS not-accessible
- STATUS current
- DESCRIPTION
- "An entry in the Harddisk table."
- INDEX { txfxModuleIndex }
- ::= { txfxModuleTable 1 }
- TxfxModuleEntry ::=
- SEQUENCE {
- txfxModuleIndex INTEGER,
- txfxModuleType INTEGER,
- txfxModuleTimeElapsed Integer32,
- txfxModuleAdminStatus INTEGER,
- txfxModuleHardwareVer INTEGER,
- txfxModuleSlot INTEGER,
- txfxModuleOpertionalStatus INTEGER,
- txfxModuleOnOff INTEGER, -- Rename it later.
- txfxModuleCapacity INTEGER,
- txfxModuleLinkAlt INTEGER,
- txfxModuleTxMode INTEGER,
- txfxModuleState INTEGER
- }
- txfxModuleIndex OBJECT-TYPE
- SYNTAX INTEGER
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "This variable identifies the type of Hdrdisk."
- ::= { txfxModuleEntry 1 }
- txfxModuleType OBJECT-TYPE
- SYNTAX INTEGER {
- moduletype1(1),
- moduletype2(2) -- waiting for further detailization.
- }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "This variable identifies the type of Hdrdisk."
- ::= { txfxModuleEntry 2 }
- txfxModuleTimeElapsed OBJECT-TYPE
- SYNTAX Integer32 (1..900)
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "The number of seconds, including partial
- seconds, that have elapsed since the beginning of
- the current error-measurement period."
- ::= { txfxModuleEntry 3 }
- txfxModuleAdminStatus OBJECT-TYPE
- SYNTAX INTEGER {
- on(1),
- off(2)
- }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "Administrative status."
- ::= { txfxModuleEntry 4 }
- txfxModuleHardwareVer OBJECT-TYPE
- SYNTAX INTEGER {
- version1(1),
- version2(2)
- }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "This variable describes the version of hdrdisk."
- ::= { txfxModuleEntry 5 }
- txfxModuleSlot OBJECT-TYPE
- SYNTAX INTEGER
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "This variable describes the slot number on which
- the harddisk positions on."
- ::= { txfxModuleEntry 6 }
- txfxModuleOpertionalStatus OBJECT-TYPE
- SYNTAX INTEGER {
- on(1),
- off(2)
- }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "Operational status."
- ::= { txfxModuleEntry 7 }
- txfxModuleOnOff OBJECT-TYPE
- SYNTAX INTEGER {
- on(0),
- off(1)
- }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "one of the states of this module."
- ::= { txfxModuleEntry 8 }
- txfxModuleCapacity OBJECT-TYPE
- SYNTAX INTEGER {
- tenM(0),
- hundredM(1)
- }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "one of the states of this module."
- ::= { txfxModuleEntry 9 }
- txfxModuleLinkAlt OBJECT-TYPE
- SYNTAX INTEGER {
- linkUp(0),
- recieving(1),
- linkDown(2)
- }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "one of the states of this module."
- ::= { txfxModuleEntry 10 }
- txfxModuleTxMode OBJECT-TYPE
- SYNTAX INTEGER {
- duplex(0),
- semiDuplex(1)
- }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "one of the states of this module."
- ::= { txfxModuleEntry 11 }
- txfxModuleState OBJECT-TYPE
- SYNTAX INTEGER {
- normal(0),
- collusion(1)
- }
- MAX-ACCESS read-only
- STATUS current
- DESCRIPTION
- "one of the states of this module."
- ::= { txfxModuleEntry 12 }
- txfxLOSTrap NOTIFICATION-TYPE
- STATUS current
- DESCRIPTION
- "A Los trap."
- ::= { txfxTraps 1 }
- END