Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / mibs / ietf / ATM-ACCOUNTING-INFORMATION-MIB
1 ATM-ACCOUNTING-INFORMATION-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4     MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY,
5     mib-2, Integer32, Counter64                   FROM SNMPv2-SMI
6     DisplayString, DateAndTime                    FROM SNMPv2-TC
7     AtmAddr                                       FROM ATM-TC-MIB;
8
9
10 atmAccountingInformationMIB MODULE-IDENTITY
11     LAST-UPDATED "9611052000Z"
12     ORGANIZATION "IETF AToM MIB Working Group"
13     CONTACT-INFO "
14                   Keith McCloghrie
15                   Cisco Systems, Inc.
16                   170 West Tasman Drive,
17                   San Jose CA 95134-1706.
18                   Phone: +1 408 526 5260
19                   Email: kzm@cisco.com"
20     DESCRIPTION
21             "The MIB module for identifying items of accounting
22             information which are applicable to ATM connections."
23     ::= { mib-2 59 }
24
25
26 atmAcctngMIBObjects OBJECT IDENTIFIER ::=
27                                         { atmAccountingInformationMIB 1 }
28
29
30 -- Definitions of objects for use in specifying ATM accounting
31 -- data to be collected
32
33 atmAcctngDataObjects OBJECT-IDENTITY
34     STATUS      current
35     DESCRIPTION
36             "This identifier defines a subtree under which various
37             objects are defined such that a set of objects to be
38             collected as ATM accounting data can be specified as a
39             (subtree, list) tuple using this identifier as the subtree."
40     ::= { atmAcctngMIBObjects 1 }
41
42 -- Objects defined under the atmAcctngDataObjects subtree
43 --
44 -- In each case the semantics of the object are interpreted with
45 -- respect to the creation/storage of an accounting record for a
46 -- particular connection on a particular interface.
47
48 atmAcctngConnectionType OBJECT-TYPE
49     SYNTAX      INTEGER { pvc(1),
50                           pvp(2),
51                           svcIncoming(3),
52                           svcOutgoing(4),
53                           svpIncoming(5),
54                           svpOutgoing(6),
55                           spvcInitiator(7),
56                           spvcTarget(8),
57                           spvpInitiator(9),
58                           spvpTarget(10) }
59     MAX-ACCESS  not-accessible
60     STATUS      current
61     DESCRIPTION
62             "The type of connection."
63     ::= { atmAcctngDataObjects 1 }
64
65 atmAcctngCastType OBJECT-TYPE
66     SYNTAX      INTEGER { p2p(1), p2mp(2) }
67     MAX-ACCESS  not-accessible
68     STATUS      current
69     DESCRIPTION
70             "An indication of whether the connection is point-to-point
71             or point-to-multipoint."
72     ::= { atmAcctngDataObjects 2 }
73
74 atmAcctngIfName OBJECT-TYPE
75     SYNTAX      DisplayString
76     MAX-ACCESS  not-accessible
77     STATUS      current
78     DESCRIPTION
79             "A textual name for the interface on which the data for the
80             connection was collected.  If the local SNMP agent supports
81             the object ifName, the value of this object must be
82             identical to that of ifName in the conceptual row of the
83             ifTable corresponding to this interface."
84     ::= { atmAcctngDataObjects 3 }
85
86 atmAcctngIfAlias OBJECT-TYPE
87     SYNTAX      DisplayString
88     MAX-ACCESS  not-accessible
89     STATUS      current
90     DESCRIPTION
91             "The 'alias' name for the interface as specified by a
92             network manager, e.g., via a management set operation to
93             modify the relevant instance of the ifAlias object.  Note
94             that in contrast to ifIndex, ifAlias provides a non-volatile
95             'handle' for the interface, the value of which is retained
96             across agent reboots."
97     ::= { atmAcctngDataObjects 4 }
98
99 atmAcctngVpi OBJECT-TYPE
100     SYNTAX      INTEGER (0..4095)
101     MAX-ACCESS  not-accessible
102     STATUS      current
103     DESCRIPTION
104             "The VPI used for the connection."
105     ::= { atmAcctngDataObjects 5 }
106
107 atmAcctngVci OBJECT-TYPE
108     SYNTAX      INTEGER (0..65535)
109     MAX-ACCESS  not-accessible
110     STATUS      current
111     DESCRIPTION
112             "The VCI used for the connection."
113     ::= { atmAcctngDataObjects 6 }
114
115 atmAcctngCallingParty OBJECT-TYPE
116     SYNTAX      AtmAddr
117     MAX-ACCESS  not-accessible
118     STATUS      current
119     DESCRIPTION
120             "The connection's calling party.  If unknown (e.g., for a
121             PVC), then the value of this object is the zero-length
122             string."
123     ::= { atmAcctngDataObjects 7 }
124
125 atmAcctngCalledParty OBJECT-TYPE
126     SYNTAX      AtmAddr
127     MAX-ACCESS  not-accessible
128     STATUS      current
129     DESCRIPTION
130             "The connection's called party.  If unknown (e.g., for a
131             PVC), then the value of this object is the zero-length
132             string."
133     ::= { atmAcctngDataObjects 8 }
134
135 atmAcctngCallReference OBJECT-TYPE
136     SYNTAX      OCTET STRING (SIZE(0..3))
137     MAX-ACCESS  not-accessible
138     STATUS      current
139     DESCRIPTION
140             "The connection's call reference value (e.g., from Q.2931).
141             If unknown (e.g., for a PVC), then the value of this object
142             is the zero-length string."
143     ::= { atmAcctngDataObjects 9 }
144
145 atmAcctngStartTime OBJECT-TYPE
146     SYNTAX      DateAndTime
147     MAX-ACCESS  not-accessible
148     STATUS      current
149     DESCRIPTION
150             "The time when the connection was established."
151     ::= { atmAcctngDataObjects 10 }
152
153 atmAcctngCollectionTime OBJECT-TYPE
154     SYNTAX      DateAndTime
155     MAX-ACCESS  not-accessible
156     STATUS      current
157     DESCRIPTION
158             "The time at which the data in this record was collected."
159     ::= { atmAcctngDataObjects 11 }
160
161 atmAcctngCollectMode OBJECT-TYPE
162     SYNTAX      INTEGER { onRelease(1),
163                           periodically(2),
164                           onCommand(3) }
165     MAX-ACCESS  not-accessible
166     STATUS      current
167     DESCRIPTION
168             "The reason why this connection data was collected."
169     ::= { atmAcctngDataObjects 12 }
170
171 atmAcctngReleaseCause OBJECT-TYPE
172     SYNTAX      Integer32
173     MAX-ACCESS  not-accessible
174     STATUS      current
175     DESCRIPTION
176             "If the connection data was collected because of the release
177             of an SVC, then this is the cause code in the Release
178             message for the connection; otherwise, this object has the
179             value zero."
180     ::= { atmAcctngDataObjects 13 }
181
182 atmAcctngServiceCategory OBJECT-TYPE
183     SYNTAX      INTEGER { other(1), cbr(2), vbrRt(3), vbrNrt(4),
184                           abr(5), ubr(6), unknown(7) }
185     MAX-ACCESS  not-accessible
186     STATUS      current
187     DESCRIPTION
188             "The connection's service category."
189     ::= { atmAcctngDataObjects 14 }
190
191 atmAcctngTransmittedCells OBJECT-TYPE
192     SYNTAX      Counter64
193     MAX-ACCESS  not-accessible
194     STATUS      current
195     DESCRIPTION
196             "The number of cells, including OAM cells, transmitted by
197             this switch on this connection."
198     ::= { atmAcctngDataObjects 15 }
199
200 atmAcctngTransmittedClp0Cells OBJECT-TYPE
201     SYNTAX      Counter64
202     MAX-ACCESS  not-accessible
203     STATUS      current
204     DESCRIPTION
205             "The number of cells with CLP=0, including OAM cells,
206             transmitted by this switch on this connection."
207     ::= { atmAcctngDataObjects 16 }
208
209 atmAcctngReceivedCells OBJECT-TYPE
210     SYNTAX      Counter64
211     MAX-ACCESS  not-accessible
212     STATUS      current
213     DESCRIPTION
214             "The number of cells, including OAM cells, received by this
215             switch on this connection."
216     ::= { atmAcctngDataObjects 17 }
217
218 atmAcctngReceivedClp0Cells OBJECT-TYPE
219     SYNTAX      Counter64
220     MAX-ACCESS  not-accessible
221     STATUS      current
222     DESCRIPTION
223             "The number of cells with CLP=0, including OAM cells,
224             received by this switch on this connection."
225     ::= { atmAcctngDataObjects 18 }
226
227 atmAcctngTransmitTrafficDescriptorType OBJECT-TYPE
228     SYNTAX      OBJECT IDENTIFIER
229     MAX-ACCESS  not-accessible
230     STATUS      current
231     DESCRIPTION
232             "The traffic descriptor type (as defined in RFC 1695 and its
233             successors) in the direction in which the switch transmits
234             cells on the connection."
235     REFERENCE
236             "See atmTrafficDescriptorTypes in ATM-MIB.my in RFC 1695 and
237             its successors."
238     ::= { atmAcctngDataObjects 19 }
239
240 atmAcctngTransmitTrafficDescriptorParam1 OBJECT-TYPE
241     SYNTAX      INTEGER (0..2147483647)
242     MAX-ACCESS  not-accessible
243     STATUS      current
244     DESCRIPTION
245             "The first traffic descriptor parameter in the direction in
246             which this switch transmits cells on this connection.
247             Interpretation of this parameter is dependent on the value
248             of atmAcctngTransmitTrafficDescriptorType."
249     ::= { atmAcctngDataObjects 20 }
250
251 atmAcctngTransmitTrafficDescriptorParam2 OBJECT-TYPE
252     SYNTAX      INTEGER (0..2147483647)
253     MAX-ACCESS  not-accessible
254     STATUS      current
255     DESCRIPTION
256             "The second traffic descriptor parameter in the direction in
257             which this switch transmits cells on this connection.
258             Interpretation of this parameter is dependent on the value
259             of atmAcctngTransmitTrafficDescriptorType."
260     ::= { atmAcctngDataObjects 21 }
261
262 atmAcctngTransmitTrafficDescriptorParam3 OBJECT-TYPE
263     SYNTAX      INTEGER (0..2147483647)
264     MAX-ACCESS  not-accessible
265     STATUS      current
266     DESCRIPTION
267             "The third traffic descriptor parameter in the direction in
268             which this switch transmits cells on this connection.
269             Interpretation of this parameter is dependent on the value
270             of atmAcctngTransmitTrafficDescriptorType."
271     ::= { atmAcctngDataObjects 22 }
272
273 atmAcctngTransmitTrafficDescriptorParam4 OBJECT-TYPE
274     SYNTAX      INTEGER (0..2147483647)
275     MAX-ACCESS  not-accessible
276     STATUS      current
277     DESCRIPTION
278             "The fourth traffic descriptor parameter in the direction in
279             which this switch transmits cells on this connection.
280             Interpretation of this parameter is dependent on the value
281             of atmAcctngTransmitTrafficDescriptorType."
282     ::= { atmAcctngDataObjects 23 }
283
284 atmAcctngTransmitTrafficDescriptorParam5 OBJECT-TYPE
285     SYNTAX      INTEGER (0..2147483647)
286     MAX-ACCESS  not-accessible
287     STATUS      current
288     DESCRIPTION
289             "The fifth traffic descriptor parameter in the direction in
290             which this switch transmits cells on this connection.
291             Interpretation of this parameter is dependent on the value
292             of atmAcctngTransmitTrafficDescriptorType."
293     ::= { atmAcctngDataObjects 24 }
294
295 atmAcctngReceiveTrafficDescriptorType OBJECT-TYPE
296     SYNTAX      OBJECT IDENTIFIER
297     MAX-ACCESS  not-accessible
298     STATUS      current
299     DESCRIPTION
300             "The traffic descriptor type (as defined in RFC 1695 and its
301             successors) in the direction in which this switch receives
302             cells on this connection."
303     REFERENCE
304             "See atmTrafficDescriptorTypes in ATM-MIB.my in RFC 1695 and
305             its successors."
306     ::= { atmAcctngDataObjects 25 }
307
308 atmAcctngReceiveTrafficDescriptorParam1 OBJECT-TYPE
309     SYNTAX      INTEGER (0..2147483647)
310     MAX-ACCESS  not-accessible
311     STATUS      current
312     DESCRIPTION
313             "The first traffic descriptor parameter in the direction in
314             which this switch receives cells on this connection.
315             Interpretation of this parameter is dependent on the value
316             of atmAcctngReceiveTrafficDescriptorType."
317     ::= { atmAcctngDataObjects 26 }
318
319 atmAcctngReceiveTrafficDescriptorParam2 OBJECT-TYPE
320     SYNTAX      INTEGER (0..2147483647)
321     MAX-ACCESS  not-accessible
322     STATUS      current
323     DESCRIPTION
324             "The second traffic descriptor parameter in the direction in
325             which this switch receives cells on this connection.
326             Interpretation of this parameter is dependent on the value
327             of atmAcctngReceiveTrafficDescriptorType."
328     ::= { atmAcctngDataObjects 27 }
329
330 atmAcctngReceiveTrafficDescriptorParam3 OBJECT-TYPE
331     SYNTAX      INTEGER (0..2147483647)
332     MAX-ACCESS  not-accessible
333     STATUS      current
334     DESCRIPTION
335             "The third traffic descriptor parameter in the direction in
336             which this switch receives cells on this connection.
337             Interpretation of this parameter is dependent on the value
338             of atmAcctngReceiveTrafficDescriptorType."
339     ::= { atmAcctngDataObjects 28 }
340
341 atmAcctngReceiveTrafficDescriptorParam4 OBJECT-TYPE
342     SYNTAX      INTEGER (0..2147483647)
343     MAX-ACCESS  not-accessible
344     STATUS      current
345     DESCRIPTION
346             "The fourth traffic descriptor parameter in the direction in
347             which this switch receives cells on this connection.
348             Interpretation of this parameter is dependent on the value
349             of atmAcctngReceiveTrafficDescriptorType."
350     ::= { atmAcctngDataObjects 29 }
351
352 atmAcctngReceiveTrafficDescriptorParam5 OBJECT-TYPE
353     SYNTAX      INTEGER (0..2147483647)
354     MAX-ACCESS  not-accessible
355     STATUS      current
356     DESCRIPTION
357             "The fifth traffic descriptor parameter in the direction in
358             which this switch receives cells on this connection.
359             Interpretation of this parameter is dependent on the value
360             of atmAcctngReceiveTrafficDescriptorType."
361     ::= { atmAcctngDataObjects 30 }
362
363 atmAcctngCallingPartySubAddress OBJECT-TYPE
364     SYNTAX      AtmAddr
365     MAX-ACCESS  not-accessible
366     STATUS      current
367     DESCRIPTION
368             "The connection's calling party sub-address.  If the
369             connection has no calling party sub-address, or it's value
370             is unknown, then the value of this object is the zero-length
371             string."
372     ::= { atmAcctngDataObjects 31 }
373
374 atmAcctngCalledPartySubAddress OBJECT-TYPE
375     SYNTAX      AtmAddr
376     MAX-ACCESS  not-accessible
377     STATUS      current
378     DESCRIPTION
379             "The connection's called party sub-address.  If the
380             connection has no called party sub-address, or it's value is
381             unknown, then the value of this object is the zero-length
382             string."
383     ::= { atmAcctngDataObjects 32 }
384
385 atmAcctngRecordCrc16 OBJECT-TYPE
386     SYNTAX      OCTET STRING (SIZE(2))
387     MAX-ACCESS  not-accessible
388     STATUS      current
389     DESCRIPTION
390             "The value of the CRC-16 checksum (as defined by ISO 3309
391             (HDLC) and/or ITU X.25) calculated over the accounting
392             record containing this object.
393
394             While the mechanism for calculating/encoding the checksum
395             value is specific to the method of encoding the accounting
396             record, an accounting record containing this object is
397             typically generated by initializing the value of this object
398             to the all-zeros string ('0000'H), with the location of
399             these zeros being saved.  After generating the record, the
400             checksum is calculated over the whole connection record and
401             then the all-zeros value is overwritten (at the saved
402             location) by the calculated value of the checksum."
403     ::= { atmAcctngDataObjects 33 }
404 END