-- -- SNMP Management Information Base for Cronyx Qlink-3000. -- -- $Id: qlink3000.mib,v 1.9 2006/01/20 07:59:21 vak Exp $ -- CRONYX-QLINK3000-MIB DEFINITIONS ::= BEGIN IMPORTS OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE, Integer32 FROM SNMPv2-SMI OBJECT-GROUP, NOTIFICATION-GROUP, MODULE-COMPLIANCE FROM SNMPv2-CONF Counter16, cronyx-capabilities, cronyx-requirements, cronyx-identities, qlink3000-mib FROM CRONYX-GENERIC-MIB; cronyxQlink3000Module MODULE-IDENTITY LAST-UPDATED "200503311900Z" ORGANIZATION "Cronyx Engineering" CONTACT-INFO "Person: Victor Cherkashin Postal: Cronyx Engineering, Marshala Sokolovskogo st. 4, 123060 Moscow Russia Tel: +7 095 9469990 E-mail: vich@cronyx.ru" DESCRIPTION "The MIB module to describe Cronyx Qlink-3000 device." REVISION "200503311900Z" DESCRIPTION "Transition to version SNMP v2." ::= { cronyx-identities 4 } qlink3000-events OBJECT IDENTIFIER ::= { qlink3000-mib 0 } -- must be zero -------------------------------------------------------- -- Device parameters. -- alarmInput OBJECT-TYPE SYNTAX INTEGER { normal (0), inverted (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "The mode of alarm input contacts: 0 = Normal (to set alarm indication contacts must be connected), 1 = Inverted (to set alarm indication contacts must be disconnected)" ::= { qlink3000-mib 1 } deviceCommand OBJECT-TYPE SYNTAX INTEGER { normal-operation (0), cold-start (1), stat-clear-counters (2), bert-clear-counters (3), param-save (4), param-restore (5) } MAX-ACCESS read-write STATUS current DESCRIPTION "Entire device associated commands: 0 = normal operation (no command), 1 = reset device (cold start), 2 = clear statistics, 3 = clear BERT counters, 4 = save parameters to NVRAM, 5 = restore parameters from NVRAM." ::= { qlink3000-mib 2 } berTest OBJECT-TYPE SYNTAX INTEGER { bert-stopped (0), bert-port0-running (1), bert-port1-running (2), bert-link-running (3) } MAX-ACCESS read-write STATUS current DESCRIPTION "BER tester activation/deactivation: 0 = BER tester is inactive (normal operation), 1 = port 0 tributary testing, 2 = port 1 tributary testing, 3 = SHDSL link testing." ::= { qlink3000-mib 3 } errorInsertion OBJECT-TYPE SYNTAX INTEGER { no-error-insertion (0), error-rate-1e-1 (1), error-rate-1e-2 (2), error-rate-1e-3 (3), error-rate-1e-4 (4), error-rate-1e-5 (5), error-rate-1e-6 (6), error-rate-1e-7 (7), insert-single-error (8) } MAX-ACCESS read-write STATUS current DESCRIPTION "Error insertion insertion control: 0 = no error insertion, 1 = error insertion rate is 1.0e-1, 2 = error insertion rate is 1.0e-2, 3 = error insertion rate is 1.0e-3, 4 = error insertion rate is 1.0e-4, 5 = error insertion rate is 1.0e-5, 6 = error insertion rate is 1.0e-6, 7 = error insertion rate is 1.0e-7, 8 = insert single error (this value never be read)." ::= { qlink3000-mib 4 } bertResults OBJECT-TYPE SYNTAX OCTET STRING(SIZE(20)) MAX-ACCESS read-only STATUS current DESCRIPTION "This value is to identify the BER tester results: unsigned char bert_port; // 0 - off, 1 - link, 2 - port 0, 3 - port 1 unsigned char bert_sync; // 0 - pattern not detected, 1 - BERT in sync unsigned char ber_fix_part // BER (fixed part) unsigned char ber_exp_part // BER (exponent part) unsigned long elapsed_secs; // seconds elapsed since BERT started (or counters cleared) unsigned long nsync_secs; // seconds with no test pattern detected unsigned long error_secs; // seconds with error(s) detected unsigned long total_errors; // total errors detected" ::= { qlink3000-mib 5 } remoteControl OBJECT-TYPE SYNTAX INTEGER { rc-disabled (0), rc-enabled (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "The mode of alarm input contacts: 0 = remote control (from the remote device) disabled, 1 = remote control (from the remote device) enabled." ::= { qlink3000-mib 6 } -------------------------------------------------------- -- The table of SHDSL links. -- linkTable OBJECT-TYPE SYNTAX SEQUENCE OF LinkEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table of link channels." ::= { qlink3000-mib 7 } 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 INTEGER, linkUnit INTEGER, linkPCLKSource INTEGER, linkStatus INTEGER, linkRate INTEGER, linkSNR INTEGER, linkLoop INTEGER, linkBert INTEGER, linkCVs Counter16, linkOOSs Counter16, linkERRs Counter16, linkEVENTs Counter16 } linkIndex OBJECT-TYPE SYNTAX INTEGER { local-link (0), remote-link (1) } MAX-ACCESS not-accessible STATUS current DESCRIPTION "The index value which uniquely identifies the link interface to which this entry is applicable: 0 = local link, 1 = remote link." ::= { linkEntry 1 } linkUnit OBJECT-TYPE SYNTAX INTEGER { unit-unknown (0), central-office (1), remote-terminal (2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Type of SHDSL transceiver unit (STU): 0 = unit type is unknown (remote-link only), 1 = STU at the Central Office (CO), 2 = STU at the Remote End (RT)." ::= { linkEntry 2 } linkPCLKSource OBJECT-TYPE SYNTAX INTEGER { unknown (0), internal (1), from-port0 (2), from-port1 (3) } MAX-ACCESS read-write STATUS current DESCRIPTION "The PCLK clock source: 0 = unknown (remote-link only) 1 = internal oscillator 2 = from port 0, 3 = from port 1." ::= { linkEntry 3 } linkStatus OBJECT-TYPE SYNTAX INTEGER { unknown (0), send-single-pulses (1), initialization (2), activating (3), ok (4), crc-anomaly (5), losw-defect (6), losw-failure (7) } MAX-ACCESS read-only STATUS current DESCRIPTION "The status of the link" ::= { linkEntry 4 } linkRate OBJECT-TYPE SYNTAX Integer32 (0..2320) MAX-ACCESS read-only STATUS current DESCRIPTION "The current line rate (0 - link not activated)." ::= { linkEntry 5 } linkSNR OBJECT-TYPE SYNTAX Integer32 (-128..127) MAX-ACCESS read-only STATUS current DESCRIPTION "The signal quality (in dB). The reference point (0dB) represents the SNR value which results in a bit error rate of 1.0E-7. The -128 value means what signal quality is unknown." ::= { linkEntry 6 } linkLoop OBJECT-TYPE SYNTAX INTEGER { loop-unknown (0), loop-disabled (1), loop-enabled (2) } MAX-ACCESS read-only STATUS current DESCRIPTION "Loopback status of the link: 0 = unknown (remote-link only), 1 = normal operation (loop not activated), 2 = loop closed." ::= { linkEntry 7 } linkBert OBJECT-TYPE SYNTAX INTEGER { bert-unknown (0), bert-disabled (1), bert-enabled (2) } MAX-ACCESS read-only STATUS current DESCRIPTION "BER tester running flag: 0 = unknown (remote-link only), 1 = normal operation (no line testing), 2 = BER tester is running." ::= { linkEntry 8 } linkCVs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of Code Violations (CVs) detected on the link." ::= { linkEntry 9 } linkOOSs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of Seconds with no carrier." ::= { linkEntry 10 } linkERRs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of seconds with CRC error(s) or LOSW defect(s)." ::= { linkEntry 11 } linkEVENTs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of seconds with frame sync jerk(s), slip operation(s) or jitter attenuator error(s)." ::= { linkEntry 12 } -------------------------------------------------------- -- The table of ports. -- portTable OBJECT-TYPE SYNTAX SEQUENCE OF PortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The table of ports." ::= { qlink3000-mib 8 } 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 INTEGER, portType INTEGER, portStatus INTEGER, portLoop INTEGER, portBPVs Counter16, portOOSs Counter16, portERRs Counter16, portEVENTs Counter16, portConfig OCTET STRING } portIndex OBJECT-TYPE SYNTAX INTEGER { port-0 (0), port-1 (1) } MAX-ACCESS not-accessible STATUS current DESCRIPTION "The index value which uniquely identifies the port interface to which this entry is applicable. Some models don't have port with index port-1 (1)." ::= { portEntry 1 } portType OBJECT-TYPE SYNTAX INTEGER { cept (1), serial (2), ethernet (3) } MAX-ACCESS read-only STATUS current DESCRIPTION "The type of port interface: 1 = E1/CEPT, 2 = serial (V.35, RS-530, X.21, etc.), 3 = ethernet bridge module." ::= { portEntry 2 } portStatus OBJECT-TYPE SYNTAX INTEGER { -- for all port types unused (0), ok (1), -- for E1/CEPT ports los (10), ais (11), lof (12), lomf (13), farlof (14), -- for serial ports (V.35, RS-530, ...) no-cable (20), no-dtr (21), inactive (22), -- for ethernet ports no-link (30), passive (31) } MAX-ACCESS read-only STATUS current DESCRIPTION "The status of the port. For all port types: 0 = unused port, 1 = port is Ok. For E1/CEPT ports: 2 = loss of signal, 3 = receiving all ones, 4 = loss of framing, 5 = loss of multiframe sync, 6 = receiving far loss of framing. For serial (V.35, RS-530, etc.) ports: 7 = cable not attached, 8 = no DTR signal, 9 = port is inactive. For ethernet ports: 10 = not linked, 11 = port is passive." ::= { portEntry 3 } portLoop OBJECT-TYPE SYNTAX INTEGER { loop-disabled (0), loop-enabled (1), tributary-loop-enabled (2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Loopback status of the port: 0 = no loop (normal operation), 1 = loop closed, 2 = tributary loop closed. For ethernet ports value loop-enabled (1) not permitted." ::= { portEntry 4 } portBPVs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of Bipolar Violations (BPVs) received on the port. Valid only for E1/CEPT ports, for other port types is zero." ::= { portEntry 5 } portOOSs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of out of service seconds. Valid only for E1/CEPT ports, for other port types is zero." ::= { portEntry 6 } portERRs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of seconds with CRC4 error(s) (E1/CEPT), ethernet bridge module buffers overflow(s) or ETC error(s) (serial)." ::= { portEntry 7 } portEVENTs OBJECT-TYPE SYNTAX Counter16 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of seconds with slip event(s) (E1/CEPT), collision(s) (ethernet) or FIFO overflow(s)/underflow(s) (serial)." ::= { portEntry 8 } portConfig OBJECT-TYPE SYNTAX OCTET STRING(SIZE(9)) MAX-ACCESS read-write STATUS current DESCRIPTION "Port configuration parameters: For E1/CEPT ports: unsigned char ts0_7; // to disable port set ts0_7, ts8_15, unsigned char ts8_15; // ts16_23 and ts24_31 to 0 unsigned char ts16_23; // to unframed mode set ts0_7, ts8_15, unsigned char ts24_31; // ts16_23 and ts24_31 to 0xff unsigned char crc4_ena; // enable CRC4 generation/checking unsigned char use16; // 0: reserve TS16 for CAS, 1: use TS16 unsigned char higain; // 0: low gain, 1: hi gain unsigned char idle_code; // idle code unsigned char ais_on_los; // loss of sync action is AIS For serial (V.35, RS-530, etc.) ports: unsigned char cts_mode; // 0: on, 1: RTS, 2: CD, 3: RTS&CD unsigned char async_cap; // async mode allow (read only) unsigned char async_mode; // 0: sync mode, 1: async mode // for sync mode unsigned char rate; // 0: disable, 1 - 36, x 64kbps unsigned char invert_txc; // invert tx clock unsigned char invert_rxc; // invert rx clock unsigned char external_rxc; // use external rx clock unsigned char hdlc_buf_ena; // HDLC buffer enable unsigned char unused [1]; // for async mode unsigned char rate; // 0 - disable, 1-1200, ..., 115-115200 unsigned char char_format; // 0 - 8N1, 1 - 8P1, 2 - 7P1 unsigned char unused [4]; For ethernet ports: unsigned char payload; // 0: disable, 1 - 36, x 64kbps unsigned char mode; // 0: 10 Mbps half duplex // 1: 10 Mbps full duplex // 2: 100 Mbps half duplex // 3: 100 Mbps full duplex // 4: auto negotiation unsigned char filtering_enable; // 0 - filtering enable, 1 - disable. unsigned char unused [6];" ::= { portEntry 9 } -------------------------------------------------------- -- Events (SNMP v2). -- linkDownEvent NOTIFICATION-TYPE OBJECTS { linkStatus } STATUS current DESCRIPTION "The device recognizes a failure in one of the communication links." ::= { qlink3000-events 1 } linkUpEvent NOTIFICATION-TYPE OBJECTS { linkStatus } STATUS current DESCRIPTION "The device recognizes that one of the communication links has come up." ::= { qlink3000-events 2 } portDownEvent NOTIFICATION-TYPE OBJECTS { portStatus } STATUS current DESCRIPTION "The device recognizes a failure in one of the user ports." ::= { qlink3000-events 3 } portUpEvent NOTIFICATION-TYPE OBJECTS { portStatus } STATUS current DESCRIPTION "The device recognizes that one of the user ports has come up." ::= { qlink3000-events 4 } ---------------------------------------------------- -- Capability groups. -- qlink3000EventGroup NOTIFICATION-GROUP NOTIFICATIONS { linkDownEvent, linkUpEvent, portDownEvent, portUpEvent } STATUS current DESCRIPTION "Notifications specific to Cronyx QLink-3000 device." ::= { cronyx-capabilities 12 } qlink3000DeviceGroup OBJECT-GROUP OBJECTS { alarmInput, deviceCommand, berTest, errorInsertion, bertResults, remoteControl, -- linkUnit, linkPCLKSource, linkStatus, linkRate, linkSNR, linkLoop, linkBert, linkCVs, linkOOSs, linkERRs, linkEVENTs, -- portType, portStatus, portLoop, portBPVs, portOOSs, portERRs, portEVENTs, portConfig } STATUS current DESCRIPTION "A collection of objects providing configuration and status information applicable to Cronyx QLink3000 device." ::= { cronyx-capabilities 13 } ---------------------------------------------------- -- Compliance requirements. -- qlink3000Compliance MODULE-COMPLIANCE STATUS current DESCRIPTION "The compliance statement for Cronyx QLink-3000 device." MODULE -- this module MANDATORY-GROUPS { qlink3000DeviceGroup, qlink3000EventGroup } 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 4 } END -- -- $Log: qlink3000.mib,v $ -- Revision 1.9 2006/01/20 07:59:21 vak -- Сделана верификация MIB-файлов и дамп списка идентификаторов. -- -- Revision 1.8 2005/04/13 16:11:54 vich -- Исправлены ошибки. -- -- Revision 1.7 2005/04/01 14:35:03 vich -- Перевод QLINK3000-MIB на SNMP v2. -- -- Revision 1.6 2005/03/23 14:02:41 vich -- Константы для команд сохранения/восстановления NVRAM. -- -- Revision 1.5 2005/03/23 14:00:45 vich -- Добавлены команды сохранения/восстановления параметров в/из NVRAM. -- -- Revision 1.4 2004/06/11 06:47:12 vich -- Исправлено "Entier device associated commands" -> "Entire device associated commands". -- -- Revision 1.3 2004/06/11 06:08:55 vich -- Исправлены орфографические ошибки. -- -- Revision 1.2 2004/06/09 09:38:00 vich -- Изменена нумерация портов и линков, теперь порты нумеруются с нуля. -- -- Revision 1.1 2004/05/11 11:10:30 vich -- Начальная версия MIB-файла для Cronyx Qlink-3000. --