summaryrefslogtreecommitdiff
path: root/MIBS/comware/HH3C-VMAP-MIB
blob: fe365635167b122d9e9863f0933873c952952e2e (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
-- ============================================================================
-- Copyright (c) 2004-2019 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: 802.1 VLAN Mapping MIB Version 1
-- Reference:
-- Version: V1.1
-- History:
-- V1.0 Initial version Created by XiaoRen Yang, 2013.3.8
-- V1.1 Updated by zhuhaifeng 2018-12-12.
--   Add hh3cVMAP1to2RangeNestedPrio to hh3cVMAP1to2RangeTable.
--   Add hh3cVMAP1to2SingleNestedPrio to hh3cVMAP1to2SingleTable.
--   Add hh3cVMAP2to1Table.
-- ==================================================================
HH3C-VMAP-MIB DEFINITIONS ::= BEGIN
IMPORTS
    RowStatus, TruthValue
        FROM SNMPv2-TC
    MODULE-IDENTITY, OBJECT-TYPE, Integer32
        FROM SNMPv2-SMI
    ifIndex
        FROM IF-MIB
    hh3cCommon
        FROM HH3C-OID-MIB;

-- ==================================================================
--
-- module identity part
--
-- ==================================================================
hh3cVmap MODULE-IDENTITY
    LAST-UPDATED
        "201812120000Z"
    ORGANIZATION
       "New H3C Tech. Co., Ltd."
    CONTACT-INFO
       "Platform Team New H3C Tech. Co., Ltd.
        Hai-Dian District Beijing P.R. China
        http://www.h3c.com
        Zip: 100085"
    DESCRIPTION
        "802.1 VLAN Mapping MIB Version"
    REVISION    "201812120000Z"
    DESCRIPTION "Add hh3cVMAP1to2RangeNestedPrio to hh3cVMAP1to2RangeTable.
                 Add hh3cVMAP1to2SingleNestedPrio to hh3cVMAP1to2SingleTable.
                 Add hh3cVMAP2to1Table."
    REVISION    "201303080000Z"
    DESCRIPTION "The initial version of this MIB."
    ::= { hh3cCommon 138 }

-- ==================================================================
--
-- =====================object definition begin======================
--
-- ==================================================================

hh3cVMAPNNITable  OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cVMAPNNIEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "VLAN mapping NNI table."
    ::= { hh3cVmap 1 }

hh3cVMAPNNIEntry OBJECT-TYPE
    SYNTAX      Hh3cVMAPNNIEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "VLAN mapping NNI table entries."
    INDEX { ifIndex }
    ::= { hh3cVMAPNNITable 1 }

Hh3cVMAPNNIEntry ::=
    SEQUENCE
    {
        hh3cVMAPNNIState    TruthValue
    }

hh3cVMAPNNIState    OBJECT-TYPE
    SYNTAX      TruthValue
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Set the network-side interface for a many-to-one VLAN mapping."
    ::= { hh3cVMAPNNIEntry 1 }

hh3cVMAP1to1Table  OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cVMAP1to1Entry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "One-to-one VLAN mapping table."
    ::= { hh3cVmap 2 }

hh3cVMAP1to1Entry OBJECT-TYPE
    SYNTAX     Hh3cVMAP1to1Entry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
        "One-to-one VLAN mapping table entries."
    INDEX { ifIndex, hh3cVMAP1to1Vlan }
    ::= { hh3cVMAP1to1Table 1 }

Hh3cVMAP1to1Entry ::=
    SEQUENCE
    {
        hh3cVMAP1to1Vlan             Integer32,
        hh3cVMAP1to1TranslatedVlan   Integer32,
        hh3cVMAP1to1RowStatus        RowStatus
    }

hh3cVMAP1to1Vlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The original VLAN for a one-to-one VLAN mapping on the port."
    ::= { hh3cVMAP1to1Entry 1 }

hh3cVMAP1to1TranslatedVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The translated VLAN for a one-to-one VLAN mapping on the port."
    ::= { hh3cVMAP1to1Entry 2 }

hh3cVMAP1to1RowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cVMAP1to1Entry 3 }

hh3cVMAPNto1RangeTable    OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cVMAPNto1RangeEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Many-to-one VLAN mapping table.  The original VLANs of each entry
         should be a range of VLANs (for example, VLAN 20 to 30)."
    ::= { hh3cVmap 3 }

hh3cVMAPNto1RangeEntry OBJECT-TYPE
    SYNTAX     Hh3cVMAPNto1RangeEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
        "Many-to-one VLAN mapping table entries.  The original VLANs of each
         entry should be a range of VLANs (for example, VLAN 20 to 30)."
    INDEX { ifIndex, hh3cVMAPNto1StartVlan }
    ::= { hh3cVMAPNto1RangeTable 1 }

Hh3cVMAPNto1RangeEntry ::=
    SEQUENCE
    {
        hh3cVMAPNto1StartVlan              Integer32,
        hh3cVMAPNto1EndVlan                Integer32,
        hh3cVMAPNto1RangeTranslatedVlan    Integer32,
        hh3cVMAPNto1RangeRowStatus         RowStatus
    }

hh3cVMAPNto1StartVlan   OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The original start VLAN for a many-to-one VLAN mapping on the port."
    ::= { hh3cVMAPNto1RangeEntry 1 }

hh3cVMAPNto1EndVlan   OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The original end VLAN for a many-to-one VLAN mapping on the port."
    ::= { hh3cVMAPNto1RangeEntry 2 }

hh3cVMAPNto1RangeTranslatedVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The translated VLAN for a many-to-one VLAN mapping on the port."
    ::= { hh3cVMAPNto1RangeEntry 3 }

hh3cVMAPNto1RangeRowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cVMAPNto1RangeEntry 4 }

hh3cVMAPNto1SingleTable    OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cVMAPNto1SingleEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Many-to-one VLAN mapping table.  The original VLANs of each entry
         should be a group of VLANs listed one by
         one (for example, VLAN 30, 31, 32)."
    ::= { hh3cVmap 4 }

hh3cVMAPNto1SingleEntry OBJECT-TYPE
    SYNTAX     Hh3cVMAPNto1SingleEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
        "Many-to-one VLAN mapping table entries.  The original VLANs of each
         entry should be a group of VLANs listed one by
         one (for example, VLAN 30, 31, 32)."
    INDEX { ifIndex, hh3cVMAPNto1Vlan }
    ::= { hh3cVMAPNto1SingleTable 1 }

Hh3cVMAPNto1SingleEntry ::=
    SEQUENCE
    {
        hh3cVMAPNto1Vlan                    Integer32,
        hh3cVMAPNto1SingleTranslatedVlan    Integer32,
        hh3cVMAPNto1SingleRowStatus         RowStatus
    }

hh3cVMAPNto1Vlan   OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The original VLANs for a many-to-one VLAN mapping on the port."
    ::= { hh3cVMAPNto1SingleEntry 1 }

hh3cVMAPNto1SingleTranslatedVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The translated VLAN for a many-to-one VLAN mapping on the port."
    ::= { hh3cVMAPNto1SingleEntry 2 }

hh3cVMAPNto1SingleRowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cVMAPNto1SingleEntry 3 }

hh3cVMAP1to2RangeTable    OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cVMAP1to2RangeEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "One-to-two VLAN mapping table.  The original VLANs of each entry
         should be a range of VLANs (for example, VLAN 20 to 30)."
    ::= { hh3cVmap 5 }

hh3cVMAP1to2RangeEntry OBJECT-TYPE
    SYNTAX      Hh3cVMAP1to2RangeEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "One-to-two VLAN mapping table entries.  The original VLANs of
         each entry should be a range of VLANs (for example, VLAN 20 to 30)."
    INDEX { ifIndex, hh3cVMAP1to2StartVlan }
    ::= { hh3cVMAP1to2RangeTable 1 }

Hh3cVMAP1to2RangeEntry ::=
    SEQUENCE
    {
        hh3cVMAP1to2StartVlan          Integer32,
        hh3cVMAP1to2EndVlan            Integer32,
        hh3cVMAP1to2RangeNestedVlan    Integer32,
        hh3cVMAP1to2RangeRowStatus     RowStatus,
        hh3cVMAP1to2RangeNestedPrio    Integer32
    }

hh3cVMAP1to2StartVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The original start VLAN for a one-to-two VLAN mapping on the port."
    ::= { hh3cVMAP1to2RangeEntry 1 }

hh3cVMAP1to2EndVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The original end VLAN for a one-to-two VLAN mapping on the port."
    ::= { hh3cVMAP1to2RangeEntry 2 }

hh3cVMAP1to2RangeNestedVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The nested VLAN for a one-to-two VLAN mapping on the port."
    ::= { hh3cVMAP1to2RangeEntry 3 }

hh3cVMAP1to2RangeRowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cVMAP1to2RangeEntry 4 }

hh3cVMAP1to2RangeNestedPrio OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The nested VLAN tag's priority for a one-to-two VLAN mapping on the port."
    DEFVAL { 65535 }
    ::= { hh3cVMAP1to2RangeEntry 5 }

hh3cVMAP1to2SingleTable    OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cVMAP1to2SingleEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "One-to-two VLAN mapping table.  The original VLANs of each entry should
         be a group of VLANs listed one by one (for example, VLAN 30, 31, 32)."
    ::= { hh3cVmap 6 }

hh3cVMAP1to2SingleEntry OBJECT-TYPE
    SYNTAX      Hh3cVMAP1to2SingleEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "One-to-two VLAN mapping table entries.  The original VLANs of each
         entry should be a group of VLANs listed one by
         one (for example, VLAN 30, 31, 32)."
    INDEX { ifIndex, hh3cVMAP1to2Vlan }
    ::= { hh3cVMAP1to2SingleTable 1 }

Hh3cVMAP1to2SingleEntry ::=
    SEQUENCE
    {
        hh3cVMAP1to2Vlan                Integer32,
        hh3cVMAP1to2SingleNestedVlan    Integer32,
        hh3cVMAP1to2SingleRowStatus     RowStatus,
        hh3cVMAP1to2SingleNestedPrio    Integer32
    }

hh3cVMAP1to2Vlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The original VLANs for a one-to-two VLAN mapping on the port."
    ::= { hh3cVMAP1to2SingleEntry 1 }

hh3cVMAP1to2SingleNestedVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The nested VLAN for a one-to-two VLAN mapping on the port."
    ::= { hh3cVMAP1to2SingleEntry 2 }

hh3cVMAP1to2SingleRowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cVMAP1to2SingleEntry 3 }

hh3cVMAP1to2SingleNestedPrio OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The nested VLAN tag's priority for a one-to-two VLAN mapping on the port."
    DEFVAL { 65535 }
    ::= { hh3cVMAP1to2SingleEntry 4 }

hh3cVMAP2to2Table    OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cVMAP2to2Entry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Two-to-two VLAN mapping table."
    ::= { hh3cVmap 7 }

hh3cVMAP2to2Entry OBJECT-TYPE
    SYNTAX      Hh3cVMAP2to2Entry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Two-to-two VLAN mapping table entries."
    INDEX { ifIndex, hh3cVMAP2to2OuterVlan, hh3cVMAP2to2InnerVlan }
    ::= { hh3cVMAP2to2Table 1 }

Hh3cVMAP2to2Entry ::=
    SEQUENCE
    {
        hh3cVMAP2to2OuterVlan             Integer32,
        hh3cVMAP2to2InnerVlan             Integer32,
        hh3cVMAP2to2TranslatedOuterVlan   Integer32,
        hh3cVMAP2to2TranslatedInnerVlan   Integer32,
        hh3cVMAP2to2RowStatus             RowStatus
    }

hh3cVMAP2to2OuterVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The original outer VLAN for a two-to-two VLAN mapping on the port."
    ::= { hh3cVMAP2to2Entry 1 }

hh3cVMAP2to2InnerVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The original inner VLAN for a two-to-two VLAN mapping on the port."
    ::= { hh3cVMAP2to2Entry 2 }

hh3cVMAP2to2TranslatedOuterVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The translated outer VLAN for a two-to-two VLAN mapping on the port."
    ::= { hh3cVMAP2to2Entry 3 }

hh3cVMAP2to2TranslatedInnerVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The translated inner VLAN for a two-to-two VLAN mapping on the port."
    ::= { hh3cVMAP2to2Entry 4 }

hh3cVMAP2to2RowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cVMAP2to2Entry 5 }

hh3cVMAP2to1Table    OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cVMAP2to1Entry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Two-to-one VLAN mapping table."
    ::= { hh3cVmap 8 }

hh3cVMAP2to1Entry OBJECT-TYPE
    SYNTAX      Hh3cVMAP2to1Entry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Two-to-one VLAN mapping table entries."
    INDEX { ifIndex, hh3cVMAP2to1OuterVlan, hh3cVMAP2to1InnerVlan }
    ::= { hh3cVMAP2to1Table 1 }

Hh3cVMAP2to1Entry ::=
    SEQUENCE
    {
        hh3cVMAP2to1OuterVlan             Integer32,
        hh3cVMAP2to1InnerVlan             Integer32,
        hh3cVMAP2to1TranslatedOuterVlan   Integer32,
        hh3cVMAP2to1RowStatus             RowStatus
    }

hh3cVMAP2to1OuterVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The original outer VLAN for a two-to-one VLAN mapping on the port."
    ::= { hh3cVMAP2to1Entry 1 }

hh3cVMAP2to1InnerVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The original inner VLAN for a two-to-one VLAN mapping on the port."
    ::= { hh3cVMAP2to1Entry 2 }

hh3cVMAP2to1TranslatedOuterVlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The translated outer VLAN for a two-to-one VLAN mapping on the port."
    ::= { hh3cVMAP2to1Entry 3 }

hh3cVMAP2to1RowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cVMAP2to1Entry 4 }

END