summaryrefslogtreecommitdiff
path: root/MIBS/comware/HH3C-MINM-MIB
blob: 62c038b2677677c094a68a6d2c2a666153bb2702 (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
-- =============================================================================
-- Copyright (c) 2004-2010 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: 802.1ah MAC-in-MAC MIB
-- Reference:
-- Version: V1.0
-- History:
--   V1.0 2009-08-08 Initial version Created by Jianyong Song
--        2010-08-05 Add 'hh3cMinmBmac' by Wei Zhang
-- =============================================================================
HH3C-MINM-MIB DEFINITIONS ::= BEGIN
IMPORTS
        RowStatus,
        TEXTUAL-CONVENTION,
        MacAddress
    FROM SNMPv2-TC
        MODULE-IDENTITY,
        OBJECT-TYPE,
        Integer32,
        Unsigned32
    FROM SNMPv2-SMI
        ifIndex
    FROM RFC1213-MIB
        hh3cCommon
    FROM HH3C-OID-MIB
        hh3cVsiIndex
    FROM HH3C-VSI-MIB;

-- =============================================================================
-- module identity part
-- =============================================================================
hh3cMinm MODULE-IDENTITY
    LAST-UPDATED
        "200908081000Z"        -- Aug 08, 2009 at 10:00 GMT
    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.1ah MAC-in-MAC MIB"
    REVISION
        "200908081000Z"   -- Aug 08, 2009 at 10:00 GMT
    DESCRIPTION
        "The initial version of this MIB."
    ::= { hh3cCommon 107 }

-- =============================================================================
-- Textual Conventions
-- =============================================================================
Hh3cMinmEnabledStatus ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "A enumerated value which indicates the state of object."
    SYNTAX  INTEGER
    {
        enabled(1),
        disabled(2)
    }

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

hh3cMinmObjects      OBJECT IDENTIFIER ::= { hh3cMinm 1 }

hh3cMinmScalarGroup OBJECT IDENTIFIER ::= { hh3cMinmObjects 1 }

hh3cMinmCapabilities    OBJECT-TYPE
    SYNTAX      BITS
    {
        reEncapsulation(0),
        uplink(1),
        vsiShareConnection(2)
    }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "This object displays the MAC-in-MAC capabilities with respect to
         certain fields. The following values may be supported:
         reEncapsulation:     Support for configuring re-encapsulation (denoted
                              by hh3cMinmVsiReEncapsulation).
         uplink:              Support for configuring uplink (denoted
                              by hh3cMinmUplinkTable).
         vsiShareConnection:  It indicates that connection entry is shared in
                              all VSIs. hh3cVsiIndex is meaningless and must
                              be value 1 in hh3cMinmConnectionTable."
    ::= { hh3cMinmScalarGroup 1 }

hh3cMinmBmac  OBJECT-TYPE
    SYNTAX      MacAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "A MAC address used in creating the MAC header of I-tagged frames
        transmitted across a Provider Backbone Bridged Network. The invalid
        value FF:FF:FF:FF:FF:FF indicates that this node is not supported by
        the device."
    ::= { hh3cMinmScalarGroup 2 }

-- =============================================================================
-- hh3cMinmVsiTable Definition
-- =============================================================================
hh3cMinmVsiTable  OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cMinmVsiEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A table for configuring MAC-in-MAC service instance parameter."
    ::= { hh3cMinmObjects 2 }

hh3cMinmVsiEntry  OBJECT-TYPE
    SYNTAX      Hh3cMinmVsiEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry for configuring MAC-in-MAC service instance parameter."
    INDEX
    {
        hh3cVsiIndex
    }
    ::= { hh3cMinmVsiTable 1 }

Hh3cMinmVsiEntry ::=
    SEQUENCE
    {
        hh3cMinmVsiBvlan               Integer32,
        hh3cMinmVsiReEncapsulation     Hh3cMinmEnabledStatus,
        hh3cMinmVsiNextAvailableLinkId Unsigned32
    }

hh3cMinmVsiBvlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..4094 | 65535)
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "BVLAN ID. The value 65535 indicates the BVLAN has not been configured
        for get operation, and it indicates deleting the BVLAN configration
        for set operation."
    ::= { hh3cMinmVsiEntry 1 }

hh3cMinmVsiReEncapsulation    OBJECT-TYPE
    SYNTAX      Hh3cMinmEnabledStatus
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Whether the re-encapsulation is enabled. The reEncapsulation field of
        hh3cMinmCapabilities denotes whether this node is supported."
    ::= { hh3cMinmVsiEntry 2 }

hh3cMinmVsiNextAvailableLinkId    OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Next available connection entry index for creating a connection entry.
        Its value ranges from 0x1 to 0xFFFFFFFF.The invalid value 0xFFFFFFFF
        indicates that connection entry can not be created. When the
        vsiShareConnection field of hh3cMinmCapabilities is set, this node
        returns an invalid value if the value of hh3cVsiIndex is not 1."
    ::= { hh3cMinmVsiEntry 3 }

-- =============================================================================
-- End of hh3cMinmVsiTable Definition
-- =============================================================================

-- =============================================================================
-- hh3cMinmUplinkTable Definition
-- =============================================================================
hh3cMinmUplinkTable  OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cMinmUplinkEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A table for uplink ports of the VSI in MAC-in-MAC. The uplink field of
        hh3cMinmCapabilities denotes whether this table is supported."
    ::= { hh3cMinmObjects 3 }

hh3cMinmUplinkEntry  OBJECT-TYPE
    SYNTAX      Hh3cMinmUplinkEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry for uplink ports of the VSI in MAC-in-MAC."
    INDEX
    {
        hh3cVsiIndex,
        ifIndex
    }
    ::= { hh3cMinmUplinkTable 1 }

Hh3cMinmUplinkEntry ::=
    SEQUENCE
    {
        hh3cMinmUplinkRowStatus      RowStatus
    }

hh3cMinmUplinkRowStatus     OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cMinmUplinkEntry 1 }
-- =============================================================================
-- End of hh3cMinmUplinkTable Definition
-- =============================================================================

-- =============================================================================
-- hh3cMinmConnectionTable Definition
-- =============================================================================
hh3cMinmConnectionTable  OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cMinmConnectionEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A table for the connection information of BMAC."
    ::= { hh3cMinmObjects 4 }

hh3cMinmConnectionEntry  OBJECT-TYPE
    SYNTAX      Hh3cMinmConnectionEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry for the connection information of BMAC.
        When the vsiShareConnection field of hh3cMinmCapabilities is set,
        connection entry is shared in all VSIs. hh3cVsiIndex is meaningless
        and must be value 1 in hh3cMinmConnectionTable."
    INDEX
    {
        hh3cVsiIndex,
        hh3cMinmConnectionLinkId
    }
    ::= { hh3cMinmConnectionTable 1 }

Hh3cMinmConnectionEntry ::=
    SEQUENCE
    {
        hh3cMinmConnectionLinkId       Unsigned32,
        hh3cMinmConnectionBmac         MacAddress,
        hh3cMinmConnectionBvlan        Integer32,
        hh3cMinmConnectionPort         Integer32,
        hh3cMinmConnectionStatus       INTEGER,
        hh3cMinmConnectionAgingStatus  INTEGER,
        hh3cMinmConnectionRowStatus    RowStatus
    }

hh3cMinmConnectionLinkId    OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Entry index when the vsiShareConnection bit of hh3cMinmCapabilities
        is set(hh3cVsiIndex is meaningless and must be value 1),
        else entry index in the VSI of hh3cVsiIndex.Its value ranges
        from 0x1 to 0xFFFFFFFE. It should be obtained from
        hh3cMinmVsiNextAvailableLinkId for create operation."
    ::= { hh3cMinmConnectionEntry 1 }

hh3cMinmConnectionBmac    OBJECT-TYPE
    SYNTAX      MacAddress
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "BMAC of an connection entry."
    ::= { hh3cMinmConnectionEntry 2 }

hh3cMinmConnectionBvlan    OBJECT-TYPE
    SYNTAX      Integer32 (1..4094)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "BVLAN of an connection entry."
    ::= { hh3cMinmConnectionEntry 3 }

hh3cMinmConnectionPort   OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Port ifindex of an connection entry."
    ::= { hh3cMinmConnectionEntry 4 }

hh3cMinmConnectionStatus   OBJECT-TYPE
    SYNTAX      INTEGER
    {
        learned(1),
        configDynamic(2),
        configStatic(3),
        blackhole(4)
    }
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "State of an connection entry."
    ::= { hh3cMinmConnectionEntry 5 }

hh3cMinmConnectionAgingStatus   OBJECT-TYPE
    SYNTAX      INTEGER
    {
        aging(1),
        noAged(2)
    }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Aging time of an connection entry."
    ::= { hh3cMinmConnectionEntry 6 }

hh3cMinmConnectionRowStatus  OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Operation status of this table entry."
    ::= { hh3cMinmConnectionEntry 7 }
-- =============================================================================
-- End of hh3cMinmConnectionTable Definition
-- =============================================================================

END