summaryrefslogtreecommitdiff
path: root/MIBS/cisco/CISCO-ENHANCED-WRED-MIB
blob: 9d9b557437d23c17de1dffd7994878762d8478fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
-- *****************************************************************
-- CISCO ENHANCED WEIGHTED RANDOM EARLY DETECTION MIB
-- Copyright (c) 2001 by Cisco Systems, Inc.
-- All rights reserved.
--
-- *****************************************************************

CISCO-ENHANCED-WRED-MIB DEFINITIONS ::= BEGIN

IMPORTS
        MODULE-IDENTITY,
        OBJECT-TYPE,
        Gauge32,
        Counter32,
        Counter64,
        Unsigned32
                FROM SNMPv2-SMI
        TEXTUAL-CONVENTION,
        RowStatus
                FROM SNMPv2-TC
        SnmpAdminString
                FROM SNMP-FRAMEWORK-MIB
        MODULE-COMPLIANCE,
        OBJECT-GROUP
                FROM SNMPv2-CONF
        ifIndex
                FROM IF-MIB
        entPhysicalIndex,
        PhysicalIndex
                FROM ENTITY-MIB
        ciscoMgmt
                FROM CISCO-SMI;

ciscoEnhancedWredMIB MODULE-IDENTITY
        LAST-UPDATED    "200112210000Z"
        ORGANIZATION    "Cisco Systems, Inc."
        CONTACT-INFO
                "       Cisco Systems
                        Customer Service

                Postal: 170 W. Tasman Drive
                        San Jose, CA  95134-1706
                        USA

                   Tel: +1 800 553-NETS

                E-mail: cs-wredmib@cisco.com"

        DESCRIPTION
                "Cisco WRED MIB - Overview
                 Cisco Weighted Random Early Detection/Drop (WRED)
                 is a method which avoids traffic congestion on an
                 output interface. Congestion is detected by computing
                 the average output queue size against queue
                 thresholds, which can be configured either per IP
                 precedence or differentiated services code point
                 (DSCP) based. WRED support are on the IP fast
                 switching and IP flow switching only. It does not
                 apply to IP process switching.

                 The purpose of this MIB is to provide Weighted Random
                 Early Detection/Drop packet configuration and packet
                 filtering information. This MIB provides the WRED
                 information about  the transmit (Tx) side and 
                 receive (Rx) side of the modules, for the managed
                 systems that support WRED on both transmit side 
                 and receive side." 
    
        REVISION        "200112210000Z"
        DESCRIPTION
                "Initial version of this MIB module."
        ::= { ciscoMgmt 222 }

ciscoEnhancedWredMIBObjects 
       OBJECT IDENTIFIER ::= { ciscoEnhancedWredMIB 1 }

-- Subgroups:
--              Random Early Detection/Drop
--

cewredTx        OBJECT IDENTIFIER ::= { ciscoEnhancedWredMIBObjects 1 }
cewredRx        OBJECT IDENTIFIER ::= { ciscoEnhancedWredMIBObjects 2 }
cewredConfig    OBJECT IDENTIFIER ::= { ciscoEnhancedWredMIBObjects 3 }
cewredQueue     OBJECT IDENTIFIER ::= { ciscoEnhancedWredMIBObjects 4 }
cewredStat      OBJECT IDENTIFIER ::= { ciscoEnhancedWredMIBObjects 5 }

--  Textual Conventions

CewredQueueNumber ::= TEXTUAL-CONVENTION
        STATUS        current
        DESCRIPTION
                "An unique value, for each distributed round robin
                queue in the managed system."
        SYNTAX     Unsigned32

CewredRedMechanism ::= TEXTUAL-CONVENTION
        STATUS         current
        DESCRIPTION
                "This denotes the Random Early Detection mechanisms
                 to be used by WRED. The possible mechanisms are as
                 follows:

                precedence      Based on IP precedence
                dscp            Based on DSCP values
                "
        SYNTAX  INTEGER { 
                          precedence(1), 
                          dscp(2) 
                        }

CewredRedProfile ::= TEXTUAL-CONVENTION
        STATUS       current
        DESCRIPTION
                "A value which identifies the mapping between the
                precedence or DSCP value to a Random Early Detection
                profile." 
        SYNTAX     Unsigned32

CewredIndex       ::= TEXTUAL-CONVENTION
        STATUS        current
        DESCRIPTION
                "An unique value, greater than zero, which identifies
                unique entry in cewredConfigGlobTable." 
        SYNTAX     Unsigned32 (1..4294967295)

cewredTxTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF CewredTxEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "This table contains the mapping entries that
                associate WRED configuration with an egress 
                interface. This table is used for creating or
                modifying or retrieving transmit side WRED
                information."
        ::= { cewredTx 1 }

cewredTxEntry OBJECT-TYPE
        SYNTAX CewredTxEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "Entries used for providing transmit side
                WRED information. If this entry got deleted,
                the corresponding cewredConfigGlobIndex 
                (identified by cewredTxValue) associated entry
                in cewredConfigGlobTable is also deleted.
                
                If a entry corresponding to the value of 
                cewredTxValue does not exist in the
                cewredConfigGlobTable, the value of
                cewredTxValue can be (re)used as an index to
                create a new entry in the 
                cewredConfigGlobTable for building association
                between this mapping table and the
                cewredConfigGlobTable."
                
        INDEX { ifIndex }
        ::= { cewredTxTable 1 }	

CewredTxEntry ::=
        SEQUENCE {
                cewredTxValue        CewredIndex,
                cewredTxRowStatus    RowStatus
        }

cewredTxValue OBJECT-TYPE
        SYNTAX  CewredIndex
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "This object specifies the value of
                cewredConfigGlobIndex which associates the WRED
                configuration with ifIndex associated egress
                interface. This value can not be modified when
                cewredTxRowStatus is active(1). 

                The value of this object must not be same as the
                values of the following objects:
                cewredRxIfValue,
                cewredRxValue,
                cewredRxMulticastValue.
                "  
        ::= { cewredTxEntry 1 }

cewredTxRowStatus OBJECT-TYPE
        SYNTAX  RowStatus
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The status of this conceptual row.
                This object is used for creating, modifying
                and deleting entries in the cewredTxTable."  
        ::= { cewredTxEntry 2 }

cewredRxIfTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF CewredRxIfEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "This table contains the mapping entries that
                associate WRED configuration with a source
                module and destination interface combination."
        ::= { cewredRx 1 }

cewredRxIfEntry OBJECT-TYPE
        SYNTAX CewredRxIfEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "Entries containing the mapping that associate the
                receive side WRED configuration  to the physical
                entity of type PhysicalClass module(9) which supports
                WRED with per interface queueing on the receive side.
                If this entry got deleted, the corresponding
                cewredConfigGlobIndex (identified by cewredRxIfValue)
                associated entry in cewredConfigGlobTable is also
                deleted.
          
                If a entry corresponding to the value of
                cewredRxIfValue does not exist in the
                cewredConfigGlobTable, the value of cewredRxIfValue 
                can be (re)used as an index to create a new entry
                in the cewredConfigGlobTable for building
                association between this mapping table and the
                cewredConfigGlobTable."

        INDEX { entPhysicalIndex, ifIndex }
        ::= { cewredRxIfTable 1 }	

CewredRxIfEntry ::=
        SEQUENCE {
                cewredRxIfValue             CewredIndex,
                cewredRxIfRowStatus         RowStatus
        }

cewredRxIfValue OBJECT-TYPE
        SYNTAX  CewredIndex
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "This object specifies the value of
                cewredConfigGlobIndex which associates the WRED 
                configuration with the source module (identified by
                entPhysicalIndex) and destination interface
                (identified by the ifIndex) combination.This value
                can't be modified when cewredRxRowStatus is active(1).

                The value of this object must not be same as the
                values of the following objects:
                cewredTxValue,
                cewredRxValue,
                cewredRxMulticastValue.
                "  
        ::= { cewredRxIfEntry 1 }

cewredRxIfRowStatus OBJECT-TYPE
        SYNTAX  RowStatus
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The status of this conceptual row.
                This object is used for creating, modifying
                and deleting entries in the cewredRxIfTable."  
        ::= { cewredRxIfEntry 2 }


cewredRxTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF CewredRxEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "This table contains the mapping entries that
                associate WRED configuration with a source
                module and destination module combination."
        ::= { cewredRx 2 }

cewredRxEntry OBJECT-TYPE
        SYNTAX CewredRxEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "Entries containing the mapping that associate the
                receive side WRED configuration  to the physical
                entity of type PhysicalClass module(9) which supports
                WRED with per module queueing on the receive side.
                If this entry got deleted, the corresponding
                cewredConfigGlobIndex (identified by cewredRxValue)
                associated entry in cewredConfigGlobTable is also
                deleted.

                If a entry corresponding to the value of 
                cewredRxValue does not exist in the
                cewredConfigGlobTable, the value of cewredRxValue 
                can be (re)used as an index to create a new entry
                in the cewredConfigGlobTable for building 
                association between this mapping table and the
                cewredConfigGlobTable."

        INDEX { cewredRxSourceId, cewredRxDestId }
        ::= { cewredRxTable 1 }	

CewredRxEntry ::=
        SEQUENCE {
                cewredRxSourceId          PhysicalIndex,
                cewredRxDestId            PhysicalIndex,
                cewredRxValue             CewredIndex,
                cewredRxRowStatus         RowStatus
        }

cewredRxSourceId OBJECT-TYPE
        SYNTAX  PhysicalIndex
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "The entPhysicalIndex of the source module,
                supporting per module queueing on receive side
                to which WRED configuration was attached."
        ::= { cewredRxEntry 1 }

cewredRxDestId OBJECT-TYPE
        SYNTAX  PhysicalIndex
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "On the receive side, WRED configuration is applied on
                the traffic going from a source module to a destination
                module. This object represents the entPhysicalIndex of
                the destination module where source module is being 
                represented by cewredRxSourceId."
        ::= { cewredRxEntry 2 }

cewredRxValue OBJECT-TYPE
        SYNTAX  CewredIndex
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "This object specifies the value which can be used by 
                cewredConfigGlobIndex object, which associates WRED
                configuration with the source module (identified by 
                cewredRxSourceId) and destination module
                (identified by cewredRxDestId) combination. This 
                value can't be modified when cewredRxRowStatus is
                active(1).
                
                The value of this object must not be same as the values
                of the following objects:
                cewredTxValue,
                cewredRxIfValue,
                cewredRxMulticastValue.
                "
        ::= { cewredRxEntry 3 }

cewredRxRowStatus OBJECT-TYPE
        SYNTAX  RowStatus
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The status of this conceptual row.
                This object is used for creating, modifying
                and deleting entries in the cewredRxTable."  
        ::= { cewredRxEntry 4 }

cewredRxMulticastTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF CewredRxMulticastEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "This table contains the mapping entries that
                associate WRED configuration on the multicast
                traffic of a module on the receive side."
        ::= { cewredRx 3 }

cewredRxMulticastEntry OBJECT-TYPE
        SYNTAX CewredRxMulticastEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "Entries used to provide WRED information
                for the physical entities of type PhysicalClass 
                module(9) that support WRED on multicast traffic
                on the receive side. If this entry got deleted,
                the corresponding cewredConfigGlobIndex 
                (identified by cewredRxMulticastValue) associated
                entry in cewredConfigGlobTable is also deleted.

                If a entry corresponding to the value of 
                cewredRxMulticastValue does not exist in the
                cewredConfigGlobTable, the value of 
                cewredRxMulticastValue can be (re)used as an
                index to create a new entry in the 
                cewredConfigGlobTable for building association
                between this mapping table and the
                cewredConfigGlobTable."

        INDEX { entPhysicalIndex }
        ::= { cewredRxMulticastTable 1 }	

CewredRxMulticastEntry ::=
        SEQUENCE {
                cewredRxMulticastValue       CewredIndex,
                cewredRxMulticastRowStatus   RowStatus
        }

cewredRxMulticastValue OBJECT-TYPE
        SYNTAX  CewredIndex
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "This object specifies the value which can be used by 
                cewredConfigGlobIndex object, which associates 
                WRED configuration on the multicast traffic of the 
                source module (identified by entPhysicalIndex) on the 
                receive side. This value can't be modified when 
                cewredRxMulticastRowStatus is active(1).

                The value of this object must not be same as the values
                of the following objects:
                cewredTxValue,
                cewredRxIfValue,
                cewredRxValue.
                "
        ::= { cewredRxMulticastEntry 1 }

cewredRxMulticastRowStatus OBJECT-TYPE
        SYNTAX  RowStatus
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The status of this conceptual row.
                This object is used for creating, modifying
                and deleting entries in the cewredRxMulticastTable."  
        ::= { cewredRxMulticastEntry 2 }

cewredConfigGlobTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF CewredConfigGlobEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "A table of WRED global configuration variables."
        ::= { cewredConfig 1 }

cewredConfigGlobEntry OBJECT-TYPE
        SYNTAX CewredConfigGlobEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "A collection of configuration entries. 
                On the transmit side of a module an Entry of 
                this table is created/deleted  when the interface
                is associated/disassociated respectively with random
                early detection. On the receive side, an entry of
                this table is created or deleted when the entries
                representing cewredConfigGlobIndex is 
                associated/disassociated respectively with 
                random early detection.
              
                An entry in this table created only when
                the corresponding entry providing the value for
                cewredConfigGlobIndex is created in one of the
                following mapping tables:
                cewredTxTable,
                cewredRxIfTable,
                cewredRxTable,
                cewredRxMulticastTable.
               
                Deletion of this entry will not cause the deletion
                of the corresponding entry (entry providing 
                cewredConfigGlobIndex) in the mapping 
                tables."

        INDEX { cewredConfigGlobIndex }
        ::= { cewredConfigGlobTable 1 }

CewredConfigGlobEntry ::=
        SEQUENCE {
                cewredConfigGlobIndex             CewredIndex,	
                cewredConfigGlobCosGroupName      SnmpAdminString,      
                cewredConfigGlobQueueWeight       Unsigned32,
                cewredConfigGlobDscpPrec          CewredRedMechanism,
                cewredConfigGlobRowStatus         RowStatus
        }

cewredConfigGlobIndex OBJECT-TYPE
        SYNTAX  CewredIndex 
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "Index into the cewredConfigGlobTable. For 
                the managed systems which support WRED configuration
                on both transmit side and receive side,
                this index will be obtained by one of the following
                mapping table entries:
                cewredTxTable,
                cewredRxIfTable,
                cewredRxTable,
                cewredRxMulticastTable.

                This index will be obtained through cewredTxValue
                object in case of WRED applied on an interface on the 
                transmit side. If WRED is applied on the
                receive side, this index will be obtained
                through cewredRxIfvalue if the module supports
                per module/interface queueing on the receive side, 
                otherwise this index will be obtained through
                to cewredRxValue. For multicast on the receive side,
                this index will be obtained through
                cewredRxMulticastValue.

                For the managed systems, which only support interface
                level WRED configuration, this value can be equal to
                the ifIndex associated with the interface."
        ::= { cewredConfigGlobEntry 1 }

cewredConfigGlobCosGroupName OBJECT-TYPE
        SYNTAX   SnmpAdminString   
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The name of the class of service queue group 
                under which all WRED parameters are configured.
                For the managed systems, which do not support
                class of service queue groups, this value will
                be a zero length string."
	DEFVAL      { "" }
        ::= { cewredConfigGlobEntry 2 }

cewredConfigGlobQueueWeight OBJECT-TYPE
        SYNTAX  Unsigned32 
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The decay factor for the queue average calculation.
                Numbers are 2's exponent up to 16. The smaller the
                number, the faster it decays."
        ::= { cewredConfigGlobEntry 3 }
        
cewredConfigGlobDscpPrec OBJECT-TYPE
        SYNTAX  CewredRedMechanism 
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The classification mechanism used by WRED - precedence
                 or DSCP-based. This entry can't be modified if there
                 exists corresponding entry with different RED mechanism
                 in the following cewredConfigRedTable. For example
                 for a given cewredConfigGlobIndex, if there exists 
                 precedence based configuration in the 
                 cewredConfigRedTable, this value can't be changed
                 to dscp(2)."
         ::= { cewredConfigGlobEntry 4 }

cewredConfigGlobRowStatus OBJECT-TYPE
        SYNTAX  RowStatus
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The status of this conceptual row.
                This object is used for creating, modifying
                and deleting entries in the cewredConfigGlobTable.
                This value can be set to active(1) only if the 
                corresponding row in one of the following mapping
                tables is having a row status value active(1):
                cewredTxTable,
                cewredRxIfTable,
                cewredRxTable,
                cewredRxMulticastTable."
        ::= { cewredConfigGlobEntry 5}

cewredConfigRedTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF CewredConfigRedEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "A table of WRED configuration values with respect 
                to the IP precedence or DSCP value of packets."
        ::= { cewredConfig 2 }

cewredConfigRedEntry OBJECT-TYPE
        SYNTAX CewredConfigRedEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "WRED IP precedence/DSCP configuration table entry.
                If the WRED configuration is per interface based,
                an entry of this table is created/deleted when
                a combination of interface and cewredConfigRedValue
                is associated/disassociated respectively with
                random early detection.

                On the receive side, an entry of this
                table is created or deleted when a combination
                of entries representing cewredConfigGlobIndex
                and cewredConfigRedValue is
                associated/disassociated respectively with random 
                early detection." 
        INDEX { cewredConfigGlobIndex, cewredConfigRedValue }
        ::= { cewredConfigRedTable 1 }

CewredConfigRedEntry ::=
        SEQUENCE {
                cewredConfigRedValue              Unsigned32,
                cewredConfigRedQueueNumber        CewredQueueNumber,
                cewredConfigRedProfile            CewredRedProfile,
                cewredConfigRedMinThreshold       Unsigned32,
                cewredConfigRedMaxThreshold       Unsigned32,
                cewredConfigRedPktsDropFract      Unsigned32,
                cewredConfigRedRowStatus          RowStatus
        }

cewredConfigRedValue OBJECT-TYPE
        SYNTAX  Unsigned32
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "The IP precedence or DSCP value of this entry."
        ::= { cewredConfigRedEntry 1 }

cewredConfigRedQueueNumber OBJECT-TYPE
        SYNTAX  CewredQueueNumber 
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The queue number of the distributed round robin queue
                associated with this RedValue. For each queue there
                are RED  parameters associated with it depending
                upon its precedence or DSCP value. For the managed
                systems which do not support multiple distributed round
                robin queues, this number will be 1." 
        ::= { cewredConfigRedEntry 2 }

cewredConfigRedProfile OBJECT-TYPE
        SYNTAX  CewredRedProfile 
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The value of the WRED profile associated with the
                cewredConfigRedValue. This object value will be
                equal to the WRED profile value for the managed systems
                that support a mapping of many  precedences or DSCP
                values to a WRED profile, otherwise this object value
                will be same as the  precedence or DSCP value associated
                with this entry." 
        ::= { cewredConfigRedEntry 3 }

cewredConfigRedMinThreshold OBJECT-TYPE
        SYNTAX  Unsigned32
        UNITS   "packets"
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The average queue depth at which WRED
                begins to drop packets. Below this value
                no packets will be dropped."
        ::= { cewredConfigRedEntry 4 }

cewredConfigRedMaxThreshold OBJECT-TYPE
        SYNTAX  Unsigned32
        UNITS   "packets"
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The average queue depth at which WRED may
                begin to drop all packets. Above this value
                all the packets will be dropped"
        ::= { cewredConfigRedEntry 5 }

cewredConfigRedPktsDropFract OBJECT-TYPE
        SYNTAX  Unsigned32
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The fraction of packets to be dropped when
                the average queue depth is at 
                cewredConfigRedMaxThreshold. The mark
                probability denominator maps to this object. 
                For example if this value is 500, then one 
                out of every 500 packets is to be dropped when
                the average queue length is at the maximum
                threshold." 
        ::= { cewredConfigRedEntry 6 }

cewredConfigRedRowStatus OBJECT-TYPE
        SYNTAX  RowStatus
        MAX-ACCESS  read-create
        STATUS  current
        DESCRIPTION
                "The status of this conceptual row.
                This object is  used for creating, modifying
                and deleting entries in the cewredConfigRedTable.
                This value can be set to active(1) only if the 
                corresponding row in one of the following mapping
                tables is having a row status value active(1):
                cewredTxTable,
                cewredRxIfTable,
                cewredRxTable,
                cewredRxMulticastTable."
        ::= { cewredConfigRedEntry 7 }

cewredQueueParamTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF CewredQueueParamEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "A table of WRED queue parameters."
        ::= { cewredQueue 1 }

cewredQueueParamEntry OBJECT-TYPE
        SYNTAX CewredQueueParamEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "An entry in the table of WRED queue parameters.
                Entries represent the queue parameters of the
                distributed round robin queues."
        INDEX { cewredConfigGlobIndex, cewredQueueParamNumber }
        ::= { cewredQueueParamTable 1 }
  

CewredQueueParamEntry ::=
        SEQUENCE {
                cewredQueueParamNumber        CewredQueueNumber,
                cewredQueueParamWeight        Unsigned32,
                cewredQueueParamAverage       Gauge32,
                cewredQueueParamMaxAverage    Gauge32,
                cewredQueueParamDepth         Gauge32,
                cewredQueueParamMaxDepth      Gauge32 
        }

cewredQueueParamNumber OBJECT-TYPE
        SYNTAX  CewredQueueNumber
        MAX-ACCESS  not-accessible 
        STATUS  current
        DESCRIPTION
                "The queue number associated with this entry.
                There can be  multiple distributed round robin
                queues exists on the transmit side as well as on 
                the receive side of the managed system. For each
                queue there are WRED parameters associated with
                it depend upon its precedence or DSCP value.
                For the managed systems which do not support
                multiple distributed round robin queues this
                number will be 1." 
        ::= { cewredQueueParamEntry 1 }

cewredQueueParamWeight OBJECT-TYPE
        SYNTAX  Unsigned32
        MAX-ACCESS  read-write
        STATUS  current
        DESCRIPTION
                "The weight of this queue. The weights give a
                relative bandwidth for each queue when there
                is congestion. The distributed round robin 
                algorithm dequeues data from each queue for 
                processing depending upon its weight."
        ::= { cewredQueueParamEntry 2 }

cewredQueueParamAverage OBJECT-TYPE
        SYNTAX  Gauge32
        UNITS   "packets"
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
                "The computed queue average length. This value is
                based on the Exponential weighting factor
                (cewredConfigGlobQueueWeight), the  old average 
                length of the  queue and current queue size."
        ::= { cewredQueueParamEntry 3 }

cewredQueueParamMaxAverage OBJECT-TYPE
        SYNTAX  Gauge32
        UNITS   "packets"
        MAX-ACCESS  read-write
        STATUS  current
        DESCRIPTION
                "Historically maximum value of 
                cewredQueueParamAverage. Write is required only to
                clear this object, i.e, this object can only be set
                to zero."
        ::= { cewredQueueParamEntry 4 }

cewredQueueParamDepth OBJECT-TYPE
        SYNTAX  Gauge32
        UNITS   "packets"
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
                "The number of packets currently withheld
                in the queue and awaiting transmission." 
        ::= { cewredQueueParamEntry 5 }

cewredQueueParamMaxDepth OBJECT-TYPE
        SYNTAX  Gauge32
        UNITS   "packets"
        MAX-ACCESS  read-write
        STATUS  current
        DESCRIPTION
                "Historically maximum value of cewredQueueParamDepth.
                Write is required only to clear this object, 
                i.e, this object can only be set to zero." 
        ::= { cewredQueueParamEntry 6 }

cewredStatTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF CewredStatEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
         	"A table of WRED status information with respect to
                the IP precedence or DSCP value of packets."
        ::= { cewredStat 1 }

cewredStatEntry OBJECT-TYPE
        SYNTAX CewredStatEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                "The WRED status information entry."
        INDEX { cewredConfigGlobIndex, cewredStatRedProfile }
        ::= { cewredStatTable 1 }

CewredStatEntry ::=
        SEQUENCE {
                cewredStatRedProfile              CewredRedProfile,
                cewredStatSwitchedPkts            Counter32,
                cewredStatRandomFilteredPkts      Counter32,
                cewredStatMaxFilteredPkts         Counter32,
                cewredStatSwitchedPkts64          Counter64,
                cewredStatRandomFilteredPkts64    Counter64,
                cewredStatMaxFilteredPkts64       Counter64
        }

cewredStatRedProfile OBJECT-TYPE
	SYNTAX  CewredRedProfile
	MAX-ACCESS not-accessible
	STATUS  current
	DESCRIPTION
                "The value of the WRED profile associated with the
                entry. This value will be equal to the WRED
                profile value for the managed systems that support
                a mapping of many  precedences or DSCP values to a 
                WRED profile, otherwise this object value will be same
                as the precedence or DSCP value."
	::= {cewredStatEntry 1 }

cewredStatSwitchedPkts OBJECT-TYPE
        SYNTAX  Counter32
        UNITS   "packets"
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
                "The number of packets output by WRED."  
        ::= { cewredStatEntry 2 }


cewredStatRandomFilteredPkts OBJECT-TYPE
        SYNTAX  Counter32
        UNITS   "packets"
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
                "The number of packets filtered/dropped when average
                queue length exceeds cewredRedConfigMinThreshold
                and less than cewredConfigRedMaxThreshold and meet a 
                defined random drop policy pointed by the WRED
                config tables."
        ::= { cewredStatEntry 3 }

cewredStatMaxFilteredPkts OBJECT-TYPE
        SYNTAX  Counter32
        UNITS   "packets"
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
                "The number of packets filtered/dropped when average
                queue length exceeds cewredConfigRedMaxThreshold."
        ::= { cewredStatEntry 4 }

cewredStatSwitchedPkts64 OBJECT-TYPE
        SYNTAX  Counter64
        UNITS   "packets"
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
                "The number of packets output by WRED. This object is
                a 64-bit version of cewredStatSwitchedPkts."  
        ::= { cewredStatEntry 5 }

cewredStatRandomFilteredPkts64 OBJECT-TYPE
        SYNTAX  Counter64
        UNITS   "packets"
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
                "The number of packets filtered/dropped when average
                queue length exceeds cewredRedConfigMinThreshold
                and less than cewredConfigRedMaxThreshold and meet a 
                defined random drop policy pointed by the WRED
                config tables. This object is a 64-bit version of
                cewredStatRandomFilteredPkts."
        ::= { cewredStatEntry 6 }

cewredStatMaxFilteredPkts64 OBJECT-TYPE
        SYNTAX  Counter64
        UNITS   "packets"
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
                "The number of packets filtered/dropped when average
                queue length exceeds cewredConfigRedMaxThreshold.
                This object is a 64-bit version of 
                cewredStatMaxFilteredPkts."
        ::= { cewredStatEntry 7 }
-- Notifications

cewredMIBNotifications OBJECT IDENTIFIER
                           ::= { ciscoEnhancedWredMIB 0 }


-- No notifications are currently defined.      

-- conformance information

cewredMIBConformance OBJECT IDENTIFIER ::= { ciscoEnhancedWredMIB 3 }
cewredMIBCompliances OBJECT IDENTIFIER ::= { cewredMIBConformance 1 }
cewredMIBGroups      OBJECT IDENTIFIER ::= { cewredMIBConformance 2 }


-- compliance statement

cewredMIBCompliance MODULE-COMPLIANCE
        STATUS  current
        DESCRIPTION
                "The compliance statement for entities which 
                implement WRED."
        MODULE  -- this module
                MANDATORY-GROUPS { ciscoEnhancedWredGroup }

        OBJECT       cewredTxValue 
        MIN-ACCESS   read-only
        DESCRIPTION
                "write or create access is not required."
        
        OBJECT       cewredTxRowStatus 
        SYNTAX INTEGER {
               active(1)
           }
        MIN-ACCESS   read-only
        DESCRIPTION
               "Create, delete or modify access to the
               cewerdTxTable is not required.
               Support of the values notInService(2), notReady(3),
               createAndGo(4), createAndWait(5), and destroy(6) is
               not required." 

        OBJECT       cewredRxIfValue 
        MIN-ACCESS   read-only
        DESCRIPTION
                "write or create access is not required."

        OBJECT       cewredRxIfRowStatus 
        SYNTAX INTEGER {
               active(1)
           }
        MIN-ACCESS   read-only
        DESCRIPTION
               "Create, delete or modify access to the
               cewerdRxIfTable is not required.
               Support of the values notInService(2), notReady(3),
               createAndGo(4), createAndWait(5), and destroy(6) is
               not required." 	

        OBJECT       cewredRxValue 
        MIN-ACCESS   read-only
        DESCRIPTION
                "write or create access is not required."	
	
        OBJECT       cewredRxRowStatus 
        SYNTAX INTEGER {
               active(1)
           }
        MIN-ACCESS   read-only
        DESCRIPTION
               "Create, delete or modify access to the
               cewerdRxTable is not required.
               Support of the values notInService(2), notReady(3),
               createAndGo(4), createAndWait(5), and destroy(6) is
               not required." 	

        OBJECT       cewredRxMulticastValue 
        MIN-ACCESS   read-only
        DESCRIPTION
                "write or create access is not required."	
	
        OBJECT       cewredRxMulticastRowStatus 
        SYNTAX INTEGER {
               active(1)
           }
        MIN-ACCESS   read-only
        DESCRIPTION
               "Create, delete or modify access to the
               cewreddMulticastRxTable is not required.
               Support of the values notInService(2), notReady(3),
               createAndGo(4), createAndWait(5), and destroy(6) is
               not required."
	

        OBJECT       cewredConfigGlobQueueWeight 
        MIN-ACCESS   read-only
        DESCRIPTION
                "write or create access is not required."
        
        OBJECT       cewredConfigGlobCosGroupName 
        MIN-ACCESS   read-only
        DESCRIPTION
                "write or create access is not required."

        OBJECT       cewredConfigGlobDscpPrec 
        MIN-ACCESS   read-only
        DESCRIPTION
                "write or create access is not required."

        OBJECT       cewredConfigGlobRowStatus
        SYNTAX INTEGER {
               active(1)
           }
        MIN-ACCESS   read-only
        DESCRIPTION
               "Create, delete or modify access to the
               cewerdConfigGlobTable is not required.
               Support of the values notInService(2), notReady(3),
               createAndGo(4), createAndWait(5), and destroy(6) is
               not required." 

        OBJECT        cewredConfigRedQueueNumber 
        MIN-ACCESS    read-only
        DESCRIPTION
                "write or create access is not required."

        OBJECT        cewredConfigRedProfile 
        MIN-ACCESS    read-only
        DESCRIPTION
                "write or create access is not required."

        OBJECT        cewredConfigRedMinThreshold
        MIN-ACCESS    read-only
        DESCRIPTION
                "write or create access is not required."
              
        OBJECT        cewredConfigRedMaxThreshold
        MIN-ACCESS    read-only
        DESCRIPTION
                "write or create access is not required."
              
        OBJECT        cewredConfigRedPktsDropFract
        MIN-ACCESS    read-only
        DESCRIPTION
                "write or create access is not required."
         
        
        OBJECT       cewredConfigRedRowStatus
        SYNTAX INTEGER {
               active(1)
           }
        MIN-ACCESS   read-only
        DESCRIPTION
               "Create, delete or modify access to the
               cewerdConfigRedTable is not required.
               Support of the values notInService(2), notReady(3),
               createAndGo(4), createAndWait(5), and destroy(6) is
               not required." 
                  
        OBJECT        cewredQueueParamWeight
        MIN-ACCESS    read-only
        DESCRIPTION
                "write access is not required."

        OBJECT        cewredQueueParamMaxAverage
        MIN-ACCESS    read-only
        DESCRIPTION
                "write access is not required."

        OBJECT        cewredQueueParamMaxDepth
        MIN-ACCESS    read-only
        DESCRIPTION
                "write access is not required."

        GROUP         ciscoEnhancedWredDrrQueueGroup      
        DESCRIPTION 
                "This group is required for the managed systems 
                that support multiple queues per interface. 
                It consists of objects which contain the 
                distributed round robin queue parameters."
        
        GROUP          ciscoEnhancedWredStatCountGroup
        DESCRIPTION  
               "This group is required for the managed systems that
               support counters for the packets output by WRED.
               It consists of  objects which contain random early
               detection/drop statistics."
        GROUP          ciscoEnhancedWredCosQueueGroup
        DESCRIPTION
                "This group is required for the managed systems 
                which supports class of service queue groups.
                It consists of objects related to class of service."
	
        GROUP         ciscoEnhancedWredTxInfoGroup
        DESCRIPTION
                "This group is required for the managed systems 
                which supports WRED configuration on the transmit
                side. It consists of objects which contains 
                transmit side WRED information."

        GROUP         ciscoEnhancedWredRxIfInfoGroup
        DESCRIPTION
                "This group is required for the managed systems
                which supports WRED configuration on the receive
                side, with the modules supporting per interface
                queueing. It consists of objects which contains
                receive side WRED information."   
	
        GROUP         ciscoEnhancedWredRxInfoGroup
        DESCRIPTION
                "This group is required for the managed systems 
                which supports WRED configuration on the receive
                side, with the modules supporting per module 
                queueing. It consists of objects which contains
                receive side WRED information."   
	
        GROUP         ciscoEnhancedWredRxMcInfoGroup
        DESCRIPTION
                "This group is required for the managed systems 
                which supports WRED configuration on the receive
                side, with the modules supporting multicast
                queueing. It consists of objects which contains
                receive side multicast WRED information."   
        ::= { cewredMIBCompliances 1 }


-- units of conformance

ciscoEnhancedWredGroup OBJECT-GROUP
        OBJECTS {
                cewredConfigGlobQueueWeight,
		cewredConfigGlobDscpPrec,
                cewredConfigGlobRowStatus,
                cewredConfigRedMinThreshold,
                cewredConfigRedMaxThreshold,
                cewredConfigRedPktsDropFract,
                cewredConfigRedRowStatus,
                cewredQueueParamAverage,
                cewredStatRandomFilteredPkts,
                cewredStatMaxFilteredPkts,
                cewredStatRandomFilteredPkts64,
                cewredStatMaxFilteredPkts64                
        }
        STATUS  current
        DESCRIPTION
                "A collection of objects providing WRED monitoring
                feature."
        ::= { cewredMIBGroups 1 }
        
ciscoEnhancedWredDrrQueueGroup OBJECT-GROUP
       OBJECTS {
              cewredConfigRedQueueNumber,
              cewredQueueParamWeight,
              cewredQueueParamMaxAverage,	
              cewredQueueParamDepth,
              cewredQueueParamMaxDepth	
       }
       STATUS current
       DESCRIPTION
               "A collection of objects providing distributed round
               robin queue parameters." 
       ::= { cewredMIBGroups 2 }

ciscoEnhancedWredStatCountGroup  OBJECT-GROUP              
       OBJECTS {
              cewredStatSwitchedPkts,
              cewredStatSwitchedPkts64
       }
       STATUS current
       DESCRIPTION
               "A collection of objects providing random early
               detection/drop statistics."
       ::= { cewredMIBGroups 3 }

ciscoEnhancedWredCosQueueGroup   OBJECT-GROUP
      OBJECTS {
	     cewredConfigGlobCosGroupName,
	     cewredConfigRedProfile
      }
      STATUS current
      DESCRIPTION
	      "A collection of objects providing class of service
              information."
      ::= { cewredMIBGroups 4 }


ciscoEnhancedWredTxInfoGroup  OBJECT-GROUP
     OBJECTS {
            cewredTxValue,
	    cewredTxRowStatus
    }
    STATUS current
    DESCRIPTION
            "A collection of objects providing transmit side WRED
            information." 
    ::= { cewredMIBGroups 5 }

ciscoEnhancedWredRxIfInfoGroup  OBJECT-GROUP
     OBJECTS {
            cewredRxIfValue,
            cewredRxIfRowStatus
    }
    STATUS current
    DESCRIPTION
            "A collection of objects providing receive side WRED 
            information, with the modules supporting per interface
            queueing." 
    ::= { cewredMIBGroups 6 }           

ciscoEnhancedWredRxInfoGroup  OBJECT-GROUP
     OBJECTS {
            cewredRxValue,
            cewredRxRowStatus
    }
    STATUS current
    DESCRIPTION
            "A collection of objects providing receive side WRED 
            information, with the modules supporting per module
            queueing." 
    ::= { cewredMIBGroups 7 }  

ciscoEnhancedWredRxMcInfoGroup  OBJECT-GROUP
     OBJECTS {
            cewredRxMulticastValue,
            cewredRxMulticastRowStatus
    }
    STATUS current
    DESCRIPTION
            "A collection of objects providing receive side WRED 
            information, with the modules supporting  multicast 
            queueing." 
    ::= { cewredMIBGroups 8 }  

END