-- 0.9 Draft******************************************************************** -- 2003/1/21 11:21¤W¤È -- Create DLINK-EQUIPMENT-MIB -- equipment : -- fan , power , unit(stacking or chassis), temperature -- include traps for related equipment DLINK-EQUIPMENT-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE FROM SNMPv2-SMI DateAndTime, TruthValue ,DisplayString FROM SNMPv2-TC AgentNotifyLevel, dlink-common-mgmt FROM DLINK-ID-REC-MIB; swDlinkEquipmentMIB MODULE-IDENTITY LAST-UPDATED "0202140000Z" ORGANIZATION "DLink Corporation" CONTACT-INFO "" DESCRIPTION "DLink equipments MIB ." ::= { dlink-common-mgmt 11 } MacAddress ::= OCTET STRING (SIZE (6)) -- a 6 octet address -- in the -- "canonical" -- order, copy from RFC1493 -- ******************************************************************** -- OID Tree Allocation -- ******************************************************************** swDlinkEquipmentMib OBJECT IDENTIFIER ::= { swDlinkEquipmentMIB 1 } swDlinkEquipmentFanStatus OBJECT IDENTIFIER ::= { swDlinkEquipmentMib 5 } swDlinkEquipmentNotify OBJECT IDENTIFIER ::= { swDlinkEquipmentMIB 2 } -- ******************************************************************** -- Object Definition -- ******************************************************************** swDlinkEquipmentCapacity OBJECT-TYPE SYNTAX BITS { fanCapable(0), redundantPowerCapable(1), tempteratureDetection(2), stackingCapable(3), chassisCapable(4) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates the equipment capacity supported in the system." ::= { swDlinkEquipmentMib 1 } --Added for DES6500 by Tina swDlinkEquipmentCPULEDState OBJECT-TYPE SYNTAX OCTET STRING (SIZE (0..255)) MAX-ACCESS read-only STATUS current DESCRIPTION "This object is a set of system LED indications. The first four octets is defined as system LED. The first LED is power LED. The second LED is status LED(01:fail or error). status LED: 01 = fail or error. 02 = unit work normal." ::= { swDlinkEquipmentMib 2 } swDlinkEquipmentMainPowerState OBJECT-TYPE SYNTAX INTEGER { off(0), on(1) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates status of the main power " ::= { swDlinkEquipmentMib 3 } swDlinkEquipmentRPSPowerState OBJECT-TYPE SYNTAX INTEGER { off(0), on(1) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates status of the RPS power " ::= { swDlinkEquipmentMib 4 } swDlinkEquipmentFan1Status OBJECT-TYPE SYNTAX INTEGER { off(0), on(1) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates status of the first fan " ::= { swDlinkEquipmentFanStatus 1 } swDlinkEquipmentFan2Status OBJECT-TYPE SYNTAX INTEGER { off(0), on(1) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates status of the second fan " ::= { swDlinkEquipmentFanStatus 2 } swDlinkEquipmentFan3Status OBJECT-TYPE SYNTAX INTEGER { off(0), on(1) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates status of the third fan " ::= { swDlinkEquipmentFanStatus 3 } swDlinkEquipmentFan4Status OBJECT-TYPE SYNTAX INTEGER { off(0), on(1) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates status of the fourth fan " ::= { swDlinkEquipmentFanStatus 4 } --swPowerTable OBJECT-TYPE --- SYNTAX SEQUENCE OF SwPowerEntry --MAX-ACCESS not-accessible --STATUS current --DESCRIPTION "A list of temperature." --::= { swDlinkEquipmentMib 6 } --swPowerEntry OBJECT-TYPE -- SYNTAX SwPowerEntry --MAX-ACCESS not-accessible -- STATUS current --DESCRIPTION "A entry of Power information." --INDEX { swPowerUnitIndex, -- swPowerID } -- ::= { swPowerTable 1 } --SwPowerEntry ::= SEQUENCE { --swPowerUnitIndex INTEGER, --swPowerID INTEGER, --swPowerStatus INTEGER -- } --swPowerUnitIndex OBJECT-TYPE --SYNTAX INTEGER (0..65535) --MAX-ACCESS read-only --STATUS current --DESCRIPTION -- "Indicates ID of the unit in the System" --::= { swPowerEntry 1 } --swPowerID OBJECT-TYPE --SYNTAX INTEGER (0..65535) -- MAX-ACCESS read-only --STATUS current --DESCRIPTION -- "Indicates ID of the power -- 1 : main power -- 2 : redundant power ." -- ::= { swPowerEntry 2 } --swPowerStatus OBJECT-TYPE -- SYNTAX INTEGER { -- other(0), -- lowVoltage(1), -- overCurrent(2), -- working(3), -- fail(4), -- connect(5), -- disconnect(6) -- } -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "Indicates status of the power " --::= { swPowerEntry 3 } -- ******************************************************************** -- swFanTable := { swDlinkEquipmentMib 7 } -- ******************************************************************** --swFanTable OBJECT-TYPE -- SYNTAX SEQUENCE OF SwFanEntry -- MAX-ACCESS not-accessible --STATUS current --DESCRIPTION "A list of fan information." --::= { swDlinkEquipmentMib 7 } --swFanEntry OBJECT-TYPE -- SYNTAX SwFanEntry -- MAX-ACCESS not-accessible -- STATUS current -- DESCRIPTION "A entry of fan information." -- INDEX { swFanUnitIndex ,swFanID } -- ::= { swFanTable 1 } -- SwFanEntry ::= SEQUENCE { -- swFanUnitIndex -- INTEGER, -- swFanID -- INTEGER, -- swFanStatus -- INTEGER -- } --swFanUnitIndex OBJECT-TYPE -- SYNTAX INTEGER (0..65535) -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "Indicates ID of the unit in the System" -- ::= { swFanEntry 1 } --swFanID OBJECT-TYPE -- SYNTAX INTEGER (0..65535) -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "Indicates ID of the Fan" -- ::= { swFanEntry 2 } --swFanStatus OBJECT-TYPE -- SYNTAX INTEGER { -- other(0), -- working(1), -- fail(2) -- } -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "Indicates status of the fan " -- ::= { swFanEntry 3 } -- ******************************************************************** -- swTemperatureTable := { swDlinkEquipmentMib 8 } -- ******************************************************************** swUnitMgmt OBJECT IDENTIFIER ::= { swDlinkEquipmentMib 9 } swUnitStackingVersion OBJECT-TYPE SYNTAX INTEGER (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the version of this stacking system ." ::= { swUnitMgmt 1 } swUnitMaxSupportedUnits OBJECT-TYPE SYNTAX INTEGER (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "Maximum number of units are supported in the system." ::= { swUnitMgmt 2 } swUnitNumOfUnit OBJECT-TYPE SYNTAX INTEGER (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "The current number of units." ::= { swUnitMgmt 3 } swUnitTopology OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current DESCRIPTION "The topology of units." ::= { swUnitMgmt 4 } swUnitMgmtTable OBJECT-TYPE SYNTAX SEQUENCE OF SwUnitMgmtEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table contains the unit information." ::= { swUnitMgmt 5 } swUnitMgmtEntry OBJECT-TYPE SYNTAX SwUnitMgmtEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list of management information for each unit in the system." INDEX { swUnitMgmtId } ::= { swUnitMgmtTable 1 } SwUnitMgmtEntry ::= SEQUENCE { swUnitMgmtId INTEGER, swUnitMgmtMacAddr MacAddress, swUnitMgmtStartPort INTEGER, --swUnitMgmtPortRange -- INTEGER, swUnitMgmtFrontPanelLedStatus OCTET STRING, --swUnitMgmtCtrlMode -- INTEGER, swUnitMgmtCurrentMode INTEGER, swUnitMgmtVersion DisplayString, swUnitMgmtModuleName DisplayString, swUnitMgmtPromVersion DisplayString, swUnitMgmtFirmwareVersion DisplayString, swUnitMgmtHardwareVersion DisplayString, swUnitMgmtPriority INTEGER } swUnitMgmtId OBJECT-TYPE SYNTAX INTEGER (1..13) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the specific entry in the stacking/chassis table." ::= { swUnitMgmtEntry 1 } swUnitMgmtMacAddr OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The Mac address of this unit." ::= { swUnitMgmtEntry 2 } swUnitMgmtStartPort OBJECT-TYPE SYNTAX INTEGER (1..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the start port of this unit." ::= { swUnitMgmtEntry 3 } -- swUnitMgmtPortRange OBJECT-TYPE -- SYNTAX INTEGER (0..65535) -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "This object indicates the total ports of this unit." -- ::= { swUnitMgmtEntry 4 } swUnitMgmtFrontPanelLedStatus OBJECT-TYPE SYNTAX OCTET STRING (SIZE (0..255)) MAX-ACCESS read-only STATUS current DESCRIPTION "This object is a set of system LED indications. The first four octets is defined as system LED. The first LED is power LED. The second LED is status LED(01:fail or error).The Third LED is Console LED. The other octets are the logical port LED (following dot1dBasePort ordering). Every two bytes are presented to a port. The first byte is presented to the Link/Activity LED .The second byte is presentd to the Speed LED. . status LED: 01 = fail or error. 02 = unit work normal. Link/Activity LED : The most significant bit is used for blink/solid: 8 = The LED blinks. The second significant bit is used for link status: 1 = link fail. 2 = link pass. Speed LED : 01 = 10Mbps. 02 = 100Mbps. 03 = 1000Mbps. The four remaining bits are currently unused and must be 0." ::= { swUnitMgmtEntry 5 } --swUnitMgmtCtrlMode OBJECT-TYPE --SYNTAX INTEGER { -- other(1), -- auto(2), -- stand-alone(3), -- master(4), -- slave(5) -- } -- MAX-ACCESS read-write -- STATUS current -- DESCRIPTION -- "This object indicates the stack mode that user configed for -- this unit. The object only can be configed when the device is -- stand alone. -- other(1):this entry is currently in use but the conditions -- under which it will remain so are different from each of the -- following values. -- auto(2): the system will auto assign this stack role of this -- unit to be stand-alone(3), master(4), or slave(5). -- stand-alone(3): the unit is forced to stand alone. -- master(4):the unit is forced to master. If this unit is -- seleted to be master, it can modify the configuration of the -- stacking system. -- slave(5):the unit is forced to slave. If this unit is -- seleted to be slave, it only can view the configuration of -- the stacking system." -- ::= { swUnitMgmtEntry 6 } swUnitMgmtCurrentMode OBJECT-TYPE SYNTAX INTEGER { other(1), auto(2), stand-alone(3), master(4), slave(5) } MAX-ACCESS read-only STATUS current DESCRIPTION "The current stack role of this unit." ::= { swUnitMgmtEntry 7 } swUnitMgmtVersion OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the version of this stacking unit." ::= { swUnitMgmtEntry 8 } swUnitMgmtModuleName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS read-only STATUS current DESCRIPTION "A textual string containing module name of the stacking unit. " ::= { swUnitMgmtEntry 9 } swUnitMgmtPromVersion OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current DESCRIPTION "A textual string containing prom version of the stacking unit. " ::= { swUnitMgmtEntry 10 } swUnitMgmtFirmwareVersion OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current DESCRIPTION "A textual string containing firmware version of the stacking unit. " ::= { swUnitMgmtEntry 11 } swUnitMgmtHardwareVersion OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-only STATUS current DESCRIPTION "A textual string containing hardware version of the stacking unit. " ::= { swUnitMgmtEntry 12 } swUnitMgmtPriority OBJECT-TYPE SYNTAX INTEGER(1..255) MAX-ACCESS read-only STATUS current DESCRIPTION "The Priority of the stacking unit. " ::= { swUnitMgmtEntry 13 } swlineSysTable OBJECT-TYPE SYNTAX SEQUENCE OF SwlineSysEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table contains the unit system information." ::= { swUnitMgmt 6 } swlineSysEntry OBJECT-TYPE SYNTAX SwlineSysEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list of system information for each unit in the system." INDEX { swlineSysId } ::= { swlineSysTable 1 } SwlineSysEntry ::= SEQUENCE { swlineSysId INTEGER, swlineSysStatus INTEGER } swlineSysId OBJECT-TYPE SYNTAX INTEGER (1..13) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the specific entry in the stacking/chassis table." ::= { swlineSysEntry 1 } swlineSysStatus OBJECT-TYPE SYNTAX INTEGER { other(0), voltage-2v-fail(1), voltage-2v-recover(2), voltage-1d25v-fail(3), voltage-1d25v-recover(4), voltage-3d3v-fail(5), voltage-3d3v-recover(6), voltage-5v-fail(7), voltage-5v-recover(8), voltage-12v-fail(9), voltage-12v-recover(10), temperature-s1-fail(11), temperature-s1-recover(12), temperature-s2-fail(13), temperature-s2-recover(14), temperature-s3-fail(15), temperature-s3-recover(16) } MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the line card status." ::= { swlineSysEntry 2 } -- ****************************************************************************************** -- Trap -- ****************************************************************************************** swEquipmentNotifyMgmt OBJECT IDENTIFIER ::= { swDlinkEquipmentNotify 1 } swEquipmentNotification OBJECT IDENTIFIER ::= { swDlinkEquipmentNotify 2 } swEquipSlaveSysNotification OBJECT IDENTIFIER ::= { swEquipmentNotification 3 } swEquipSlaveSysNotifyPerfix OBJECT IDENTIFIER ::= { swEquipSlaveSysNotification 0 } swSlaveSysChange NOTIFICATION-TYPE OBJECTS { swlineSysId, swlineSysStatus } STATUS current DESCRIPTION " This trap indicates the line card system status . " ::= { swEquipSlaveSysNotifyPerfix 1 } END