summaryrefslogtreecommitdiff
path: root/MIBS/allied/AT-QOS-MIB
blob: c64cd2c53b955bc4a9a30896e37f506c1d870320 (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
-- ============================================================================
-- AT-QOS.MIB, Allied Telesis enterprise MIB: Quality Of Service module
--
-- Copied from ATR-QOS.MIB of pre 2.9.1 release
--
-- Copyright (c) 2006 by Allied Telesis, Inc.
-- All rights reserved.
-- 
-- ============================================================================

AT-QOS-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
    Counter32,
    Counter64,
    Integer32,
    Gauge32
        FROM SNMPv2-SMI

    DisplayString
        FROM SNMPv2-TC

	modules
		FROM AT-SMI-MIB
;

qos MODULE-IDENTITY
    LAST-UPDATED "200412011525Z"
    ORGANIZATION "Allied Telesis, Inc"
	CONTACT-INFO
	    "http://www.alliedtelesis.com"
	DESCRIPTION
	    "This MIB file contains definitions of managed objects for the
	    handling QoS on Allied Telesis switches. There are a
                number of tables designed to be generic to
	    all ATR switches supporting QoS in silicon, and well as tables for
	    specific AT switches or switch familes."

    REVISION "200412011525Z"
DESCRIPTION
	"Initial Revision"

::= { modules 99 }

-- ============================================================================
-- ============================================================================
-- QoS Switch group
-- ============================================================================
-- ============================================================================

qosSwitch OBJECT IDENTIFIER ::= { qos 1 }

-- =================================================
-- QoS Switch Port table
-- =================================================

qosSwitchPortTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF QosSwitchPortEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Generic port configuration for QoS, indexed by port index."
    ::= { qosSwitch 1 }

qosSwitchPortEntry OBJECT-TYPE
    SYNTAX      QosSwitchPortEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A single switch port entry for QoS."
    INDEX   { qosSwitchPortIndex }
    ::= { qosSwitchPortTable 1 }

QosSwitchPortEntry ::=
    SEQUENCE {
        qosSwitchPortIndex
            Integer32,
        qosSwitchPortPolicyIndex
            Integer32
    }

qosSwitchPortIndex OBJECT-TYPE
    SYNTAX      Integer32 (0..2147483647)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Port index of the port entry. This index is the same port number
        used in CLI commands, and the same index as appears in other MIB
        tables related to switch ports."
    ::= { qosSwitchPortEntry 1 }

qosSwitchPortPolicyIndex OBJECT-TYPE
    SYNTAX      Integer32 (1..256)
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Policy index of the policy for this port. Policy index numbers for
        CLI commands start at 0, while SNMP indexes must start at 1. This
        means that the policy index in this MIB variable is 1 more than the
        index for the same policy as entered for CLI commands."
    ::= { qosSwitchPortEntry 2 }

-- ============================================================================
-- Policy table
-- ============================================================================

qosSwitchPolicyTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF QosSwitchPolicyEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "QoS policy configuration, indexed by policy index."
    ::= { qosSwitch 2 }

qosSwitchPolicyEntry OBJECT-TYPE
    SYNTAX      QosSwitchPolicyEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A policy entry containing configuration information for
         a single policy."
    INDEX       { qosSwitchPolicyIndex }
    ::= { qosSwitchPolicyTable 1 }

QosSwitchPolicyEntry ::=
    SEQUENCE {
        qosSwitchPolicyIndex
            Integer32,
        qosSwitchPolicyDescription
            OCTET STRING,
        qosSwitchPolicyDefaultTCDropBWClass3
            INTEGER,
        qosSwitchPolicyDefaultTCIgnoreBWClass
            INTEGER,
        qosSwitchPolicyDefaultTCMarkValue
            Integer32,
        qosSwitchPolicyDefaultTCMaxBandwidth
            Integer32,
        qosSwitchPolicyDefaultTCMaxBurstSize
            Integer32,
        qosSwitchPolicyDefaultTCMinBandwidth
            Integer32,
        qosSwitchPolicyDefaultTCMinBurstSize
            Integer32,
        qosSwitchPolicyDefaultTCPremarking
            INTEGER,
        qosSwitchPolicyDefaultTCRemarking
            INTEGER
    }

qosSwitchPolicyIndex OBJECT-TYPE
    SYNTAX      Integer32 (1..256)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The index of this policy entry. Policy index numbers for
        CLI commands start at 0, while SNMP indexes must start at 1. This
        means that the policy index in this MIB variable is 1 more than the
        index for the same policy as entered for CLI commands."
    ::= { qosSwitchPolicyEntry 1 }

qosSwitchPolicyDescription OBJECT-TYPE
    SYNTAX      OCTET STRING (SIZE (0..15))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "An optional description for the policy, as entered via the CLI."
    ::= { qosSwitchPolicyEntry 2 }

qosSwitchPolicyDefaultTCDropBWClass3 OBJECT-TYPE
    SYNTAX      INTEGER {
                    no(0),
                    yes(1)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies whether traffic that exceeds the bandwidth for the
        default traffic class be dropped or not. The bandwidth limit is the
        combined total of the variables qosSwitchPolicyDefaultTCMaxBandwidth
        and qosSwitchPolicyDefaultTCMaxBurstSize. A value of yes(1) indicates
        that traffic exceeding the bandwidth limit is dropped immediately. A
        value of no(0) indicates that the excess traffic is marked as
        bandwidth class 3 and is therefore eligible for dropping by the RED
        curve settings."
    ::= { qosSwitchPolicyEntry 3 }

qosSwitchPolicyDefaultTCIgnoreBWClass OBJECT-TYPE
    SYNTAX      INTEGER {
                    no(0),
                    yes(1)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies whether the traffic metering stage acknowledges any
        bandwidth class assigned to flows processed by the default traffic
        class. If set to yes(1), previously assigned bandwidth classes will
        be ignored will be ignored and the bandwidth class of the traffic
        will be set according to the meter conformance level of the flow."
    ::= { qosSwitchPolicyEntry 4 }

qosSwitchPolicyDefaultTCMarkValue OBJECT-TYPE
    SYNTAX      Integer32 (0..63 | 256)
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "When the qosSwitchPolicyDefaultTCPremarking variable is set to
        usemarkvalue(1), this variable specifies the index into the DSCP
        MAP table to use for remarking. A value in the range 0 to 63
        indicates the DSCP to use, the value 256 indicates that no DSCP
        value has been defined for the default traffic class for this policy."
    ::= { qosSwitchPolicyEntry 5 }

qosSwitchPolicyDefaultTCMaxBandwidth OBJECT-TYPE
    SYNTAX      Integer32 (0..16000000 | 2147483647)
	UNITS		"kbps"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the maximum bandwidth available to the default traffic
        class. Traffic under this bandwidth will be designated as bandwidth
        class 2. The value 2147483647 indicates that there is no limit on
        the maximum bandwidth for the default traffic class for this
        policy."
    ::= { qosSwitchPolicyEntry 6 }

qosSwitchPolicyDefaultTCMaxBurstSize OBJECT-TYPE
    SYNTAX      Integer32 (0..16000000)
	UNITS		"kbps"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the maximum bandwidth above the bandwidth specified by
        qosSwitchPolicyDefaultTCMaxBandwidth before traffic is marked as
        bandwidth class 3."
    ::= { qosSwitchPolicyEntry 7 }

qosSwitchPolicyDefaultTCMinBandwidth OBJECT-TYPE
    SYNTAX      Integer32 (0..16000000 | 2147483647)
	UNITS		"kbps"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the minimum bandwidth reserved for the default traffic
        class. Traffic under this bandwidth will be marked as bandwidth
        class 1. The value 2147483647 indicates that there is no limit on
        the minimum bandwidth for the default traffic class for this
        policy."
    ::= { qosSwitchPolicyEntry 8 }

qosSwitchPolicyDefaultTCMinBurstSize OBJECT-TYPE
    SYNTAX      Integer32 (0..16000000)
	UNITS		"kbps"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the maximum amount of data above the bandwidth specified
        in the variable qosSwitchPolicyDefaultTCMinBandwidth before traffic
        is marked as bandwidth class 2."
    ::= { qosSwitchPolicyEntry 9 }

qosSwitchPolicyDefaultTCPremarking OBJECT-TYPE
    SYNTAX      INTEGER {
                    none(0),
                    usemarkvalue(1),
                    usedscp(2)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the QoS action to take on traffic in the default traffic
        class before metering actions are taken. If none(0) is specified,
        the traffic is passed to the metering stage. If usemarkvalue(1) is
        specified, the QoS settings are taken from the variable
        qosSwitchPolicyDefaultTCMarkValue used as an index into the DCSP
        MAP table. If usedscp(2) is specified, the DSCP value in the data
        frames is used as an index into the DSCP MAP table."
    ::= { qosSwitchPolicyEntry 10 }

qosSwitchPolicyDefaultTCRemarking OBJECT-TYPE
    SYNTAX      INTEGER {
                    none(0),
                    usedscpmap(1),
                    bwclass(2),
                    priority(3),
                    bwclass_priority(4)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the action to take after the metering stage for traffic
        in the default traffic class. The metering stage assigns a
        temporary value of bandwidth class to the flow which is used to
        determine its per-hop behaviour. If this variable is set to
        bwclass(2) or bwclass_priority(4), the temporary bandwidth class
        becomes the new bandwidth class for the flow. If priority(3) or
        bwclass_priority(4) is specified, the currently
        assigned queue for frames in this traffic class is used in
        conjunction with the temporary bandwidth class to determine the new
        value of the VLAN Tag User Priority field. If usedscpmap(1) is
        specified, the temporary value is used (in conjunction with the
        DSCP of the frame) as an index into the DSCP MAP table, which then
        assigns the actual, new values for bandwidth class, DSCP, Egress
        Queue and VLAN Tag User Priority. A value of none(0) for this
        variable means that no remarking of the packet is done after the
		metering stage."
    ::= { qosSwitchPolicyEntry 11 }

-- ============================================================================
-- Traffic Class table
-- ============================================================================

qosSwitchTrafficClassTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF QosSwitchTrafficClassEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Traffic class configuration, indexed by traffic class index."
    ::= { qosSwitch 3 }

qosSwitchTrafficClassEntry OBJECT-TYPE
    SYNTAX      QosSwitchTrafficClassEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A traffic class entry containing configuration information for
        a single traffic class."
    INDEX   { qosSwitchTrafficClassIndex }
    ::= { qosSwitchTrafficClassTable 1 }

QosSwitchTrafficClassEntry ::=
    SEQUENCE {
        qosSwitchTrafficClassIndex
            Integer32,
    qosSwitchTrafficClassPolicyNumber
	Integer32,
        qosSwitchTrafficClassDescription
            OCTET STRING,
        qosSwitchTrafficClassDropBWClass3
            INTEGER,
        qosSwitchTrafficClassIgnoreBWClass
            INTEGER,
        qosSwitchTrafficClassMarkValue
            Integer32,
        qosSwitchTrafficClassMaxBandwidth
            Integer32,
        qosSwitchTrafficClassMaxBurstSize
            Integer32,
        qosSwitchTrafficClassMinBandwidth
            Integer32,
        qosSwitchTrafficClassMinBurstSize
            Integer32,
        qosSwitchTrafficClassPremarking
            INTEGER,
        qosSwitchTrafficClassRemarking
            INTEGER
    }

qosSwitchTrafficClassIndex OBJECT-TYPE
    SYNTAX      Integer32 (1..1024)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The index of this traffic class entry. Traffic class index numbers
        for CLI commands start at 0, while SNMP indexes must start at 1. 
        This means that the traffic class index in this MIB variable is 1
        more than the index for the same traffic class as entered for CLI
        commands."
    ::= { qosSwitchTrafficClassEntry 1 }

qosSwitchTrafficClassPolicyNumber OBJECT-TYPE
    SYNTAX      Integer32 (0..256)
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Policy index of the policy to which this traffic class belongs.
        Policy index numbers for CLI commands start at 0, while SNMP
        indexes must start at 1. This means that the policy index in this
        MIB variable is 1 more than the index for the same policy as
        entered for CLI commands. A value of 0 for this variable means
        that the traffic class has not been added to a policy yet."
    ::= { qosSwitchTrafficClassEntry 2 }

qosSwitchTrafficClassDescription OBJECT-TYPE
    SYNTAX      OCTET STRING (SIZE (0..15))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "An optional description for this traffic class."
    ::= { qosSwitchTrafficClassEntry 3 }

qosSwitchTrafficClassDropBWClass3 OBJECT-TYPE
    SYNTAX      INTEGER {
                    no(0),
                    yes(1)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies whether traffic that exceeds the bandwidth for
        this traffic class be dropped or not. The bandwidth limit is the
        combined total of the variables qosSwitchTrafficClassMaxBandwidth
        and qosSwitchTrafficClassMaxBurstSize A value of yes(1) indicates
        that traffic exceeding the bandwidth limit is dropped immediately. A
        value of no(0) indicates that the excess traffic is marked as
        bandwidth class 3 and is therefore eligible for dropping by the RED
        curve settings."
    ::= { qosSwitchTrafficClassEntry 4 }

qosSwitchTrafficClassIgnoreBWClass OBJECT-TYPE
    SYNTAX      INTEGER {
                    no(0),
                    yes(1)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies whether the traffic metering stage acknowledges any
        bandwidth class assigned to flows processed by this traffic
        class. If set to yes(1), previously assigned bandwidth classes will
        be ignored will be ignored and the bandwidth class of the traffic
        will be set according to the meter conformance level of the flow."
    ::= { qosSwitchTrafficClassEntry 5 }

qosSwitchTrafficClassMarkValue OBJECT-TYPE
    SYNTAX      Integer32 (0..63 | 256)
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "When the qosSwitchTrafficClassPremarking variable is set to
        usemarkvalue(1), this variable specifies the index into the DSCP
        MAP table to use for remarking. A value in the range 0 to 63
        indicates the DSCP to use, the value 256 indicates that no DSCP
        value has been defined for this traffic class."
    ::= { qosSwitchTrafficClassEntry 6 }

qosSwitchTrafficClassMaxBandwidth OBJECT-TYPE
    SYNTAX      Integer32 (0..16000000 | 2147483647)
	UNITS		"kbps"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the maximum bandwidth available to this traffic
        class. Traffic under this bandwidth will be designated as bandwidth
        class 2. The value 2147483647 indicates that there is no limit on
        the maximum bandwidth for this traffic class."
    ::= { qosSwitchTrafficClassEntry 7 }

qosSwitchTrafficClassMaxBurstSize OBJECT-TYPE
    SYNTAX      Integer32 (0..16000000)
	UNITS		"kbps"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the maximum bandwidth above the bandwidth specified by
        qosSwitchTrafficClassMaxBandwidth before traffic is marked as
        bandwidth class 3."
    ::= { qosSwitchTrafficClassEntry 8 }

qosSwitchTrafficClassMinBandwidth OBJECT-TYPE
    SYNTAX      Integer32 (0..16000000 | 2147483647)
	UNITS		"kbps"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the minimum bandwidth reserved for this traffic
        class. Traffic under this bandwidth will be marked as bandwidth
        class 1. The value 2147483647 indicates that there is no limit on
        the minimum bandwidth for this traffic class."
    ::= { qosSwitchTrafficClassEntry 9 }

qosSwitchTrafficClassMinBurstSize OBJECT-TYPE
    SYNTAX      Integer32 (0..16000000)
	UNITS		"kbps"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the maximum amount of data above the bandwidth specified
        in the variable qosSwitchTrafficClassMinBandwidth before traffic
        is marked as bandwidth class 2."
    ::= { qosSwitchTrafficClassEntry 10 }

qosSwitchTrafficClassPremarking OBJECT-TYPE
    SYNTAX      INTEGER {
                    none(0),
                    usemarkvalue(1),
                    usedscp(2)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the QoS action to take on traffic in this traffic
        class before metering actions are taken. If none(0) is specified,
        the traffic is passed to the metering stage. If usemarkvalue(1) is
        specified, the QoS settings are taken from the variable
        qosSwitchTrafficClassMarkValue used as an index into the DCSP
        MAP table. If usedscp(2) is specified, the DSCP value in the data
        frames is used as an index into the DSCP MAP table."
    ::= { qosSwitchTrafficClassEntry 11 }

qosSwitchTrafficClassRemarking OBJECT-TYPE
    SYNTAX      INTEGER {
                    none(0),
                    usedscpmap(1),
                    bwclass(2),
                    priority(3),
                    bwclass_priority(4)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Specifies the action to take after the metering stage for traffic
        in this traffic class. The metering stage assigns a
        temporary value of bandwidth class to the flow which is used to
        determine its per-hop behaviour. If this variable is set to
        bwclass(2) or bwclass_priority(3), the temporary bandwidth class
        becomes the new bandwidth class for the flow. If priority(3) or
        bwclass_priority(4) is specified, the currently
        assigned queue for frames in this traffic class is used in
        conjunction with the temporary bandwidth class to determine the new
        value of the VLAN Tag User Priority field. If usedscpmap(1) is
        specified, the temporary value is used (in conjunction with the
        DSCP of the frame) as an index into the DSCP MAP table, which then
        assigns the actual, new values for bandwidth class, DSCP, Egress
        Queue and VLAN Tag User Priority. A value of none(0) for this
        variable means that no remarking of the packet is done after the
		metering stage."
    ::= { qosSwitchTrafficClassEntry 12 }

-- ============================================================================
-- ============================================================================
-- 8948 specific stuff. The tables in this section are specific to the 8948
-- switch, because they relate directly to the hardware used in this switch.
-- Other switches that use the same hardware will also support this MIB table.
-- ============================================================================
-- ============================================================================

qosSwitch8948 OBJECT IDENTIFIER ::= { qosSwitch 4 }

-- ============================================================================
-- 8948 port table - 8948 specific extensions to the qosSwitchPortTable
-- ============================================================================

qosSwitch8948PortTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF QosSwitch8948PortEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Port configuration, indexed by port index."
    ::= { qosSwitch8948 1 }

qosSwitch8948PortEntry OBJECT-TYPE
    SYNTAX      QosSwitch8948PortEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A single switch port entry."
    AUGMENTS    { qosSwitchPortEntry }
    ::= { qosSwitch8948PortTable 1 }

QosSwitch8948PortEntry ::=
    SEQUENCE {
        qosSwitch8948PortDefaultTCCountersAggregateBytes
            Counter64,
        qosSwitch8948PortDefaultTCCountersBwConformanceClass1Bytes
            Counter64,
        qosSwitch8948PortDefaultTCCountersBwConformanceClass2Bytes
            Counter64,
        qosSwitch8948PortDefaultTCCountersBwConformanceClass3Bytes
            Counter64,
        qosSwitch8948PortDefaultTCCountersDroppedBytes
            Counter64,
        qosSwitch8948PortQueueLength
		    Gauge32,
        qosSwitch8948PortQueue0Length
		    Gauge32,
        qosSwitch8948PortQueue1Length
		    Gauge32,
        qosSwitch8948PortQueue2Length
		    Gauge32,
        qosSwitch8948PortQueue3Length
		    Gauge32,
        qosSwitch8948PortQueue4Length
		    Gauge32,
        qosSwitch8948PortQueue5Length
		    Gauge32,
        qosSwitch8948PortQueue6Length
		    Gauge32,
        qosSwitch8948PortQueue7Length
		    Gauge32
    }

qosSwitch8948PortDefaultTCCountersAggregateBytes OBJECT-TYPE
    SYNTAX      Counter64
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The total number of bytes classified by the default traffic class
        on this port."
    ::= { qosSwitch8948PortEntry 1 }

qosSwitch8948PortDefaultTCCountersBwConformanceClass1Bytes OBJECT-TYPE
    SYNTAX      Counter64
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of bytes classified by the default traffic class on
        this port conforming to bandwidth class 1."
    ::= { qosSwitch8948PortEntry 2 }

qosSwitch8948PortDefaultTCCountersBwConformanceClass2Bytes OBJECT-TYPE
    SYNTAX      Counter64
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of bytes classified by the default traffic class on
        this port conforming to bandwidth class 2."
    ::= { qosSwitch8948PortEntry 3 }

qosSwitch8948PortDefaultTCCountersBwConformanceClass3Bytes OBJECT-TYPE
    SYNTAX      Counter64
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of bytes classified by the default traffic class on
        this port conforming to bandwidth class 3."
    ::= { qosSwitch8948PortEntry 4 }

qosSwitch8948PortDefaultTCCountersDroppedBytes OBJECT-TYPE
    SYNTAX      Counter64
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of bytes dropped by the default traffic class on
        this port."
    ::= { qosSwitch8948PortEntry 5 }

qosSwitch8948PortQueueLength OBJECT-TYPE
    SYNTAX      Gauge32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The total number of packets currently queued for transmission on
        this port."
    ::= { qosSwitch8948PortEntry 6 }

qosSwitch8948PortQueue0Length OBJECT-TYPE
    SYNTAX      Gauge32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of packets currently queued for transmission on this
        port in queue 0.
        The numbering of queues indicates the priority of handling the
        traffic in that queue, with the higher queue number getting
        higher priority. The priority values in packets are mapped to
        queues via a priority to queue mapping. The default priority to
        queue mapping is as follows:
        Priority	Queue
        value       number
        7           7
        6           6
        5           5
        4           4
        3           3
        2           1
        1           0
        0           2
        This mapping allows the default priority value of 0 to map to a
        queue which is not the lowest priority queue, allowing traffic
        classes to be assigned a lower priority queue than the default."
    ::= { qosSwitch8948PortEntry 7 }

qosSwitch8948PortQueue1Length OBJECT-TYPE
    SYNTAX      Gauge32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of packets currently queued for transmission on this
        port in queue 1. See the description for qosSwitch8948PortQueue0Length
        to understand the meaning of queue numbers."
    ::= { qosSwitch8948PortEntry 8 }

qosSwitch8948PortQueue2Length OBJECT-TYPE
    SYNTAX      Gauge32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of packets currently queued for transmission on this
        port in queue 2. See the description for qosSwitch8948PortQueue0Length
        to understand the meaning of queue numbers."
    ::= { qosSwitch8948PortEntry 9 }

qosSwitch8948PortQueue3Length OBJECT-TYPE
    SYNTAX      Gauge32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of packets currently queued for transmission on this
        port in queue 3. See the description for qosSwitch8948PortQueue0Length
        to understand the meaning of queue numbers."
    ::= { qosSwitch8948PortEntry 10 }

qosSwitch8948PortQueue4Length OBJECT-TYPE
    SYNTAX      Gauge32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of packets currently queued for transmission on this
        port in queue 4. See the description for qosSwitch8948PortQueue0Length
        to understand the meaning of queue numbers."
    ::= { qosSwitch8948PortEntry 11 }

qosSwitch8948PortQueue5Length OBJECT-TYPE
    SYNTAX      Gauge32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of packets currently queued for transmission on this
        port in queue 5. See the description for qosSwitch8948PortQueue0Length
        to understand the meaning of queue numbers."
    ::= { qosSwitch8948PortEntry 12 }

qosSwitch8948PortQueue6Length OBJECT-TYPE
    SYNTAX      Gauge32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of packets currently queued for transmission on this
        port in queue 6. See the description for qosSwitch8948PortQueue0Length
        to understand the meaning of queue numbers."
    ::= { qosSwitch8948PortEntry 13 }

qosSwitch8948PortQueue7Length OBJECT-TYPE
    SYNTAX      Gauge32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of packets currently queued for transmission on this
        port in queue 7. See the description for qosSwitch8948PortQueue0Length
        to understand the meaning of queue numbers."
    ::= { qosSwitch8948PortEntry 14 }

-- ============================================================================
-- Traffic Class counters table
-- ============================================================================

qosSwitch8948TrafficClassCountersTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF QosSwitch8948TrafficClassCountersEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Traffic class counters indexed by port, policy and traffic
        class."
    ::= { qosSwitch8948 2 }

qosSwitch8948TrafficClassCountersEntry OBJECT-TYPE
    SYNTAX      QosSwitch8948TrafficClassCountersEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A traffic class counters entry containing QOS counters for a
        particular port, policy and traffic class."
    INDEX       { qosSwitch8948TCCountersPortIndex,
                  qosSwitch8948TCCountersPolicyIndex,
                  qosSwitch8948TCCountersTrafficClassIndex }
    ::= { qosSwitch8948TrafficClassCountersTable 1 }

QosSwitch8948TrafficClassCountersEntry ::=
    SEQUENCE {
        qosSwitch8948TCCountersPortIndex
            Integer32,
        qosSwitch8948TCCountersPolicyIndex
            Integer32,
        qosSwitch8948TCCountersTrafficClassIndex
            Integer32,
        qosSwitch8948TCCountersAggregateBytes
            Counter32,
        qosSwitch8948TCCountersBwConformanceClass1Bytes
            Counter32,
        qosSwitch8948TCCountersBwConformanceClass2Bytes
            Counter32,
        qosSwitch8948TCCountersBwConformanceClass3Bytes
            Counter32,
        qosSwitch8948TCCountersDroppedBytes
            Counter32
    }

qosSwitch8948TCCountersPortIndex OBJECT-TYPE
    SYNTAX      Integer32 (0..2147483647)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The index of the port for this entry in the traffic class
        counter table. This index is the same as the port index in the
        port table and is the same as the port number of the port in
        user commands."
    ::= { qosSwitch8948TrafficClassCountersEntry 1 }

qosSwitch8948TCCountersPolicyIndex OBJECT-TYPE
    SYNTAX      Integer32 (1..256)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The index of the policy for this entry in the traffic class
        counter table. Each port can only have one policy assigned at a
        time. Policy index numbers for CLI commands start at 0, while SNMP
        indexes must start at 1. This means that the policy index in this
        MIB variable is 1 more than the index for the same policy as
        entered for CLI commands."
    ::= { qosSwitch8948TrafficClassCountersEntry 2 }

qosSwitch8948TCCountersTrafficClassIndex OBJECT-TYPE
    SYNTAX      Integer32 (1..1024)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The index of the traffic class for this entry in the traffic
        class counter table. The index is one of the indices defined for
        traffic classes for this port and policy. Traffic class indices
        for CLI commands start at 0, while SNMP indices must start at 1.
        This means that the traffic class index in this MIB variable is 1
        more than the index for the same traffic class as entered for CLI
        commands."
    ::= { qosSwitch8948TrafficClassCountersEntry 3 }

qosSwitch8948TCCountersAggregateBytes OBJECT-TYPE
    SYNTAX      Counter32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The total number of bytes classified by this traffic class for
		this policy on this port."
    ::= { qosSwitch8948TrafficClassCountersEntry 4 }

qosSwitch8948TCCountersBwConformanceClass1Bytes OBJECT-TYPE
    SYNTAX      Counter32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of bytes classified by this traffic class for this
        policy on this port conforming to bandwidth class 1."
    ::= { qosSwitch8948TrafficClassCountersEntry 5 }

qosSwitch8948TCCountersBwConformanceClass2Bytes OBJECT-TYPE
    SYNTAX      Counter32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of bytes classified by this traffic class for this
        policy on this port conforming to bandwidth class 2."
    ::= { qosSwitch8948TrafficClassCountersEntry 6 }

qosSwitch8948TCCountersBwConformanceClass3Bytes OBJECT-TYPE
    SYNTAX      Counter32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of bytes classified by this traffic class for this
        policy on this port conforming to bandwidth class 3."
    ::= { qosSwitch8948TrafficClassCountersEntry 7 }

qosSwitch8948TCCountersDroppedBytes OBJECT-TYPE
    SYNTAX      Counter32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The number of bytes dropped by this traffic class for this
        policy on this port."
    ::= { qosSwitch8948TrafficClassCountersEntry 8 }

END