-- -- SNMP Management Information Base for Cronyx RMC device. -- -- $Id: rmc.mib,v 1.7 2006/05/12 12:46:57 vak Exp $ -- CRONYX-RMC-MIB DEFINITIONS ::= BEGIN IMPORTS OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE, Integer32 FROM SNMPv2-SMI OBJECT-GROUP, NOTIFICATION-GROUP, MODULE-COMPLIANCE FROM SNMPv2-CONF DisplayString FROM SNMPv2-TC Counter16, cronyx-capabilities, cronyx-requirements, cronyx-identities, rmc-mib FROM CRONYX-GENERIC-MIB; cronyxRmcModule MODULE-IDENTITY LAST-UPDATED "200505251844Z" ORGANIZATION "Cronyx Engineering" CONTACT-INFO "Person: Victor Cherkashin Postal: Cronyx Engineering, Marshala Sokolovskogo str. 4, 123060 Moscow Russia Tel: +7 095 9469990 E-mail: vich@cronyx.ru" DESCRIPTION "The MIB module to describe Cronyx RMC device." REVISION "200505251844Z" DESCRIPTION "Initial revision of this module (SNMP v2. supported)" ::= { cronyx-identities 8 } rmc-events OBJECT IDENTIFIER ::= { rmc-mib 0 } -- must be zero -------------------------------------------------------- -- The table of devices. -- deviceTable OBJECT-TYPE SYNTAX SEQUENCE OF DeviceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table of devices." ::= { rmc-mib 1 } deviceEntry OBJECT-TYPE SYNTAX DeviceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the table of devices." INDEX {deviceIndex} ::= { deviceTable 1 } DeviceEntry ::= SEQUENCE { deviceIndex Integer32, deviceChassisNumber Integer32, deviceSlotNumber Integer32, deviceType INTEGER, deviceRevision DisplayString } deviceIndex OBJECT-TYPE SYNTAX Integer32 (0..39) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The index value which uniquely identifies the device to which this entry is applicable." ::= { deviceEntry 1 } deviceChassisNumber OBJECT-TYPE SYNTAX Integer32 (0..3) MAX-ACCESS read-only STATUS current DESCRIPTION "The number of chassis where device resides" ::= { deviceEntry 2 } deviceSlotNumber OBJECT-TYPE SYNTAX Integer32 (0..9) MAX-ACCESS read-only STATUS current DESCRIPTION "The number of slot where device resides" ::= { deviceEntry 3 } deviceType OBJECT-TYPE SYNTAX INTEGER { typeNoDevice (0), typeUnknown (1), typePCM2 (2), typeFOM8 (3), typeE1-L (4), typeE1-XL (5), typeE1-XLC (6), typeE1-DXC (7), typeQlink-3000 (8) } MAX-ACCESS read-only STATUS current DESCRIPTION "The type of device: 0 = No device installed (empty slot), 1 = Type of device is unknown, 2 = Short range modem/interface converter Cronyx PCM2, 3 = Fiber optic modem Cronyx FOM8, 4 = Modem-converter Cronyx E1-L, 5 = Multiplexer Cronyx E1-XL, 6 = Multiplexer-voice transcoder Cronyx E1-XLC, 7 = Multiplexer-Crossconnector Cronyx E1-DXC, 8 = SHDSL modem Cronyx QLink-3000." ::= { deviceEntry 4 } deviceRevision OBJECT-TYPE SYNTAX DisplayString (SIZE (20)) MAX-ACCESS read-only STATUS current DESCRIPTION "Revision of the device firmware." ::= { deviceEntry 5 } -------------------------------------------------------- -- The table of links. -- linkTable OBJECT-TYPE SYNTAX SEQUENCE OF LinkEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table of link channels." ::= { rmc-mib 2 } linkEntry OBJECT-TYPE SYNTAX LinkEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the table of links." INDEX {linkIndex} ::= { linkTable 1 } LinkEntry ::= SEQUENCE { linkIndex Integer32, linkChassisNumber Integer32, linkSlotNumber Integer32, linkNumber Integer32, linkType INTEGER, linkStatus INTEGER, linkLoop INTEGER, linkTest INTEGER, linkBPVs Counter16, linkOOSs Counter16, linkERRs Counter16, linkEvents Counter16 } linkIndex OBJECT-TYPE SYNTAX Integer32 (0..159) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The index value which uniquely identifies the link interface to which this entry is applicable" ::= { linkEntry 1 } linkChassisNumber OBJECT-TYPE SYNTAX Integer32 (0..3) MAX-ACCESS read-only STATUS current DESCRIPTION "The number of chassis where device with this link resides" ::= { linkEntry 2 } linkSlotNumber OBJECT-TYPE SYNTAX Integer32 (0..9) MAX-ACCESS read-only STATUS current DESCRIPTION "The number of slot where device with this link resides" ::= { linkEntry 3 } linkNumber OBJECT-TYPE SYNTAX Integer32 (0..3) MAX-ACCESS read-only STATUS current DESCRIPTION "The device link number" ::= { linkEntry 4 } linkType OBJECT-TYPE SYNTAX INTEGER { linkUnknown (0), linkE1 (1), linkSHDSL (2), linkOptic (3) } MAX-ACCESS read-only STATUS current DESCRIPTION "The type of link: 1 = E1 (framed or unframed) 2 = SHDSL 3 = fiber optic" ::= { linkEntry 5} linkStatus OBJECT-TYPE SYNTAX INTEGER { unknown (0), ok (1), loss-of-signal (2), receive-ais (3), loss-of-framing (4), not-activated (5) } MAX-ACCESS read-only STATUS current DESCRIPTION "The receive/transmit status of the link." ::= { linkEntry 6 } linkLoop OBJECT-TYPE SYNTAX INTEGER { unknown (0), disabled (1), local (2), remote (3) } MAX-ACCESS read-write STATUS current DESCRIPTION "Loopback status of the link." ::= { linkEntry 7 } linkTest OBJECT-TYPE SYNTAX INTEGER { unknown (0), disabled (1), enabled (2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Set if link under BER test." ::= { linkEntry 8 } linkBPVs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of Bipolar Violations (BPVs) received on the link." ::= { linkEntry 9 } linkOOSs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of out of service seconds." ::= { linkEntry 10 } linkERRs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of Data Errored Seconds on the link: - E1 links: CRC4 errors for framed mode, and encoding errors for unframed mode - SHDSL links: CRC errors, and LOSW defects" ::= { linkEntry 11 } linkEvents OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of seconds with events (for example, slip events)." ::= { linkEntry 12 } -------------------------------------------------------- -- The table of ports. -- portTable OBJECT-TYPE SYNTAX SEQUENCE OF PortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table of data ports." ::= { rmc-mib 3 } portEntry OBJECT-TYPE SYNTAX PortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the table of ports." INDEX {portIndex} ::= { portTable 1 } PortEntry ::= SEQUENCE { portIndex Integer32, portChassisNumber Integer32, portSlotNumber Integer32, portNumber Integer32, portType INTEGER, portStatus INTEGER } portIndex OBJECT-TYPE SYNTAX Integer32 (0..79) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The index value which uniquely identifies the port interface to which this entry is applicable." ::= { portEntry 1 } portChassisNumber OBJECT-TYPE SYNTAX Integer32 (0..3) MAX-ACCESS read-only STATUS current DESCRIPTION "The number of chassis where device with this port resides" ::= { portEntry 2 } portSlotNumber OBJECT-TYPE SYNTAX Integer32 (0..9) MAX-ACCESS read-only STATUS current DESCRIPTION "The number of slot where device with this port resides" ::= { portEntry 3 } portNumber OBJECT-TYPE SYNTAX Integer32 (0..1) MAX-ACCESS read-only STATUS current DESCRIPTION "The device port number" ::= { portEntry 4 } portType OBJECT-TYPE SYNTAX INTEGER { typeUnknown (0), typeSerial (1), typeEthernet (2), typeG703 (3) } MAX-ACCESS read-only STATUS current DESCRIPTION "The type of data port: Serial(1), Ethernet(2) or 2048 kbps G.703 (3)." ::= { portEntry 5 } portStatus OBJECT-TYPE SYNTAX INTEGER { unknown (0), ok (1), no-cable (2), no-dtr (3), loss-of-signal (4), receive-ais (5) } MAX-ACCESS read-only STATUS current DESCRIPTION "The receive/transmit status of the port." ::= { portEntry 6 } -------------------------------------------------------- -- Events (SNMP v2). -- deviceInsertEvent NOTIFICATION-TYPE OBJECTS { deviceType } STATUS current DESCRIPTION "The RMC recognizes that one of the devices inserted to the chassis." ::= { rmc-events 1 } deviceRemoveEvent NOTIFICATION-TYPE OBJECTS { deviceType } STATUS current DESCRIPTION "The RMC recognizes that one of the devices removed from the chassis." ::= { rmc-events 2 } linkDownEvent NOTIFICATION-TYPE OBJECTS { linkStatus } STATUS current DESCRIPTION "The device recognizes a failure in one of the communication links." ::= { rmc-events 3 } linkUpEvent NOTIFICATION-TYPE OBJECTS { linkStatus } STATUS current DESCRIPTION "The device recognizes that one of the communication links has come up." ::= { rmc-events 4 } portDownEvent NOTIFICATION-TYPE OBJECTS { portStatus } STATUS current DESCRIPTION "The device recognizes a failure in one of the user ports." ::= { rmc-events 5 } portUpEvent NOTIFICATION-TYPE OBJECTS { portStatus } STATUS current DESCRIPTION "The device recognizes that one of the user ports has come up." ::= { rmc-events 6 } ---------------------------------------------------- -- Capability groups. -- rmcEventGroup NOTIFICATION-GROUP NOTIFICATIONS { deviceInsertEvent, deviceRemoveEvent, linkDownEvent, linkUpEvent, portDownEvent, portUpEvent } STATUS current DESCRIPTION "Notifications specific to Cronyx RMC device." ::= { cronyx-capabilities 14 } rmcDeviceGroup OBJECT-GROUP OBJECTS { linkChassisNumber, linkSlotNumber, linkNumber, linkType, linkStatus, linkLoop, linkTest, linkBPVs, linkOOSs, linkERRs, linkEvents, portChassisNumber, portSlotNumber, portNumber, portType, portStatus } STATUS current DESCRIPTION "A collection of objects providing information applicable to Cronyx RMC device." ::= { cronyx-capabilities 15 } ---------------------------------------------------- -- Compliance requirements. -- rmcCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statement for Cronyx RMC module." MODULE -- this module MANDATORY-GROUPS { rmcDeviceGroup, rmcEventGroup } MODULE CRONYX-GENERIC-MIB MANDATORY-GROUPS { cronyxDeviceGroup, cronyxInputContactsGroup, cronyxEventGroup } MODULE SNMPv2-MIB MANDATORY-GROUPS { snmpGroup, snmpCommunityGroup, systemGroup, snmpBasicNotificationsGroup } MODULE IF-MIB MANDATORY-GROUPS { ifGeneralInformationGroup, ifPacketGroup } ::= { cronyx-requirements 5 } END -- -- $Log: rmc.mib,v $ -- Revision 1.7 2006/05/12 12:46:57 vak -- Много правок в именах переменных. -- Верификация проходит без ошибок. -- -- Revision 1.6 2006/01/30 12:50:46 vich -- Изменено: cronyx-requirements 4 -> 5, иначе пересекается с Cronyx RMC board. -- -- Revision 1.5 2006/01/20 07:59:21 vak -- Сделана верификация MIB-файлов и дамп списка идентификаторов. -- -- Revision 1.4 2005/10/24 11:09:13 vich -- Убрана лишняя запятая. -- -- Revision 1.3 2005/08/09 17:26:21 vich -- Неболшая правка. Добавлен импорт. -- -- Revision 1.2 2005/07/30 15:37:00 vich -- Незначительные мзменения, в основном касающиеся статуса линков и портов. -- -- Revision 1.1 2005/05/26 15:42:20 vich -- Initial revision of module. --