-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathCISCO-CAR-MIB-V1SMI.my
566 lines (510 loc) · 16.2 KB
/
CISCO-CAR-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
553
554
555
556
557
558
559
560
561
562
563
564
565
-- MIB file created 09-Jul-2002 15:28:57, by
-- SMICng version 2.2.11-beta(PRO)(Solaris), January 20, 2001. Enterprise key cisco.com
CISCO-CAR-MIB DEFINITIONS ::= BEGIN
-- From file: "CISCO-CAR-MIB.my"
-- Compile options "4 7 F H N W 03 06 0B 0G 0N 0T"
IMPORTS
ifIndex
FROM IF-MIB
ciscoMgmt
FROM CISCO-SMI
Counter, Gauge
FROM RFC1155-SMI
OBJECT-TYPE
FROM RFC-1212;
ciscoCarMIB OBJECT IDENTIFIER ::= { ciscoMgmt 113 }
-- MODULE-IDENTITY
-- LastUpdated
-- 0002180000Z
-- OrgName
-- Cisco Systems, Inc.
-- ContactInfo
-- Cisco Systems
-- Customer Service
--
-- Postal: 170 W. Tasman Drive
-- San Jose, CA 95134-1706
-- USA
--
-- Tel: +1 800 553-NETS
--
-- E-mail: [email protected]
-- Descr
-- Cisco CAR MIB - Overview
--
-- Cisco Weighted Rate-limit, known as Commited Access Rate (CAR),
-- is a traffic control method which uses a set of rate limits
-- to be applied to an interface for packet switching purpose.
-- Each rate limit has a configurable action to be taken
-- when a condition suffices.
--
-- This MIB incorporates objects from the Cisco Rate-limit line interfaces.
-- Its purpose is to provide Weighted Rate-Limit packet filtering information.
--
-- RevDate
-- 9707180000Z
-- RevDescr
-- Initial version of this MIB module.
-- RevDate
-- 0002180000Z
-- RevDescr
-- Added 32-bit overflow counters, as well as
-- 64-bit counters for both switched and filtered
-- bytes and packet counts to the statistics table
-- (ccarStatTable).
ciscoCarMIBObjects OBJECT IDENTIFIER ::= { ciscoCarMIB 1 }
ccarConfigs OBJECT IDENTIFIER ::= { ciscoCarMIBObjects 1 }
ccarStats OBJECT IDENTIFIER ::= { ciscoCarMIBObjects 2 }
ciscoCarMIBConformance OBJECT IDENTIFIER ::= { ciscoCarMIB 3 }
ciscoCarMIBCompliances OBJECT IDENTIFIER ::= { ciscoCarMIBConformance 1 }
ciscoCarMIBGroups OBJECT IDENTIFIER ::= { ciscoCarMIBConformance 2 }
PacketSource ::= INTEGER {
input(1),
output(2)
}
-- TEXTUAL-CONVENTION
-- Status
-- mandatory
-- Descr
-- The source of the packet rate-limited for.
--
-- input statistics of the input packets.
-- output statistics of the output packets.
RateLimitType ::= INTEGER {
all(1),
quickAcc(2),
standardAcc(3)
}
-- TEXTUAL-CONVENTION
-- Status
-- mandatory
-- Descr
-- The type of traffic rate-limited for.
--
-- all all traffic.
-- quickAcc traffic matches rate-limit's access list.
-- standardAcc traffic matches standard access list.
RateLimitAction ::= INTEGER {
drop(1),
xmit(2),
continue(3),
precedXmit(4),
precedCont(5)
}
-- TEXTUAL-CONVENTION
-- Status
-- mandatory
-- Descr
-- The action taken after evaluating the rate limit.
--
-- drop drop the packet.
-- xmit transmit the packet.
-- continue continue to evaluate to the subsequent
-- rate limits.
-- precedXmit rewrite the IP precedence and transmit
-- the packet.
-- precedCont rewrite the IP precedence and allow it
-- evaluated by subsequent rate limits.
ccarConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF CcarConfigEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A table of rate limit configuration entries.
Rate Limit is a method of traffic control. It allows a set
of rate limits to be configured and applied to packets flowing
into/out of an interface to regulate network traffic."
::= { ccarConfigs 1 }
ccarConfigEntry OBJECT-TYPE
SYNTAX CcarConfigEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A collection of rate-limit configuration objects on this
interface. Entries in the ccarConfigTable is created
and deleted via the rate-limit command line interface."
INDEX { ifIndex, ccarConfigDirection, ccarConfigRowIndex }
::= { ccarConfigTable 1 }
CcarConfigEntry ::= SEQUENCE {
ccarConfigDirection PacketSource,
ccarConfigRowIndex INTEGER,
ccarConfigType RateLimitType,
ccarConfigAccIdx INTEGER,
ccarConfigRate INTEGER,
ccarConfigLimit INTEGER,
ccarConfigExtLimit INTEGER,
ccarConfigConformAction RateLimitAction,
ccarConfigExceedAction RateLimitAction
}
ccarConfigDirection OBJECT-TYPE
SYNTAX PacketSource
-- Rsyntax INTEGER {
-- input(1),
-- output(2)
-- }
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The data source for the Rate Limit object."
::= { ccarConfigEntry 1 }
ccarConfigRowIndex OBJECT-TYPE
SYNTAX INTEGER(1..2147483647)
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"An arbitrary index for rate limit objects.
It will increase as the list is traversed,
but may skip."
::= { ccarConfigEntry 2 }
ccarConfigType OBJECT-TYPE
SYNTAX RateLimitType
-- Rsyntax INTEGER {
-- all(1),
-- quickAcc(2),
-- standardAcc(3)
-- }
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The type of traffic rate-limited against."
::= { ccarConfigEntry 3 }
ccarConfigAccIdx OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The index to the access list if RateLimitType is either
quickAcc or standardAcc."
::= { ccarConfigEntry 4 }
ccarConfigRate OBJECT-TYPE
SYNTAX INTEGER
-- Units
-- bits/second
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The comitted access rate. This is the sustained
rate permitted by the rate limit."
::= { ccarConfigEntry 5 }
ccarConfigLimit OBJECT-TYPE
SYNTAX INTEGER
-- Units
-- bytes
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The rate limit. The amout of traffic, in bytes,
in excess of the committed access rate which will be
instantaneously permitted by the rate limit."
::= { ccarConfigEntry 6 }
ccarConfigExtLimit OBJECT-TYPE
SYNTAX INTEGER
-- Units
-- bytes
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The extended burst limit. The amount of traffic,
in bytes, in excess of the burst limit which may be
conditionnally permitted by the rate limit.
The probability that the traffic is not permitted
increases as the received burst increases.
P(not permitted) =
(BurstRate - ConfLimit) / (ConfLimitExt - ConfLimit)."
::= { ccarConfigEntry 7 }
ccarConfigConformAction OBJECT-TYPE
SYNTAX RateLimitAction
-- Rsyntax INTEGER {
-- drop(1),
-- xmit(2),
-- continue(3),
-- precedXmit(4),
-- precedCont(5)
-- }
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Action to be taken when the traffic is within
the Rate Limit."
::= { ccarConfigEntry 8 }
ccarConfigExceedAction OBJECT-TYPE
SYNTAX RateLimitAction
-- Rsyntax INTEGER {
-- drop(1),
-- xmit(2),
-- continue(3),
-- precedXmit(4),
-- precedCont(5)
-- }
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Action to be taken when the traffic exceeds
the Rate Limit."
::= { ccarConfigEntry 9 }
ccarStatTable OBJECT-TYPE
SYNTAX SEQUENCE OF CcarStatEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A table of rate limit status entries."
::= { ccarStats 1 }
ccarStatEntry OBJECT-TYPE
SYNTAX CcarStatEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A collection of rate-limit status objects on this
interface. Entries are created and deleted via
the rate-limit command line interface."
INDEX { ifIndex, ccarConfigDirection, ccarConfigRowIndex }
-- Augments ccarConfigEntry
::= { ccarStatTable 1 }
CcarStatEntry ::= SEQUENCE {
ccarStatSwitchedPkts Counter,
ccarStatSwitchedBytes Counter,
ccarStatFilteredPkts Counter,
ccarStatFilteredBytes Counter,
ccarStatCurBurst Gauge,
ccarStatSwitchedPktsOverflow Counter,
ccarStatSwitchedBytesOverflow Counter,
ccarStatFilteredPktsOverflow Counter,
ccarStatFilteredBytesOverflow Counter,
ccarStatHCSwitchedPkts Counter,
ccarStatHCSwitchedBytes Counter,
ccarStatHCFilteredPkts Counter,
ccarStatHCFilteredBytes Counter
}
ccarStatSwitchedPkts OBJECT-TYPE
SYNTAX Counter
-- Units
-- packets
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The counter of packets permitted by this rate limit."
::= { ccarStatEntry 1 }
ccarStatSwitchedBytes OBJECT-TYPE
SYNTAX Counter
-- Units
-- bytes
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The counter of bytes permitted by this interface."
::= { ccarStatEntry 2 }
ccarStatFilteredPkts OBJECT-TYPE
SYNTAX Counter
-- Units
-- packets
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The counter of packets which exceeded this rate limit."
::= { ccarStatEntry 3 }
ccarStatFilteredBytes OBJECT-TYPE
SYNTAX Counter
-- Units
-- bytes
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The counter of bytes which exceeded this rate limit."
::= { ccarStatEntry 4 }
ccarStatCurBurst OBJECT-TYPE
SYNTAX Gauge
-- Units
-- bytes
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The current received burst size."
::= { ccarStatEntry 5 }
ccarStatSwitchedPktsOverflow OBJECT-TYPE
SYNTAX Counter
-- Units
-- packets
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The high-word of the counter of packets permitted
by this rate limit.
NOTE: The object ccarStatSwitchedPkts contains the
lower 32 bits of the switched packet counts.
If the number of switched packets is larger
than what can be stored in a 32 bit value, then
the high word value is stored in this object.
As such SNMP Manager applications should
combine this object along with the
ccarStatSwitchedPkts object to come up with the
64-bit value.
SNMP v2c or v3 Manager can use the
ccarStatHCSwitchedPkts object directly
(which is a 64-bit object)."
::= { ccarStatEntry 6 }
ccarStatSwitchedBytesOverflow OBJECT-TYPE
SYNTAX Counter
-- Units
-- bytes
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The high-word of the counter of bytes permitted by
this interface.
NOTE: The object ccarStatSwitchedBytes contains the
lower 32 bits of the switched byte counts.
If the number of switched bytes is larger
than what can be stored in a 32 bit value, then
the high word value is stored in this object.
As such SNMP Manager applications should
combine this object along with the
ccarStatSwitchedBytes object to come up with the
64-bit value.
SNMP v2c or v3 Manager can use the
ccarStatHCSwitchedBytes object directly
(which is a 64-bit object)."
::= { ccarStatEntry 7 }
ccarStatFilteredPktsOverflow OBJECT-TYPE
SYNTAX Counter
-- Units
-- packets
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The high-word of the counter of packets which exceeded
this rate limit.
NOTE: The object ccarStatFilteredPkts contains the
lower 32 bits of the filtered packet counts.
If the number of filtered packets is larger
than what can be stored in a 32 bit value, then
the high word value is stored in this object.
As such SNMP Manager applications should combine
this object along with the ccarStatFilteredPkts
object to come up with the 64-bit value.
SNMP v2c or v3 Manager can use the
ccarStatHCFilteredPkts object directly
(which is a 64-bit object)."
::= { ccarStatEntry 8 }
ccarStatFilteredBytesOverflow OBJECT-TYPE
SYNTAX Counter
-- Units
-- bytes
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The high-word of the counter of bytes which exceeded
this rate limit.
NOTE: The object ccarStatFilteredBytes contains the
lower 32 bits of the filtered byte counts.
If the number of filtered bytes is larger
than what can be stored in a 32 bit value, then
the high word value is stored in this object.
As such SNMP Manager applications should combine
this object along with the ccarStatFilteredBytes
object to come up with the 64-bit value.
SNMP v2c or v3 Manager can use the
ccarStatHCFilteredBytes object directly
(which is a 64-bit object)."
::= { ccarStatEntry 9 }
ccarStatHCSwitchedPkts OBJECT-TYPE
SYNTAX --?? syntax is not convertable to SMIv1
Counter
-- Units
-- packets
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The counter of packets permitted by this rate limit.
NOTE: This is a 64 bit (High Capacity)
version of the ccarStatSwitchedPkts
counter for use with SNMP v2c or v3 Managers"
::= { ccarStatEntry 10 }
ccarStatHCSwitchedBytes OBJECT-TYPE
SYNTAX --?? syntax is not convertable to SMIv1
Counter
-- Units
-- bytes
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The counter of bytes permitted by this interface.
NOTE: This is a 64 bit (High Capacity)
version of the ccarStatSwitchedBytes
counter for use with SNMP v2c or v3 Managers"
::= { ccarStatEntry 11 }
ccarStatHCFilteredPkts OBJECT-TYPE
SYNTAX --?? syntax is not convertable to SMIv1
Counter
-- Units
-- packets
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The counter of packets which exceeded this rate limit.
NOTE: This is a 64 bit (High Capacity)
version of the ccarStatFilteredPkts
counter for use with SNMP v2c or v3 Managers"
::= { ccarStatEntry 12 }
ccarStatHCFilteredBytes OBJECT-TYPE
SYNTAX --?? syntax is not convertable to SMIv1
Counter
-- Units
-- bytes
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The counter of bytes which exceeded this rate limit.
NOTE: This is a 64 bit (High Capacity)
version of the ccarStatFilteredBytes
counter for use with SNMP v2c or v3 Managers"
::= { ccarStatEntry 13 }
ciscoCarMIBGroup OBJECT IDENTIFIER ::= { ciscoCarMIBGroups 1 }
-- OBJECT-GROUP
-- Status
-- mandatory
-- Descr
-- A collection of objects providing CAR monitoring.
-- objects
-- ccarConfigType, ccarConfigAccIdx, ccarConfigRate,
-- ccarConfigLimit, ccarConfigExtLimit, ccarConfigConformAction,
-- ccarConfigExceedAction, ccarStatSwitchedPkts,
-- ccarStatSwitchedBytes, ccarStatFilteredPkts,
-- ccarStatFilteredBytes, ccarStatCurBurst
ciscoCarMIBHCGroup OBJECT IDENTIFIER ::= { ciscoCarMIBGroups 2 }
-- OBJECT-GROUP
-- Status
-- mandatory
-- Descr
-- A collection of high capacity counters (64-bit) provided
-- for CAR monitoring.
-- objects
-- ccarStatSwitchedPktsOverflow, ccarStatSwitchedBytesOverflow,
-- ccarStatFilteredPktsOverflow, ccarStatFilteredBytesOverflow,
-- ccarStatHCSwitchedPkts, ccarStatHCSwitchedBytes,
-- ccarStatHCFilteredPkts, ccarStatHCFilteredBytes
ciscoCarMIBCompliance OBJECT IDENTIFIER ::= { ciscoCarMIBCompliances 1 }
-- MODULE-COMPLIANCE
-- Status
-- mandatory
-- Descr
-- The compliance statement for entities which implement
-- the CAR on a Cisco router.
-- Module
-- >>current<<
-- MandGroup
-- ciscoCarMIBGroup
ciscoCarMIBComplianceHCCounters OBJECT IDENTIFIER ::= { ciscoCarMIBCompliances 2 }
-- MODULE-COMPLIANCE
-- Status
-- mandatory
-- Descr
-- The compliance statement for entities that implement
-- 64-bit counters for Switched/Filtered Packet/Bytes objects
-- for CAR on a Cisco router.
-- Module
-- >>current<<
-- MandGroup
-- ciscoCarMIBGroup
-- MandGroup
-- ciscoCarMIBHCGroup
END