-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathCISCO-QOS-POLICY-CONFIG-MIB-V1SMI.my
553 lines (506 loc) · 17.9 KB
/
CISCO-QOS-POLICY-CONFIG-MIB-V1SMI.my
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
-- MIB file created 25-Apr-2001 15:23:15, by
-- SMICng version 2.2.11-beta(PRO)(Solaris), January 20, 2001. Enterprise key cisco.com
CISCO-QOS-POLICY-CONFIG-MIB DEFINITIONS ::= BEGIN
-- From file: "CISCO-QOS-POLICY-CONFIG-MIB.my"
-- Compile options "4 7 F H N W 03 06 0B 0G 0N 0T"
IMPORTS
TruthValue
FROM SNMPv2-TC-v1
ifIndex
FROM IF-MIB
ciscoMgmt
FROM CISCO-SMI
QosInterfaceQueueType
FROM CISCO-QOS-PIB-MIB
OBJECT-TYPE
FROM RFC-1212;
ciscoQosPolicyConfigMIB OBJECT IDENTIFIER ::= { ciscoMgmt 159 }
-- MODULE-IDENTITY
-- LastUpdated
-- 200011021030Z
-- OrgName
-- Cisco Systems Inc.
-- ContactInfo
-- Cisco Systems
-- Customer Service
--
-- Postal: 170 W. Tasman Drive
-- San Jose, CA 95134, USA
--
-- Tel: +1 800 553-NETS
--
-- E-mail: [email protected]
-- Descr
-- This MIB module defines managed objects that support the
-- policy source configuration of Quality of Service (QoS) on
-- the device.
--
-- Terminology :
--
-- Common Open Policy Service (COPS) : A client/server model for
-- supporting policy control over QoS Signaling Protocols and
-- provisioned QoS resource management, etc. COPS is a query and
-- response protocol that can be used to exchange policy
-- information between a policy server (Policy Decision Point or
-- PDP) and its clients (Policy Enforcement Points or PEPs).
--
-- Policy Information Base (PIB) : The database of policy
-- information stored in the COPS client device.
--
-- QoS : The method which attempts to ensure that the network
-- requirements of different applications can be met by giving
-- preferential forwarding treatment to some traffic, perhaps at
-- the expense of other traffic.
--
-- QoS policy : a set of parameters used to achieve QoS purpose.
-- The device uses these parameters in flow classification, flow
-- scheduling, flow policing and codepoint mutation.
--
-- RSVP : Resource Reservation Protocol. RSVP is a signaling
-- mechanism that the application will use to signal parameters
-- to the network, so that network can assign QoS for the
-- application data stream.
--
-- COPS-PR : a COPS client type which supports device's
-- provisioning of QoS policy.
--
-- COPS-RSVP : a COPS client type which supports device's
-- outsourcing of QoS policy (RSVP).
--
-- RevDate
-- 200011021030Z
-- RevDescr
-- Revised version from CISCO-QOS-CONFIG-MIB. The original OID is
-- assigned to CISCO-QOS-CONFIG-MIB and then after discussing
-- with people in COPS group, we decided to change the name of the
-- MIB. And also adding some objects to reflect the difference
-- between users' QoS policy configuration and runtime QoS policy
-- configuration.
-- RevDate
-- 200002261930Z
-- RevDescr
-- Initial version of this MIB module.
ciscoQosPolicyConfigMIBObjects OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIB 1 }
qosPolicyGlobalObjects OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBObjects 1 }
qosPolicyInterfaceObjects OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBObjects 2 }
ciscoQosPolicyMIBNotifications OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIB 2 }
ciscoQosPolicyConfigMIBConformance OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIB 3 }
ciscoQosPolicyConfigMIBCompliances OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBConformance 1 }
ciscoQosPolicyConfigMIBGroups OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBConformance 2 }
QosPolicySource ::= INTEGER {
none(1),
local(2),
cops(3)
}
-- TEXTUAL-CONVENTION
-- Status
-- mandatory
-- Descr
-- The source where a device obtains QoS policy.
--
-- none (1) indicates that there is no QoS policy applied on this
-- device. And this value only can be read and cannot be set by
-- the users.
--
-- local (2) indicates that the QoS policy is from local device
-- configuration. For example, the QoS policy can be configured
-- through command line interface (CLI).
--
-- cops (3) indicates that the QoS policy is from a COPS server.
qosEnabled OBJECT-TYPE
SYNTAX TruthValue
-- Rsyntax INTEGER {
-- true(1),
-- false(2)
-- }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Indicates whether the QoS feature is enabled on the device.
true(1) means that the QoS feature is enabled on this device.
false(2) means that the QoS feature is disabled. All the QoS
policy on the device will be ignored."
DEFVAL { false }
::= { qosPolicyGlobalObjects 1 }
qosPrAdminPolicySource OBJECT-TYPE
SYNTAX QosPolicySource
-- Rsyntax INTEGER {
-- none(1),
-- local(2),
-- cops(3)
-- }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Indicates the desired source of a device's provisioning of
QoS policy for the whole device.
Actually, the source of an interface's provisioning of QoS
policy is controlled by two level configurations. The first
level is the system level to be the global control for the
whole device. This object is for the system level. The second
level is for each individual interface. The
qosPrIfAdminPolicySource is for the interface level. So, the
value of this object will decide that the value of
qosPrIfAdminPolicySource can take precedence or not. If this
object is configured to cops(3), the value of
qosPrIfAdminPolicySource has the precedence configuration of
the interface's provisioning of QoS policy source.
That is to say if this object is configured to local(2), then
the value of qosPrIfAdminPolicySource will be ignored. It
means the provisioning of QoS policy source of all the
interfaces in this device will be from local information if
this MIB is configured to local(2).
If this object is configured to cops(3), then the final
provisioning of QoS policy of an interface is determined by the
configuration of the qosPrIfAdminPolicySource object of that
interface.
Changing qosPrIfAdminPolicySource of an interface from cops(3)
to local(2) while the value of this object is cops(3) makes the
interface discard the QoS provisioning policy from the COPS
server and uses the local QoS provisioning policy configuration
instead."
DEFVAL { local }
::= { qosPolicyGlobalObjects 2 }
qosPrOperPolicySource OBJECT-TYPE
SYNTAX QosPolicySource
-- Rsyntax INTEGER {
-- none(1),
-- local(2),
-- cops(3)
-- }
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Indicates the operational source of a device's provisioning of
QoS policy.
Note that when qosPrAdminPolicySource transitions to cops(3),
qosPrOperPolicySource will normally also transition to
cops(3). In this situation, it is possible that
qosPrOperPolicySource's transition will not occur immediately
because the system is initializing the COPS function at the
system booting up time, but rather after a small time lag to
complete certain operations before going 'cops'."
::= { qosPolicyGlobalObjects 3 }
qosRsvpAdminPolicySource OBJECT-TYPE
SYNTAX QosPolicySource
-- Rsyntax INTEGER {
-- none(1),
-- local(2),
-- cops(3)
-- }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Indicates the desired source of a device's outsourcing of QoS
policy. Outsourcing means the policy information is from
outside source not from local information."
DEFVAL { local }
::= { qosPolicyGlobalObjects 4 }
qosRsvpOperPolicySource OBJECT-TYPE
SYNTAX QosPolicySource
-- Rsyntax INTEGER {
-- none(1),
-- local(2),
-- cops(3)
-- }
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Indicates the current operational source of a device's
outsourcing of QoS policy.
Note that when qosRsvpAdminPolicySource transitions to
cops(3), qosRsvpOperPolicySource will normally also transition
to cops(3). In this situation, it is possible that
qosRsvpOperPolicySource's transition will not occur
immediately because the system is initializing the COPS
function at the system boot up time, but rather after a small
time lag to complete certain operations before going 'cops'."
::= { qosPolicyGlobalObjects 5 }
qosCopsPolicyStatus OBJECT-TYPE
SYNTAX INTEGER {
keep(1),
discard(2)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This object indicates whether the QoS policy downloaded from
COPS server should be kept or discarded by the system while
the COPS function is not running in the system or the
connection between PDP and PEP is lost or any other reason
that system cannot get the QoS policy from COPS server."
::= { qosPolicyGlobalObjects 6 }
qosPrIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF QosPrIfEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A list of interface entries. An entry will exist for each
interface which can support the provisioning of QoS policy
feature."
::= { qosPolicyInterfaceObjects 1 }
qosPrIfEntry OBJECT-TYPE
SYNTAX QosPrIfEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"An entry containing the configuration of provisioning of QoS
policy of a particular interface."
INDEX { ifIndex }
::= { qosPrIfTable 1 }
QosPrIfEntry ::= SEQUENCE {
qosPrIfAdminPolicySource QosPolicySource,
qosPrIfOperPolicySource QosPolicySource
}
qosPrIfAdminPolicySource OBJECT-TYPE
SYNTAX QosPolicySource
-- Rsyntax INTEGER {
-- none(1),
-- local(2),
-- cops(3)
-- }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Indicates the desired source of QoS provision policy for
this interface.
This object is only effective when the value of
qosPrOperPolicySource is cops(3) and the value of qosEnabled
is true(1)."
DEFVAL { cops }
::= { qosPrIfEntry 1 }
qosPrIfOperPolicySource OBJECT-TYPE
SYNTAX QosPolicySource
-- Rsyntax INTEGER {
-- none(1),
-- local(2),
-- cops(3)
-- }
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Indicates the operational source of QoS provisioning policy
for this interface.
When the value of the object qosPrOperPolicySource is
local(2), the QoS provisioning policy for this interface is
taken from device's local configuration. If
qosPrOperPolicySource is configured to cops(3), the current
operational source of QoS provisioning policy will depend on
the configuration of qosPrIfAdminPolicySource object.
Here is the logic.
IF qosPrOperPolicySource == local(2)
THEN qosPrIfOperPolicySource is local(2)
ELSE
IF qosPrOperPolicySource == cops(3)
THEN
IF qosPrIfAdminPolicySource == cops(3)
THEN qosPrIfOperPolicySource is cops(3)
ELSE qosPrIfOperPolicySource is local(2)
ELSE
qosPrIfOperPolicySource is none(1)
END
END
For example, if qosPrOperPolicySource shows local(2), although
the qosPrIfAdminPolicySource is configured cops(3), the QoS
provisioning policy running on this interface is from local
device configuration. It means this object will be local(2).
Note that when qosPrIfAdminPolicySource transitions to
cops(3) if qosPrOperPolicySource is cops(3),
qosPrIfOperPolicySource will normally also transition to
cops(3). In this situation, it is possible that
qosPrIfOperPolicySource's transition will not occur immediately
because the system is initializing the COPS function at the
system boot up time, but rather after a small time lag to
complete certain operations before going 'cops'."
::= { qosPrIfEntry 2 }
qosIfCapabilityTable OBJECT-TYPE
SYNTAX SEQUENCE OF QosIfCapabilityEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A list of interface entries. An entry will exist for each
interface which can support the QoS feature."
::= { qosPolicyInterfaceObjects 2 }
qosIfCapabilityEntry OBJECT-TYPE
SYNTAX QosIfCapabilityEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A description of an interface's QoS capabilities."
INDEX { ifIndex, qosIfDirection, qosIfQType }
::= { qosIfCapabilityTable 1 }
QosIfCapabilityEntry ::= SEQUENCE {
qosIfDirection INTEGER,
qosIfQType QosInterfaceQueueType,
qosIfCapabilities OCTET STRING
}
qosIfDirection OBJECT-TYPE
SYNTAX INTEGER {
ingress(1),
egress(2),
both(3)
}
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The traffic direction of the interface.
'ingress' means the traffic coming in the interface.
'egress' means the traffic going out the interface.
'both' means the traffic coming in and going out."
::= { qosIfCapabilityEntry 1 }
qosIfQType OBJECT-TYPE
SYNTAX QosInterfaceQueueType
-- Rsyntax INTEGER {
-- oneQ1t(1),
-- oneQ2t(2),
-- oneQ4t(3),
-- oneQ8t(4),
-- twoQ1t(5),
-- twoQ2t(6),
-- twoQ4t(7),
-- twoQ8t(8),
-- threeQ1t(9),
-- threeQ2t(10),
-- threeQ4t(11),
-- threeQ8t(12),
-- fourQ1t(13),
-- fourQ2t(14),
-- fourQ4t(15),
-- fourQ8t(16),
-- eightQ1t(17),
-- eightQ2t(18),
-- eightQ4t(19),
-- eightQ8t(20),
-- sixteenQ1t(21),
-- sixteenQ2t(22),
-- sixteenQ4t(23),
-- sixtyfourQ1t(24),
-- sixtyfourQ2t(25),
-- sixtyfourQ4t(26)
-- }
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The interface type in terms of number of queues and
thresholds. A queue is a buffer for storing network packets.
A threshold is a water mark used to control traffic amount of
a queue."
::= { qosIfCapabilityEntry 2 }
qosIfCapabilities OBJECT-TYPE
SYNTAX OCTET STRING(SIZE(1..4))
-- BITS are:
-- unspecified(0)
-- inputL2Classification(1)
-- inputIpClassification(2)
-- outputL2Classification(3)
-- outputIpClassification(4)
-- inputUflowPolicing(5)
-- inputAggregatePolicing(6)
-- outputUflowPolicing(7)
-- outputAggregatePolicing(8)
-- policeByMarkingDown(9)
-- policeByDropping(10)
-- fifo(11)
-- wrr(12)
-- wfq(13)
-- cq(14)
-- pq(15)
-- cbwfq(16)
-- tailDrop(17)
-- wred(18)
-- inputPortClassification(19)
-- outputPortClassification(20)
-- inputUflowShaping(21)
-- inputAggregateShaping(22)
-- outputUflowShaping(23)
-- outputAggregateShaping(24)
-- pqWrr(25)
-- pqCbwfq(26)
ACCESS read-only
STATUS mandatory
DESCRIPTION
"An enumeration of interface capabilities. Used by the
management side to select policies and configuration to
push to the device."
::= { qosIfCapabilityEntry 3 }
qosGlobalGroup OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBGroups 1 }
-- OBJECT-GROUP
-- Status
-- mandatory
-- Descr
-- A collection of objects providing the ability to
-- enable/disable QoS feature on the device.
-- objects
-- qosEnabled
qosPrGlobalGroup OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBGroups 2 }
-- OBJECT-GROUP
-- Status
-- mandatory
-- Descr
-- A collection of objects providing the global configuration of
-- the provisioning of QoS policy source on the device.
-- objects
-- qosPrAdminPolicySource, qosPrOperPolicySource
qosRsvpGlobalGroup OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBGroups 3 }
-- OBJECT-GROUP
-- Status
-- mandatory
-- Descr
-- A collection of objects providing the global configuration of
-- the outsourcing of QoS policy source on the device.
-- objects
-- qosRsvpAdminPolicySource, qosRsvpOperPolicySource
qosPrInterfaceGroup OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBGroups 4 }
-- OBJECT-GROUP
-- Status
-- mandatory
-- Descr
-- A collection of objects providing the interface level
-- configuration of the provisioning of QoS policy source on the
-- device.
-- objects
-- qosPrIfAdminPolicySource, qosPrIfOperPolicySource
qosInterfaceCapabilityGroup OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBGroups 5 }
-- OBJECT-GROUP
-- Status
-- mandatory
-- Descr
-- A collection of object providing the QoS capabilities of the
-- interface on the device to help QoS policy configuration.
-- objects
-- qosIfCapabilities
qosCopsPolicyStatusGroup OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBGroups 6 }
-- OBJECT-GROUP
-- Status
-- mandatory
-- Descr
-- A collection of object providing the status of QoS policy
-- downloaded from COPS server.
-- objects
-- qosCopsPolicyStatus
ciscoQosPolicyConfigMIBCompliance OBJECT IDENTIFIER ::= { ciscoQosPolicyConfigMIBCompliances 1 }
-- MODULE-COMPLIANCE
-- Status
-- mandatory
-- Descr
-- The compliance statement for the
-- CISCO-QOS-POLICY-CONFIG-MIB.
-- Module
-- >>current<<
-- OptGroup
-- qosGlobalGroup
-- ObjVar
-- qosEnabled
-- OptGroup
-- qosPrGlobalGroup
-- OptGroup
-- qosRsvpGlobalGroup
-- OptGroup
-- qosPrInterfaceGroup
-- OptGroup
-- qosInterfaceCapabilityGroup
-- OptGroup
-- qosCopsPolicyStatusGroup
-- ObjVar
-- qosCopsPolicyStatus
END