forked from AlexandreYang/snmp-mibs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
A3COM-HUAWEI-EVC-MIB
executable file
·375 lines (346 loc) · 13.6 KB
/
A3COM-HUAWEI-EVC-MIB
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
-- =============================================================================
-- Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: Ethernet Virtual Connection MIB
-- Reference:
-- Version: V1.1
-- History:
-- V1.0 2009-08-08 Initial version Created by Jianyong Song
-- V1.1 2011-12-23 Updated by Xuanli Mou
-- Add hh3cEvcSrvInstEnableInStat in hh3cEvcSrvInstTable.
-- Add hh3cEvcSrvInstEnableOutStat in hh3cEvcSrvInstTable.
-- Add hh3cEvcSrvInstCarTable.
-- Add hh3cEvcSrvInstStatInfoTable.
-- =============================================================================
A3COM-HUAWEI-EVC-MIB DEFINITIONS ::= BEGIN
IMPORTS
RowStatus,
TruthValue
FROM SNMPv2-TC
MODULE-IDENTITY,
OBJECT-TYPE,
Integer32,
Counter64
FROM SNMPv2-SMI
ifIndex
FROM IF-MIB
h3cCommon
FROM A3COM-HUAWEI-OID-MIB;
-- =============================================================================
-- module identity part
-- =============================================================================
h3cEvc MODULE-IDENTITY
LAST-UPDATED
"200908081000Z" -- Aug 08, 2009 at 10:00 GMT
ORGANIZATION
"Hangzhou H3C Tech. Co., Ltd."
CONTACT-INFO
"Platform Team Hangzhou H3C Tech. Co., Ltd.
Hai-Dian District Beijing P.R. China
http://www.h3c.com
Zip:100085"
DESCRIPTION
"Ethernet Virtual Connection MIB"
REVISION
"200908081000Z" -- Aug 08, 2009 at 10:00 GMT
DESCRIPTION
"The initial version of this MIB."
::= { h3cCommon 106 }
-- =============================================================================
-- object definition begin
-- =============================================================================
h3cEvcObjects OBJECT IDENTIFIER ::= { h3cEvc 1 }
h3cEvcScalarGroup OBJECT IDENTIFIER ::= { h3cEvcObjects 1 }
h3cEvcSrvInstEncapCapabilities OBJECT-TYPE
SYNTAX BITS
{
encapPortBased(0),
encapUntagged(1),
encapTagged(2),
encapSvlanId(3),
encapSvlanIdList(4),
encapSvlanIdOnlyTagged(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object displays the encapsulation capabilities of service
instance with respect to certain fields. The following values may be
supported:
encapPortBased: Support for matching packets by port.
encapUntagged: Support for matching untagged packets.
encapTagged: Support for matching all tagged packets.
encapSvlanId: Support for matching packets by a SVLAN ID, and
the packets may be untagged if PVID of the port is
the SVLAN ID when the encapSvlanIdOnlyTagged field
is not set.
encapSvlanIdList: Support for matching packets by SVLAN ID list, and
the packets may be untagged if PVID of the port is
in SVLAN ID list when the encapSvlanIdOnlyTagged
field is not set.
encapSvlanIdOnlyTagged: encapSvlanId or encapSvlanId field indicates
to support for matching only tagged packets
when this field is set."
::= { h3cEvcScalarGroup 1 }
h3cEvcPortMaxSrvInstNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The max service instance number of a port."
::= { h3cEvcScalarGroup 2 }
-- =============================================================================
-- h3cEvcSrvInstTable Definition
-- =============================================================================
h3cEvcSrvInstTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cEvcSrvInstEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table for configuring service instance parameter of the port."
::= { h3cEvcObjects 2 }
h3cEvcSrvInstEntry OBJECT-TYPE
SYNTAX H3cEvcSrvInstEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry for configuring service instance parameter of the port."
INDEX
{
ifIndex,
h3cEvcSrvInstId
}
::= { h3cEvcSrvInstTable 1 }
H3cEvcSrvInstEntry ::=
SEQUENCE
{
h3cEvcSrvInstId Integer32,
h3cEvcSrvInstEncap INTEGER,
h3cEvcSrvInstSvlanIdListLow OCTET STRING,
h3cEvcSrvInstSvlanIdListHigh OCTET STRING,
h3cEvcSrvInstRowStatus RowStatus,
h3cEvcSrvInstEnableInStat TruthValue,
h3cEvcSrvInstEnableOutStat TruthValue
}
h3cEvcSrvInstId OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Service instance ID. Its value ranges from 1 to the value of
h3cEvcPortMaxSrvInstNum."
::= { h3cEvcSrvInstEntry 1 }
h3cEvcSrvInstEncap OBJECT-TYPE
SYNTAX INTEGER
{
none(0),
portBased(1),
untagged(2),
tagged(3),
svlanIdList(4),
svlanIdListOnlyTagged(5)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Encapsulation mode of a service instance.
none : Invalid value.
portBased : Match packets by port. It is supported when encapPortBased
field of h3cEvcCapabilities is set.
untagged : Match untagged packets. It is supported when encapUntagged
field of h3cEvcCapabilities is set.
tagged : Match all tagged packets. It is supported when encapTagged
field of h3cEvcCapabilities is set.
svlanIdList: Match packets by SVLAN ID list and untagged packets if
PVID of the port is in SVLAN ID list, the SVLAN ID list is
denoted by h3cEvcSrvInstSvlanIdListLow and
h3cEvcSrvInstSvlanIdListLow. It is supported when
encapSvlanId or encapSvlanIdList field of
h3cEvcCapabilities is set. Only a VLAN ID is supported
when encapSvlanId field of h3cEvcCapabilities is set.
svlanIdListOnlyTagged: Match only tagged packets by SVLAN ID list, the
SVLAN ID is denoted by
h3cEvcSrvInstSvlanIdListLow and
h3cEvcSrvInstSvlanIdListLow. It is
supported when encapSvlanId (or
encapSvlanIdList) and encapSvlanIdOnlyTagged
fields of h3cEvcCapabilities are set. Only a
VLAN ID is supported when encapSvlanId and
encapSvlanIdOnlyTagged field of
h3cEvcCapabilities are set."
::= { h3cEvcSrvInstEntry 2 }
h3cEvcSrvInstSvlanIdListLow OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..256))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object contains the first 2048 bits of the 4096 bit vector
indicating which SVLAN IDs are assigned to this service instance. The
lowest order bit of the first octet corresponds to SVLAN 1, while the
highest order bit of the last octet corresponds to SVLAN 2048. A bit
that is on (equal to 1) indicates that the corresponding SVLAN ID is
assigned to this service instance."
::= { h3cEvcSrvInstEntry 3 }
h3cEvcSrvInstSvlanIdListHigh OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..256))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object contains the second 2048 bits of the 4096 bit vector
indicating which SVLAN IDs are assigned to this service instance. The
lowest order bit of the first octet corresponds to SVLAN 2049, while
the third highest order bit of the last octet corresponds to SVLAN
4094. A bit that is on (equal to 1) indicates that the corresponding
SVLAN ID is assigned to this service instance."
::= { h3cEvcSrvInstEntry 4 }
h3cEvcSrvInstRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Operation status of this table entry."
::= { h3cEvcSrvInstEntry 5 }
h3cEvcSrvInstEnableInStat OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The object is used to configure inbound statistics function
to this service instance."
DEFVAL { false }
::= { h3cEvcSrvInstEntry 6 }
h3cEvcSrvInstEnableOutStat OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The object is used to configure outbound statistics function
to this service instance."
DEFVAL { false }
::= { h3cEvcSrvInstEntry 7 }
-- =============================================================================
-- End of h3cEvcSrvInstTable Definition
-- =============================================================================
-- =============================================================================
-- h3cEvcSrvInstCarTable Definition
-- =============================================================================
h3cEvcSrvInstCarTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cEvcSrvInstCarEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of configuring CAR for the service instance."
::= { h3cEvcObjects 3 }
h3cEvcSrvInstCarEntry OBJECT-TYPE
SYNTAX H3cEvcSrvInstCarEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the table containing CAR configuration on
the service instance. If the following entries are not supported
by the service instance, or not configured to the service instance,
they are zero."
INDEX
{
ifIndex,
h3cEvcSrvInstId
}
::= { h3cEvcSrvInstCarTable 1 }
H3cEvcSrvInstCarEntry ::=
SEQUENCE
{
h3cEvcSrvInstInCarIndex Integer32,
h3cEvcSrvInstOutCarIndex Integer32
}
h3cEvcSrvInstInCarIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The object is used to configure inbound CAR function
to this service instance.
The CAR index is defined in h3cIfQoSAggregativeCarIndex
at A3COM-HUAWEI-IFQOS2-MIB. The default value is 0."
::= { h3cEvcSrvInstCarEntry 1 }
h3cEvcSrvInstOutCarIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The object is used to configure outbound CAR function
to this service instance.
The CAR index is defined in h3cIfQoSAggregativeCarIndex
at A3COM-HUAWEI-IFQOS2-MIB. The default value is 0."
::= { h3cEvcSrvInstCarEntry 2 }
-- =============================================================================
-- End of h3cEvcSrvInstTable Definition
-- =============================================================================
-- =============================================================================
-- h3cEvcSrvInstStatInfoTable Definition
-- =============================================================================
h3cEvcSrvInstStatInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cEvcSrvInstStatInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table for displaying statistics information of service instance."
::= { h3cEvcObjects 4 }
h3cEvcSrvInstStatInfoEntry OBJECT-TYPE
SYNTAX H3cEvcSrvInstStatInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table entry of the service instance.
If the statistics function is not supported
by the service instance, or not configured to the service instance,
following entries will be zero."
INDEX
{
ifIndex,
h3cEvcSrvInstId
}
::= { h3cEvcSrvInstStatInfoTable 1 }
H3cEvcSrvInstStatInfoEntry ::=
SEQUENCE
{
h3cEvcSrvInstInPackets Counter64,
h3cEvcSrvInstInBytes Counter64,
h3cEvcSrvInstOutPackets Counter64,
h3cEvcSrvInstOutBytes Counter64
}
h3cEvcSrvInstInPackets OBJECT-TYPE
SYNTAX Counter64
UNITS "packets"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of inbound packets received on this service instance."
::= { h3cEvcSrvInstStatInfoEntry 1 }
h3cEvcSrvInstInBytes OBJECT-TYPE
SYNTAX Counter64
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Byte counts of inbound packets received on this service instance."
::= { h3cEvcSrvInstStatInfoEntry 2 }
h3cEvcSrvInstOutPackets OBJECT-TYPE
SYNTAX Counter64
UNITS "packets"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of outbound packets transmitted on this service instance."
::= { h3cEvcSrvInstStatInfoEntry 3 }
h3cEvcSrvInstOutBytes OBJECT-TYPE
SYNTAX Counter64
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Byte counts of outbound packets transmitted on this service instance."
::= { h3cEvcSrvInstStatInfoEntry 4 }
-- =============================================================================
-- End of h3cEvcSrvInstStatInfoTable Definition
-- =============================================================================
END