-- ***************************************************************************** -- WREd-MIB -- ***************************************************************************** -- Version 1.0 -- 2006/1/5 -- added object swWredAllPortAverageTime -- ***************************************************************************** -- Version 0.9 -- 2005/10/24 -- original draft -- ***************************************************************************** WRED-MIB DEFINITIONS ::= BEGIN -- ******************************************************************** -- WRED MIB -- ******************************************************************** IMPORTS MODULE-IDENTITY,OBJECT-TYPE FROM SNMPv2-SMI dlink-common-mgmt FROM DLINK-ID-REC-MIB; swWredMIB MODULE-IDENTITY LAST-UPDATED "200601160000Z" ORGANIZATION "." CONTACT-INFO "" DESCRIPTION "." ::= { dlink-common-mgmt 31 } swWredCtrl OBJECT IDENTIFIER ::= { swWredMIB 1 } swWredInfo OBJECT IDENTIFIER ::= { swWredMIB 2 } swWredMgmt OBJECT IDENTIFIER ::= { swWredMIB 3 } swWredGlobalState OBJECT-TYPE SYNTAX INTEGER { other(1), disabled(2), enabled(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object enable\disable the WRED state of the device." ::= { swWredCtrl 1 } -- ******************************************************************** swWredAverageTimeTable OBJECT-TYPE SYNTAX SEQUENCE OF SwWredAverageTimeEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains WRED average time for each port." ::= { swWredMgmt 1 } swWredAverageTimeEntry OBJECT-TYPE SYNTAX SwWredAverageTimeEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list that contains WRED average time per port." INDEX { swWredPortIndex } ::= { swWredAverageTimeTable 1 } SwWredAverageTimeEntry ::= SEQUENCE { swWredPortIndex INTEGER, swWredAverageTime INTEGER } swWredPortIndex OBJECT-TYPE SYNTAX INTEGER (1..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the port number." ::= { swWredAverageTimeEntry 1 } swWredAverageTime OBJECT-TYPE SYNTAX INTEGER (1..32768) MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the time in microseconds used in average queue depth calculation (1-32768)." ::= { swWredAverageTimeEntry 2 } -- swWredCtrlTable OBJECT-TYPE SYNTAX SEQUENCE OF SwWredCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table that contains WRED drop setting for each port." ::= { swWredMgmt 2 } swWredCtrlEntry OBJECT-TYPE SYNTAX SwWredCtrlEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list that contains WRED drop setting per port." INDEX { swWredCtrlPortIndex,swWredCtrlClassIndex } ::= { swWredCtrlTable 1 } SwWredCtrlEntry ::= SEQUENCE { swWredCtrlPortIndex INTEGER, swWredCtrlClassIndex INTEGER, swWredCtrlDropStart INTEGER, swWredCtrlDropSlope INTEGER } swWredCtrlPortIndex OBJECT-TYPE SYNTAX INTEGER (1..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the port number." ::= { swWredCtrlEntry 1 } swWredCtrlClassIndex OBJECT-TYPE SYNTAX INTEGER (0..7) MAX-ACCESS read-only STATUS current DESCRIPTION "This object indicates the cos queue number (0-7)." ::= { swWredCtrlEntry 2 } swWredCtrlDropStart OBJECT-TYPE SYNTAX INTEGER (0..100) MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the percentage of queue size to start dropping (0-100)." ::= { swWredCtrlEntry 3 } swWredCtrlDropSlope OBJECT-TYPE SYNTAX INTEGER (0..90) MAX-ACCESS read-write STATUS current DESCRIPTION "This object indicates the Degrees (0..90) describing the drop probability slope (0-90). When set the slope zero, it like disable the wred of the cos queue." ::= { swWredCtrlEntry 4 } -- ******************************************************************** swWredAllPortAverageTime OBJECT-TYPE SYNTAX INTEGER (0..32768) MAX-ACCESS read-write STATUS current DESCRIPTION "This object configure the time in microseconds used in average queue depth calculation (1-32768) to all port. This return value while read request will be always 0." ::= { swWredMgmt 3 } END